Skip to content

Commit b47d112

Browse files
committed
libxscale: Add support for posting verbs
This patch adds support for post_send and post_recv routines. Signed-off-by: Tian Xin <[email protected]> Signed-off-by: Wei Honggang <[email protected]> Signed-off-by: Zhao Qianwei <[email protected]> Signed-off-by: Li Qiang <[email protected]> Signed-off-by: Yan Lei <[email protected]>
1 parent 5574ef9 commit b47d112

File tree

3 files changed

+505
-6
lines changed

3 files changed

+505
-6
lines changed

providers/xscale/cq.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ static void *get_sw_cqe(struct xsc_cq *cq, int n)
112112
return NULL;
113113
}
114114

115-
void *xsc_get_send_wqe(struct xsc_qp *qp, int n)
116-
{
117-
return qp->sq_start + (n << qp->sq.wqe_shift);
118-
}
119-
120115
static void update_cons_index(struct xsc_cq *cq)
121116
{
122117
struct xsc_context *ctx =
@@ -516,7 +511,7 @@ void __xsc_cq_clean(struct xsc_cq *cq, u32 qpn)
516511
int nfreed = 0;
517512
void *cqe, *dest;
518513

519-
if (!cq || cq->flags & XSC_CQ_FLAGS_DV_OWNED)
514+
if (!cq)
520515
return;
521516
xsc_dbg(to_xctx(cq->verbs_cq.cq_ex.context)->dbg_fp, XSC_DBG_CQ, "\n");
522517

0 commit comments

Comments
 (0)