]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Advertise mlx5 ethernet driver updates sk_buff md_dst for MACsec
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Tue, 30 Apr 2024 00:43:05 +0000 (17:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:50 +0000 (16:32 +0200)
commit57c34bf73128e25823354f41e9f845dc9aa1f3c6
treed396aaf308b05c0fdf396b6d50000b36d219f0d2
parent6c3020dc817f8d08fc0ea48dd004782e7c204d92
net/mlx5e: Advertise mlx5 ethernet driver updates sk_buff md_dst for MACsec

commit 39d26a8f2efcb8b5665fe7d54a7dba306a8f1dff upstream.

mlx5 Rx flow steering and CQE handling enable the driver to be able to
update an skb's md_dst attribute as MACsec when MACsec traffic arrives when
a device is configured for offloading. Advertise this to the core stack to
take advantage of this capability.

Cc: stable@vger.kernel.org
Fixes: b7c9400cbc48 ("net/mlx5e: Implement MACsec Rx data path using MACsec skb_metadata_dst")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Benjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://lore.kernel.org/r/20240423181319.115860-5-rrameshbabu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c