Searched refs:num_elements_per_pg (Results 1 – 1 of 1) sorted by relevance
50 u32 num_elements_per_pg; in bnx2i_adjust_qp_size() local66 num_elements_per_pg = CNIC_PAGE_SIZE / BNX2I_SQ_WQE_SIZE; in bnx2i_adjust_qp_size()67 if (hba->max_sqes < num_elements_per_pg) in bnx2i_adjust_qp_size()68 hba->max_sqes = num_elements_per_pg; in bnx2i_adjust_qp_size()69 else if (hba->max_sqes % num_elements_per_pg) in bnx2i_adjust_qp_size()70 hba->max_sqes = (hba->max_sqes + num_elements_per_pg - 1) & in bnx2i_adjust_qp_size()71 ~(num_elements_per_pg - 1); in bnx2i_adjust_qp_size()74 num_elements_per_pg = CNIC_PAGE_SIZE / BNX2I_CQE_SIZE; in bnx2i_adjust_qp_size()75 if (hba->max_cqes < num_elements_per_pg) in bnx2i_adjust_qp_size()76 hba->max_cqes = num_elements_per_pg; in bnx2i_adjust_qp_size()[all …]