diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2017-03-21 01:25:23 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 20:45:09 +0200 |
commit | 9260b3541f3a9159b6f49270077d8669870d5db0 (patch) | |
tree | eedd14a83c74eb5c29ec62a3088e2111268c3a48 /drivers/infiniband/hw/hfi1/ruc.c | |
parent | IB/rdmavt: Add tracing for cq entry and poll (diff) | |
download | linux-9260b3541f3a9159b6f49270077d8669870d5db0.tar.xz linux-9260b3541f3a9159b6f49270077d8669870d5db0.zip |
IB/rdmavt: Add swqe completion trace
The following fields are available for filter/trace:
- wqe
- wr_id
- qpn
- qpt
- length
- idx
- ssn
- (wr)opcode
- (wr)send_flags
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/ruc.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/ruc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/ruc.c b/drivers/infiniband/hw/hfi1/ruc.c index d2eb793b34af..eeb650dde776 100644 --- a/drivers/infiniband/hw/hfi1/ruc.c +++ b/drivers/infiniband/hw/hfi1/ruc.c @@ -909,8 +909,10 @@ void hfi1_send_complete(struct rvt_qp *qp, struct rvt_swqe *wqe, last = qp->s_last; old_last = last; + trace_hfi1_qp_send_completion(qp, wqe, last); if (++last >= qp->s_size) last = 0; + trace_hfi1_qp_send_completion(qp, wqe, last); qp->s_last = last; /* See post_send() */ barrier(); |