]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Fix traffic loss under promiscuous mode
authorAviad Yehezkel <aviadye@mellanox.com>
Thu, 24 Jan 2013 01:54:15 +0000 (01:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 05:13:56 +0000 (00:13 -0500)
commit5d462245122f13b2cc393f5027f5055fd7aa74f6
treec0db0e45b8c75ff6adba1a5ad8ab1b7de09c6001
parent628f3b88633bef8e9384f9d462b1a21982e970bd
net/mlx4_en: Fix traffic loss under promiscuous mode

When port is stopped and flow steering mode is not device managed: promisc QP
rule wasn't removed from MCG table.
Added code to remove it in all flow steering modes.
In addition, promsic rule removal should be in stop port and not in start
port - moved it accordingly.

Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c