OSDN Git Service

net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 24 Oct 2019 23:03:52 +0000 (01:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 23:21:02 +0000 (16:21 -0700)
commit23e8b470c7788da972d0be90d6ac20b4a2da2782
tree86195ae15cfc6bd6d87a28a586185764a6812930
parent6b297524234ccf3954b54609ab6bc2e8c4d3f677
net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm.

Some of the marvell switches have bits controlling the hash algorithm
the ATU uses for MAC addresses. In some industrial settings, where all
the devices are from the same manufacture, and hence use the same OUI,
the default hashing algorithm is not optimal. Allow the other
algorithms to be selected via devlink.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink-params-mv88e6xxx.txt [new file with mode: 0644]
MAINTAINERS
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/global1_atu.c