From: Jakub Kicinski <kuba@kernel.org>
To: David Wei <dw@davidwei.uk>
Cc: Somnath Kotur <somnath.kotur@broadcom.com>,
netdev@vger.kernel.org, Michael Chan <michael.chan@broadcom.com>,
Andy Gospodarek <andrew.gospodarek@broadcom.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>
Subject: Re: [PATCH net v2 3/3] bnxt_en: handle tpa_info in queue API implementation
Date: Sat, 30 Nov 2024 14:14:16 -0800 [thread overview]
Message-ID: <20241130141416.3c703eb5@kernel.org> (raw)
In-Reply-To: <c84c5177-2d1b-467f-805b-5cb979edc30a@davidwei.uk>
On Thu, 28 Nov 2024 16:43:40 -0800 David Wei wrote:
> > Just curious, why is this check needed everywhere? Is there a case
> > where the 2 page pools can be the same ? I thought either there is a
> > page_pool for the header frags or none at all ?
>
> Yes, frags are always allocated now from head_pool, which is by default
> the same as page_pool.
>
> If bnxt_separate_head_pool() then they are different.
Let's factor it out? We have 3 copies.
next prev parent reply other threads:[~2024-11-30 22:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 22:38 [PATCH net v2 0/3] bnxt_en: support header page pool in queue API David Wei
2024-11-27 22:38 ` [PATCH net v2 1/3] bnxt_en: refactor tpa_info alloc/free into helpers David Wei
2024-11-27 22:38 ` [PATCH net v2 2/3] bnxt_en: refactor bnxt_alloc_rx_rings() to call bnxt_alloc_rx_agg_bmap() David Wei
2024-11-27 22:38 ` [PATCH net v2 3/3] bnxt_en: handle tpa_info in queue API implementation David Wei
2024-11-28 3:46 ` Somnath Kotur
2024-11-29 0:43 ` David Wei
2024-11-30 22:14 ` Jakub Kicinski [this message]
2024-11-30 22:52 ` David Wei
2024-11-30 22:15 ` Jakub Kicinski
2024-11-30 22:59 ` David Wei
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=20241130141416.3c703eb5@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=andrew.gospodarek@broadcom.com \
--cc=davem@davemloft.net \
--cc=dw@davidwei.uk \
--cc=edumazet@google.com \
--cc=michael.chan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=somnath.kotur@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.