mlx4: add unicast steering entries to resource_tracker
authorEugenia Emantayev <eugenia@mellanox.co.il>
Tue, 14 Feb 2012 06:38:38 +0000 (06:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 19:11:59 +0000 (14:11 -0500)
commiteb40d89276705a35c9a2e05793ae63411ae357eb
treed67a3cbf835c68f8084736b79ed753dfe96d8e9b
parentf1f75f0e2bb94674da540be9c488fe596dd55881
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