DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] net/virtio: fix Rx interrupts with MSI-X
@ 2026-11-17 12:43 Isaac Boukris
  2026-11-17 12:43 ` [PATCH 1/1] net/virtio: fix Rx interrupt setup " Isaac Boukris
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Isaac Boukris @ 2026-11-17 12:43 UTC (permalink / raw)
  To: Maxime Coquelin, Chenbo Xia
  Cc: dev, Anatoly Burakov, David Marchand, Isaac Boukris

Since 26.11-rc2, a virtio-net PCI device on vfio-pci cannot be
configured with Rx interrupts and an offload or RSS, nor configured a
second time: l3fwd-power fails to start on it. This patch fixes it; it
is for 26.11 and stable.

Tested in a VM (QEMU 10.2, vhost-net):

- l3fwd-power in interrupt-only mode on a virtio-net PCI port. Without
  the patch it fails as in the commit message. With it, it starts and
  each packet wakes its lcore up.
- A port stopped, configured again and started: Rx interrupts still
  wake the lcore up (testpmd, with a patch that makes it sleep on
  them).
- Rx interrupts on a virtio-user port with a vhost-net backend, which
  the patch leaves alone: they work as before.

The legacy DTS has a test plan for this very case,
vhost_virtio_pmd_interrupt (l3fwd-power in a VM, on a virtio-net device
bound to vfio-pci); I did not run it. I will try to come up with a follow
up test for the DTS in the main tree, adding an option for testpmd to
sleep on Rx interrupts and a suite that uses it.

Patch generated with AI assistance.

Isaac Boukris (1):
  net/virtio: fix Rx interrupt setup with MSI-X

 drivers/net/virtio/virtio_ethdev.c | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.56.1


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

end of thread, other threads:[~2026-11-18  0:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 12:43 [PATCH 0/1] net/virtio: fix Rx interrupts with MSI-X Isaac Boukris
2026-11-17 12:43 ` [PATCH 1/1] net/virtio: fix Rx interrupt setup " Isaac Boukris
2026-11-17 14:29   ` David Marchand
2026-11-17 19:51     ` Isaac Boukris
2026-11-17 21:59 ` [PATCH v2 0/5] net/virtio: fix Rx interrupts " Isaac Boukris
2026-11-17 21:59   ` [PATCH v2 1/5] net/virtio: fix Rx interrupt setup " Isaac Boukris
2026-11-17 21:59   ` [PATCH v2 2/5] test/virtio_user: add unit test of Rx interrupts Isaac Boukris
2026-11-17 21:59   ` [PATCH v2 3/5] app/testpmd: add Rx queue interrupts option Isaac Boukris
2026-11-17 22:00   ` [PATCH v2 4/5] dts: support virtio PCI ports Isaac Boukris
2026-11-17 22:00   ` [PATCH v2 5/5] dts: add Rx interrupt test suite Isaac Boukris
2026-11-18  0:19 ` [PATCH v3 0/7] net/virtio: fix Rx interrupts with MSI-X Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 1/7] net/virtio: fix Rx interrupt setup " Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 2/7] net/virtio-user: fix packet loss with unused queue pairs Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 3/7] test/virtio_user: add unit test of " Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 4/7] test/virtio_user: add unit test of Rx interrupts Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 5/7] app/testpmd: add Rx queue interrupts option Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 6/7] dts: support virtio PCI ports Isaac Boukris
2026-11-18  0:19   ` [PATCH v3 7/7] dts: add Rx interrupt test suite Isaac Boukris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox