diff options
author | 2024-10-14 13:43:42 -0700 | |
---|---|---|
committer | 2024-10-15 17:50:51 -0700 | |
commit | 1833d8a26f057128fd63e126b4428203ece84684 (patch) | |
tree | 15f5486fba46075025d5e161a69525e0037ced9f /lib/test_dynamic_debug.c | |
parent | tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink(). (diff) | |
download | linux-rng-1833d8a26f057128fd63e126b4428203ece84684.tar.xz linux-rng-1833d8a26f057128fd63e126b4428203ece84684.zip |
net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361
According to the Marvell datasheet the 88E6361 has two VTU pages
(4k VIDs per page) so the max_vid should be 8191, not 4095.
In the current implementation mv88e6xxx_vtu_walk() gives unexpected
results because of this error. I verified that mv88e6xxx_vtu_walk()
works correctly on the MV88E6361 with this patch in place.
Fixes: 12899f299803 ("net: dsa: mv88e6xxx: enable support for 88E6361 switch")
Signed-off-by: Peter Rashleigh <peter@rashleigh.ca>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241014204342.5852-1-peter@rashleigh.ca
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions