Home
last modified time | relevance | path

Searched refs:max_cqes (Results 1 – 20 of 20) sorted by relevance

/drivers/scsi/bnx2i/
A Dbnx2i_hwi.c75 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()
77 else if (hba->max_cqes % num_elements_per_pg) in bnx2i_adjust_qp_size()
78 hba->max_cqes = (hba->max_cqes + num_elements_per_pg - 1) & in bnx2i_adjust_qp_size()
1088 ep->qp.cq_mem_size = hba->max_cqes * BNX2I_CQE_SIZE; in bnx2i_alloc_qp_resc()
1118 ep->qp.cq_last_qe = &ep->qp.cq_first_qe[hba->max_cqes - 1]; in bnx2i_alloc_qp_resc()
1121 ep->qp.cqe_left = hba->max_cqes; in bnx2i_alloc_qp_resc()
1123 ep->qp.cqe_size = hba->max_cqes; in bnx2i_alloc_qp_resc()
1280 iscsi_init.cq_num_wqes = hba->max_cqes; in bnx2i_send_fw_iscsi_init_msg()
1281 iscsi_init.cq_num_pages = (hba->max_cqes * BNX2I_CQE_SIZE + in bnx2i_send_fw_iscsi_init_msg()
[all …]
A Dbnx2i_iscsi.c856 hba->max_cqes = hba->max_sqes + rq_size; in bnx2i_alloc_hba()
858 if (hba->max_cqes > BNX2I_5770X_CQ_WQES_MAX) in bnx2i_alloc_hba()
859 hba->max_cqes = BNX2I_5770X_CQ_WQES_MAX; in bnx2i_alloc_hba()
860 } else if (hba->max_cqes > BNX2I_570X_CQ_WQES_MAX) in bnx2i_alloc_hba()
861 hba->max_cqes = BNX2I_570X_CQ_WQES_MAX; in bnx2i_alloc_hba()
A Dbnx2i_init.c391 stats->rxq_size = hba->max_cqes; in bnx2i_get_stats()
A Dbnx2i.h432 u32 max_cqes; member
/drivers/infiniband/hw/hns/
A Dhns_roce_cq.c283 if (!attr->cqe || attr->cqe > hr_dev->caps.max_cqes) { in verify_cq_create_attr()
285 attr->cqe, hr_dev->caps.max_cqes); in verify_cq_create_attr()
A Dhns_roce_device.h742 u32 max_cqes; member
A Dhns_roce_main.c187 props->max_cqe = hr_dev->caps.max_cqes; in hns_roce_query_device()
A Dhns_roce_hw_v2.c2098 calc_pg_sz(caps->max_cqes, caps->cqe_sz, caps->cqe_hop_num, in set_hem_page_size()
2275 caps->max_cqes = 1 << hr_reg_read(resp_c, PF_CAPS_C_CQ_DEPTH); in hns_roce_query_caps()
/drivers/infiniband/hw/mlx4/
A Dcq.c193 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
393 if (entries < 1 || entries > dev->dev->caps.max_cqes) { in mlx4_ib_resize_cq()
404 if (entries > dev->dev->caps.max_cqes + 1) { in mlx4_ib_resize_cq()
A Dmain.c540 props->max_cqe = dev->dev->caps.max_cqes; in mlx4_ib_query_device()
/drivers/infiniband/hw/mthca/
A Dmthca_provider.c96 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
592 if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes) in mthca_create_cq()
705 if (entries < 1 || entries > dev->limits.max_cqes) in mthca_resize_cq()
A Dmthca_dev.h155 int max_cqes; member
A Dmthca_main.c227 mdev->limits.max_cqes = dev_lim->max_cq_sz - 1; in mthca_dev_lim()
/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c377 tgt->max_cqes = BNX2FC_CQ_WQES_MAX; in bnx2fc_init_tgt()
681 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
A Dbnx2fc.h313 u32 max_cqes; member
/drivers/infiniband/hw/hfi1/
A Dverbs.c45 module_param_named(max_cqes, hfi1_max_cqes, uint, S_IRUGO);
46 MODULE_PARM_DESC(max_cqes,
/drivers/net/ethernet/qlogic/qed/
A Dqed_rdma.c1079 p_ramrod->max_cqes = cpu_to_le32(params->cq_size); in qed_rdma_create_cq()
A Dqed_hsi.h6073 __le32 max_cqes; member
6262 __le32 max_cqes; member
/drivers/net/ethernet/mellanox/mlx4/
A Dmain.c517 dev->caps.max_cqes = dev_cap->max_cq_sz - 1; in mlx4_dev_cap()
/drivers/infiniband/hw/qedr/
A Dverbs.c344 uresp.max_cqes = QEDR_MAX_CQES; in qedr_alloc_ucontext()

Completed in 151 milliseconds