[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191105001301.27966-1-andrew@lunn.ch>
Date: Tue, 5 Nov 2019 01:12:56 +0100
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...il.com>, jiri@...lanox.com,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH net-next 0/5] mv88e6xxx ATU occupancy as devlink resource
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
Powered by blists - more mailing lists