Home
last modified time | relevance | path

Searched refs:max_post (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_qp.c321 cap->max_recv_wr = hr_qp->rq.max_post = hr_qp->rq.wqe_cnt; in hns_roce_set_rq_size()
613 cap->max_send_wr = hr_qp->sq.max_post = hr_qp->sq.wqe_cnt; in hns_roce_set_kernel_sq_size()
1294 if (likely(cur + nreq < hr_wq->max_post)) in hns_roce_wq_overflow()
1302 return cur + nreq >= hr_wq->max_post; in hns_roce_wq_overflow()
Dhns_roce_device.h429 u32 max_post; member
/drivers/infiniband/hw/mlx4/
Dqp.c359 cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; in set_rq_size()
362 cap->max_recv_wr = qp->rq.max_post = in set_rq_size()
426 cap->max_send_wr = qp->sq.max_post = in set_kernel_sq_size()
3287 if (likely(cur + nreq < wq->max_post)) in mlx4_wq_overflow()
3295 return cur + nreq >= wq->max_post; in mlx4_wq_overflow()
Dmlx4_ib.h171 int max_post; member
/drivers/infiniband/hw/mlx5/
Dqp.c355 qp->rq.max_post = qp->rq.wqe_cnt; in set_rq_size()
372 qp->rq.max_post = qp->rq.wqe_cnt; in set_rq_size()
515 qp->sq.max_post = wq_size / wqe_size; in calc_sq_size()
516 attr->cap.max_send_wr = qp->sq.max_post; in calc_sq_size()
4078 if (likely(cur + nreq < wq->max_post)) in mlx5_wq_overflow()
4086 return cur + nreq >= wq->max_post; in mlx5_wq_overflow()
5801 qp_attr->cap.max_send_wr = qp->sq.max_post; in mlx5_ib_query_qp()
Dmlx5_ib.h279 int max_post; member