Skip to contentSkip to conversation

virtio-net with vhost RX stall

Qemu-devel Benoît Canet 2 participants 3 messages Aug 12, 2013

lore
Share & tools
lore
#0 lore raw

Hello,

I am chasing a randomly occuring RX stall with virtio-net and vhost-net.

So far we have a test setup with a kgdb to debug the guest and a regular gdb to debug QEMU.
We are still trying to reproduce the bug in a test environment.

Once the bug reproduced would you have hints on what to look for in virtio-net driver state ?
Any idea to debug this would be wellcome.

Best regards

Benoît

#1 lore raw
Quoted 4 lines · Benoît Canet

Hello,

I am chasing a randomly occuring RX stall with virtio-net and vhost-net.

Any chance the bug is fixed by 'virtio_net: fix race in RX VQ processing'?

Quoted 5 lines

So far we have a test setup with a kgdb to debug the guest and a regular gdb to debug QEMU.
We are still trying to reproduce the bug in a test environment.

Quoted 7 lines

Once the bug reproduced would you have hints on what to look for in virtio-net driver state ?
Any idea to debug this would be wellcome.

Best regards

Benoît

Dump the ring state and index values where they poll, on host and guest.

Signature · 1 line
MST
#2 lore raw
Quoted 1 line

Any chance the bug is fixed by 'virtio_net: fix race in RX VQ processing'?

We will test if we have more luck with a 3.10 and a backport of this patch.

Quoted 1 line

Dump the ring state and index values where they poll, on host and guest.

ok

Thanks

Benoît