aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorPatrisious Haddad <phaddad@nvidia.com>2022-11-29 14:50:22 +0200
committerLeon Romanovsky <leon@kernel.org>2023-08-20 12:35:23 +0300
commit7390762a073743f936bd1b392ec42161d9f2d23e (patch)
treeccd7b57b919bf4e5e2958c9b43327cce454573fd /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentmacsec: add functions to get macsec real netdevice and check offload (diff)
downloadlinux-7390762a073743f936bd1b392ec42161d9f2d23e.tar.xz
linux-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.h2
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