Searched refs:max_cqes (Results 1 – 20 of 20) sorted by relevance
75 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 …]
856 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()
391 stats->rxq_size = hba->max_cqes; in bnx2i_get_stats()
432 u32 max_cqes; member
283 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()
742 u32 max_cqes; member
187 props->max_cqe = hr_dev->caps.max_cqes; in hns_roce_query_device()
2098 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()
193 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()
540 props->max_cqe = dev->dev->caps.max_cqes; in mlx4_ib_query_device()
96 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()
155 int max_cqes; member
227 mdev->limits.max_cqes = dev_lim->max_cq_sz - 1; in mthca_dev_lim()
377 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()
313 u32 max_cqes; member
45 module_param_named(max_cqes, hfi1_max_cqes, uint, S_IRUGO);46 MODULE_PARM_DESC(max_cqes,
1079 p_ramrod->max_cqes = cpu_to_le32(params->cq_size); in qed_rdma_create_cq()
6073 __le32 max_cqes; member6262 __le32 max_cqes; member
517 dev->caps.max_cqes = dev_cap->max_cq_sz - 1; in mlx4_dev_cap()
344 uresp.max_cqes = QEDR_MAX_CQES; in qedr_alloc_ucontext()
Completed in 151 milliseconds