net/mlx5: Add multipath mode
In order to offload ecmp-on-host scheme where next-hop routes are used, we will make use of HW LAG. Add accessor function to let upper layers in the driver to realize if the lag acts in multi-path mode. Signed-off-by:Roi Dayan <roid@mellanox.com> Reviewed-by:
Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by:
Saeed Mahameed <saeedm@mellanox.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/Makefile 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/Makefile
- drivers/net/ethernet/mellanox/mlx5/core/lag.h 3 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/lag.h
- drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 23 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/lag_mp.c
- include/linux/mlx5/driver.h 1 addition, 0 deletionsinclude/linux/mlx5/driver.h
Please register or sign in to comment