From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: Alexander Lobakin <aleksander.lobakin@intel.com>,
<intel-wired-lan@lists.osuosl.org>
Cc: Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Jacob Keller <jacob.e.keller@intel.com>,
Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
<nxne.cnse.osdt.itp.upstreaming@intel.com>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH iwl-next 1/5] libeth: pass Rx queue index to PP when creating a fill queue
Date: Wed, 3 Dec 2025 09:44:53 -0800 [thread overview]
Message-ID: <8c1b214f-b016-45dd-b9a4-7d553967d950@intel.com> (raw)
In-Reply-To: <20251125173603.3834486-2-aleksander.lobakin@intel.com>
On 11/25/2025 9:35 AM, Alexander Lobakin wrote:
> Since recently, page_pool_create() accepts optional stack index of
> the Rx queue which the pool will be created for. It can then be
> used on control path for stuff like memory providers.
> Add the same field to libeth_fq and pass the index from all the
> drivers using libeth for managing Rx to simplify implementing MP
> support later.
> idpf has one libeth_fq per buffer/fill queue and each Rx queue has
> two fill queues, but since fill queues can never be shared, we can
> store the corresponding Rx queue index there during the
> initialization to pass it to libeth.
>
> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
> ---
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 2 ++
> include/net/libeth/rx.h | 2 ++
> drivers/net/ethernet/intel/iavf/iavf_txrx.c | 1 +
> drivers/net/ethernet/intel/ice/ice_base.c | 2 ++
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 13 +++++++++++++
> drivers/net/ethernet/intel/libeth/rx.c | 1 +
> 6 files changed, 21 insertions(+)
>
> diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.h b/drivers/net/ethernet/intel/idpf/idpf_txrx.h
> index 75b977094741..1f368c4e0a76 100644
> --- a/drivers/net/ethernet/intel/idpf/idpf_txrx.h
> +++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.h
> @@ -744,6 +744,7 @@ libeth_cacheline_set_assert(struct idpf_tx_queue, 64,
> * @q_id: Queue id
> * @size: Length of descriptor ring in bytes
> * @dma: Physical address of ring
> + * @rxq_idx: stack index of the corresponding Rx queue
> * @q_vector: Backreference to associated vector
> * @rx_buffer_low_watermark: RX buffer low watermark
> * @rx_hbuf_size: Header buffer size
> @@ -788,6 +789,7 @@ struct idpf_buf_queue {
> dma_addr_t dma;
>
> struct idpf_q_vector *q_vector;
> + u16 rxq_ixd;
I believe this is supposed to be rxq_idx?
Thanks,
Tony
> u16 rx_buffer_low_watermark;
> u16 rx_hbuf_size;
next prev parent reply other threads:[~2025-12-03 17:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 17:35 [PATCH iwl-next 0/5] ice: add support for devmem/io_uring Rx and Tx Alexander Lobakin
2025-11-25 17:35 ` [PATCH iwl-next 1/5] libeth: pass Rx queue index to PP when creating a fill queue Alexander Lobakin
2025-12-03 17:44 ` Tony Nguyen [this message]
2025-11-25 17:36 ` [PATCH iwl-next 2/5] libeth: handle creating pools with unreadable buffers Alexander Lobakin
2025-11-25 17:36 ` [PATCH iwl-next 3/5] ice: migrate to netdev ops lock Alexander Lobakin
2026-02-06 16:31 ` [Intel-wired-lan] " Nowlin, Alexander
2025-11-25 17:36 ` [PATCH iwl-next 4/5] ice: implement Rx queue management ops Alexander Lobakin
2025-11-25 17:36 ` [PATCH iwl-next 5/5] ice: add support for transmitting unreadable frags Alexander Lobakin
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=8c1b214f-b016-45dd-b9a4-7d553967d950@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=aleksander.lobakin@intel.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nxne.cnse.osdt.itp.upstreaming@intel.com \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@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
all inboxes | Powered by JetHome®