net/mlx5: Add MACsec priorities in RDMA namespaces
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 11 Aug 2022 02:20:02 +0000 (05:20 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Aug 2023 09:35:24 +0000 (12:35 +0300)
commitafcb21d5a89b40c3062aa48d39ab5340abf7dcd8
tree12b3260094d3ef131dd004769eddcec5690647f7
parent758ce14aee825f8f3ca8f76c9991c108094cae8b
net/mlx5: Add MACsec priorities in RDMA namespaces

Add MACsec flow steering priorities in RDMA namespaces. This allows
adding tables/rules to forward RoCEv2 traffic to the MACsec crypto
tables in NIC_TX domain, and accept RoCEv2 traffic from NIC_RX domain.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h