netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] Fix tail dropping watermarks for Ocelot switches
@ 2020-10-05  9:09 Vladimir Oltean
  2020-10-05  9:09 ` [PATCH net 1/2] net: mscc: ocelot: divide watermark value by 60 when writing to SYS_ATOP Vladimir Oltean
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Oltean @ 2020-10-05  9:09 UTC (permalink / raw)
  To: davem
  Cc: alexandre.belloni, andrew, f.fainelli, vivien.didelot,
	alexandru.marginean, claudiu.manoil, xiaoliang.yang_1,
	hongbo.wang, netdev, UNGLinuxDriver

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-06 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05  9:09 [PATCH net 0/2] Fix tail dropping watermarks for Ocelot switches Vladimir Oltean
2020-10-05  9:09 ` [PATCH net 1/2] net: mscc: ocelot: divide watermark value by 60 when writing to SYS_ATOP Vladimir Oltean
2020-10-05  9:09 ` [PATCH net 2/2] net: mscc: ocelot: warn when encoding an out-of-bounds watermark value Vladimir Oltean
2020-10-06 13:06 ` [PATCH net 0/2] Fix tail dropping watermarks for Ocelot switches David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).