diff options
author | Don Hiatt <don.hiatt@intel.com> | 2017-08-04 23:53:58 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-22 21:22:37 +0300 |
commit | 72c07e2b671eda1cf3e8ebabc664f542f673b997 (patch) | |
tree | 8749f1ca48169b9c85d55e545c44bd75b9f8019a /drivers/infiniband/hw/hfi1/common.h | |
parent | 13c19222889daf91da36b7fb63b5d5d9ce89b377 (diff) | |
download | linux-72c07e2b671eda1cf3e8ebabc664f542f673b997.tar.xz |
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 'drivers/infiniband/hw/hfi1/common.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/common.h b/drivers/infiniband/hw/hfi1/common.h index aa416ef93c1a..3e27794ec750 100644 --- a/drivers/infiniband/hw/hfi1/common.h +++ b/drivers/infiniband/hw/hfi1/common.h @@ -327,6 +327,7 @@ struct diag_pkt { /* misc. */ #define SC15_PACKET 0xF #define SIZE_OF_CRC 1 +#define SIZE_OF_LT 1 #define LIM_MGMT_P_KEY 0x7FFF #define FULL_MGMT_P_KEY 0xFFFF |