From 12aa64d1f63d0e8014fbc8cae6210f31330bcede Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Sat, 29 Sep 2018 10:54:09 +0800 Subject: [PATCH] net/i40e: remove unnecessary interrupt enable 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 Acked-by: Qi Zhang --- 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 10556aaeb1..538aea4e35 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -6625,7 +6625,6 @@ i40e_dev_interrupt_handler(void *param) done: /* Enable interrupt */ i40e_pf_enable_irq0(hw); - rte_intr_enable(dev->intr_handle); } static void -- 2.20.1