From: Stephen Hemminger <stephen@networkplumber.org>
To: Padam Jeet Singh <padam.singh@inventum.net>
Cc: dev@dpdk.org, yongwang@vmware.com
Subject: Re: [dpdk-dev] vmxnet3 TX TCP/UDP checksum not getting computed with L2_len > 14
Date: Sun, 17 Jun 2018 09:46:26 -0700 [thread overview]
Message-ID: <20180617094626.2d72413f@xeon-e3> (raw)
In-Reply-To: <45FFB08E-61C4-456F-A332-0881B6BF2BE3@inventum.net>
On Sun, 17 Jun 2018 14:55:06 +0530
Padam Jeet Singh <padam.singh@inventum.net> wrote:
> Hello,
>
> Issue observed when using vmxnet3 based interface on packet with following structure is sent:
>
> Ethernet + PPPoE + PPP (22 bytes) as the Layer 2 header,
> IPv4 (20)
> UDP
> DNS Payload
>
> The tx offload value in this case is 0x0f0000000000000 (PKT_TX_IPV4 | PKT_TX_IP_CKSUM | PKT_TX_UDP_CKSUM)
>
> The checksum of the packet seen by the receiver shows incorrect checksum and it’s value is the pseudo checksum value that was set at the time of the TX. However the IP header checksum is correct.
>
> The same issue is not seen when the L2 header is a just the Ethernet (14 bytes).
>
> Also, with the same setup on the same hardware if we switch the driver from vmxnet3 to e1000e, all checksums are computed correctly.
>
> Is this a DPDK vmxnet3 driver bug or that of underlying esxi? The ESXi version is 6.0.0 (Build 3620759).
>
> Thanks,
> Padam
I don't think VMWare supports IP checksum offload. Since IP checksum is trivial and in cache,
the IP header checksum offload is usually not a speed up anyway. Linux for example, never does
IP header checksum offload.
next prev parent reply other threads:[~2018-06-17 16:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-17 9:25 Padam Jeet Singh
2018-06-17 16:46 ` Stephen Hemminger [this message]
2018-06-17 19:00 ` Padam Jeet Singh
2018-09-13 21:39 ` Yong Wang
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=20180617094626.2d72413f@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=padam.singh@inventum.net \
--cc=yongwang@vmware.com \
/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).