patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com,
	Richard Donkin <richard.donkin@corigine.com>,
	stable@dpdk.org
Subject: Re: [PATCH] net/nfp: fix length comparison for max DMA length
Date: Sat, 11 Feb 2023 00:53:51 +0000	[thread overview]
Message-ID: <f6d9b785-efc7-f789-0959-d0b9137334cb@amd.com> (raw)
In-Reply-To: <20230203022328.15674-1-chaoyong.he@corigine.com>

On 2/3/2023 2:23 AM, Chaoyong He wrote:
> From: Richard Donkin <richard.donkin@corigine.com>
> 
> The DMA transfer length is allowed to be as large as
> NFDK_TX_MAX_DATA_PER_HEAD. The existing check would not allow a simple-
> type descriptor to be created for a packet of size
> NFDK_TX_MAX_DATA_PER_HEAD, but it would also not enable gather-type
> descriptors to be created correctly later.
> 
> Change the limit of simple-type descriptors to include packets of size
> NFDK_TX_MAX_DATA_PER_HEAD.
> 
> In practice this fixes traffic with packets of size 4096. Previously
> such packets would not be transmitted correctly.
> 
> Fixes: c73dced48c8c ("net/nfp: add NFDk Tx")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Richard Donkin <richard.donkin@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>

Applied to dpdk-next-net/main, thanks.


      reply	other threads:[~2023-02-11  0:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03  2:23 Chaoyong He
2023-02-11  0:53 ` Ferruh Yigit [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=f6d9b785-efc7-f789-0959-d0b9137334cb@amd.com \
    --to=ferruh.yigit@amd.com \
    --cc=chaoyong.he@corigine.com \
    --cc=dev@dpdk.org \
    --cc=oss-drivers@corigine.com \
    --cc=richard.donkin@corigine.com \
    --cc=stable@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).