summaryrefslogtreecommitdiffstats
path: root/include/rdma/opa_vnic.h
diff options
context:
space:
mode:
authorDon Hiatt <don.hiatt@intel.com>2017-08-04 22:53:58 +0200
committerDoug Ledford <dledford@redhat.com>2017-08-22 20:22:37 +0200
commit72c07e2b671eda1cf3e8ebabc664f542f673b997 (patch)
tree8749f1ca48169b9c85d55e545c44bd75b9f8019a /include/rdma/opa_vnic.h
parentIB/rdmavt, hfi1, qib: Modify check_ah() to account for extended LIDs (diff)
downloadlinux-72c07e2b671eda1cf3e8ebabc664f542f673b997.tar.xz
linux-72c07e2b671eda1cf3e8ebabc664f542f673b997.zip
IB/hfi1: Add support to receive 16B bypass packets
We introduce a struct hfi1_16b_header to support 16B headers. 16B bypass packets are received by the driver and processed similar to 9B packets. Add basic support to handle 16B packets. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@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_vnic.h')
-rw-r--r--include/rdma/opa_vnic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rdma/opa_vnic.h b/include/rdma/opa_vnic.h
index 39d6890616a6..0c07a70bd7f6 100644
--- a/include/rdma/opa_vnic.h
+++ b/include/rdma/opa_vnic.h
@@ -54,9 +54,6 @@
#include <rdma/ib_verbs.h>
-/* VNIC uses 16B header format */
-#define OPA_VNIC_L2_TYPE 0x2
-
/* 16 header bytes + 2 reserved bytes */
#define OPA_VNIC_L2_HDR_LEN (16 + 2)