DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Singh, Aman Deep" <aman.deep.singh@intel.com>
To: Zhichao Zeng <zhichaox.zeng@intel.com>, <dev@dpdk.org>
Cc: <qi.z.zhang@intel.com>, <ke1.xu@intel.com>,
	Yuying Zhang <yuying.zhang@intel.com>
Subject: Re: [PATCH 2/4] app/testpmd: support UFO in checksum engine
Date: Thu, 1 Jun 2023 17:28:38 +0530	[thread overview]
Message-ID: <be31a161-eabf-e93f-243f-b06a5041f2b4@intel.com> (raw)
In-Reply-To: <20230413053426.4190965-1-zhichaox.zeng@intel.com>


On 4/13/2023 11:04 AM, Zhichao Zeng wrote:
> This commit supports UFO for both non-tunnel and tunneled packets.
>
> Similar to TSO, the command "tso set <tso_segsz> <port_id>" or
> "tunnel_tso set <tso_segsz> <port_id>" is used to enable UFO,
> and the following conditions need to be met:
> a. The NIC supports UFO;
> b. For enabling UFO in tunnel packets, "csum parse_tunnel" must be set to
>     recognize tunnel packets;
> c. For IPv4 tunnel packets, "csum set outer-ip" must be set to hw, because
>     UFO changes the total_len of the external IP header and the checksum
>     calculated by SW becomes incorrect; This is not necessary for IPv6
>     tunnel packets since there's no checksum field to fill in.
>
> Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>

Acked-by: Aman Singh <aman.deep.singh@intel.com>

<snip>


      reply	other threads:[~2023-06-01 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13  5:34 Zhichao Zeng
2023-06-01 11:58 ` Singh, Aman Deep [this message]

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=be31a161-eabf-e93f-243f-b06a5041f2b4@intel.com \
    --to=aman.deep.singh@intel.com \
    --cc=dev@dpdk.org \
    --cc=ke1.xu@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=yuying.zhang@intel.com \
    --cc=zhichaox.zeng@intel.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).