DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Issues of MSIx interrupt enable with user space driver
@ 2015-04-28 21:57 James (Fei) Liu-SSI
  2015-04-28 23:19 ` Zhou, Danny
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James (Fei) Liu-SSI @ 2015-04-28 21:57 UTC (permalink / raw)
  To: dev

Hi All,
    We are porting driver from kernel into user space driver with DPDK for one of our devices. Polling thread works fine without any issue. However, we want to switch from polling to interrupt based handler. While we enable interrupt with VFIO MSIx, we always get below errors after issuing one command:
  
[  465.464186] dmar: DRHD: handling fault status reg 2
[  465.464194] dmar: INTR-REMAP: Request device [[02:00.0] fault index 27
[  465.464194] INTR-REMAP:[fault reason 34] Present field in the IRTE entry is clear

Here are steps we follow to enable interrupt:
1. --vfio-intr msix   was passed in as parameter for rte_eal_init
2. rte_intr_enable was called during the drive probe stage.
3. rte_intr_callback_register was called after interrupt was enabled



Is there anyone in the forum who worked on the interrupt handler to share with us about your comments? thanks for your help in advance.

Regards,
James
   

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

end of thread, other threads:[~2015-04-29 22:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 21:57 [dpdk-dev] Issues of MSIx interrupt enable with user space driver James (Fei) Liu-SSI
2015-04-28 23:19 ` Zhou, Danny
2015-04-29 18:25   ` James (Fei) Liu-SSI
2015-04-29 22:36     ` Zhou, Danny
2015-04-28 23:42 ` Stephen Hemminger
2015-04-29 18:24   ` James (Fei) Liu-SSI
2015-04-28 23:46 ` James (Fei) Liu-SSI

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).