diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-10-25 01:03:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-28 16:21:02 -0700 |
commit | 23e8b470c7788da972d0be90d6ac20b4a2da2782 (patch) | |
tree | 86195ae15cfc6bd6d87a28a586185764a6812930 /Documentation | |
parent | 6b297524234ccf3954b54609ab6bc2e8c4d3f677 (diff) | |
download | linux-23e8b470c7788da972d0be90d6ac20b4a2da2782.tar.bz2 |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/devlink-params-mv88e6xxx.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-params-mv88e6xxx.txt b/Documentation/networking/devlink-params-mv88e6xxx.txt new file mode 100644 index 000000000000..21c4b3556ef2 --- /dev/null +++ b/Documentation/networking/devlink-params-mv88e6xxx.txt @@ -0,0 +1,7 @@ +ATU_hash [DEVICE, DRIVER-SPECIFIC] + Select one of four possible hashing algorithms for + MAC addresses in the Address Translation Unit. + A value of 3 seems to work better than the default of + 1 when many MAC addresses have the same OUI. + Configuration mode: runtime + Type: u8. 0-3 valid. |