From: topperxin <topperxin@126.com>
To: users@dpdk.org
Subject: [dpdk-users] how to calculate the checksum for tcp segment from gso output
Date: Mon, 27 Nov 2017 16:23:10 +0800 (CST) [thread overview]
Message-ID: <52738422.b154.15ffc92a890.Coremail.topperxin@126.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GBK, Size: 720 bytes --]
HI list
In the 17.11 version ,lib gso was introduced.
I just want to check it's performance.
The output segments from the rte_gso_segments() were multi-segments mbuf, at the same time, rte_gso_segments() don't calculate the checksum for the out put tcp seg, so , the application have to calculate the csum by itself.
But the current rte_udptcp_csum() interface can't calculate the checksum of multi-segment mbuf.
Who know how to do it?
\x16º&®^¶×¢ø§×¢ Ê'6öï]÷ëm¶Ó^ÑzÛ«öº%zÛ^wâ+^^qè¯y×ë¢i\&Ñþx ç(f¢ ´\x7f ¢%yÊ&ïvç͹ἥÙ(®\x03è²×âÇ\bDLøÜ=9\x0fPu\x03Wè®ë\x1e®ÇivJ+Ê'Û³h¿m5ï]÷ëm¾Ó]4\bDÑyÇ¢½ç[Êf¢ ´\x7f ¢%yÊ&Â+aHÄÏÛ¼ÞÊ7ßÞüçp¾_¢»¬z»\x1d¥Ù(®\x03(nÍ¢ý´×½8߶ÓÍ4=$Ã(\x12 Ú¶êÞ
reply other threads:[~2017-11-27 8:23 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=52738422.b154.15ffc92a890.Coremail.topperxin@126.com \
--to=topperxin@126.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).