net/i40e: fix failing to disable FDIR Tx queue
If flow director is enabled, FDIR Tx queue can't be disabled when exiting application. Root cause is FDIR Tx queue is not disabled before removing HMC backing store. Fixes: 71d35259ff67 ("i40e: tear down flow director") Cc: stable@dpdk.org Signed-off-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
This commit is contained in:
parent
e4c5216d1c
commit
ba2e8c6f29
@ -2369,6 +2369,8 @@ i40e_dev_close(struct rte_eth_dev *dev)
|
||||
i40e_pf_disable_irq0(hw);
|
||||
rte_intr_disable(intr_handle);
|
||||
|
||||
i40e_fdir_teardown(pf);
|
||||
|
||||
/* shutdown and destroy the HMC */
|
||||
i40e_shutdown_lan_hmc(hw);
|
||||
|
||||
@ -2380,7 +2382,6 @@ i40e_dev_close(struct rte_eth_dev *dev)
|
||||
pf->vmdq = NULL;
|
||||
|
||||
/* release all the existing VSIs and VEBs */
|
||||
i40e_fdir_teardown(pf);
|
||||
i40e_vsi_release(pf->main_vsi);
|
||||
|
||||
/* shutdown the adminq */
|
||||
|
Loading…
x
Reference in New Issue
Block a user