mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: muhammad.nazim.amirul.nazle.asmade@altera.com
To: netdev@vger.kernel.org, devicetree@vger.kernel.org, dinguyen@kernel.org
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	alexandre.torgue@foss.st.com, peppe.cavallaro@st.com,
	joabreu@synopsys.com, mcoquelin.stm32@gmail.com,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next 0/3] net: stmmac: page pool Tx buffer quirk
Date: Mon,  3 Aug 2026 00:05:10 -0700	[thread overview]
Message-ID: <20260803070513.4657-1-muhammad.nazim.amirul.nazle.asmade@altera.com> (raw)

From: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>

This series adds optional use of page pool buffers for stmmac transmit
instead of per-packet streaming dma map/unmap.

On platforms with an IOMMU, the invalidate cost of map/unmap can dominate
small-packet Tx performance. Copying into recycled, already-mapped page
pool buffers can be cheaper. The feature is opt-in via a new DT flag
snps,pagepool-tx-buf-quirk, and is enabled for Agilex5 GMACs.

Page pool Tx buffers are only used for single-fragment, non-TSO frames.

Patches 1-2 are based on netdev/net-next. Patch 3 (DTS) is based on
Dinh Nguyen's socfpga for-next tree.

Nazim Amirul (3):
  dt-bindings: net: snps,dwmac: Add snps,pagepool-tx-buf-quirk
  net: stmmac: Use pagepool instead of streaming buffers for Tx
  arm64: dts: agilex5: Enable pagepool Tx buffer quirk

 .../devicetree/bindings/net/snps,dwmac.yaml   |  8 +++
 .../boot/dts/intel/socfpga_agilex5.dtsi       |  3 +
 .../net/ethernet/stmicro/stmmac/stmmac.h      |  3 +
 .../ethernet/stmicro/stmmac/stmmac_main.c     | 75 +++++++++++++++++--
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  2 +
 include/linux/stmmac.h                        |  1 +
 6 files changed, 81 insertions(+), 11 deletions(-)

-- 
2.43.7

             reply	other threads:[~2026-08-03  7:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03  7:05 muhammad.nazim.amirul.nazle.asmade [this message]
2026-08-03  7:05 ` [PATCH net-next 1/3] dt-bindings: net: snps,dwmac: Add snps,pagepool-tx-buf-quirk muhammad.nazim.amirul.nazle.asmade
2026-08-04  8:37   ` Krzysztof Kozlowski
2026-08-03  7:05 ` [PATCH net-next 2/3] net: stmmac: Use pagepool instead of streaming buffers for Tx muhammad.nazim.amirul.nazle.asmade
2026-08-03 18:39   ` Mina Almasry
2026-08-03 18:53     ` Mina Almasry
2026-08-03  7:05 ` [PATCH 3/3] arm64: dts: agilex5: Enable pagepool Tx buffer quirk muhammad.nazim.amirul.nazle.asmade

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=20260803070513.4657-1-muhammad.nazim.amirul.nazle.asmade@altera.com \
    --to=muhammad.nazim.amirul.nazle.asmade@altera.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=robh@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

all inboxes | Powered by JetHome®