net/mlx5e: Move MACsec flow steering and statistics database from ethernet to core
authorPatrisious Haddad <phaddad@nvidia.com>
Tue, 6 Dec 2022 12:33:49 +0000 (14:33 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Aug 2023 09:35:23 +0000 (12:35 +0300)
commit2e92f669b86d70a26a77b088c74e1cb6d26322e1
tree722077b936a2e4c4b4936e7e90719ad1576b2cbd
parent8603efbd18b091273876b72e6d9973df8b0a428a
net/mlx5e: Move MACsec flow steering and statistics database from ethernet to core

Since now MACsec flow steering (macsec_fs) and MACsec statistics (stats)
are maintained by the core driver, move their data as well to be saved
inside core structures instead of staying part of ethernet MACsec database.

In addition cleanup all MACsec stats functions from the ethernet MACsec
code and move what's needed to be part of macsec_fs instead.

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/en_accel/macsec.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec_stats.c
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.h
include/linux/mlx5/driver.h