From: Baptiste Wicht <baptistewicht@gmail.com>
To: users@dpdk.org
Subject: net/virtio: How to get RX checksum offloading working?
Date: Mon, 24 Mar 2025 14:29:28 +0100 [thread overview]
Message-ID: <CAG1Vf3MxJa2WpEMN3yY4=F9AjmDZTbBBKjKZyXOJgTtZ7KWE+g@mail.gmail.com> (raw)
[-- 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 --]
reply other threads:[~2025-03-24 13:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG1Vf3MxJa2WpEMN3yY4=F9AjmDZTbBBKjKZyXOJgTtZ7KWE+g@mail.gmail.com' \
--to=baptistewicht@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).