Commit 7e2304f5 authored by Patrisious Haddad's avatar Patrisious Haddad Committed by Leon Romanovsky

net/mlx5: Remove netdevice from MACsec steering

Since MACsec steering was moved from ethernet private code to core,
remove the netdevice from the MACsec steering, and use core device
methods for error reporting instead.
Signed-off-by: default avatarPatrisious Haddad <phaddad@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
parent 2e92f669
...@@ -1804,7 +1804,7 @@ int mlx5e_macsec_init(struct mlx5e_priv *priv) ...@@ -1804,7 +1804,7 @@ int mlx5e_macsec_init(struct mlx5e_priv *priv)
macsec->mdev = mdev; macsec->mdev = mdev;
macsec_fs = mlx5_macsec_fs_init(mdev, priv->netdev); macsec_fs = mlx5_macsec_fs_init(mdev);
if (!macsec_fs) { if (!macsec_fs) {
err = -ENOMEM; err = -ENOMEM;
goto err_out; goto err_out;
......
...@@ -43,7 +43,7 @@ enum mlx5_macsec_action { ...@@ -43,7 +43,7 @@ enum mlx5_macsec_action {
void mlx5_macsec_fs_cleanup(struct mlx5_macsec_fs *macsec_fs); void mlx5_macsec_fs_cleanup(struct mlx5_macsec_fs *macsec_fs);
struct mlx5_macsec_fs * struct mlx5_macsec_fs *
mlx5_macsec_fs_init(struct mlx5_core_dev *mdev, struct net_device *netdev); mlx5_macsec_fs_init(struct mlx5_core_dev *mdev);
union mlx5_macsec_rule * union mlx5_macsec_rule *
mlx5_macsec_fs_add_rule(struct mlx5_macsec_fs *macsec_fs, mlx5_macsec_fs_add_rule(struct mlx5_macsec_fs *macsec_fs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment