DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Shah <rahulshah@microsoft.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: TCP checksum calculation after GSO
Date: Sat, 27 Aug 2022 00:11:18 +0000	[thread overview]
Message-ID: <BL1PR21MB3088352C7E410E633B0F6F1BB1749@BL1PR21MB3088.namprd21.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

Hi,

I see that in the testpmd csum mode (csumonly.c), TCP checksum is not calculated by the code after segmenting the packet. I get TCP checksum error when I capture the segmented packets in the Wireshark. Is this expected or an error.

There is a 'update_tcp_header' function which only clears the TCP flags but does not recalculate the checksum

Thanks,
Rahul

[-- Attachment #2: Type: text/html, Size: 2096 bytes --]

                 reply	other threads:[~2022-08-27  0:11 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=BL1PR21MB3088352C7E410E633B0F6F1BB1749@BL1PR21MB3088.namprd21.prod.outlook.com \
    --to=rahulshah@microsoft.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).