Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
[JIRA SONIC-5862] DELL S5235F & Z9264F: initial platform support
Browse files Browse the repository at this point in the history
1. Z9264F
   Sync up with the following commit on master branch of community

   commit 4f737f8
   [devices]: DellEMC S6100 Watchdog support (sonic-net#2835)

2. S5235F
   Cherry pick the changes from PR sonic-net#3090
   sonic-net#3090

Signed-off-by: Dante (Kuo-Jung) Su <dante.su@broadcom.com>
Change-Id: I50101db8abd19e01a70ba8945aac09eed918028c
  • Loading branch information
ds952811 committed Jul 4, 2019
1 parent 7ed83fe commit aae32f1
Show file tree
Hide file tree
Showing 52 changed files with 6,608 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{%- set default_topo = 't1' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

{%- set default_cable = '40m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0,32) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx*4)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "27678784",
"type": "ingress",
"mode": "dynamic",
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "26045524",
"type": "egress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "32786432",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"1518",
"static_th":"3995680"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
10000 5m 1248 2288 35776 -3 2288
25000 5m 1248 2288 53248 -3 2288
40000 5m 1248 2288 66560 -3 2288
50000 5m 1248 2288 90272 -3 2288
100000 5m 1248 2288 165568 -3 2288
10000 40m 1248 2288 37024 -3 2288
25000 40m 1248 2288 53248 -3 2288
40000 40m 1248 2288 71552 -3 2288
50000 40m 1248 2288 96096 -3 2288
100000 40m 1248 2288 177632 -3 2288
10000 300m 1248 2288 46176 -3 2288
25000 300m 1248 2288 79040 -3 2288
40000 300m 1248 2288 108160 -3 2288
50000 300m 1248 2288 141856 -3 2288
100000 300m 1248 2288 268736 -3 2288
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# name lanes alias index speed
Ethernet0 1,2,3,4 hundredGigE1/1 1 100000
Ethernet4 5,6,7,8 hundredGigE1/2 2 100000
Ethernet8 9,10,11,12 hundredGigE1/3 3 100000
Ethernet12 13,14,15,16 hundredGigE1/4 4 100000
Ethernet16 17,18,19,20 hundredGigE1/5 5 100000
Ethernet20 21,22,23,24 hundredGigE1/6 6 100000
Ethernet24 25,26,27,28 hundredGigE1/7 7 100000
Ethernet28 29,30,31,32 hundredGigE1/8 8 100000
Ethernet32 33,34,35,36 hundredGigE1/9 9 100000
Ethernet36 37,38,39,40 hundredGigE1/10 10 100000
Ethernet40 41,42,43,44 hundredGigE1/11 11 100000
Ethernet44 45,46,47,48 hundredGigE1/12 12 100000
Ethernet48 49,50,51,52 hundredGigE1/13 13 100000
Ethernet52 53,54,55,56 hundredGigE1/14 14 100000
Ethernet56 57,58,59,60 hundredGigE1/15 15 100000
Ethernet60 61,62,63,64 hundredGigE1/16 16 100000
Ethernet64 65,66,67,68 hundredGigE1/17 17 100000
Ethernet68 69,70,71,72 hundredGigE1/18 18 100000
Ethernet72 73,74,75,76 hundredGigE1/19 19 100000
Ethernet76 77,78,79,80 hundredGigE1/20 20 100000
Ethernet80 81,82,83,84 hundredGigE1/21 21 100000
Ethernet84 85,86,87,88 hundredGigE1/22 22 100000
Ethernet88 89,90,91,92 hundredGigE1/23 23 100000
Ethernet92 93,94,95,96 hundredGigE1/24 24 100000
Ethernet96 97,98,99,100 hundredGigE1/25 25 100000
Ethernet100 101,102,103,104 hundredGigE1/26 26 100000
Ethernet104 105,106,107,108 hundredGigE1/27 27 100000
Ethernet108 109,110,111,112 hundredGigE1/28 28 100000
Ethernet112 113,114,115,116 hundredGigE1/29 29 100000
Ethernet116 117,118,119,120 hundredGigE1/30 30 100000
Ethernet120 121,122,123,124 hundredGigE1/31 31 100000
Ethernet124 125,126,127,128 hundredGigE1/32 32 100000
Ethernet128 128 tenGigE1/33 33 10000
Ethernet129 129 tenGigE1/34 34 10000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{%- include 'qos_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-s5232f-32x100G.config.bcm
Loading

0 comments on commit aae32f1

Please sign in to comment.