ethdev: release queue before setting up
authorJan Blunck <jblunck@infradead.org>
Thu, 24 Nov 2016 11:26:45 +0000 (12:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Dec 2016 17:27:58 +0000 (18:27 +0100)
commitd00d7cc88335e128b94f0f79145aada6e3f4b990
treed74f64d0ddd8343f446274679673094ec413e6f8
parent75aca7997e57b017e1a4224c9be9dfb3b15623d9
ethdev: release queue before setting up

If a queue has been setup before lets release it before we setup.
Otherwise we might leak resources.

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