]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Drop multicast packets that this interface sent
authorErez Shitrit <erezsh@mellanox.com>
Mon, 4 May 2020 08:46:25 +0000 (11:46 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 15 May 2020 22:44:32 +0000 (15:44 -0700)
commit8ace72bbcf82730a99f3271693691f1a82fc4e4c
tree84a944ed49809f7f18f72ece63c6b73485c3da81
parente1800efbf71477edc0641335e5253ec2293c99a2
net/mlx5e: IPoIB, Drop multicast packets that this interface sent

After enabled loopback packets for IPoIB, we need to drop these packets
that this HCA has replicated and came back to the same interface that
sent them.

Fixes: 09650613aac5 ("net/mlx5e: IPoIB, Add PKEY child interface nic profile")
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_rx.c