aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/rdma/opa_addr.h
diff options
context:
space:
mode:
authorDon Hiatt <don.hiatt@intel.com>2017-08-04 13:54:23 -0700
committerDoug Ledford <dledford@redhat.com>2017-08-22 14:22:37 -0400
commit88733e3b845024cb2324a68469a4a25fdd9c0a6c (patch)
tree2701e93735e12d43bfb14ac7042c69423fd70483 /include/rdma/opa_addr.h
parentIB/hfi1: Determine 9B/16B L2 header type based on Address handle (diff)
downloadwireguard-linux-88733e3b845024cb2324a68469a4a25fdd9c0a6c.tar.xz
wireguard-linux-88733e3b845024cb2324a68469a4a25fdd9c0a6c.zip
IB/hfi1: Add 16B UD support
Add 16B bypass packet support for UD traffic types. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Signed-off-by: Don Hiatt <don.hiatt@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/opa_addr.h')
-rw-r--r--include/rdma/opa_addr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/opa_addr.h b/include/rdma/opa_addr.h
index 9ae126fb8648..e6e90f18e6d5 100644
--- a/include/rdma/opa_addr.h
+++ b/include/rdma/opa_addr.h
@@ -54,6 +54,7 @@
#define OPA_MAKE_ID(x) (cpu_to_be64(OPA_SPECIAL_OUI << 40 | (x)))
#define OPA_TO_IB_UCAST_LID(x) (((x) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) \
? 0 : x)
+#define OPA_GID_INDEX 0x1
/**
* 0xF8 - 4 bits of multicast range and 1 bit for collective range
* Example: For 24 bit LID space,