Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalizing config.bcm support for BRCM silicons #5818

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mem_cache_enable=0
ifp_inports_support_enable=1
ipv6_lpm_128b_enable=0x1
l3_max_ecmp_mode=1
lpm_scaling_enable=0
bcm_num_cos=10
default_cpu_tx_queue=9
mmu_lossless=0
host_as_route_disable=1
sai_eapp_config_file=/etc/broadcom/eapps_cfg.json
sai_fast_convergence_support=1
flow_init_mode=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mmu_lossless=0
#PTP
num_queues_pci=24
num_queues_uc0=1
num_queues_uc1=19
sai_fast_convergence_support=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
mem_cache_enable=0
ifp_inports_support_enable=1
ipv6_lpm_128b_enable=0x1
l3_max_ecmp_mode=1
lpm_scaling_enable=0
bcm_num_cos=10
default_cpu_tx_queue=9
mmu_lossless=0
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
mmu_lossless=0
bcm_num_cos=10
default_cpu_tx_queue=9
#PTP
num_queues_pci=24
num_queues_uc0=1
num_queues_uc1=1
sai_fast_convergence_support=1

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
schan_intr_enable=0
l2xmsg_mode=1
mmu_lossless=0
arl_clean_timeout_usec=15000000
asf_mem_profile=2
bcm_stat_flags=1
bcm_stat_jumbo=9236
cdma_timeout_usec=15000000
dma_desc_timeout_usec=15000000
ipv6_lpm_128b_enable=1
lpm_scaling_enable=0
max_vp_lags=0
miim_intr_enable=0
module_64ports=1
oversubscribe_mode=1
bcm_num_cos=10
default_cpu_tx_queue=9
# Drop monitor configuration
flowtracker_enable=2
flowtracker_max_flows=48000
flowtracker_drop_monitor_enable=1
flowtracker_export_interval_usecs=1000000
flowtracker_max_export_pkt_length=9000
flowtracker_fsp_reinject_max_length=128
flow_init_mode=1
num_queues_pci=46
num_queues_uc0=1
num_queues_uc1=1
sai_eapp_config_file=/etc/broadcom/eapps_cfg.json
sai_fast_convergence_support=1

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
phy_null=1
pll_bypass=1
core_clock_frequency=1325
dpr_clock_frequency=1000
device_clock_frequency=1325
port_flex_enable=1
l2xmsg_mode.0=1
mmu_port_num_mc_queue.0=1
module_64ports.0=1
multicast_l2_range.0=511
oversubscribe_mode=1
bcm_num_cos=8
default_cpu_tx_queue=7
mmu_lossless=0
# Drop monitor configuration
flowtracker_enable=2
flowtracker_max_flows=48000
flowtracker_drop_monitor_enable=1
flowtracker_export_interval_usecs=1000000
flowtracker_max_export_pkt_length=9000
flowtracker_fsp_reinject_max_length=128
flow_init_mode=1
num_queues_pci=46
num_queues_uc0=1
num_queues_uc1=1
sai_eapp_config_file=/etc/broadcom/eapps_cfg.json
sai_fast_convergence_support=1

1 change: 1 addition & 0 deletions platform/broadcom/docker-syncd-brcm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_BASE)
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_SYNCD_BASE_DBG)

$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /usr/share/sonic/device/x86_64-broadcom_common:/usr/share/sonic/device/x86_64-broadcom_common:ro

$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
Expand Down
13 changes: 13 additions & 0 deletions src/sonic-device-data/tests/permitted_list
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,19 @@ ifp_inports_support_enable
port_flex_enable
pdma_descriptor_prefetch_enable
pktdma_poll_mode_channel_bitmap
num_queues_pci
num_queues_uc0
num_queues_uc1
flow_init_mode
sai_eapp_config_file
flowtracker_enable
flowtracker_max_flows
flowtracker_drop_monitor_enable
flowtracker_export_interval_usecs
flowtracker_max_export_pkt_length
flowtracker_fsp_reinject_max_length
host_as_route_disable
sai_fast_convergence_support
ccm_dma_enable
ccmdma_intr_enable
phy_enable
Expand Down