-
- Downloads
{net/RDMA}/mlx5: introduce lag_for_each_peer
Introduce a generic APIs to iterate over all the devices which are part of the LAG. This API replace mlx5_lag_get_peer_mdev() which retrieve only a single peer device from the lag. Signed-off-by:Shay Drory <shayd@nvidia.com> Reviewed-by:
Mark Bloch <mbloch@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/infiniband/hw/mlx5/ib_rep.c 62 additions, 36 deletionsdrivers/infiniband/hw/mlx5/ib_rep.c
- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 15 additions, 9 deletionsdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
- drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c 16 additions, 5 deletionsdrivers/net/ethernet/mellanox/mlx5/core/lag/lag.c
- include/linux/mlx5/driver.h 7 additions, 1 deletioninclude/linux/mlx5/driver.h
Loading
Please register or sign in to comment