Searched refs:max_post (Results 1 – 6 of 6) sorted by relevance
321 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()
429 u32 max_post; member
359 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()
171 int max_post; member
355 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()
279 int max_post; member