summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/trace_rx.h
diff options
context:
space:
mode:
authorDon Hiatt <don.hiatt@intel.com>2018-02-01 12:38:48 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-02-01 15:43:32 -0700
commit6197a815fe9c6e28523eede3d69fa5a8dd7052db (patch)
tree7f8e69d798d3f6e04c4135e855fcb009b179e0de /drivers/infiniband/hw/hfi1/trace_rx.h
parent953a9cebeab43f33baed79d1a9ef643bfb249c4b (diff)
downloadblackbird-op-linux-6197a815fe9c6e28523eede3d69fa5a8dd7052db.tar.gz
blackbird-op-linux-6197a815fe9c6e28523eede3d69fa5a8dd7052db.zip
IB/hfi1: Add 16B rcvhdr trace support
Add trace_hfi1_rcvhdr support for bypass packets. While here, remove the etype argument as it is available in struct hfi1_packet. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Don Hiatt <don.hiatt@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/trace_rx.h')
-rw-r--r--drivers/infiniband/hw/hfi1/trace_rx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/hfi1/trace_rx.h b/drivers/infiniband/hw/hfi1/trace_rx.h
index f76841595e08..7eceb57e0415 100644
--- a/drivers/infiniband/hw/hfi1/trace_rx.h
+++ b/drivers/infiniband/hw/hfi1/trace_rx.h
@@ -63,8 +63,8 @@ __print_symbolic(type, \
#define TRACE_SYSTEM hfi1_rx
TRACE_EVENT(hfi1_rcvhdr,
- TP_PROTO(struct hfi1_packet *packet, u32 etype),
- TP_ARGS(packet, etype),
+ TP_PROTO(struct hfi1_packet *packet),
+ TP_ARGS(packet),
TP_STRUCT__entry(DD_DEV_ENTRY(packet->rcd->dd)
__field(u64, eflags)
__field(u32, ctxt)
@@ -77,7 +77,7 @@ TRACE_EVENT(hfi1_rcvhdr,
TP_fast_assign(DD_DEV_ASSIGN(packet->rcd->dd);
__entry->eflags = rhf_err_flags(packet->rhf);
__entry->ctxt = packet->rcd->ctxt;
- __entry->etype = etype;
+ __entry->etype = packet->etype;
__entry->hlen = packet->hlen;
__entry->tlen = packet->tlen;
__entry->updegr = packet->updegr;
OpenPOWER on IntegriCloud