[PATCH 2/2] net/fsl: fman dt binding: add fsl,max-frm-sz & fsl,rx-extra-headroom properties.

From: Fred Lefranc
Date: Thu Feb 17 2022 - 11:09:39 EST


Describes two additional parameters that could be optionally added
in devicetree.

Signed-off-by: Fred Lefranc <hardware.evs@xxxxxxxxx>
---
.../devicetree/bindings/net/fsl-fman.txt | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/fsl-fman.txt b/Documentation/devicetree/bindings/net/fsl-fman.txt
index 020337f3c05f..bcd0cf8ca9e9 100644
--- a/Documentation/devicetree/bindings/net/fsl-fman.txt
+++ b/Documentation/devicetree/bindings/net/fsl-fman.txt
@@ -117,6 +117,26 @@ PROPERTIES
erratum A050385 which indicates that DMA transactions that are
split can result in a FMan lock.

+- fsl,max-frm-sz
+ Usage: optional
+ Value type: <u32>
+ Definition: Max frame size, across all interfaces.
+ Must be large enough to accommodate the network MTU, but small enough
+ to avoid wasting skb memory.
+ 1522 by default.
+
+- fsl,rx-extra-headroom
+ Usage: optional
+ Value type: <u32>
+ Definition: Extra headroom for Rx buffers.
+ FMan is instructed to allocate, on the Rx path, this amount of
+ space at the beginning of a data buffer, beside the DPA private
+ data area and the IC fields.
+ Does not impact Tx buffer layout.
+ 64 by default, it's needed on
+ particular forwarding scenarios that add extra headers to the
+ forwarded frame.
+
=============================================================================
FMan MURAM Node

--
2.25.1