Searched refs:feat_num (Results 1 – 5 of 5) sorted by relevance
296 u32 feat_num[QED_MAX_FEATURES]; member297 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc])
896 int feat_num; in qed_rdma_get_sb_start() local899 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE); in qed_rdma_get_sb_start()901 feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE) * in qed_rdma_get_sb_start()904 return feat_num; in qed_rdma_get_sb_start()
3497 u32 *feat_num = p_hwfn->hw_info.feat_num; in qed_hw_set_feat() local3510 feat_num[QED_RDMA_CNQ] = in qed_hw_set_feat()3514 non_l2_sbs = feat_num[QED_RDMA_CNQ]; in qed_hw_set_feat()3518 feat_num[QED_VF_L2_QUE] = min_t(u32, in qed_hw_set_feat()3521 feat_num[QED_PF_L2_QUE] = min_t(u32, in qed_hw_set_feat()3530 feat_num[QED_FCOE_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()3535 feat_num[QED_ISCSI_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()
119 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start()123 p_hwfn->hw_info.feat_num[QED_FCOE_CQ]); in qed_sp_fcoe_func_start()
171 if (p_params->num_queues > p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]) { in qed_sp_iscsi_func_start()175 p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]); in qed_sp_iscsi_func_start()