net/mlx5: Maintain fs_id xarray per MACsec device inside macsec steering
authorPatrisious Haddad <phaddad@nvidia.com>
Sun, 8 Jan 2023 13:25:44 +0000 (15:25 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Aug 2023 09:35:24 +0000 (12:35 +0300)
commitd4ece08f4b1d29471cc4c0eb0c87427600a77acd
tree0ce772537bc379129146ab71d55d9eba9e915d89
parent7e2304f5bf1c9f4e22d8dce473fd9a8961e6a7b4
net/mlx5: Maintain fs_id xarray per MACsec device inside macsec steering

Remove fs_id from the MACsec SA, since it has no real usage there and
instead maintain with the MACsec steering data inside the core.

Downstream patches requires this change to facilitate IB driver accesses
to the fs_ids to avoid RoCE MACsec dependency on EN driver.

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