]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74b81675db721c5956f31902f1264f7e3aa8b069
tree7898b3b5db0f0f8fe08eca1c2ea01372777593ee
parentedafe328de065dcd0ed21e414468251acbed024e
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