mlx4: add unicast steering entries to resource_tracker
authorEugenia Emantayev <eugenia@mellanox.co.il>
Wed, 15 Feb 2012 06:23:16 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 19:50:16 +0000 (14:50 -0500)
commit9f5b6c632eb3b495d5ae701c43e67da930b1f637
tree7898b3b5db0f0f8fe08eca1c2ea01372777593ee
parent2531188b476c83fe29b1d3498a76e329f4b6f16b
mlx4: add unicast steering entries to resource_tracker

Add unicast steering entries to resource tracker.
Do qp_detach also for these entries when VF doesn't shut down gracefully.
Otherwise there is leakage of these resources, since they are not tracked.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c