net/mlx5: Lag, expose number of lag ports
authorMark Bloch <mbloch@nvidia.com>
Tue, 1 Mar 2022 15:42:01 +0000 (15:42 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 10 May 2022 05:54:00 +0000 (22:54 -0700)
commit34a30d7635a8e37275a7b63bec09035ed762969b
treeead65e2f4fee0d0daea95f849b57babca89161a0
parent37ca95e62ee23fa6d2c2c64e3dc40b4a0c0146dc
net/mlx5: Lag, expose number of lag ports

Downstream patches will add support for hardware lag with
more than 2 ports. Add a way for users to query the number of lag 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/infiniband/hw/mlx5/gsi.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c
include/linux/mlx5/driver.h