Re: [PATCH net-next 1/3] dt-bindings: net: snps,dwmac: Add snps,pagepool-tx-buf-quirk
Krzysztof Kozlowski <[email protected]> Tue, 4 Aug 2026 10:37:29 +0200
| Newsgroups | gmane.linux.network,gmane.linux.drivers.devicetree,gmane.linux.ports.arm.kernel,gmane.linux.kernel |
|---|---|
| Message-ID | <20260804-proficient-competent-wyvern-30ec60@quoll> |
On Mon, Aug 03, 2026 at 12:05:11AM -0700, [email protected] wrote: > From: Nazim Amirul <[email protected]> > > Add a DT flag to enable use of page pool buffers instead of streaming > skb buffers for transmit. This avoids IOMMU invalidate wait time on > platforms where that cost is high, with the trade-off of copying data > from the skb into dma-mapped page pool buffers. > > Signed-off-by: Nazim Amirul <[email protected]> > --- > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > index 2449311c6d28..73045511446f 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -545,6 +545,14 @@ properties: > Enables the TSO feature otherwise it will be managed by MAC HW capability > register. > > + snps,pagepool-tx-buf-quirk: > + $ref: /schemas/types.yaml#/definitions/flag > + description: You described the desired Linux feature or behavior, not the actual hardware. The bindings are about the latter, so instead you need to rephrase the property and its description to match actual hardware capabilities/features/configuration etc. > + Enable use of page pool buffers instead of streaming buffers for transmit. > + This avoids IOMMU invalidate wait time on platforms where that cost is > + high, with the trade-off of copying data from the skb into dma-mapped Best regards, Krzysztof