]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Change the destination of IPSec RX SA miss rule
authorJianbo Liu <jianbol@nvidia.com>
Thu, 20 Feb 2025 21:39:52 +0000 (23:39 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Feb 2025 02:14:32 +0000 (18:14 -0800)
commit20d5fdc8951a1ed63af2b5b1671afb3b4f5a3293
tree87199c73972c3da6c62433e83703db58d3fda08d
parent3400ae49cd1a5a2a638c31498a5f5d0a0e11d8f8
net/mlx5e: Change the destination of IPSec RX SA miss rule

For eswitch in legacy mode, the packets decrypted in RX SA table will
continue to be processed for RoCE. But this is not necessary for the
un-decrypted packets, which don't match any decryption rules but hit
the miss rule at the end of the table. So, change the destination of
miss rule to TTC default one and skip RoCE.

For eswitch in switchdev mode, the destination is unchanged.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250220213959.504304-3-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c