net/mlx4_en: Fix ethtool rules leftovers after module unloaded
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:08 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:47 +0000 (12:48 -0500)
commit0d256c0e93916f416f46d2ec235ea05fca202ede
tree64c3883ddcdce138d7371e5af98d081c3a7197e6
parent280fce1e3ef85ff7f90a9d7e8c8a0d71bbf5a9a4
net/mlx4_en: Fix ethtool rules leftovers after module unloaded

As part of the driver unload flow, all steering rules must be deleted,
make sure to remove the rules that were set through ethtool.

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_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h