net/mlx4_core: Fix wrong order of flow steering resources removal
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 21 Mar 2013 05:55:52 +0000 (05:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 16:05:07 +0000 (12:05 -0400)
commit80cb0021163cb55b14c7c054073f89d63a2e1e40
tree43d15cb5f7f0d8da724c6c481f6940e9bc023ead
parentc101c81b5293cdcb616ed4948d0c4a4cfd1f481a
net/mlx4_core: Fix wrong order of flow steering resources removal

On the resource tracker cleanup flow, the DMFS rules must be deleted before we
destroy the QPs, else the HW may attempt doing packet steering to non existent QPs.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c