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

/linux-master/include/uapi/rdma/
H A Dqedr-abi.h75 __u32 max_cqes; member in struct:qedr_alloc_ucontext_resp
/linux-master/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c75 if (hba->max_cqes < num_elements_per_pg)
76 hba->max_cqes = num_elements_per_pg;
77 else if (hba->max_cqes % num_elements_per_pg)
78 hba->max_cqes = (hba->max_cqes + num_elements_per_pg - 1) &
1088 ep->qp.cq_mem_size = hba->max_cqes * BNX2I_CQE_SIZE;
1118 ep->qp.cq_last_qe = &ep->qp.cq_first_qe[hba->max_cqes - 1];
1121 ep->qp.cqe_left = hba->max_cqes;
1123 ep->qp.cqe_size = hba->max_cqes;
1280 iscsi_init.cq_num_wqes = hba->max_cqes;
[all...]
H A Dbnx2i_init.c391 stats->rxq_size = hba->max_cqes;
H A Dbnx2i_iscsi.c856 hba->max_cqes = hba->max_sqes + rq_size;
858 if (hba->max_cqes > BNX2I_5770X_CQ_WQES_MAX)
859 hba->max_cqes = BNX2I_5770X_CQ_WQES_MAX;
860 } else if (hba->max_cqes > BNX2I_570X_CQ_WQES_MAX)
861 hba->max_cqes = BNX2I_570X_CQ_WQES_MAX;
H A Dbnx2i.h358 * @max_cqes: CQ size
432 u32 max_cqes; member in struct:bnx2i_hba
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c283 if (!attr->cqe || attr->cqe > hr_dev->caps.max_cqes) {
285 attr->cqe, hr_dev->caps.max_cqes);
H A Dhns_roce_main.c186 props->max_cqe = hr_dev->caps.max_cqes;
H A Dhns_roce_device.h743 u32 max_cqes; member in struct:hns_roce_caps
H A Dhns_roce_hw_v2.c2032 calc_pg_sz(caps->max_cqes, caps->cqe_sz, caps->cqe_hop_num,
2203 caps->max_cqes = 1 << hr_reg_read(resp_c, PF_CAPS_C_CQ_DEPTH);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcq.c188 if (entries < 1 || entries > dev->dev->caps.max_cqes)
388 if (entries < 1 || entries > dev->dev->caps.max_cqes) {
399 if (entries > dev->dev->caps.max_cqes + 1) {
H A Dmain.c540 props->max_cqe = dev->dev->caps.max_cqes;
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c96 props->max_cqe = mdev->limits.max_cqes;
591 if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes)
704 if (entries < 1 || entries > dev->limits.max_cqes)
H A Dmthca_dev.h155 int max_cqes; member in struct:mthca_limits
H A Dmthca_main.c227 mdev->limits.max_cqes = dev_lim->max_cq_sz - 1;
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c379 tgt->max_cqes = BNX2FC_CQ_WQES_MAX;
683 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE;
H A Dbnx2fc.h313 u32 max_cqes; member in struct:bnx2fc_rport
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_verbs.c68 module_param_named(max_cqes, ib_qib_max_cqes, uint, S_IRUGO);
69 MODULE_PARM_DESC(max_cqes,
/linux-master/drivers/infiniband/hw/hfi1/
H A Dverbs.c45 module_param_named(max_cqes, hfi1_max_cqes, uint, S_IRUGO);
46 MODULE_PARM_DESC(max_cqes,
/linux-master/include/linux/mlx4/
H A Ddevice.h569 int max_cqes; member in struct:mlx4_caps
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_rdma.c1079 p_ramrod->max_cqes = cpu_to_le32(params->cq_size);
H A Dqed_hsi.h6125 __le32 max_cqes; member in struct:rdma_create_cq_ramrod_data
6314 __le32 max_cqes; member in struct:rdma_resize_cq_ramrod_data
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c519 dev->caps.max_cqes = dev_cap->max_cq_sz - 1;
/linux-master/drivers/infiniband/hw/qedr/
H A Dverbs.c344 uresp.max_cqes = QEDR_MAX_CQES;

Completed in 624 milliseconds