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:
921a720
)
examples/l3fwd-power: disable Rx interrupt when waking up
author
Yong Liu
<yong.liu@intel.com>
Thu, 29 Oct 2015 09:18:44 +0000
(17:18 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 29 Oct 2015 22:47:37 +0000
(23:47 +0100)
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
examples/l3fwd-power/main.c
patch
|
blob
|
history
diff --git
a/examples/l3fwd-power/main.c
b/examples/l3fwd-power/main.c
index
8bb88ce
..
9175989
100644
(file)
--- a/
examples/l3fwd-power/main.c
+++ b/
examples/l3fwd-power/main.c
@@
-798,6
+798,7
@@
sleep_until_rx_interrupt(int num)
port_id = ((uintptr_t)data) >> CHAR_BIT;
queue_id = ((uintptr_t)data) &
RTE_LEN2MASK(CHAR_BIT, uint8_t);
+ rte_eth_dev_rx_intr_disable(port_id, queue_id);
RTE_LOG(INFO, L3FWD_POWER,
"lcore %u is waked up from rx interrupt on"
" port %d queue %d\n",