i40e: add required steps in Tx queue management
authorHelin Zhang <helin.zhang@intel.com>
Wed, 2 Jul 2014 03:10:25 +0000 (11:10 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 2 Jul 2014 08:50:02 +0000 (10:50 +0200)
commit87060612fbe9068eeefb04ce81bc4ac86e501659
tree24f0658d145ec672c878ee4f270994890dd16ddb
parent80c670fd6ddac5a877c5fbf6ad99279c20685f60
i40e: add required steps in Tx queue management

Hardware specification changed recently which requires to set
or clear TX queue disable flags before actually enabling or
disabling a specific TX queue. 'QTX_HEAD' register needs to
be cleared before setting the QENA_REQ flag.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c