[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X/s7dFGDvoZzvKEN@lunn.ch>
Date: Sun, 10 Jan 2021 18:37:56 +0100
From: Andrew Lunn <andrew@...n.ch>
To: stefanc@...vell.com
Cc: netdev@...r.kernel.org, thomas.petazzoni@...tlin.com,
davem@...emloft.net, nadavh@...vell.com, ymarkman@...vell.com,
linux-kernel@...r.kernel.org, kuba@...nel.org,
linux@...linux.org.uk, mw@...ihalf.com, rmk+kernel@...linux.org.uk,
atenart@...nel.org
Subject: Re: [PATCH RFC net-next 18/19] net: mvpp2: add ring size validation
before enabling FC
On Sun, Jan 10, 2021 at 05:30:22PM +0200, stefanc@...vell.com wrote:
> From: Stefan Chulski <stefanc@...vell.com>
>
> 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
Powered by blists - more mailing lists