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)
commitdb0e7cba6dafa269f33f379997794a9d3bd4d535
treec0db0e45b8c75ff6adba1a5ad8ab1b7de09c6001
parent2d51837fa1ee7ff5c42f34b07dc460daff6afda1
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
This page took 0.026473 seconds and 5 git commands to generate.