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>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user