summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/hfi
diff options
context:
space:
mode:
authorJakub Pawlak <jakub.pawlak@intel.com>2016-12-08 04:32:41 +0100
committerDoug Ledford <dledford@redhat.com>2016-12-11 21:25:13 +0100
commite730139b3464cc740c33131c872f7d173744ef11 (patch)
tree9790169be273e75be23839623b35f367989abe19 /include/uapi/rdma/hfi
parentIB/hfi1: Export 8051 memory and LCB registers via debugfs (diff)
downloadlinux-e730139b3464cc740c33131c872f7d173744ef11.tar.xz
linux-e730139b3464cc740c33131c872f7d173744ef11.zip
IB/hfi1: Disable header suppression for short packets
For the received packets with payload less or equal 8DWS RxDmaDataFifoRdUncErr is not reported. There is set RHF.EccErr if the header is not suppressed. When such packet is detected on the send side the header suppression mechanism is disabled by clearing SH bit in the packet header. Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/hfi')
-rw-r--r--include/uapi/rdma/hfi/hfi1_user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/hfi/hfi1_user.h b/include/uapi/rdma/hfi/hfi1_user.h
index d15e7289d835..587b7360e820 100644
--- a/include/uapi/rdma/hfi/hfi1_user.h
+++ b/include/uapi/rdma/hfi/hfi1_user.h
@@ -75,7 +75,7 @@
* may not be implemented; the user code must deal with this if it
* cares, or it must abort after initialization reports the difference.
*/
-#define HFI1_USER_SWMINOR 2
+#define HFI1_USER_SWMINOR 3
/*
* We will encode the major/minor inside a single 32bit version number.