mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
23e8b470c7
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>
8 lines
300 B
Plaintext
8 lines
300 B
Plaintext
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.
|