]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit985e585eb8b16452447e2f1b53dcd97e82f2ae94
treed5bcf652eebd8955d4b69cea4e13ad40c1f993f9
parent2c6cf3c2713e954fba6e78ce877e0addf5cfd47d
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