Searched refs:max_wqes (Results 1 – 13 of 13) sorted by relevance
373 if (!cap->max_recv_wr || cap->max_recv_wr > hr_dev->caps.max_wqes || in set_rq_size()381 if (cnt > hr_dev->caps.max_wqes) { in set_rq_size()474 cnt > hr_dev->caps.max_wqes) in set_user_sq_size()553 if (!cap->max_send_wr || cap->max_send_wr > hr_dev->caps.max_wqes || in set_kernel_sq_size()562 if (cnt > hr_dev->caps.max_wqes) { in set_kernel_sq_size()
196 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
773 u32 max_wqes; member
1793 caps->max_wqes = HNS_ROCE_V2_MAX_WQE_NUM; in set_default_caps()2046 caps->max_wqes = 1 << le16_to_cpu(resp_c->sq_depth); in hns_roce_query_pf_caps()
1453 caps->max_wqes = HNS_ROCE_V1_MAX_WQE_NUM; in hns_roce_v1_profile()
144 int max_wqes; member
214 mdev->limits.max_wqes = dev_lim->max_qp_sz; in mthca_dev_lim()
1255 if (cap->max_send_wr > dev->limits.max_wqes || in mthca_set_qp_size()1256 cap->max_recv_wr > dev->limits.max_wqes || in mthca_set_qp_size()
99 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
306 if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE || in set_rq_size()337 min(dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE, qp->rq.wqe_cnt); in set_rq_size()352 if (cap->max_send_wr > (dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE) || in set_kernel_sq_size()416 if ((1 << ucmd->log_sq_bb_count) > dev->dev->caps.max_wqes || in set_user_sq_size()
535 props->max_qp_wr = dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE; in mlx4_ib_query_device()
557 int max_wqes; member
509 dev->caps.max_wqes = dev_cap->max_qp_sz; in mlx4_dev_cap()