hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/uapi/rdma/hfi/hfi1_user.h
....@@ -6,7 +6,7 @@
66 *
77 * GPL LICENSE SUMMARY
88 *
9
- * Copyright(c) 2015 Intel Corporation.
9
+ * Copyright(c) 2015 - 2020 Intel Corporation.
1010 *
1111 * This program is free software; you can redistribute it and/or modify
1212 * it under the terms of version 2 of the GNU General Public License as
....@@ -95,7 +95,7 @@
9595 #define HFI1_CAP_SDMA_AHG (1UL << 2) /* Enable SDMA AHG support */
9696 #define HFI1_CAP_EXTENDED_PSN (1UL << 3) /* Enable Extended PSN support */
9797 #define HFI1_CAP_HDRSUPP (1UL << 4) /* Enable Header Suppression */
98
-/* 1UL << 5 unused */
98
+#define HFI1_CAP_TID_RDMA (1UL << 5) /* Enable TID RDMA operations */
9999 #define HFI1_CAP_USE_SDMA_HEAD (1UL << 6) /* DMA Hdr Q tail vs. use CSR */
100100 #define HFI1_CAP_MULTI_PKT_EGR (1UL << 7) /* Enable multi-packet Egr buffs*/
101101 #define HFI1_CAP_NODROP_RHQ_FULL (1UL << 8) /* Don't drop on Hdr Q full */
....@@ -106,9 +106,10 @@
106106 #define HFI1_CAP_NO_INTEGRITY (1UL << 13) /* Enable ctxt integrity checks */
107107 #define HFI1_CAP_PKEY_CHECK (1UL << 14) /* Enable ctxt PKey checking */
108108 #define HFI1_CAP_STATIC_RATE_CTRL (1UL << 15) /* Allow PBC.StaticRateControl */
109
-/* 1UL << 16 unused */
109
+#define HFI1_CAP_OPFN (1UL << 16) /* Enable the OPFN protocol */
110110 #define HFI1_CAP_SDMA_HEAD_CHECK (1UL << 17) /* SDMA head checking */
111111 #define HFI1_CAP_EARLY_CREDIT_RETURN (1UL << 18) /* early credit return */
112
+#define HFI1_CAP_AIP (1UL << 19) /* Enable accelerated IP */
112113
113114 #define HFI1_RCVHDR_ENTSIZE_2 (1UL << 0)
114115 #define HFI1_RCVHDR_ENTSIZE_16 (1UL << 1)