From: Xin Long <lucien.xin@gmail.com>
To: Edward Cree <edward.cree@xilinx.com>
Cc: Jakub Kicinski <kuba@kernel.org>,
network dev <netdev@vger.kernel.org>, davem <davem@davemloft.net>,
Edward Cree <ecree@solarflare.com>
Subject: Re: [PATCH net] Documentation: add description for net.core.gro_normal_batch
Date: Wed, 11 May 2022 12:20:16 -0400 [thread overview]
Message-ID: <CADvbK_f1B-HjSu1w7VX2=8KPkw+ecLf1aOfgcmcp48MGQNQEig@mail.gmail.com> (raw)
In-Reply-To: <11f25fef-e551-f72c-223d-c3d072a3a94d@xilinx.com>
On Tue, May 10, 2022 at 1:42 PM Edward Cree <edward.cree@xilinx.com> wrote:
>
> On 10/05/2022 18:10, Xin Long wrote:
> > On Mon, May 9, 2022 at 9:07 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >> That makes it sounds like only packets which were not coalesced
> >> go on the list. IIUC everything goes on that list before traveling
> >> up the stack, no?
> > I think the difference is these ones held/merged go to gro_list first
> > and get merged there, then go to the list. I can change it to:
> >
> > "place it on a list where the coalesced packets also eventually go"
> >
> > looks good?
>
> Maybe it'd be clearer to say something like
> "when a packet exits GRO, either as a coalesced superframe or as an
> original packet which GRO has decided not to coalesce, it is placed on
> a per-NAPI list. This list is then passed to the stack when..." etc.
> Ideally also mention the fact that a coalesced superframe counts as
> napi_gro_cb.count towards the gro_normal_batch limit, not just 1.
Thanks, ed.
I'd say "...when the segments in this list count towards the
gro_normal_batch limit." only
(too many details involved may confuse users)
will post v2.
prev parent reply other threads:[~2022-05-11 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-06 18:20 [PATCH net] Documentation: add description for net.core.gro_normal_batch Xin Long
2022-05-10 1:07 ` Jakub Kicinski
2022-05-10 17:10 ` Xin Long
2022-05-10 17:42 ` Edward Cree
2022-05-11 16:20 ` Xin Long [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='CADvbK_f1B-HjSu1w7VX2=8KPkw+ecLf1aOfgcmcp48MGQNQEig@mail.gmail.com' \
--to=lucien.xin@gmail.com \
--cc=davem@davemloft.net \
--cc=ecree@solarflare.com \
--cc=edward.cree@xilinx.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.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).