]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Enable loopback packets for IPoIB interfaces
authorErez Shitrit <erezsh@mellanox.com>
Sun, 3 May 2020 10:01:37 +0000 (13:01 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 15 May 2020 22:44:30 +0000 (15:44 -0700)
commite1800efbf71477edc0641335e5253ec2293c99a2
treed90b5923cc1a7587afbebe91eecb2e470098e4cd
parenta9794dc8478562bd7366ddabf693fe62e08a39b9
net/mlx5e: IPoIB, Enable loopback packets for IPoIB interfaces

Enable loopback of unicast and multicast traffic for IPoIB enhanced
mode.
This will allow interfaces with the same pkey to communicate between
them e.g cloned interfaces that located in different namespaces.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_common.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c