diff options
author | Mike Marciniszyn | 2017-03-21 01:25:23 +0100 |
---|---|---|
committer | Doug Ledford | 2017-04-05 20:45:09 +0200 |
commit | 9260b3541f3a9159b6f49270077d8669870d5db0 (patch) | |
tree | eedd14a83c74eb5c29ec62a3088e2111268c3a48 /drivers/infiniband/hw/hfi1/rc.c | |
parent | IB/rdmavt: Add tracing for cq entry and poll (diff) | |
download | kernel-qcow2-linux-9260b3541f3a9159b6f49270077d8669870d5db0.tar.gz kernel-qcow2-linux-9260b3541f3a9159b6f49270077d8669870d5db0.tar.xz kernel-qcow2-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/rc.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/rc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/rc.c b/drivers/infiniband/hw/hfi1/rc.c index 4649530ac4e8..0e5657803a54 100644 --- a/drivers/infiniband/hw/hfi1/rc.c +++ b/drivers/infiniband/hw/hfi1/rc.c @@ -1028,6 +1028,7 @@ void hfi1_rc_send_complete(struct rvt_qp *qp, struct ib_header *hdr) cmp_psn(qp->s_sending_psn, qp->s_sending_hpsn) <= 0) break; s_last = qp->s_last; + trace_hfi1_qp_send_completion(qp, wqe, s_last); if (++s_last >= qp->s_size) s_last = 0; qp->s_last = s_last; @@ -1079,6 +1080,7 @@ static struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, rvt_put_swqe(wqe); s_last = qp->s_last; + trace_hfi1_qp_send_completion(qp, wqe, s_last); if (++s_last >= qp->s_size) s_last = 0; qp->s_last = s_last; |