fm10k: fix Tx queue cleaning after start error
authorWang Xiao W <xiao.w.wang@intel.com>
Fri, 31 Jul 2015 05:05:47 +0000 (13:05 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 14:53:07 +0000 (16:53 +0200)
commit55a3fb5f7c41ec1a1cfb094d7ec3914ea3502f7b
tree0dcb682873f81fd818d2101765bbca116f700435
parentaa868640859c72517db55b724fd7e18ee1f35482
fm10k: fix Tx queue cleaning after start error

When a Tx queue fails to start in fm10k_dev_start, all Rx queues
and Tx queues that are started should be cleaned before the
function returns an error.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/fm10k_ethdev.c