]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Configure MACsec steering for egress RoCEv2 traffic
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 11 Aug 2022 03:00:55 +0000 (06:00 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Aug 2023 09:35:24 +0000 (12:35 +0300)
commit9b240d1094cba5ca4e1bf80ea9f6ef55e6961af9
treee72441d4d50998bf7e33a9d6eea70356378a39b5
parenta019b1258da14058668e249ade33b8b2951aaeae
net/mlx5: Configure MACsec steering for egress RoCEv2 traffic

Add steering table in RDMA_TX domain, to forward MACsec traffic
to MACsec crypto table in NIC domain.
The tables are created in a lazy manner when the first TX SA is
being created, and destroyed upon the destruction of the last SA.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c