Skip to content

Commit bb09ebe

Browse files
authored
[FS][arm64] support new boars s5800-48t4s and s5800-48t8s-mars8p (sonic-net#12994)
Adding platform support for FS s5800-48t4s and s5800-48t8s-mars8p. Both s5800-48t4s and s5800-48t8s-mars8p have 48 * 10/100/1000 Base-T ports, 4 * 10GE SFP+ Ports on Centec TsingMa. s5800-48t4s is different from s5800-48t8s-mars8p in that: The phy chip used by s5800-48t4s is Marvell 88e1680; The phy chip used by s5800-48t4s-mars8p is Centec ctc21108;
1 parent 8788f1c commit bb09ebe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4718
-0
lines changed

device/fs/arm64-fs_s5800_48t4s-r0/S5800-48t4s-mars8p/S5800-48t4s-mars8p-board.json

+444
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
#----------------- SDK Feature Support --------------
2+
[MPLS_SUPPORT] = 1;
3+
[APS_SUPPORT] = 1;
4+
[OAM_SUPPORT] = 1;
5+
[PTP_SUPPORT] = 0;
6+
[SYNCE_SUPPORT] = 0;
7+
[STACKING_SUPPORT] = 1;
8+
[BPE_SUPPORT] = 0;
9+
[IPFIX_SUPPORT] = 1;
10+
[MONITOR_SUPPORT] = 1;
11+
[OVERLAY_SUPPORT] = 1;
12+
[EFD_SUPPORT] = 1;
13+
[FCOE_SUPPORT] = 0;
14+
[TRILL_SUPPORT] = 0;
15+
[WLAN_SUPPORT] = 1;
16+
[NPM_SUPPORT] = 1;
17+
[DOT1AE_SUPPORT] = 1;
18+
[DTEL_SUPPORT] = 0;
19+
[FDBSYNC_SUPPORT] = 1;
20+
21+
#----------------- Chip Init Parameter --------------
22+
#Local chip number and global chip id
23+
[Local chip_num] = 1
24+
[Local chip0] = 0
25+
[Local chip1] = 1
26+
27+
#Cut through mode 0: Disable; 1:10/40/100G; 2:1/10/100G; 3:1/10/40G; other:Flex, refer to CUT_THROUGH_BITMAP
28+
[CUT_THROUGH_SPEED] = 0
29+
#Flex cut through mode, speed enable by bitmap, refer to ctc_port_speed_t, Notice: 10M/100M/1G treat as the same speed
30+
[CUT_THROUGH_BITMAP] = 0
31+
32+
#Network cpu port
33+
[CPU_NETWORK_PORT_EN] = 0
34+
[CPU_NETWORK_PORT_ID] = 47
35+
36+
#Enable parity error and multi-bit ecc recover
37+
[ECC_RECOVER_EN] = 0
38+
[TCAM_SCAN_EN] = 0
39+
40+
#----------------- KNET Init Parameter --------------
41+
[KNET_EN] = 0
42+
43+
#----------------- RESILIENT HASH Init Parameter --------------
44+
[RESILIENT_HASH_EN] = 0
45+
46+
#----------------- FTM Init Parameter --------------
47+
#0: default; 1: layer3; 2: ipv6
48+
[FTM Profile] = 0
49+
50+
#----------------- Interrupt Init Parameter --------------
51+
#0: pin, 1: msi
52+
[Interrupt_mode] = 1
53+
[IRQ] = 69
54+
55+
#----------------- NextHop Init Parameter --------------
56+
#0: SDK work in pizzbox (single chip system), 1: SDK work in multi-chip system
57+
[Nexthop Edit Mode] = 0
58+
[External Nexthop Number] = 16384
59+
[MPLS Tunnel Number] = 1024
60+
61+
#----------------- L2 Init Parameter --------------
62+
[FDB Hw Learning] = 0
63+
[Logic Port Num] = 1024
64+
#0: 128 instance per port, 1: 64 instance per port, 2: 32 instance per port
65+
[STP MODE] = 0
66+
[MAX_FID_NUM] = 5120
67+
#STEP:Sync fdb count per second
68+
[FDB_SYNC_STEP] = 100
69+
70+
#----------------- Port Init Parameter --------------
71+
[PORT_STATS_ACL_EN] = 0
72+
73+
#----------------- Stats Init Parameter --------------
74+
[STATS_PORT_EN] = 0
75+
[STATS_ECMP_EN] = 0
76+
77+
#----------------- BPE Init Parameter --------------
78+
[BPE_BR_PORT_EXTENDER_EN] = 0
79+
[BPE_BR_UC_MAX_ECID] = 1024
80+
[BPE_BR_MC_MAX_ECID] = 4096
81+
[BPE_BR_PORT_BASE] = 0
82+
83+
#----------------- Ipuc Init Parameter --------------
84+
#0: tcam use prefix 16; 1: tcam use prefix 8
85+
[IPUC_TCAM_PREFIX_8] = 1
86+
87+
#----------------- QoS Init Parameter --------------
88+
#QoS policer number support 1K/2K/4K/8K, default 4K
89+
[QOS_POLICER_NUM] = 4096
90+
#QoS port queue number support 16/8/8 BPE/4 BPE,
91+
#When resrc_profile.cfg exist, queue number valid,
92+
#Default 8 queue mode
93+
#8 queue = 8
94+
#16 queue = 16
95+
#4 queue BPE = 17
96+
#8 queue BPE = 18
97+
[QOS_PORT_QUEUE_NUM] = 8
98+
#QoS port extend queue number support 0/4, default 0
99+
[QOS_PORT_EXT_QUEUE_NUM] = 0
100+
#QoS CPU reason queue number support 128/64/32, default 128
101+
[QOS_CPU_QUEUE_NUM] = 128
102+
[QOS_INGRESS_VLAN_POLICER_NUM] = 0
103+
[QOS_EGRESS_VLAN_POLICER_NUM] = 0
104+
[QOS_POLICER_MERGE_MODE] = 0
105+
#QOS service queue mode, default 0,0:logic scr port + dstport enq 1:service id + dstport enq
106+
[QOS_SERVICE_QUEUE_MODE] = 0
107+
#Global enable logic dst port + dstport enq
108+
[QOS_SERVICE_QUEUE_EGRESS_EN] = 0
109+
110+
#----------------- Stacking Init Parameter --------------
111+
#0: normal mode; 1: spine-leaf mode
112+
[FABRIC MODE] = 0
113+
[STACKING VERSION] = 1
114+
115+
#----------------- SDK&SAI Debug Level Init Parameter --------------
116+
# SDK_DEBUG_TO_SYSLOG should be enable, 1 : enable ; 0 : disable
117+
[SDK_DEBUG_TO_SYSLOG] = 0;
118+
119+
# Level same as SAI_LOG_LEVEL : 0 : debug ; 1 : info ; 2 : notice ; 3 : warning ; 4 : error ; 5 : critical
120+
[DEBUG_LOG_LEVEL_SDK] = 1 ;
121+
[DEBUG_LOG_LEVEL_SAI] = 0;
122+
123+
# CTC_ERROR_RETURN(g_error_on) in SDK to syslog, 1 : enable ; 0 : disable
124+
[DEBUG_SDK_G_ERROR_ON] = 0;
125+
126+
# SDK debug module id (scope from 1 ~47,detail to see sdk_debug_module_t.csv),default all modules
127+
[DEBUG_SDK_MODULE] = 0;
128+
129+
# part of SDK, 1 : enable in part ; 0 : disable in part
130+
[DEBUG_SDK_CTC] = 0;
131+
[DEBUG_SDK_SYS] = 1;

0 commit comments

Comments
 (0)