net/i40e: fix Tx queue setup after stop
authorShaopeng He <shaopeng.he@intel.com>
Tue, 10 Jul 2018 10:37:27 +0000 (06:37 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commite062bdc6cbaef636b68e1cdd2a0aa14eebbdc1c6
treeeea19ee6feddaa9ae2247db924b17b7e8b2a55f4
parent2c99142384db1796e42209f5fc112c8babc402c0
net/i40e: fix Tx queue setup after stop

Currently, i40e_dev_tx_queue_setup_runtime checks simple tx and treats
mbuf fast free offloading as No-simple, which is classified as simple tx
in i40e_set_tx_function_flag. This inconsistent behavior causes tx queue
setup fail after queue was stopped. This patch fixes this bug.

Fixes: 399421100e08 ("net/i40e: fix missing mbuf fast free offload")
Cc: stable@dpdk.org
Signed-off-by: Shaopeng He <shaopeng.he@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_rxtx.c