i40e: free queue memory when closing
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 3 Jul 2015 14:04:00 +0000 (15:04 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 19:36:24 +0000 (21:36 +0200)
commit6b4537128394ab15b943145f3d1e03a1fb07bbb8
tree4dbdd201a5d19b4776ae07408fa46d96f6975bfe
parent1ee9e8228960d2625859e9092825b30dcb0808b2
i40e: free queue memory when closing

Add i40e_dev_free_queues() function and call it from close() functions.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h