Searched refs:max_sqes (Results 1 – 11 of 11) sorted by relevance
44 return sprintf(buf, "0x%x\n", hba->max_sqes); in bnx2i_show_sq_info()78 hba->max_sqes = val; in bnx2i_set_sq_info()
55 if (!is_power_of_2(hba->max_sqes)) in bnx2i_adjust_qp_size()56 hba->max_sqes = rounddown_pow_of_two(hba->max_sqes); 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()1052 ep->qp.sq_mem_size = hba->max_sqes * BNX2I_SQ_WQE_SIZE; in bnx2i_alloc_qp_resc()1082 ep->qp.sq_last_qe = &ep->qp.sq_first_qe[hba->max_sqes - 1]; in bnx2i_alloc_qp_resc()1085 ep->qp.sqe_left = hba->max_sqes; in bnx2i_alloc_qp_resc()1271 hba->num_ccell = hba->max_sqes >> 1; in bnx2i_send_fw_iscsi_init_msg()[all …]
845 hba->max_sqes = sq_size; in bnx2i_alloc_hba()847 hba->max_sqes = BNX2I_5770X_SQ_WQES_DEFAULT; in bnx2i_alloc_hba()850 hba->max_sqes = sq_size; in bnx2i_alloc_hba()852 hba->max_sqes = BNX2I_570X_SQ_WQES_DEFAULT; in bnx2i_alloc_hba()856 hba->max_cqes = hba->max_sqes + rq_size; in bnx2i_alloc_hba()863 hba->num_ccell = hba->max_sqes / 2; in bnx2i_alloc_hba()1231 hba->max_sqes) in bnx2i_task_xmit()1308 if (cmds_max > hba->max_sqes) in bnx2i_session_create()1309 cmds_max = hba->max_sqes; in bnx2i_session_create()
390 stats->txq_size = hba->max_sqes; in bnx2i_get_stats()
430 u32 max_sqes; member
404 u32 max_sqes; in bnx2fc_elstm_alloc() local407 max_sqes = tgt->max_sqes; in bnx2fc_elstm_alloc()410 max_sqes = BNX2FC_TM_MAX_SQES; in bnx2fc_elstm_alloc()413 max_sqes = BNX2FC_ELS_MAX_SQES; in bnx2fc_elstm_alloc()426 (tgt->num_active_ios.counter >= max_sqes) || in bnx2fc_elstm_alloc()427 (free_sqes + max_sqes <= BNX2FC_SQ_WQES_MAX)) { in bnx2fc_elstm_alloc()430 tgt->num_active_ios.counter, tgt->max_sqes); in bnx2fc_elstm_alloc()473 u32 max_sqes; in bnx2fc_cmd_alloc() local477 max_sqes = BNX2FC_SCSI_MAX_SQES; in bnx2fc_cmd_alloc()485 (tgt->num_active_ios.counter >= max_sqes) || in bnx2fc_cmd_alloc()[all …]
377 tgt->max_sqes = BNX2FC_SQ_WQES_MAX; in bnx2fc_init_tgt()670 tgt->sq_mem_size = tgt->max_sqes * BNX2FC_SQ_WQE_SIZE; in bnx2fc_alloc_session_resc()733 tgt->xferq_mem_size = tgt->max_sqes * BNX2FC_XFERQ_WQE_SIZE; in bnx2fc_alloc_session_resc()747 tgt->confq_mem_size = tgt->max_sqes * BNX2FC_CONFQ_WQE_SIZE; in bnx2fc_alloc_session_resc()800 tgt->lcq_mem_size = (tgt->max_sqes + 8) * BNX2FC_SQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
314 u32 max_sqes; member
310 u32 max_sqes; member
253 if (cmds_max > qedi->max_sqes) in qedi_session_create()254 cmds_max = qedi->max_sqes; in qedi_session_create()
658 qedi->max_sqes = QEDI_SQ_SIZE; in qedi_host_alloc()