Update bcm soc property bcm_num_cos from 8 to 10 (#5314)

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 <abdosi@microsoft.com>
This commit is contained in:
abdosi 2020-09-04 07:40:17 -07:00 committed by Abhishek Dosi
parent e564142df2
commit 62968eca6d
45 changed files with 63 additions and 44 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -18,6 +18,25 @@ l2_mem_entries=32768
#fpem_mem_entries=16384
l2xmsg_mode=1
# Platform specfic
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ifp_inports_support_enable=1
ipv6_lpm_128b_enable=0x1
l3_alpm_enable=2
l3_max_ecmp_mode=1
max_vp_lags=0
miim_intr_enable=0
module_64ports=1
port_flex_enable=1
schan_intr_enable=0
stable_size=0x5500000 ;Specify the stable cache size in bytes used for Warm boot operations
tdma_timeout_usec=3000000
skip_L2_USER_ENTRY=0
bcm_tunnel_term_compatible_mode=1
l3_alpm_ipv6_128b_bkt_rsvd=1
#FC0
dport_map_port_1=2
dport_map_port_2=1

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -15,7 +15,7 @@ fpem_mem_entries=131072
l2xmsg_mode=1
# Platform specfic
bcm_num_cos=8
bcm_num_cos=10
bcm_stat_interval=2000000
cdma_timeout_usec=3000000
ipv6_lpm_128b_enable=0x1

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,6 @@
### BMS (start)
## Global settings
bcm_num_cos=8
bcm_num_cos=10
dport_map_indexed=0
## Switch settings

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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