* net/virtio: How to get RX checksum offloading working?
@ 2025-03-24 13:29 Baptiste Wicht
0 siblings, 0 replies; only message in thread
From: Baptiste Wicht @ 2025-03-24 13:29 UTC (permalink / raw)
To: users
[-- Attachment #1: Type: text/plain, Size: 687 bytes --]
Hi,
I am trying to test RX Checksum offloading to work with a net_virtio PMD. I
have gotten offloading to be enabled by requesting and ensuring that
guest_csum is enabled on the qemu-kvm device. But then, I don't get any
flags (ol_flags=0). I was expecting at least the IP_CKSUM_UNKNOWN flag.
Through a debugger, I can see I go into virtio_rx_offload but then it
returns early because hdr->flags == 0 (
https://github.com/DPDK/dpdk/blob/v23.11/drivers/net/virtio/virtio_rxtx.c#L924
).
Do I need any more configuration on the hypervisor or guest to get checksum
offloads?
I am using DPDK 23.11.
Thanks
Baptiste
--
Dr Baptiste Wicht
My personal website - http://baptiste-wicht.com
[-- Attachment #2: Type: text/html, Size: 1185 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-24 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-24 13:29 net/virtio: How to get RX checksum offloading working? Baptiste Wicht
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).