net/ena: destroy queues if start failed
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:35 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit26e5543dc85b3be23879ba90ddb00e3456179805
tree6f5a92da9f9fd2597b240db6dc12974f71bb6b25
parentc7519ea5eb8d6b810aec74b87b60e0689a6c20ce
net/ena: destroy queues if start failed

If start function fails, previously created queues have to be removed.

ena_queue_restart_all() and ena_queue_restart() are renamed to
ena_queue_start_all() and ena_queue_start().

ena_free_io_queues_all() is renamed to ena_queue_stop_all().

Fixes: df238f84c0a2 ("net/ena: recreate HW IO rings on start and stop")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c