net/mlx5: Lag, set active ports if support bypass port select flow table
authorLiu, Changcheng <jerrliu@nvidia.com>
Wed, 7 Sep 2022 23:36:27 +0000 (16:36 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 27 Sep 2022 19:50:27 +0000 (12:50 -0700)
commitc5c13b456cb85a2ac298c4db1b396d3ccf621a9c
treed5bcf652eebd8955d4b69cea4e13ad40c1f993f9
parenta83bb5df2ac604ab418fbe0a8720f55de46652eb
net/mlx5: Lag, set active ports if support bypass port select flow table

active_port bit mask indicates the current active ports. Set bit indicates
the port is active. Update active ports info to FW to redirect the QP/TIS
from inactive ports to other ports.

Signed-off-by: Liu, Changcheng <jerrliu@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c