]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Lag, add support to create definers for LAG
authorMaor Gottlieb <maorg@nvidia.com>
Tue, 17 Aug 2021 07:24:05 +0000 (10:24 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Oct 2021 03:18:09 +0000 (20:18 -0700)
commit03a2e8a869304d14440e9f21ea8dc1c12fb91b6e
tree731b075d73325580d78561e2883eb97208ef1a1a
parent5ddf1f41d984e633201dc0ed5974f5172b366527
net/mlx5: Lag, add support to create definers for LAG

Every definer will consist of a flow table with a single hash group
with exactly two flow table entries, one for each device port.
The destination of these entries is the uplink vport according to the
port state and hash policy.

Signed-off-by: Maor Gottlieb <maorg@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
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.h
drivers/net/ethernet/mellanox/mlx5/core/lag/port_sel.c
drivers/net/ethernet/mellanox/mlx5/core/lag/port_sel.h