]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3243f682a22e4e8d4f610ded893df34828cf65b2
tree86195ae15cfc6bd6d87a28a586185764a6812930
parent880c0117f5414bfe1329fed3f4bd6c3170be5bc5
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