lkml.org 
[lkml]   [2022]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] net/fsl: fman dt binding: add fsl,max-frm-sz & fsl,rx-extra-headroom properties.
    Date
    Describes two additional parameters that could be optionally added
    in devicetree.

    Signed-off-by: Fred Lefranc <hardware.evs@gmail.com>
    ---
    .../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
    \
     
     \ /
      Last update: 2022-02-17 17:10    [W:8.687 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site