i40e: use new function to clear hardware before PF reset
authorHelin Zhang <helin.zhang@intel.com>
Wed, 2 Jul 2014 03:10:24 +0000 (11:10 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 2 Jul 2014 08:49:48 +0000 (10:49 +0200)
commit80c670fd6ddac5a877c5fbf6ad99279c20685f60
tree0345527f02a630a4b56e458bee718f8b4bd549ab
parent6de597c04fab110ee74478cbdc06a78546f3001f
i40e: use new function to clear hardware before PF reset

i40e_clear_hw() was provided recently in shared code (base driver)
to clear hardware, which can cover disabling all queues.
The code changes are to remove i40e_pf_disable_all_queues() and use
i40e_clear_hw() instead.

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