[PATCH v4 7/7] l3fwd-power: disable interrupt when wake up from sleep
From: Yong Liu <hidden>
Date: 2015-10-29 15:57:05
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Yong Liu <hidden>
Date: 2015-10-29 15:57:05
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Marvin Liu <redacted>
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 8bb88ce..9175989 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",
--
1.9.3