diff options
author | Mark Zhang <markzhang@nvidia.com> | 2023-01-05 07:17:54 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-02-15 12:29:59 +0300 |
commit | f91ddd3aa4b313aa4b792d1588ccb63c3e4ace0b (patch) | |
tree | ee4d4edc9c750676d72a09a11af12b1f6b88bafe /include | |
parent | 4f226b71f5edc33843e21f92ebe97b1561804d52 (diff) | |
download | linux-f91ddd3aa4b313aa4b792d1588ccb63c3e4ace0b.tar.xz |
net/mlx5: Add IPSec priorities in RDMA namespaces
Add IPSec flow steering priorities in RDMA namespaces. This allows
adding tables/rules to forward RoCEv2 traffic to the IPSec crypto
tables in NIC_TX domain, and accept RoCEv2 traffic from NIC_RX domain.
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h index 1d2a0638ae74..d72a09a3798c 100644 --- a/include/linux/mlx5/fs.h +++ b/include/linux/mlx5/fs.h @@ -103,6 +103,8 @@ enum mlx5_flow_namespace_type { MLX5_FLOW_NAMESPACE_PORT_SEL, MLX5_FLOW_NAMESPACE_RDMA_RX_COUNTERS, MLX5_FLOW_NAMESPACE_RDMA_TX_COUNTERS, + MLX5_FLOW_NAMESPACE_RDMA_RX_IPSEC, + MLX5_FLOW_NAMESPACE_RDMA_TX_IPSEC, }; enum { |