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)
commit8b46d424a743ddfef8056d5167f13ee7ebd1dcad
tree84a944ed49809f7f18f72ece63c6b73485c3da81
parent80639b199c9ca87444da218ba0e7511946452dd4
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: 4c6c615e3f30 ("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