Message ID | 1484682252-32964-1-git-send-email-tatyana.e.nikolova@intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Tue, Jan 17, 2017 at 01:44:12PM -0600, Tatyana Nikolova wrote: > Fixes: 13b2b3cf148c ("libqedr: fix queue wrapping logic") > > After enabling FP_DP_VERBOSE macro, for example: > #define FP_DP_VERBOSE(...) DP_VERBOSE(__VA_ARGS__) > > libqedr compilation fails with the error below: > > In file included from ../providers/qedr/qelr_verbs.c:48:0: > ../providers/qedr/qelr_verbs.c: In function ‘qelr_post_recv’: > ../providers/qedr/qelr_verbs.c:1447:14: error: ‘struct rdma_rq_sge’ has no member named ‘first_addr’ > rqe->first_addr.hi, rqe->first_addr.lo); > > Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> > --- > providers/qedr/qelr_verbs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This fix isn't relevant anymore, Ram deleted these macros. Thanks
diff --git a/providers/qedr/qelr_verbs.c b/providers/qedr/qelr_verbs.c index 793b1f4..93a0e35 100644 --- a/providers/qedr/qelr_verbs.c +++ b/providers/qedr/qelr_verbs.c @@ -1444,7 +1444,7 @@ int qelr_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, FP_DP_VERBOSE(cxt->dbg_fp, QELR_MSG_CQ, "[%d]: len %d key %x addr %x:%x\n", i, rqe->length, rqe->flags, - rqe->first_addr.hi, rqe->first_addr.lo); + rqe->addr.hi, rqe->addr.lo); } /* Special case of no sges. FW requires between 1-4 sges... * in this case we need to post 1 sge with length zero. this is
Fixes: 13b2b3cf148c ("libqedr: fix queue wrapping logic") After enabling FP_DP_VERBOSE macro, for example: #define FP_DP_VERBOSE(...) DP_VERBOSE(__VA_ARGS__) libqedr compilation fails with the error below: In file included from ../providers/qedr/qelr_verbs.c:48:0: ../providers/qedr/qelr_verbs.c: In function ‘qelr_post_recv’: ../providers/qedr/qelr_verbs.c:1447:14: error: ‘struct rdma_rq_sge’ has no member named ‘first_addr’ rqe->first_addr.hi, rqe->first_addr.lo); Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> --- providers/qedr/qelr_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)