ethdev: free queue array after releasing all queues
authorJan Blunck <jblunck@infradead.org>
Thu, 24 Nov 2016 11:26:46 +0000 (12:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Dec 2016 17:40:09 +0000 (18:40 +0100)
commitc3d3ba989232c97ab2f7e3baa147d3bdaa9486a0
tree6557c3b7b0e6c7b5f49b5e5e7ee58f5449e51536
parentd00d7cc88335e128b94f0f79145aada6e3f4b990
ethdev: free queue array after releasing all queues

If all queues are released lets also free up the dev->data->rx/tx_queues
to be able to properly reinitialize.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
lib/librte_ether/rte_ethdev.c