[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191004210934.12813-1-andrew@lunn.ch>
Date: Fri, 4 Oct 2019 23:09:32 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH v2 net-next 0/2] mv88e6xxx: Allow config of ATU hash algorithm
The Marvell switches allow the hash algorithm for MAC addresses in the
address translation unit to be configured. Add support to the DSA core
to allow DSA drivers to make use of devlink parameters, and allow the
ATU hash to be get/set via such a parameter.
v2:
Pass a pointer for where the hash should be stored, return a plain
errno, or 0.
Document the parameter.
.../networking/devlink-params-mv88e6xxx.txt | 6 +
MAINTAINERS | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 134 +++++++++++++++++-
drivers/net/dsa/mv88e6xxx/chip.h | 4 +
drivers/net/dsa/mv88e6xxx/global1.h | 3 +
drivers/net/dsa/mv88e6xxx/global1_atu.c | 32 +++++
include/net/dsa.h | 23 +++
net/dsa/dsa.c | 48 +++++++
net/dsa/dsa2.c | 7 +-
9 files changed, 256 insertions(+), 2 deletions(-)
create mode 100644 Documentation/networking/devlink-params-mv88e6xxx.txt
--
2.23.0
Powered by blists - more mailing lists