DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40evf: regression fix - reenable interrupts in handler
@ 2018-02-14 18:32 Konrad Jankowski
  2018-03-28  3:36 ` Zhang, Qi Z
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Jankowski @ 2018-02-14 18:32 UTC (permalink / raw)
  To: wei.dai, beilei.xing, qi.z.zhang, jingjing.wu, dev; +Cc: Konrad Jankowski

Commit 66b8304f removed the rte_intr_enable() call from
i40evf_dev_interrupt_handler() as a "bonus". On one of my systems this causes
the AdminQ messages to stop beeing delivered to the VF. This results in
unability to initialize and use the port. With this patch it works again.

System in question:
Wind River OVP6 running kernel 3.10.58-ovp-rt58-WR6.0.0.13_preempt-rt

Signed-off-by: Konrad Jankowski <konrad.jankowski@intel.com>
---
 drivers/net/i40e/i40e_ethdev_vf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index fd003fe..b927a35 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -1404,6 +1404,7 @@ i40evf_dev_interrupt_handler(void *param)
 
 done:
 	i40evf_enable_irq0(hw);
+	rte_intr_enable(dev->intr_handle);
 }
 
 static int
-- 
2.5.5

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-10 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 18:32 [dpdk-dev] [PATCH] net/i40evf: regression fix - reenable interrupts in handler Konrad Jankowski
2018-03-28  3:36 ` Zhang, Qi Z
2018-04-04 17:12   ` Jankowski, Konrad
2018-04-06 15:47     ` Zhang, Helin
2018-04-06 15:52     ` Zhang, Helin
2018-04-10 13:26     ` Zhang, Qi Z
2018-04-10 14:06       ` Jankowski, Konrad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).