aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAharon Landau <[email protected]>2021-10-08 15:24:37 +0300
committerJason Gunthorpe <[email protected]>2021-10-12 12:48:06 -0300
commitffa501ef196312f550818304e1558025a11d3c2f (patch)
tree5a7f8b36dea7192f6d507810d255b829488da911 /include
parent886773d24962799e5eb3a1b31a9b77e32d6c25a1 (diff)
RDMA/mlx5: Add steering support in optional flow counters
Adding steering infrastructure for adding and removing optional counter. This allows to add and remove the counters dynamically in order not to hurt performance. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Aharon Landau <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Mark Zhang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_hdrs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_hdrs.h b/include/rdma/ib_hdrs.h
index 7e542205861c..8ae07c0ecdf7 100644
--- a/include/rdma/ib_hdrs.h
+++ b/include/rdma/ib_hdrs.h
@@ -232,6 +232,7 @@ static inline u32 ib_get_sqpn(struct ib_other_headers *ohdr)
#define IB_BTH_SE_SHIFT 23
#define IB_BTH_TVER_MASK 0xf
#define IB_BTH_TVER_SHIFT 16
+#define IB_BTH_OPCODE_CNP 0x81
static inline u8 ib_bth_get_pad(struct ib_other_headers *ohdr)
{