netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] mv88e6xxx ATU occupancy as devlink resource
@ 2019-11-05  0:12 Andrew Lunn
  2019-11-05  0:12 ` [PATCH net-next 1/5] net: dsa: Add support for devlink resources Andrew Lunn
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Andrew Lunn @ 2019-11-05  0:12 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Florian Fainelli, Vivien Didelot, jiri, Andrew Lunn

This patchset add generic support to DSA for devlink resources. The
Marvell switch Address Translation Unit occupancy is then exported as
a resource. In order to do this, the number of ATU entries is added to
the per switch info structure. Helpers are added, and then the
resource itself is then added.

Andrew Lunn (5):
  net: dsa: Add support for devlink resources
  net: dsa: mv88e6xxx: Add number of MACs in the ATU
  net: dsa: mv88e6xxx: global2: Expose ATU stats register
  net: dsa: mv88e6xxx: global1_atu: Add helper for get next
  net: dsa: mv88e6xxx: Add ATU occupancy via devlink resources

 drivers/net/dsa/mv88e6xxx/chip.c        | 215 +++++++++++++++++++++++-
 drivers/net/dsa/mv88e6xxx/chip.h        |   6 +
 drivers/net/dsa/mv88e6xxx/global1.h     |   1 +
 drivers/net/dsa/mv88e6xxx/global1_atu.c |   5 +
 drivers/net/dsa/mv88e6xxx/global2.c     |  13 ++
 drivers/net/dsa/mv88e6xxx/global2.h     |  24 ++-
 include/net/dsa.h                       |  16 ++
 net/dsa/dsa.c                           |  37 ++++
 8 files changed, 312 insertions(+), 5 deletions(-)

-- 
2.23.0


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

end of thread, other threads:[~2019-11-07  0:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05  0:12 [PATCH net-next 0/5] mv88e6xxx ATU occupancy as devlink resource Andrew Lunn
2019-11-05  0:12 ` [PATCH net-next 1/5] net: dsa: Add support for devlink resources Andrew Lunn
2019-11-05  8:47   ` Jiri Pirko
2019-11-05  0:12 ` [PATCH net-next 2/5] net: dsa: mv88e6xxx: Add number of MACs in the ATU Andrew Lunn
2019-11-05  0:12 ` [PATCH net-next 3/5] net: dsa: mv88e6xxx: global2: Expose ATU stats register Andrew Lunn
2019-11-06  4:32   ` Vivien Didelot
2019-11-06  4:37     ` Vivien Didelot
2019-11-07  0:12     ` Andrew Lunn
2019-11-05  0:13 ` [PATCH net-next 4/5] net: dsa: mv88e6xxx: global1_atu: Add helper for get next Andrew Lunn
2019-11-05  0:13 ` [PATCH net-next 5/5] net: dsa: mv88e6xxx: Add ATU occupancy via devlink resources Andrew Lunn
2019-11-05  8:47   ` Jiri Pirko
2019-11-06  2:10 ` [PATCH net-next 0/5] mv88e6xxx ATU occupancy as devlink resource David Miller
2019-11-06 13:55   ` Andrew Lunn

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).