Home
last modified time | relevance | path

Searched refs:max_wqe (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c181 rq->max_wqe * qp->rq_hdr_buf_size, in bnxt_qplib_free_qp_hdr_buf()
185 sq->max_wqe * qp->sq_hdr_buf_size, in bnxt_qplib_free_qp_hdr_buf()
202 if (qp->sq_hdr_buf_size && sq->max_wqe) { in bnxt_qplib_alloc_qp_hdr_buf()
204 sq->max_wqe * qp->sq_hdr_buf_size, in bnxt_qplib_alloc_qp_hdr_buf()
214 if (qp->rq_hdr_buf_size && rq->max_wqe) { in bnxt_qplib_alloc_qp_hdr_buf()
216 rq->max_wqe * in bnxt_qplib_alloc_qp_hdr_buf()
627 hwq_attr.depth = srq->max_wqe; in bnxt_qplib_create_srq()
805 que->swq = kcalloc(que->max_wqe, sizeof(*que->swq), GFP_KERNEL); in bnxt_qplib_alloc_init_swq()
812 que->swq_last = que->max_wqe - 1; in bnxt_qplib_alloc_init_swq()
813 for (indx = 0; indx < que->max_wqe; indx++) in bnxt_qplib_alloc_init_swq()
[all …]
Dqplib_fp.h94 u32 max_wqe; member
251 u32 max_wqe; member
396 u32 max_wqe; member
567 return (que->wqe_size * que->max_wqe) / sizeof(struct sq_sge); in bnxt_qplib_get_depth()
573 que->max_wqe : bnxt_qplib_get_depth(que); in bnxt_qplib_set_sq_size()
Dib_verbs.c921 bytes = (qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size); in bnxt_re_init_user_qp()
928 qplib_qp->sq.max_wqe : in bnxt_re_init_user_qp()
929 ((qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size) / in bnxt_re_init_user_qp()
947 bytes = (qplib_qp->rq.max_wqe * qplib_qp->rq.wqe_size); in bnxt_re_init_user_qp()
1043 qp->qplib_qp.sq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1054 qp->qplib_qp.rq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1106 rq->max_wqe = 0; in bnxt_re_init_rq_attr()
1118 rq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + 1); in bnxt_re_init_rq_attr()
1177 sq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + diff + 1); in bnxt_re_init_sq_attr()
1205 qplqp->sq.max_wqe = min_t(u32, entries, in bnxt_re_adjust_gsi_sq_attr()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma.h89 u16 max_wqe; member
Docrdma_verbs.c85 attr->max_qp_wr = dev->attr.max_wqe; in ocrdma_query_device()
1109 (attrs->cap.max_send_wr > dev->attr.max_wqe)) { in ocrdma_check_qp_params()
1113 __func__, dev->id, dev->attr.max_wqe); in ocrdma_check_qp_params()
Docrdma_hw.c1216 dev->attr.max_wqe = rsp->max_wqes_rqes_per_q >> in ocrdma_get_attr()
2196 dev->attr.max_wqe); in ocrdma_set_create_qp_sq_cmd()
/drivers/infiniband/hw/qedr/
Dmain.c639 attr->max_sqe = min_t(u32, qed_attr->max_wqe, QEDR_MAX_SQE); in qedr_set_device_attr()
640 attr->max_rqe = min_t(u32, qed_attr->max_wqe, QEDR_MAX_RQE); in qedr_set_device_attr()
/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c473 dev->max_wqe = QED_RDMA_MAX_WQE; in qed_rdma_init_devinfo()