net/mlx5: Add MACsec Rx tables support to fs_core
authorLior Nahmanson <liorna@nvidia.com>
Tue, 6 Sep 2022 05:21:24 +0000 (22:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2022 13:02:08 +0000 (14:02 +0100)
commit15d187e285b3d5f4fe0328c09566355c1e387ff6
tree041c31afd9d0dbb5526ffe7641809e3ddff828c9
parentaae3454e4d4cd78d143d6af1347b385796539fd8
net/mlx5: Add MACsec Rx tables support to fs_core

Add new namespace for MACsec RX flows.
Encrypted MACsec packets should be first decrypted and stripped
from MACsec header and then continues with the kernel's steering
pipeline.

Signed-off-by: Lior Nahmanson <liorna@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h