Subject: Re: [PATCH RFC net-next 18/19] net: mvpp2: add ring size validation before enabling FC

From: Andrew Lunn <[email-masked]>
Date: Sun, 10 Jan 2021 18:37:56 +0100

On Sun, Jan 10, 2021 at 05:30:22PM +0200, [email-masked] wrote:
> From: Stefan Chulski <[email-masked]>
> 
> This patch add ring size validation before enabling FC.
> 1. Flow control cannot be enabled if ring size is below start
> threshold.
> 2. Flow control disabled if ring size set below start
> threshold.

You should also tell phylink if pause is not supported, so it can
change what is auto-negotiated, letting the link partner know.

       Andrew