git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b90a3f
)
i40e: fix interrupt disabling when stopping
author
Jingjing Wu
<jingjing.wu@intel.com>
Wed, 4 Nov 2015 15:01:25 +0000
(23:01 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 4 Nov 2015 15:28:26 +0000
(16:28 +0100)
When stop device, should disable interrupt of FDIR but not
enable it. This patch corrected it.
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/i40e_ethdev.c
b/drivers/net/i40e/i40e_ethdev.c
index
a39bd28
..
ddf3d38
100644
(file)
--- 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_
en
able_queues_intr(pf->fdir.fdir_vsi);
+ i40e_vsi_queues_
un
bind_intr(pf->fdir.fdir_vsi);
+ i40e_vsi_
dis
able_queues_intr(pf->fdir.fdir_vsi);
}
/* Clear all queues and release memory */
i40e_dev_clear_queues(dev);