mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
committed by
Leon Romanovsky
parent
8603efbd18
commit
2e92f669b8
@@ -805,6 +805,9 @@ struct mlx5_core_dev {
|
||||
u32 vsc_addr;
|
||||
struct mlx5_hv_vhca *hv_vhca;
|
||||
struct mlx5_thermal *thermal;
|
||||
#ifdef CONFIG_MLX5_MACSEC
|
||||
struct mlx5_macsec_fs *macsec_fs;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct mlx5_db {
|
||||
|
||||
Reference in New Issue
Block a user