DPDK usage discussions
 help / color / mirror / Atom feed
From: "jiangheng (G)" <jiangheng14@huawei.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "maxime.coquelin@redhat.com" <maxime.coquelin@redhat.com>,
	"chenbo.xia@intel.com" <chenbo.xia@intel.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: 答复: why does virtio not support IPv4 CKSUM?
Date: Fri, 7 Jul 2023 12:21:37 +0000	[thread overview]
Message-ID: <9f63ee93df344a0f97732d28a31b6150@huawei.com> (raw)
In-Reply-To: <20230706073737.24bc2201@hermes.local>

>> Hi 
>> 
>> why does virtio not support IPv4 CKSUM? But support TCP/UDP cksum.

> Because virtio is a software driver developed on Linux and Linux doesn't need/want IP checksum offload.
> It takes longer to look at offload bits then to compute checksum in SW.

However, Virtio supports LRO. Is it possible to merge packets with incorrect cksum?

>> 
>> If not support ipv4 cksum, when I use GRO, the ip cksum of the packets transmitted to ip layer will be incorrect.
>> I have to calculate ip cksum before packet was transmiited to ip layer.
>> So why does virtio not support ipv4 cksum ?

  reply	other threads:[~2023-07-07 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06  3:47 jiangheng (G)
2023-07-06 14:37 ` Stephen Hemminger
2023-07-07 12:21   ` jiangheng (G) [this message]
2023-07-07 12:34     ` jiangheng (G)

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=9f63ee93df344a0f97732d28a31b6150@huawei.com \
    --to=jiangheng14@huawei.com \
    --cc=chenbo.xia@intel.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=stephen@networkplumber.org \
    --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).