From: Yong Liu Date: Thu, 29 Oct 2015 09:18:44 +0000 (+0800) Subject: examples/l3fwd-power: disable Rx interrupt when waking up X-Git-Tag: spdx-start~8290 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b736d64787fc910ce22b8e8ee7ffd0be449d342b;p=dpdk.git examples/l3fwd-power: disable Rx interrupt when waking up Signed-off-by: Marvin Liu Acked-by: Cunming Liang --- diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 8bb88cebee..9175989abd 100644 --- 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",