commit | e54b4a534845d21a30d30f46508297ecd6dbf1a1 | [log] [tgz] |
---|---|---|
author | Eli Cohen <elic@nvidia.com> | Mon May 03 14:39:58 2021 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 19 09:44:42 2021 +0200 |
tree | 7325f8e916664508274e7bc092febd5b0f98b040 | |
parent | 62137d1ae5f851df13e127ce16968164a19d3b26 [diff] |
net/mlx5: Fix lag port remapping logic [ Upstream commit 8613641063617c1dfc731b403b3ee4935ef15f87 ] Fix the logic so that if both ports netdevices are enabled or disabled, use the trivial mapping without swapping. If only one of the netdevice's tx is enabled, use it to remap traffic to that port. Signed-off-by: Eli Cohen <elic@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>