Searched refs:feat_num (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 293 u32 feat_num[QED_MAX_FEATURES]; member 294 #define FEAT_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.feat_num[resc])
|
D | qed_dev.c | 3524 u32 *feat_num = p_hwfn->hw_info.feat_num; in qed_hw_set_feat() local 3537 feat_num[QED_RDMA_CNQ] = in qed_hw_set_feat() 3541 non_l2_sbs = feat_num[QED_RDMA_CNQ]; in qed_hw_set_feat() 3545 feat_num[QED_VF_L2_QUE] = min_t(u32, in qed_hw_set_feat() 3548 feat_num[QED_PF_L2_QUE] = min_t(u32, in qed_hw_set_feat() 3557 feat_num[QED_FCOE_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat() 3562 feat_num[QED_ISCSI_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat() 3567 feat_num[QED_NVMETCP_CQ] = min_t(u32, sb_cnt.cnt, in qed_hw_set_feat()
|
D | qed_rdma.c | 896 int feat_num; in qed_rdma_get_sb_start() local 899 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()
|
D | qed_fcoe.c | 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()
|
D | qed_iscsi.c | 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()
|