summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/trace_ibhdrs.h
diff options
context:
space:
mode:
authorDon Hiatt2017-04-09 19:16:28 +0200
committerDoug Ledford2017-04-28 19:48:01 +0200
commit3d591099a0a2b45a50913130f0599ab838002fc3 (patch)
treeee600b40951426e58987a881c84a11ee2b415ff0 /drivers/infiniband/hw/hfi1/trace_ibhdrs.h
parentIB/hfi1: Add functions to parse 9B headers (diff)
downloadkernel-qcow2-linux-3d591099a0a2b45a50913130f0599ab838002fc3.tar.gz
kernel-qcow2-linux-3d591099a0a2b45a50913130f0599ab838002fc3.tar.xz
kernel-qcow2-linux-3d591099a0a2b45a50913130f0599ab838002fc3.zip
IB/hfi1: Use defines from common headers
Move FECN and BECN related defines to common header files Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Don Hiatt <don.hiatt@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@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/trace_ibhdrs.h')
-rw-r--r--drivers/infiniband/hw/hfi1/trace_ibhdrs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/hfi1/trace_ibhdrs.h b/drivers/infiniband/hw/hfi1/trace_ibhdrs.h
index 382fcda3a5f6..090f6b506953 100644
--- a/drivers/infiniband/hw/hfi1/trace_ibhdrs.h
+++ b/drivers/infiniband/hw/hfi1/trace_ibhdrs.h
@@ -139,11 +139,11 @@ DECLARE_EVENT_CLASS(hfi1_ibhdr_template,
__entry->pkey =
be32_to_cpu(ohdr->bth[0]) & 0xffff;
__entry->f =
- (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) &
- HFI1_FECN_MASK;
+ (be32_to_cpu(ohdr->bth[1]) >> IB_FECN_SHIFT) &
+ IB_FECN_MASK;
__entry->b =
- (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) &
- HFI1_BECN_MASK;
+ (be32_to_cpu(ohdr->bth[1]) >> IB_BECN_SHIFT) &
+ IB_BECN_MASK;
__entry->qpn =
be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK;
__entry->a =