diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-03-12 22:11:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-14 22:34:46 +0100 |
commit | f4e6d7cdbfae502788bc468295b232dec76ee57e (patch) | |
tree | f4a02a673fbc9734fe0efac8b6d46e4e23183ab8 /drivers/net/dsa/bcm_sf2.c | |
parent | hv_netvsc: Add a comment clarifying batching logic (diff) | |
download | linux-f4e6d7cdbfae502788bc468295b232dec76ee57e.tar.xz linux-f4e6d7cdbfae502788bc468295b232dec76ee57e.zip |
net: dsa: bcm_sf2: Fill in BCM4908 CFP entries
The BCM4908 switch has 256 CFP entrie, update that setting so CFP can be
used.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
-rw-r--r-- | drivers/net/dsa/bcm_sf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index 3a3050e85af7..d8e6dd371468 100644 --- a/drivers/net/dsa/bcm_sf2.c +++ b/drivers/net/dsa/bcm_sf2.c @@ -1200,7 +1200,7 @@ static const struct bcm_sf2_of_data bcm_sf2_4908_data = { .type = BCM4908_DEVICE_ID, .core_reg_align = 0, .reg_offsets = bcm_sf2_4908_reg_offsets, - .num_cfp_rules = 0, /* FIXME */ + .num_cfp_rules = 256, .num_crossbar_int_ports = 2, }; |