From: Jingjing Wu Date: Wed, 4 Nov 2015 15:01:25 +0000 (+0800) Subject: i40e: fix interrupt disabling when stopping X-Git-Tag: spdx-start~8119 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=14c400c2ea92c5b937ecf72a53cb0496c675112c;p=dpdk.git i40e: fix interrupt disabling when stopping When stop device, should disable interrupt of FDIR but not enable it. This patch corrected it. Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a39bd283fc..ddf3d381e7 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1530,8 +1530,8 @@ i40e_dev_stop(struct rte_eth_dev *dev) } if (pf->fdir.fdir_vsi) { - i40e_vsi_queues_bind_intr(pf->fdir.fdir_vsi); - i40e_vsi_enable_queues_intr(pf->fdir.fdir_vsi); + i40e_vsi_queues_unbind_intr(pf->fdir.fdir_vsi); + i40e_vsi_disable_queues_intr(pf->fdir.fdir_vsi); } /* Clear all queues and release memory */ i40e_dev_clear_queues(dev);