[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201005090912.424121-1-vladimir.oltean@nxp.com>
Date: Mon, 5 Oct 2020 12:09:10 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: davem@...emloft.net
Cc: alexandre.belloni@...tlin.com, andrew@...n.ch,
f.fainelli@...il.com, vivien.didelot@...il.com,
alexandru.marginean@....com, claudiu.manoil@....com,
xiaoliang.yang_1@....com, hongbo.wang@....com,
netdev@...r.kernel.org, UNGLinuxDriver@...rochip.com
Subject: [PATCH net 0/2] Fix tail dropping watermarks for Ocelot switches
This series adds a missing division by 60, and a warning to prevent that
in the future.
Vladimir Oltean (2):
net: mscc: ocelot: divide watermark value by 60 when writing to
SYS_ATOP
net: mscc: ocelot: warn when encoding an out-of-bounds watermark value
drivers/net/dsa/ocelot/felix_vsc9959.c | 2 ++
drivers/net/dsa/ocelot/seville_vsc9953.c | 2 ++
drivers/net/ethernet/mscc/ocelot.c | 12 ++++++------
drivers/net/ethernet/mscc/ocelot_vsc7514.c | 2 ++
4 files changed, 12 insertions(+), 6 deletions(-)
--
2.25.1
Powered by blists - more mailing lists