Skip to content

Commit

Permalink
net: dsa: bcm_sf2: Fill in BCM4908 CFP entries
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Mar 14, 2021
1 parent bd49fea commit f4e6d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/dsa/bcm_sf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit f4e6d7c

Please sign in to comment.