From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com, James Hershaw <james.hershaw@corigine.com>
Subject: Re: [PATCH] net/nfp: reduce space reserved for layer 2 overhead
Date: Wed, 1 Nov 2023 12:00:12 +0000 [thread overview]
Message-ID: <9b0ab16a-56ad-423a-8c4d-e45d5f0f535e@amd.com> (raw)
In-Reply-To: <20231028062651.1843217-1-chaoyong.he@corigine.com>
On 10/28/2023 7:26 AM, Chaoyong He wrote:
> From: James Hershaw <james.hershaw@corigine.com>
>
> Reduce the space reserved for layer 2 overhead by defining
> NFP_ETH_OVERHEAD.
>
> Previously, the overhead was not explicitly defined, only the
> NFP_FRAME_SIZE_MAX value and the maximum layer 3 MTU was read from
> hardware, which is set by firmware.
>
> This resulted in a massive overhead, 516 Bytes in most cases, and while
> this can hold useful metadata in some cases, for the most part is not
> necessary. As such the overhead is explicitly defined in line with other
> net PMDs and the maximum frame size is calculated based on this and the
> layer 3 MTU read from firmware.
>
> Signed-off-by: James Hershaw <james.hershaw@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>>
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2023-11-01 12:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-28 6:26 Chaoyong He
2023-11-01 12:00 ` 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=9b0ab16a-56ad-423a-8c4d-e45d5f0f535e@amd.com \
--to=ferruh.yigit@amd.com \
--cc=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=james.hershaw@corigine.com \
--cc=oss-drivers@corigine.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).