net/mlx5: Remove dependency of macsec flow steering on ethernet
authorPatrisious Haddad <phaddad@nvidia.com>
Mon, 1 May 2023 12:11:53 +0000 (15:11 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Aug 2023 09:35:23 +0000 (12:35 +0300)
commit88ff18c01a0a3d2ee262c9c99979e0451af2c7af
treec48a3968aa27a0a31e34f6e249f363f65e003939
parent7390762a073743f936bd1b392ec42161d9f2d23e
net/mlx5: Remove dependency of macsec flow steering on ethernet

Since macsec flow steering was moved to core, it should be independent
of all ethernet code and structures hence we remove all ethernet header
includes and redefine ethernet structs internally for macsec_fs usage
where needed.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c