projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9067ecc
)
net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341
author
Marek Behún
<kabel@kernel.org>
Mon, 29 Apr 2024 13:38:32 +0000
(15:38 +0200)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 1 May 2024 01:33:14 +0000
(18:33 -0700)
The Topaz family (
88E6141
and
88E6341
) only support 256 Forwarding
Information Tables.
Fixes:
a75961d0ebfd
("net: dsa: mv88e6xxx: Add support for ethernet switch
88E6341
")
Fixes:
1558727a1c1b
("net: dsa: mv88e6xxx: Add support for ethernet switch
88E6141
")
Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link:
https://lore.kernel.org/r/20240429133832.9547-1-kabel@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/mv88e6xxx/chip.c
b/drivers/net/dsa/mv88e6xxx/chip.c
index
59b5dd0
..
14daf43
100644
(file)
--- a/
drivers/net/dsa/mv88e6xxx/chip.c
+++ b/
drivers/net/dsa/mv88e6xxx/chip.c
@@
-5705,7
+5705,7
@@
static const struct mv88e6xxx_info mv88e6xxx_table[] = {
.prod_num = MV88E6XXX_PORT_SWITCH_ID_PROD_6141,
.family = MV88E6XXX_FAMILY_6341,
.name = "Marvell 88E6141",
- .num_databases =
409
6,
+ .num_databases =
25
6,
.num_macs = 2048,
.num_ports = 6,
.num_internal_phys = 5,
@@
-6164,7
+6164,7
@@
static const struct mv88e6xxx_info mv88e6xxx_table[] = {
.prod_num = MV88E6XXX_PORT_SWITCH_ID_PROD_6341,
.family = MV88E6XXX_FAMILY_6341,
.name = "Marvell 88E6341",
- .num_databases =
409
6,
+ .num_databases =
25
6,
.num_macs = 2048,
.num_internal_phys = 5,
.num_ports = 6,