Skip to content

Commit 0c4f602

Browse files
ds952811pphuchar
authored andcommitted
sonic-device-data: update SAI config checker for Broadcom TD3 and TH3 (sonic-net#3107)
* sonic-device-data: update SAI config checker for Broadcom TD3 and TH3 The following properties have been approved by the Broadcom chip arch team: l3_alpm_ipv6_128b_bkt_rsvd ifp_inports_support_enable pll_bypass dpr_clock_frequency device_clock_frequency port_flex_enable mmu_port_num_mc_queue serdes_core_rx_polarity_flip_physical{<PORT>} serdes_core_tx_polarity_flip_physical{<PORT>} Signed-off-by: Dante (Kuo-Jung) Su <[email protected]> Change-Id: I1c6239cddfb0582a9298e671d792a32f79e4f006
1 parent 04d6544 commit 0c4f602

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/sonic-device-data/tests/config_checker

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def check_file(file_name):
3434
p = re.sub(r"\.[0-9]+$", '', p)
3535
# Remove trailing port name
3636
p = re.sub(r"_[cxg]e(\d+)?$", '', p)
37+
# Remove trailing port id "{id/number}"
38+
p = re.sub(r"\{.*\}", '', p)
3739
# Remove trailing port name example
3840
p = re.sub(r"_<port>$", '', p)
3941
# Remove trailing port number

src/sonic-device-data/tests/permitted_list

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ bcm56340_config
1313
cdma_timeout_usec
1414
core_clock_frequency
1515
ctr_evict_enable
16+
device_clock_frequency
1617
dma_desc_timeout_usec
1718
dport_map_direct
1819
dport_map_enable
@@ -24,6 +25,7 @@ ext_tcam_freq
2425
force_core_pll
2526
fpem_mem_entries
2627
higig2_hdr_mode
28+
ifp_inports_support_enable
2729
ipmc_do_vlan
2830
ipv6_lpm_128b_enable
2931
knet_filter_persist
@@ -33,6 +35,7 @@ l2mod_dma_intr_enable
3335
l2xmsg_hostbuf_size
3436
l2xmsg_mode
3537
l3_alpm_enable
38+
l3_alpm_ipv6_128b_bkt_rsvd
3639
l3_intf_vlan_split_egress
3740
l3_max_ecmp_mode
3841
l3_mem_entries
@@ -53,6 +56,7 @@ miim_intr_enable
5356
miim_timeout_usec
5457
mmu_init_config
5558
mmu_lossless
59+
mmu_port_num_mc_queue
5660
module_64ports
5761
multicast_l2_r
5862
multicast_l2_range
@@ -95,6 +99,8 @@ phy_tx_polarity_flip
9599
phy_xaui_rx_polarity_flip
96100
phy_xaui_tx_polarity_flip
97101
physical_ports
102+
pll_bypass
103+
port_flex_enable
98104
port_init_autoneg
99105
port_init_cl72
100106
port_init_speed
@@ -115,6 +121,8 @@ schan_intr_enable
115121
schan_timeout_usec
116122
serdes_automed
117123
serdes_automedium
124+
serdes_core_rx_polarity_flip_physical
125+
serdes_core_tx_polarity_flip_physical
118126
serdes_driver_current
119127
serdes_fiber_pref
120128
serdes_firmware_mode

0 commit comments

Comments
 (0)