DPDK usage discussions
 help / color / mirror / Atom feed
From: Shyam Shrivastav <shrivastav.shyam@gmail.com>
To: olivier.matz@6wind.com
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
	lidejun1@huawei.com, users <users@dpdk.org>,
	 dev@dpdk.org, lichunhe@huawei.com, zhangxufeng4@huawei.com
Subject: Re: [dpdk-users] [dpdk-dev] IPV4/IPV6 TCP/UDP Pseudo Header Checksum APIs
Date: Tue, 23 Oct 2018 16:23:59 +0530	[thread overview]
Message-ID: <CAGSp03=P6qgFqY+BQEC6tZiLdNSnbKyYetvajbYrLXRZTVpn4g@mail.gmail.com> (raw)
In-Reply-To: <20181023090158.z5w3gtvdzax247w6@platinum>

These fixes/modifications should include the upper level APIs,
rte_ipv4_udptcp_cksum and rte_ipv6_udptcp_cksum.

Even for ipv4 following API is more/really useful if changed to take mbufs

rte_ipv4_udptcp_cksum(const struct ipv4_hdr *ipv4_hdr, const void *l4_hdr)

I can not use it in present form as it requires single contiguous l4
buffer, instead using rte_raw_cksum_mbuf.

  reply	other threads:[~2018-10-23 10:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20  3:32 [dpdk-users] " lidejun
2018-10-20  5:12 ` [dpdk-users] [dpdk-dev] " Shyam Shrivastav
2018-10-20  5:22   ` Shyam Shrivastav
2018-10-20  6:14     ` [dpdk-users] 答复: " lidejun
2018-10-20  6:30       ` [dpdk-users] " Shyam Shrivastav
2018-10-22  8:03         ` Ferruh Yigit
2018-10-23  9:01           ` Olivier Matz
2018-10-23 10:53             ` Shyam Shrivastav [this message]
2018-11-28 15:07             ` Hyong Youb Kim

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='CAGSp03=P6qgFqY+BQEC6tZiLdNSnbKyYetvajbYrLXRZTVpn4g@mail.gmail.com' \
    --to=shrivastav.shyam@gmail.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=lichunhe@huawei.com \
    --cc=lidejun1@huawei.com \
    --cc=olivier.matz@6wind.com \
    --cc=users@dpdk.org \
    --cc=zhangxufeng4@huawei.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).