bnxt_qplib_get_depth
sq->max_sw_wqe = bnxt_qplib_get_depth(sq, qplqp->wqe_mode, true);
hwq_attr.depth = bnxt_qplib_get_depth(sq, qp->wqe_mode, true);
hwq_attr.depth = bnxt_qplib_get_depth(rq, qp->wqe_mode, false);
hwq_attr.depth = bnxt_qplib_get_depth(sq, qp->wqe_mode, false);
hwq_attr.depth = bnxt_qplib_get_depth(rq, qp->wqe_mode, false);
que->max_wqe : bnxt_qplib_get_depth(que, wqe_mode, true);