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:
19ac8c7
)
net/nfp: fix Rx interrupt
author
Alejandro Lucero
<alejandro.lucero@netronome.com>
Tue, 21 Mar 2017 10:43:21 +0000
(10:43 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:45 +0000
(18:59 +0200)
Current code enables RX interrupts even if this it not
requested.
Fixes:
ea121b28316d
("net/nfp: add Rx interrupts")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c
patch
|
blob
|
history
diff --git
a/drivers/net/nfp/nfp_net.c
b/drivers/net/nfp/nfp_net.c
index
6155d7c
..
a1ad97a
100644
(file)
--- a/
drivers/net/nfp/nfp_net.c
+++ b/
drivers/net/nfp/nfp_net.c
@@
-708,7
+708,8
@@
nfp_net_start(struct rte_eth_dev *dev)
return -1;
}
- nfp_configure_rx_interrupt(dev, intr_handle);
+ if (rte_intr_dp_is_en(intr_handle))
+ nfp_configure_rx_interrupt(dev, intr_handle);
rte_intr_enable(intr_handle);