sonic-buildimage/device/celestica/x86_64-cel_seastone-r0/Celestica-DX010-C32/th-seastone-dx010-32x100G-t0.config.bcm
Ying Xie a544a07931
Enable Dx010 LPM (#12642)
Why I did it
DX010 platform has limited routing table size.

How I did it
Enabling LPM.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2022-11-09 08:15:41 -08:00

385 lines
7.1 KiB
Plaintext

# Define default OS / SAL
os=unix
# all XPORTs to XE ports
#pbmp_xport_xe=0x1fffffffe
pbmp_xport_xe=0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
pbmp_oversubscribe=0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
# Mode control to select L2 Table DMA mode aka L2MODE_POLL (0) or
# L2MOD_FIFO mechanism aka L2MODE_FIFO (1) for L2 table change notification.
l2xmsg_mode=1
# Memory table size configs
l2_mem_entries=8192
l3_mem_entries=8192
l3_alpm_enable=2
lpm_scaling_enable=0
ipv6_lpm_128b_enable=1
mmu_lossless=0
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
###################################################################################
# Celestica Customize for SeaStone
###################################################################################
#ext mdio frequency to 495/0x80/2(1.933Mhz) or 415/0x80/2(1.62MHz)
# default is 40
# Set external MDIO freq to 6.19MHz (495MHz) or 5.19MHz (415MHz)
#* target_freq is core_clock_freq * DIVIDEND / DIVISOR / 2
#
rate_ext_mdio_divisor=0x80
# use internal rom boot
phy_ext_rom_boot=0
#fpem_mem_entries=32768
oversubscribe_mode=1
#pbmp_xport_xe=0x3fd000000ff4000003fc000001fe
dport_map_enable=1
dport_map_port_68=1
dport_map_port_72=5
dport_map_port_76=9
dport_map_port_80=13
dport_map_port_34=17
dport_map_port_38=21
dport_map_port_42=25
dport_map_port_46=29
dport_map_port_50=33
dport_map_port_54=37
dport_map_port_58=41
dport_map_port_62=45
dport_map_port_84=49
dport_map_port_88=53
dport_map_port_92=57
dport_map_port_96=61
dport_map_port_102=65
dport_map_port_106=69
dport_map_port_110=73
dport_map_port_114=77
dport_map_port_1=81
dport_map_port_5=85
dport_map_port_9=89
dport_map_port_13=93
dport_map_port_17=97
dport_map_port_21=101
dport_map_port_25=105
dport_map_port_29=109
dport_map_port_118=113
dport_map_port_122=117
dport_map_port_126=121
dport_map_port_130=125
# port mapping
portmap_68=65:100:4
portmap_72=69:100:4
portmap_76=73:100:4
portmap_80=77:100:4
portmap_34=33:100:4
portmap_38=37:100:4
portmap_42=41:100:4
portmap_46=45:100:4
portmap_50=49:100:4
portmap_54=53:100:4
portmap_58=57:100:4
portmap_62=61:100:4
portmap_84=81:100:4
portmap_88=85:100:4
portmap_92=89:100:4
portmap_96=93:100:4
portmap_102=97:100:4
portmap_106=101:100:4
portmap_110=105:100:4
portmap_114=109:100:4
portmap_1=1:100:4
portmap_5=5:100:4
portmap_9=9:100:4
portmap_13=13:100:4
portmap_17=17:100:4
portmap_21=21:100:4
portmap_25=25:100:4
portmap_29=29:100:4
portmap_118=113:100:4
portmap_122=117:100:4
portmap_126=121:100:4
portmap_130=125:100:4
#portmap_66=129:10
#portmap_100=131:10
#WC16
xgxs_tx_lane_map_68=0x3201
xgxs_rx_lane_map_68=0x2310
#WC17
xgxs_tx_lane_map_72=0x3201
xgxs_rx_lane_map_72=0x2301
#WC18
xgxs_tx_lane_map_76=0x0132
xgxs_rx_lane_map_76=0x0123
#WC19
xgxs_tx_lane_map_80=0x2031
xgxs_rx_lane_map_80=0x1320
#WC8
xgxs_tx_lane_map_34=0x3021
xgxs_rx_lane_map_34=0x0213
#WC9
xgxs_tx_lane_map_38=0x3210
xgxs_rx_lane_map_38=0x1023
#WC10
xgxs_tx_lane_map_42=0x2310
xgxs_rx_lane_map_42=0x3210
#WC11
xgxs_tx_lane_map_46=0x1032
xgxs_rx_lane_map_46=0x1302
#WC12
xgxs_tx_lane_map_50=0x3201
xgxs_rx_lane_map_50=0x0213
#WC13
xgxs_tx_lane_map_54=0x2301
xgxs_rx_lane_map_54=0x2310
#WC14
xgxs_tx_lane_map_58=0x3201
xgxs_rx_lane_map_58=0x0213
#WC15
xgxs_tx_lane_map_62=0x1302
xgxs_rx_lane_map_62=0x2310
#WC20
xgxs_tx_lane_map_84=0x0213
xgxs_rx_lane_map_84=0x2301
#WC21
xgxs_tx_lane_map_88=0x0132
xgxs_rx_lane_map_88=0x3210
#WC22
xgxs_tx_lane_map_92=0x0132
xgxs_rx_lane_map_92=0x2031
#WC23
xgxs_tx_lane_map_96=0x2031
xgxs_rx_lane_map_96=0x3201
#WC24
xgxs_tx_lane_map_102=0x0132
xgxs_rx_lane_map_102=0x2301
#WC25
xgxs_tx_lane_map_106=0x0132
xgxs_rx_lane_map_106=0x3201
#WC26
xgxs_tx_lane_map_110=0x0132
xgxs_rx_lane_map_110=0x2031
#WC27
xgxs_tx_lane_map_114=0x2031
xgxs_rx_lane_map_114=0x2301
#WC0
xgxs_tx_lane_map_1=0x3210
xgxs_rx_lane_map_1=0x3120
#WC1
xgxs_tx_lane_map_5=0x0132
xgxs_rx_lane_map_5=0x1023
#WC2
xgxs_tx_lane_map_9=0x3201
xgxs_rx_lane_map_9=0x3120
#WC3
xgxs_tx_lane_map_13=0x2031
xgxs_rx_lane_map_13=0x1032
#WC4
xgxs_tx_lane_map_17=0x2310
xgxs_rx_lane_map_17=0x3210
#WC5
xgxs_tx_lane_map_21=0x2301
xgxs_rx_lane_map_21=0x3120
#WC6
xgxs_tx_lane_map_25=0x3201
xgxs_rx_lane_map_25=0x0213
#WC7
xgxs_tx_lane_map_29=0x1302
xgxs_rx_lane_map_29=0x1023
#WC28
xgxs_tx_lane_map_118=0x1320
xgxs_rx_lane_map_118=0x1302
#WC29
xgxs_tx_lane_map_122=0x1032
xgxs_rx_lane_map_122=0x1023
#WC30
xgxs_tx_lane_map_126=0x3120
xgxs_rx_lane_map_126=0x3120
#WC31
xgxs_tx_lane_map_130=0x1302
xgxs_rx_lane_map_130=0x2310
#PN
#WC16
phy_xaui_tx_polarity_flip_68=0x0000
phy_xaui_rx_polarity_flip_68=0x0000
#WC17
phy_xaui_tx_polarity_flip_72=0x000D
phy_xaui_rx_polarity_flip_72=0x0002
#WC18
phy_xaui_tx_polarity_flip_76=0x000F
phy_xaui_rx_polarity_flip_76=0x0000
#WC19
phy_xaui_tx_polarity_flip_80=0x000F
phy_xaui_rx_polarity_flip_80=0x000F
#WC8
phy_xaui_tx_polarity_flip_34=0x000E
phy_xaui_rx_polarity_flip_34=0x0000
#WC9
phy_xaui_tx_polarity_flip_38=0x0008
phy_xaui_rx_polarity_flip_38=0x0000
#WC10
phy_xaui_tx_polarity_flip_42=0x000D
phy_xaui_rx_polarity_flip_42=0x0000
#WC11
phy_xaui_tx_polarity_flip_46=0x0000
phy_xaui_rx_polarity_flip_46=0x0000
#WC12
phy_xaui_tx_polarity_flip_50=0x0002
phy_xaui_rx_polarity_flip_50=0x0000
#WC13
phy_xaui_tx_polarity_flip_54=0x0002
phy_xaui_rx_polarity_flip_54=0x0000
#WC14
phy_xaui_tx_polarity_flip_58=0x0000
phy_xaui_rx_polarity_flip_58=0x0000
#WC15
phy_xaui_tx_polarity_flip_62=0x000A
phy_xaui_rx_polarity_flip_62=0x000F
#WC20
phy_xaui_tx_polarity_flip_84=0x0007
phy_xaui_rx_polarity_flip_84=0x000E
#WC21
phy_xaui_tx_polarity_flip_88=0x000D
phy_xaui_rx_polarity_flip_88=0x000D
#WC22
phy_xaui_tx_polarity_flip_92=0x000F
phy_xaui_rx_polarity_flip_92=0x0008
#WC23
phy_xaui_tx_polarity_flip_96=0x0005
phy_xaui_rx_polarity_flip_96=0x0000
#WC24
phy_xaui_tx_polarity_flip_102=0x0000
phy_xaui_rx_polarity_flip_102=0x000F
#WC25
phy_xaui_tx_polarity_flip_106=0x000F
phy_xaui_rx_polarity_flip_106=0x0000
#WC26
phy_xaui_tx_polarity_flip_110=0x000F
phy_xaui_rx_polarity_flip_110=0x000F
#WC27
phy_xaui_tx_polarity_flip_114=0x000F
phy_xaui_rx_polarity_flip_114=0x0007
#WC0
phy_xaui_tx_polarity_flip_1=0x0003
phy_xaui_rx_polarity_flip_1=0x000F
#WC1
phy_xaui_tx_polarity_flip_5=0x0007
phy_xaui_rx_polarity_flip_5=0x0000
#WC2
phy_xaui_tx_polarity_flip_9=0x0002
phy_xaui_rx_polarity_flip_9=0x0008
#WC3
phy_xaui_tx_polarity_flip_13=0x000F
phy_xaui_rx_polarity_flip_13=0x0000
#WC4
phy_xaui_tx_polarity_flip_17=0x0007
phy_xaui_rx_polarity_flip_17=0x0000
#WC5
phy_xaui_tx_polarity_flip_21=0x0000
phy_xaui_rx_polarity_flip_21=0x0000
#WC6
phy_xaui_tx_polarity_flip_25=0x0002
phy_xaui_rx_polarity_flip_25=0x0005
#WC7
phy_xaui_tx_polarity_flip_29=0x0002
phy_xaui_rx_polarity_flip_29=0x0000
#WC28
phy_xaui_tx_polarity_flip_118=0x000F
phy_xaui_rx_polarity_flip_118=0x000F
#WC29
phy_xaui_tx_polarity_flip_122=0x0004
phy_xaui_rx_polarity_flip_122=0x0000
#WC30
phy_xaui_tx_polarity_flip_126=0x000F
phy_xaui_rx_polarity_flip_126=0x0000
#WC31
phy_xaui_tx_polarity_flip_130=0x0006
phy_xaui_rx_polarity_flip_130=0x0000
mmu_init_config="MSFT-TH-Tier0"
phy_an_lt_msft=1