diff options
author | Patrisious Haddad <phaddad@nvidia.com> | 2022-11-29 14:50:22 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-08-20 12:35:23 +0300 |
commit | 7390762a073743f936bd1b392ec42161d9f2d23e (patch) | |
tree | ccd7b57b919bf4e5e2958c9b43327cce454573fd /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | f132fdd9dc81e045bcf95005d418a31fbe9d942f (diff) | |
download | linux-stable-7390762a073743f936bd1b392ec42161d9f2d23e.tar.gz linux-stable-7390762a073743f936bd1b392ec42161d9f2d23e.tar.bz2 linux-stable-7390762a073743f936bd1b392ec42161d9f2d23e.zip |
net/mlx5e: Move MACsec flow steering operations to be used as core library
Move MACsec flow steering operations(macsec_fs) from core/en_accel to
core/lib, this mandates moving MACsec statistics structure from the
general MACsec code header(en_accel/macsec.h) to macsec_fs header to
remove macsec_fs.h dependency over en_accel/macsec.h.
This to lay the ground for RoCE MACsec by moving all the data
that will need to be accessed by both ethernet MACsec and
RoCE MACsec to be shared at core.
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/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index b1807bfb815f..b82217de9e9f 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -917,7 +917,7 @@ struct mlx5e_priv { const struct mlx5e_profile *profile; void *ppriv; -#ifdef CONFIG_MLX5_EN_MACSEC +#ifdef CONFIG_MLX5_MACSEC struct mlx5e_macsec *macsec; #endif #ifdef CONFIG_MLX5_EN_IPSEC |