]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit724b509ca02367dbd5f5f90b0c8546280c5abc72
tree5e8cd5142c7af2f163a697576d73e1ca9dfedadd
parente6ee5e7166275073c66245043c70ec5dc819a956
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