diff options
author | Tristram Ha <tristram.ha@microchip.com> | 2024-12-18 05:02:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-20 05:04:04 +0300 |
commit | 262bfba8ab820641c8cfbbf03b86d6c00242c078 (patch) | |
tree | 81dd32e074272a9880755d01ff370e8c420f1d53 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 25c6a5ab151fb9c886552bf5aa7cbf2a5c6e96af (diff) | |
download | linux-262bfba8ab820641c8cfbbf03b86d6c00242c078.tar.xz |
net: dsa: microchip: Fix KSZ9477 set_ageing_time function
The aging count is not a simple 11-bit value but comprises a 3-bit
multiplier and an 8-bit second count. The code tries to use the
original multiplier which is 4 as the second count is still 300 seconds
by default.
Fixes: 2c119d9982b1 ("net: dsa: microchip: add the support for set_ageing_time")
Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241218020224.70590-2-Tristram.Ha@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions