net/mlx5: Lag, change multipath and bonding to be mutually exclusive
Both multipath and bonding events are changing the HW LAG state
Handling one of the features events while the other is already
enabled can cause unwanted behavior, for example handling
bonding event while multipath enabled will disable the lag and
cause multipath to stop working.
Fix it by ignoring bonding event while in multipath and ignoring FIB
events while in bonding mode.
Fixes: 544fe7c2e654 ("net/mlx5e: Activate HW multipath and handle port affinity based on FIB events")
Signed-off-by: Maor Dickman <email@example.com>
Reviewed-by: Roi Dayan <firstname.lastname@example.org>
Reviewed-by: Mark Bloch <email@example.com>
Signed-off-by: Saeed Mahameed <firstname.lastname@example.org>
6 files changed