Home
last modified time | relevance | path

Searched refs:max_qp_wqes (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.h56 u32 max_qp_wqes; member
H A Dib_verbs.c204 ib_attr->max_qp_wr = dev_attr->max_qp_wqes; in bnxt_re_query_device()
1299 rq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + 1); in bnxt_re_init_rq_attr()
1365 sq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + diff + 1); in bnxt_re_init_sq_attr()
1401 dev_attr->max_qp_wqes + 1); in bnxt_re_adjust_gsi_sq_attr()
1581 if (init_attr->cap.max_send_wr > dev_attr->max_qp_wqes || in bnxt_re_test_qp_limits()
1582 init_attr->cap.max_recv_wr > dev_attr->max_qp_wqes || in bnxt_re_test_qp_limits()
1588 init_attr->cap.max_send_wr, dev_attr->max_qp_wqes, in bnxt_re_test_qp_limits()
1589 init_attr->cap.max_recv_wr, dev_attr->max_qp_wqes, in bnxt_re_test_qp_limits()
2239 if ((qp_attr->cap.max_send_wr >= dev_attr->max_qp_wqes) || in bnxt_re_modify_qp()
2240 (qp_attr->cap.max_recv_wr >= dev_attr->max_qp_wqes) || in bnxt_re_modify_qp()
[all …]
H A Dqplib_sp.c132 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr) - 1; in bnxt_qplib_get_dev_attr()
138 attr->max_qp_wqes -= BNXT_QPLIB_RESERVED_QP_WRS + 1; in bnxt_qplib_get_dev_attr()
143 attr->max_qp_wqes = BNXT_VAR_MAX_WQE - 1; in bnxt_qplib_get_dev_attr()