Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/rdma/
Dqedr-abi.h75 __u32 max_cqes; member
/linux-6.1.9/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()
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 …]
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()
Dbnx2i_init.c391 stats->rxq_size = hba->max_cqes; in bnx2i_get_stats()
Dbnx2i.h432 u32 max_cqes; member
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_cq.c284 if (!attr->cqe || attr->cqe > hr_dev->caps.max_cqes) { in verify_cq_create_attr()
286 attr->cqe, hr_dev->caps.max_cqes); in verify_cq_create_attr()
Dhns_roce_main.c186 props->max_cqe = hr_dev->caps.max_cqes; in hns_roce_query_device()
Dhns_roce_device.h744 u32 max_cqes; member
Dhns_roce_hw_v2.c1985 caps->max_cqes = HNS_ROCE_V2_MAX_CQE_NUM; in set_default_caps()
2159 calc_pg_sz(caps->max_cqes, caps->cqe_sz, caps->cqe_hop_num, in set_hem_page_size()
2326 caps->max_cqes = 1 << hr_reg_read(resp_c, PF_CAPS_C_CQ_DEPTH); in hns_roce_query_pf_caps()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c188 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
388 if (entries < 1 || entries > dev->dev->caps.max_cqes) { in mlx4_ib_resize_cq()
399 if (entries > dev->dev->caps.max_cqes + 1) { in mlx4_ib_resize_cq()
Dmain.c535 props->max_cqe = dev->dev->caps.max_cqes; in mlx4_ib_query_device()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_provider.c96 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
591 if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes) in mthca_create_cq()
704 if (entries < 1 || entries > dev->limits.max_cqes) in mthca_resize_cq()
Dmthca_dev.h155 int max_cqes; member
Dmthca_main.c227 mdev->limits.max_cqes = dev_lim->max_cq_sz - 1; in mthca_dev_lim()
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c379 tgt->max_cqes = BNX2FC_CQ_WQES_MAX; in bnx2fc_init_tgt()
683 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE; in bnx2fc_alloc_session_resc()
Dbnx2fc.h313 u32 max_cqes; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_verbs.c68 module_param_named(max_cqes, ib_qib_max_cqes, uint, S_IRUGO);
69 MODULE_PARM_DESC(max_cqes,
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dverbs.c45 module_param_named(max_cqes, hfi1_max_cqes, uint, S_IRUGO);
46 MODULE_PARM_DESC(max_cqes,
/linux-6.1.9/include/linux/mlx4/
Ddevice.h568 int max_cqes; member
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c1079 p_ramrod->max_cqes = cpu_to_le32(params->cq_size); in qed_rdma_create_cq()
Dqed_hsi.h6125 __le32 max_cqes; member
6314 __le32 max_cqes; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c520 dev->caps.max_cqes = dev_cap->max_cq_sz - 1; in mlx4_dev_cap()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c344 uresp.max_cqes = QEDR_MAX_CQES; in qedr_alloc_ucontext()