]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Lag, store number of ports inside lag object
authorMark Bloch <mbloch@nvidia.com>
Sun, 27 Feb 2022 13:45:59 +0000 (13:45 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 10 May 2022 05:54:02 +0000 (22:54 -0700)
commite9d5bb51c592d0275b00a52ce3d8fe8457501ce6
tree9d9ae5b0aa7047696d714a4fedb87e9c4b915d7a
parentbc4c2f2e017949646b43fdcad005a03462d437c6
net/mlx5: Lag, store number of ports inside lag object

Store the number of lag ports inside the lag object. Lag object is a single
shared object managing the lag state of multiple mlx5 devices on the same
physical HCA.

Downstream patches will allow hardware lag to be created over devices with
more than 2 ports.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@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