Searched refs:feat_num (Results 1 – 7 of 7) sorted by relevance
/linux/net/dccp/ |
A D | feat.c | 175 if (feat_num > DCCPF_RESERVED && feat_num <= DCCPF_DATA_CHECKSUM) in dccp_feat_index() 176 return feat_num - 1; in dccp_feat_index() 182 switch (feat_num) { in dccp_feat_index() 362 return feat_num == DCCPF_CCID || feat_num == DCCPF_SHORT_SEQNOS || in dccp_feat_must_be_understood() 434 if (entry->feat_num == feat_num && entry->is_local == is_local) in dccp_feat_list_lookup() 436 else if (entry->feat_num > feat_num) in dccp_feat_list_lookup() 466 entry->feat_num = feat; in dccp_feat_entry_new() 489 new->feat_num = feat; in dccp_feat_push_change() 517 new->feat_num = feat; in dccp_feat_push_confirm() 588 switch (feat_num) { in dccp_feat_is_valid_nn_val() [all …]
|
A D | feat.h | 69 u8 feat_num; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 295 u32 feat_num[QED_MAX_FEATURES]; member 296 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc])
|
A D | qed_dev.c | 3580 u32 *feat_num = p_hwfn->hw_info.feat_num; in qed_hw_set_feat() local 3593 feat_num[QED_RDMA_CNQ] = in qed_hw_set_feat() 3597 non_l2_sbs = feat_num[QED_RDMA_CNQ]; in qed_hw_set_feat() 3601 feat_num[QED_VF_L2_QUE] = min_t(u32, in qed_hw_set_feat() 3604 feat_num[QED_PF_L2_QUE] = min_t(u32, in qed_hw_set_feat() 3613 feat_num[QED_FCOE_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat() 3618 feat_num[QED_ISCSI_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat() 3623 feat_num[QED_NVMETCP_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()
|
A D | qed_rdma.c | 887 int feat_num; in qed_rdma_get_sb_start() local 890 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE); in qed_rdma_get_sb_start() 892 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE) * in qed_rdma_get_sb_start() 895 return feat_num; in qed_rdma_get_sb_start()
|
A D | qed_fcoe.c | 120 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start() 124 p_hwfn->hw_info.feat_num[QED_FCOE_CQ]); in qed_sp_fcoe_func_start()
|
A D | qed_iscsi.c | 172 if (p_params->num_queues > p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]) { in qed_sp_iscsi_func_start() 176 p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]); in qed_sp_iscsi_func_start()
|
Completed in 31 milliseconds