summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorDon Hiatt <don.hiatt@intel.com>2017-08-04 13:53:58 -0700
committerDoug Ledford <dledford@redhat.com>2017-08-22 14:22:37 -0400
commit72c07e2b671eda1cf3e8ebabc664f542f673b997 (patch)
tree8749f1ca48169b9c85d55e545c44bd75b9f8019a /include/rdma
parent13c19222889daf91da36b7fb63b5d5d9ce89b377 (diff)
downloadlinux-stable-72c07e2b671eda1cf3e8ebabc664f542f673b997.tar.gz
linux-stable-72c07e2b671eda1cf3e8ebabc664f542f673b997.tar.bz2
linux-stable-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')
-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)