Home
last modified time | relevance | path

Searched refs:max_rqes (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_hwi.c58 if (!is_power_of_2(hba->max_rqes)) in bnx2i_adjust_qp_size()
59 hba->max_rqes = rounddown_pow_of_two(hba->max_rqes); in bnx2i_adjust_qp_size()
83 if (hba->max_rqes < num_elements_per_pg) in bnx2i_adjust_qp_size()
84 hba->max_rqes = num_elements_per_pg; in bnx2i_adjust_qp_size()
85 else if (hba->max_rqes % num_elements_per_pg) in bnx2i_adjust_qp_size()
86 hba->max_rqes = (hba->max_rqes + num_elements_per_pg - 1) & in bnx2i_adjust_qp_size()
241 if (ep->qp.rq_prod_idx > bnx2i_conn->hba->max_rqes) { in bnx2i_put_rq_buf()
242 ep->qp.rq_prod_idx %= bnx2i_conn->hba->max_rqes; in bnx2i_put_rq_buf()
1130 ep->qp.rq_mem_size = hba->max_rqes * BNX2I_RQ_WQE_SIZE; in bnx2i_alloc_qp_resc()
1160 ep->qp.rq_last_qe = &ep->qp.rq_first_qe[hba->max_rqes - 1]; in bnx2i_alloc_qp_resc()
[all …]
Dbnx2i.h431 u32 max_rqes; member
Dbnx2i_iscsi.c855 hba->max_rqes = rq_size; in bnx2i_alloc_hba()
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c378 tgt->max_rqes = BNX2FC_RQ_WQES_MAX; in bnx2fc_init_tgt()
696 tgt->rq_mem_size = tgt->max_rqes * BNX2FC_RQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
Dbnx2fc.h315 u32 max_rqes; member