[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52b5d869-d15d-465a-878d-4693b2742eff@lunn.ch>
Date: Thu, 19 Dec 2024 17:58:42 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Tristram.Ha@...rochip.com
Cc: Woojung Huh <woojung.huh@...rochip.com>,
Arun Ramadoss <arun.ramadoss@...rochip.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
UNGLinuxDriver@...rochip.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 2/2] net: dsa: microchip: Fix LAN937X set_ageing_time
function
On Tue, Dec 17, 2024 at 06:02:24PM -0800, Tristram.Ha@...rochip.com wrote:
> From: Tristram Ha <tristram.ha@...rochip.com>
>
> The aging count is not a simple 20-bit value but comprises a 3-bit
> multiplier and a 20-bit second time. The code tries to use the
> original multiplier which is 4 as the second count is still 300 seconds
> by default.
>
> As the 20-bit number is now too large for practical use there is an option
> to interpret it as microseconds instead of seconds.
>
> Fixes: 2c119d9982b1 ("net: dsa: microchip: add the support for set_ageing_time")
> Signed-off-by: Tristram Ha <tristram.ha@...rochip.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists