[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200908005155.3267736-1-andrew@lunn.ch>
Date: Tue, 8 Sep 2020 02:51:48 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>, Chris Healy <cphealy@...il.com>,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH net-next v2 0/7] net: dsa: mv88e6xxx: Add devlink regions support
Make use of devlink regions to allow read access to some of the
internal of the switches. The switch itself will never trigger a
region snapshot, it is assumed it is performed from user space as
needed.
v2:
Remove left of debug print
Comment ATU format is generic to mv88e6xxx
Combine declaration and the assignment on a single line.
Andrew Lunn (7):
net: dsa: Add helper to convert from devlink to ds
net: dsa: Add devlink regions support to DSA
net: dsa: mv88e6xxx: Move devlink code into its own file
net: dsa: mv88e6xxx: Create helper for FIDs in use
net: dsa: mv88e6xxx: Add devlink regions
net: dsa: wire up devlink info get
net: dsa: mv88e6xxx: Implement devlink info get callback
drivers/net/dsa/mv88e6xxx/Makefile | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 290 ++----------
drivers/net/dsa/mv88e6xxx/chip.h | 14 +
drivers/net/dsa/mv88e6xxx/devlink.c | 686 ++++++++++++++++++++++++++++
drivers/net/dsa/mv88e6xxx/devlink.h | 21 +
include/net/dsa.h | 13 +-
net/dsa/dsa.c | 36 +-
net/dsa/dsa2.c | 19 +-
8 files changed, 807 insertions(+), 273 deletions(-)
create mode 100644 drivers/net/dsa/mv88e6xxx/devlink.c
create mode 100644 drivers/net/dsa/mv88e6xxx/devlink.h
--
2.28.0
Powered by blists - more mailing lists