mbox series

[net,0/2] Fix tail dropping watermarks for Ocelot switches

Message ID 20201005090912.424121-1-vladimir.oltean@nxp.com
Headers show
Series Fix tail dropping watermarks for Ocelot switches | expand

Message

Vladimir Oltean Oct. 5, 2020, 9:09 a.m. UTC
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(-)

Comments

David Miller Oct. 6, 2020, 1:06 p.m. UTC | #1
From: Vladimir Oltean <vladimir.oltean@nxp.com>

Date: Mon,  5 Oct 2020 12:09:10 +0300

> This series adds a missing division by 60, and a warning to prevent that

> in the future.


Series applied, thank you.