]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add multipath mode
authorRoi Dayan <roid@mellanox.com>
Thu, 21 Feb 2019 16:24:48 +0000 (18:24 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Mar 2019 20:04:16 +0000 (12:04 -0800)
commit749c9d5639ed37bb2935763d07290a20d9f87657
tree5e8cd5142c7af2f163a697576d73e1ca9dfedadd
parent070db3c9239a4e64ad5419ede4a33d966d57f0a3
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>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lag.h
drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c [new file with mode: 0644]
include/linux/mlx5/driver.h