]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: LAG, block multipath LAG for SD devices
authorShay Drory <shayd@nvidia.com>
Sun, 31 May 2026 11:39:49 +0000 (14:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 00:42:20 +0000 (17:42 -0700)
commitc3933a7a7f64e4f7b5ce2eea79d0e6950e833db7
tree48836886a4fd1f32162a6d17129acfbe9e2be129
parent8b9fffb6d38b48a0900dbf72fce1dbc5336924de
net/mlx5: LAG, block multipath LAG for SD devices

SD devices are not compatible with multipath LAG since they use
dedicated SD LAG for cross-socket connectivity. Add an SD check
to the multipath prereq validation to prevent multipath LAG
activation on SD-configured ports.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260531113954.395443-10-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c