Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/rdma/
Dqedr-abi.h52 __u32 max_cqes; member
/Linux-v4.19/drivers/scsi/bnx2i/
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()
1090 ep->qp.cq_mem_size = hba->max_cqes * BNX2I_CQE_SIZE; in bnx2i_alloc_qp_resc()
1120 ep->qp.cq_last_qe = &ep->qp.cq_first_qe[hba->max_cqes - 1]; in bnx2i_alloc_qp_resc()
1123 ep->qp.cqe_left = hba->max_cqes; in bnx2i_alloc_qp_resc()
1125 ep->qp.cqe_size = hba->max_cqes; in bnx2i_alloc_qp_resc()
1282 iscsi_init.cq_num_wqes = hba->max_cqes; in bnx2i_send_fw_iscsi_init_msg()
1283 iscsi_init.cq_num_pages = (hba->max_cqes * BNX2I_CQE_SIZE + in bnx2i_send_fw_iscsi_init_msg()
[all …]
Dbnx2i_iscsi.c858 hba->max_cqes = hba->max_sqes + rq_size; in bnx2i_alloc_hba()
860 if (hba->max_cqes > BNX2I_5770X_CQ_WQES_MAX) in bnx2i_alloc_hba()
861 hba->max_cqes = BNX2I_5770X_CQ_WQES_MAX; in bnx2i_alloc_hba()
862 } else if (hba->max_cqes > BNX2I_570X_CQ_WQES_MAX) in bnx2i_alloc_hba()
863 hba->max_cqes = BNX2I_570X_CQ_WQES_MAX; in bnx2i_alloc_hba()
Dbnx2i_init.c391 stats->rxq_size = hba->max_cqes; in bnx2i_get_stats()
Dbnx2i.h432 u32 max_cqes; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_cq.c325 if (cq_entries < 1 || cq_entries > hr_dev->caps.max_cqes) { in hns_roce_ib_create_cq()
327 cq_entries, hr_dev->caps.max_cqes); in hns_roce_ib_create_cq()
Dhns_roce_device.h676 int max_cqes; member
Dhns_roce_main.c213 props->max_cqe = hr_dev->caps.max_cqes; in hns_roce_query_device()
Dhns_roce_hw_v2.c1194 caps->max_cqes = HNS_ROCE_V2_MAX_CQE_NUM; in hns_roce_v2_profile()
Dhns_roce_hw_v1.c1558 caps->max_cqes = HNS_ROCE_V1_MAX_CQE_NUM; in hns_roce_v1_profile()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dcq.c186 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
390 if (entries < 1 || entries > dev->dev->caps.max_cqes) { in mlx4_ib_resize_cq()
401 if (entries > dev->dev->caps.max_cqes + 1) { in mlx4_ib_resize_cq()
Dmain.c526 props->max_cqe = dev->dev->caps.max_cqes; in mlx4_ib_query_device()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c379 tgt->max_cqes = BNX2FC_CQ_WQES_MAX; in bnx2fc_init_tgt()
684 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
Dbnx2fc.h315 u32 max_cqes; member
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_provider.c103 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
666 if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes) in mthca_create_cq()
787 if (entries < 1 || entries > dev->limits.max_cqes) in mthca_resize_cq()
Dmthca_dev.h156 int max_cqes; member
Dmthca_main.c227 mdev->limits.max_cqes = dev_lim->max_cq_sz - 1; in mthca_dev_lim()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_verbs.c69 module_param_named(max_cqes, ib_qib_max_cqes, uint, S_IRUGO);
70 MODULE_PARM_DESC(max_cqes,
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dverbs.c85 module_param_named(max_cqes, hfi1_max_cqes, uint, S_IRUGO);
86 MODULE_PARM_DESC(max_cqes,
/Linux-v4.19/include/linux/mlx4/
Ddevice.h568 int max_cqes; member
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c1058 p_ramrod->max_cqes = cpu_to_le32(params->cq_size); in qed_rdma_create_cq()
Dqed_hsi.h7039 __le32 max_cqes; member
7198 __le32 max_cqes; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c520 dev->caps.max_cqes = dev_cap->max_cq_sz - 1; in mlx4_dev_cap()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c375 uresp.max_cqes = QEDR_MAX_CQES; in qedr_alloc_ucontext()