[dpdk-dev] [PATCH 2/2] net/i40e: remove unnecessary call of rte intr enable
Xiaoyun Li
xiaoyun.li at intel.com
Thu Sep 27 11:21:55 CEST 2018
Since rte_intr_enable is called at init and start time. Remove it in
interrupt_action function to avoid too many system calls.
Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 85a6a86..426d54c 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -6549,7 +6549,6 @@ i40e_dev_interrupt_handler(void *param)
done:
/* Enable interrupt */
i40e_pf_enable_irq0(hw);
- rte_intr_enable(dev->intr_handle);
}
int
--
2.7.4
More information about the dev
mailing list