summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sgi/Makefile
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2017-07-02 19:13:43 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-07-27 16:40:16 +0300
commitdc798b4cc0f2a06e7ad7d522403de274b86a0a6f (patch)
treef647ae6ec7f3ee338d19c1c1d2922ad7f60a0712 /drivers/net/ethernet/sgi/Makefile
parent079adf05398f12371ea91dd53fdf61ee6352bc01 (diff)
downloadlinux-dc798b4cc0f2a06e7ad7d522403de274b86a0a6f.tar.xz
net/mlx5: Consider tx_enabled in all modes on remap
The tx_enabled lag event field is used to determine whether a slave is active. Current logic uses this value only if the mode is active-backup. However, LACP mode, although considered a load balancing mode, can mark a slave as inactive in certain situations (e.g., LACP timeout). This fix takes the tx_enabled value into account when remapping, with no respect to the LAG mode (this should not affect the behavior in XOR mode, since in this mode both slaves are marked as active). Fixes: 7907f23adc18 (net/mlx5: Implement RoCE LAG feature) Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/sgi/Makefile')
0 files changed, 0 insertions, 0 deletions