Home
last modified time | relevance | path

Searched refs:srqe (Results 1 – 2 of 2) sorted by relevance

/src/contrib/ofed/libbnxtre/
H A Dverbs.c2446 struct ibv_recv_wr *wr, void *srqe) in bnxt_re_build_srqe() argument
2448 struct bnxt_re_brqe *hdr = srqe; in bnxt_re_build_srqe()
2455 sge = (srqe + bnxt_re_get_srqe_hdr_sz()); in bnxt_re_build_srqe()
2496 void *srqe; in bnxt_re_post_srq_recv() local
2509 srqe = (void *) (rq->va + (rq->tail * rq->stride)); in bnxt_re_post_srq_recv()
2510 memset(srqe, 0, bnxt_re_get_srqe_sz()); in bnxt_re_post_srq_recv()
2511 ret = bnxt_re_build_srqe(srq, wr, srqe); in bnxt_re_post_srq_recv()
/src/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c774 struct rq_wqe *srqe; in bnxt_qplib_post_srq_recv() local
790 srqe = bnxt_qplib_get_qe(srq_hwq, srq_hwq->prod, NULL); in bnxt_qplib_post_srq_recv()
791 memset(srqe, 0, srq->wqe_size); in bnxt_qplib_post_srq_recv()
793 for (i = 0, hw_sge = (struct sq_sge *)srqe->data; in bnxt_qplib_post_srq_recv()
799 srqe->wqe_type = wqe->type; in bnxt_qplib_post_srq_recv()
800 srqe->flags = wqe->flags; in bnxt_qplib_post_srq_recv()
801 srqe->wqe_size = wqe->num_sge + in bnxt_qplib_post_srq_recv()
802 ((offsetof(typeof(*srqe), data) + 15) >> 4); in bnxt_qplib_post_srq_recv()
804 srqe->wqe_size++; in bnxt_qplib_post_srq_recv()
805 srqe->wr_id |= cpu_to_le32((u32)next); in bnxt_qplib_post_srq_recv()