DPDK patches and discussions
 help / color / mirror / Atom feed
From: kumaraparameshwaran rathinavel <kumaraparamesh92@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK Virtio Checksum Errors
Date: Mon, 5 Aug 2019 23:39:40 +0530	[thread overview]
Message-ID: <CANxNyaungF4BjHkZJJDcfBrbtQ+ppzjzmUinheAuscNKYqtoGw@mail.gmail.com> (raw)

Hi All,

I had recently tried using TSO on the DPDK virtio guest driver and I get
the TCP checksum errors at the client side. I tried running iperf and
Apache bench

We have been using the same TCP/IP stack for other DPDK pmd drivers and
they are working fine. I did notice that incase of virtio alone we do
calculate the IP payload in pseudo check sum, please correct me if I am
wrong. This is the guest side implementation. Is this applicable for all
versions of qemu virtio

In the host the OVS is run in a Kolla inside container and it is in
non-dpdk mode. The tcpdump from the physical interface shows that the
packet is not modified from the way it was sent by the guest.

After the checksum errors the TCP stack of the guest  sends the MTU sized
packet for which the TSO failed and this time the checksum at the client
side did not fail. In the client I had disabled GRO and LRO, so that we
compute checksum on each frame.

Also the checksum errors are seen only when the VMs communicating are
present in different physical host, when VMs in same host I do not see any
checksum errors.

Please let me know if such issues were seen earlier and any pointers on
debugging further would be helpful.

Thanks,
Param

             reply	other threads:[~2019-08-06  7:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-05 18:09 kumaraparameshwaran rathinavel [this message]
2019-08-06  7:55 ` Maxime Coquelin

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=CANxNyaungF4BjHkZJJDcfBrbtQ+ppzjzmUinheAuscNKYqtoGw@mail.gmail.com \
    --to=kumaraparamesh92@gmail.com \
    --cc=dev@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).