Skip to content

Commit

Permalink
Update bcm soc property bcm_num_cos from 8 to 10 (sonic-net#5314)
Browse files Browse the repository at this point in the history
as needed by SAI 3.7 and above. Without this change
Warmboot fails from 3.5 to 3.7 as Braodcoam Datastructure
gets corrupted after warm-boot.

Signed-off-by: Abhishek Dosi <[email protected]>
  • Loading branch information
abdosi authored Sep 4, 2020
1 parent f136fd0 commit b6efb49
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bcm_stat_flags=0
parity_enable=0
parity_correction=0

bcm_num_cos=8
bcm_num_cos=10
l2_mem_entries=32768
l3_mem_entries=16384
l3_alpm_enable=2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=0
bcm_stat_interval=2000000
bcm_tunnel_term_compatible_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bcm_stat_flags=0
parity_enable=0
parity_correction=0

bcm_num_cos=8
bcm_num_cos=10
l2_mem_entries=32768
l3_mem_entries=16384
l3_alpm_enable=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fpem_mem_entries=16384
l2xmsg_mode=1

# Platform specfic
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ifp_inports_support_enable=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fpem_mem_entries=16384
l2xmsg_mode=1

# Platform specfic
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ifp_inports_support_enable=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pbmp_xport_xe=0x444444451111111144444444422222222
#
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pbmp_xport_xe=0x444444451111111144444444422222222
#
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pbmp_xport_xe=0x444444451111111144444444422222222
#
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fpem_mem_entries=16384
l2xmsg_mode=1

# Platform specfic
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ifp_inports_support_enable=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pbmp_oversubscribe=0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
# platform specific setting
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stat_if_parity_enable=0
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
lls_num_l2uc=12
max_vp_lags=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stat_if_parity_enable=0
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
lls_num_l2uc=12
max_vp_lags=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stat_if_parity_enable=0
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
lls_num_l2uc=12
max_vp_lags=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
bcm_tunnel_term_compatible_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
phy_an_allow_pll_change=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parity_enable=1
stat_if_parity_enable=0

#
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parity_enable=1
stat_if_parity_enable=0

#
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parity_enable=1
stat_if_parity_enable=0

#
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parity_enable=1
stat_if_parity_enable=0

#
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
l3_alpm_enable=2
pfc_deadlock_seq_control=1
bcm_stat_interval=2000000
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
l3_alpm_enable=2
pfc_deadlock_seq_control=1
bcm_stat_interval=2000000
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
l3_alpm_enable=2
pfc_deadlock_seq_control=1
bcm_stat_interval=2000000
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
l3_alpm_enable=2
pfc_deadlock_seq_control=1
bcm_stat_interval=2000000
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fpem_mem_entries=65536
l2xmsg_mode=1

l3_alpm_enable=2
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fpem_mem_entries=65536
l2xmsg_mode=1

l3_alpm_enable=2
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fpem_mem_entries=65536
l2xmsg_mode=1

l3_alpm_enable=2
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fpem_mem_entries=65536
l2xmsg_mode=1

l3_alpm_enable=2
bcm_num_cos=8
bcm_num_cos=10
switch_bypass_mode=0
mmu_lossless=0
lpm_scaling_enable=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tdma_intr_enable=1
tdma_timeout_usec.0=5000000
parity_correction.0=1
mmu_lossless.0=0
bcm_num_cos=8
bcm_num_cos=10
default_cpu_tx_queue=7
pktdma_poll_mode_channel_bitmap=1
l3_max_ecmp_mode.0=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tdma_intr_enable=1
tdma_timeout_usec.0=5000000
parity_correction.0=1
mmu_lossless.0=0
bcm_num_cos=8
bcm_num_cos=10
default_cpu_tx_queue=7
pktdma_poll_mode_channel_bitmap=1
l3_max_ecmp_mode.0=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ l2_mem_entries=32768
l3_mem_entries=16384
fpem_mem_entries=131072
l2xmsg_mode=1
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ipv6_lpm_128b_enable=0x1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ portmap_8=29:100
portmap_9=33:100

lpm_scaling_enable=0
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_jumbo=9236
ipv6_lpm_128b_enable=1
max_vp_lags=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pbmp_oversubscribe=0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
# platform specific setting
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### BMS (start)
## Global settings
bcm_num_cos=8
bcm_num_cos=10
dport_map_indexed=0

## Switch settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ l3_mem_entries=40960
fpem_mem_entries=16384
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ l3_mem_entries=40960
fpem_mem_entries=16384
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ l3_mem_entries=40960
fpem_mem_entries=16384
l2xmsg_mode=1

bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parity_enable=1
stat_if_parity_enable=0

#
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
l2xmsg_hostbuf_size=8192
l2xmsg_mode=1
Expand Down
Loading

0 comments on commit b6efb49

Please sign in to comment.