]> 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)
commit4da2aa1791474b79fdc22e8f3ea5b22ec82b4bfa
tree86195ae15cfc6bd6d87a28a586185764a6812930
parentb45467938f6c7ee62b20270e66fbe01b2668776e
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