]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Add helper function to update IPSec default destination
authorJianbo Liu <jianbol@nvidia.com>
Thu, 20 Feb 2025 21:39:51 +0000 (23:39 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Feb 2025 02:14:32 +0000 (18:14 -0800)
commit3400ae49cd1a5a2a638c31498a5f5d0a0e11d8f8
tree5a486a6945b4695cfc61aefd8b1d39e98722d696
parenta3ad653c915990fcbb72f9d41c94628255278abc
net/mlx5e: Add helper function to update IPSec default destination

The default destination of IPSec steering rules for MPV mode will be
updated when the master device is brought up or down. Move the common
code into the helper function. It’s convenient to update destinations
in later patches.

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-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c