Home
last modified time | relevance | path

Searched refs:max_wqes (Results 1 – 12 of 12) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_qp.c496 if (!cap->max_recv_wr || cap->max_recv_wr > hr_dev->caps.max_wqes || in set_rq_size()
505 if (cnt > hr_dev->caps.max_wqes) { in set_rq_size()
602 cnt > hr_dev->caps.max_wqes) in set_user_sq_size()
677 if (!cap->max_send_wr || cap->max_send_wr > hr_dev->caps.max_wqes || in set_kernel_sq_size()
684 if (cnt > hr_dev->caps.max_wqes) { in set_kernel_sq_size()
Dhns_roce_main.c182 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
Dhns_roce_device.h764 u32 max_wqes; member
Dhns_roce_hw_v2.c1956 caps->max_wqes = HNS_ROCE_V2_MAX_WQE_NUM; in set_default_caps()
2323 caps->max_wqes = 1 << le16_to_cpu(resp_c->sq_depth); in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1537 caps->max_wqes = HNS_ROCE_V1_MAX_WQE_NUM; in hns_roce_v1_profile()
/drivers/infiniband/hw/mthca/
Dmthca_dev.h144 int max_wqes; member
Dmthca_main.c214 mdev->limits.max_wqes = dev_lim->max_qp_sz; in mthca_dev_lim()
Dmthca_qp.c1258 if (cap->max_send_wr > dev->limits.max_wqes || in mthca_set_qp_size()
1259 cap->max_recv_wr > dev->limits.max_wqes || in mthca_set_qp_size()
Dmthca_provider.c99 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
/drivers/infiniband/hw/mlx4/
Dqp.c306 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()
419 cnt > dev->dev->caps.max_wqes) in set_user_sq_size()
Dmain.c536 props->max_qp_wr = dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE; in mlx4_ib_query_device()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c509 dev->caps.max_wqes = dev_cap->max_qp_sz; in mlx4_dev_cap()