lkml.org 
[lkml]   [2023]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v2 1/2] dt-bindings: net: cdns,macb: Add rx-watermark property
On Thu, May 11, 2023 at 01:12:13AM -0600, Pranavi Somisetty wrote:
> watermark value is the minimum amount of packet data
> required to activate the forwarding process. The watermark
> implementation and maximum size is dependent on the device
> where Cadence MACB/GEM is used.
>
> Signed-off-by: Pranavi Somisetty <pranavi.somisetty@amd.com>
> ---
> Documentation/devicetree/bindings/net/cdns,macb.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml
> index bef5e0f895be..779bc25cf005 100644
> --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml
> +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml
> @@ -109,6 +109,13 @@ properties:
> power-domains:
> maxItems: 1
>
> + rx-watermark:
> + maxItems: 1
> + $ref: /schemas/types.yaml#/definitions/uint16
> + description:
> + Set watermark value for pbuf_rxcutthru reg and enable
> + rx partial store and forward.

What are the units? Frames, octets, DMA scatter-gather segments, % of
maximum?

Andrew

---
pw-bot: cr

\
 
 \ /
  Last update: 2023-05-11 17:42    [W:0.141 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site