summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
diff options
context:
space:
mode:
authorPatrisious Haddad <phaddad@nvidia.com>2023-04-13 12:04:59 +0300
committerLeon Romanovsky <leon@kernel.org>2023-08-20 12:35:24 +0300
commit58dbd6428a6819e55a3c52ec60126b5d00804a38 (patch)
tree83d919e1dbe48299cd2ac9fd892810020998b390 /drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
parentac7ea1c78f0edb910af1c17a3fb01345944bcb39 (diff)
RDMA/mlx5: Handles RoCE MACsec steering rules addition and deletion
Add RoCE MACsec rules when a gid is added for the MACsec netdevice and handle their cleanup when the gid is removed or the MACsec SA is deleted. Also support alias IP for the MACsec device, as long as we don't have more ips than what the gid table can hold. In addition handle the case where a gid is added but there are still no SAs added for the MACsec device, so the rules are added later on when the SAs are added. Signed-off-by: Patrisious Haddad <phaddad@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_core.c')
0 files changed, 0 insertions, 0 deletions