Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
089fa85
s5448_support:S5448 support
rohinikumart Nov 5, 2024
3cea739
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Nov 6, 2024
9296e80
s5448_support:S5448 support
rohinikumart Nov 8, 2024
a8416a3
Merge branch 'master' of https://github.com/rohinikumart/sonic-buildi…
rohinikumart Nov 10, 2024
de4fac5
s5448_support:S5448 support
rohinikumart Nov 12, 2024
4dfe79a
s5448_support:S5448 support
rohinikumart Nov 13, 2024
a657c0e
s5448_support:S5448 support
rohinikumart Nov 14, 2024
ed94ed8
s5448_support:S5448 support
rohinikumart Nov 15, 2024
55e329d
s5448_support:S5448 support
rohinikumart Nov 15, 2024
9566ad4
s5448_support:S5448 support
rohinikumart Nov 15, 2024
c4a4f95
s5448_support:S5448 support
rohinikumart Nov 18, 2024
8a6745b
s5448_support:S5448 support
rohinikumart Nov 19, 2024
4cab284
s5448_support:S5448 support
rohinikumart Nov 19, 2024
f75edb4
Merge branch 'master' of https://github.com/rohinikumart/sonic-buildi…
rohinikumart Nov 28, 2024
5575116
pddf support
rohinikumart Nov 28, 2024
6313dde
Merge branch 'master' of https://github.com/rohinikumart/sonic-buildi…
rohinikumart Dec 2, 2024
8c5d372
Merge branch 'master' of https://github.com/rohinikumart/sonic-buildi…
rohinikumart Dec 2, 2024
cc08dc5
correction to platfrom init script
rohinikumart Dec 2, 2024
3d681c6
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Dec 18, 2024
565247d
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Dec 20, 2024
4421836
s5448_support:S5448 support
rohinikumart Dec 20, 2024
e5bbc85
Merge branch 's5448_support' of https://github.com/rohinikumart/sonic…
rohinikumart Dec 20, 2024
52933be
removed eeprom2
rohinikumart Dec 20, 2024
f6f85e7
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Dec 21, 2024
bd3c2f9
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Dec 23, 2024
f621b32
s5448_support:fan related fix
rohinikumart Dec 26, 2024
4cd807f
Merge branch 'sonic-net:master' into s5448_support
rohinikumart Dec 30, 2024
83910c9
s5448_support:json file change
rohinikumart Dec 31, 2024
5f5338a
s5448_support:pddf device file change
rohinikumart Jan 2, 2025
1e0c441
s5448_support:device file correction
rohinikumart Jan 3, 2025
eba441d
s5448_support:pddf device psu change
rohinikumart Jan 3, 2025
a7ddcd8
s5448_support:temperature sensor changes
rohinikumart Jan 6, 2025
6ddfdfd
s5448_support:fan direction related change
rohinikumart Jan 6, 2025
fc468a9
s5448_support:moved platform json file
rohinikumart Jan 9, 2025
76647b0
s5448_support:added dummy functions
rohinikumart Jan 9, 2025
495447a
s5448_support:fixed test failures
rohinikumart Jan 10, 2025
fa8c834
s5448_support:platform json file changes for thermals
rohinikumart Jan 17, 2025
569e732
s5448_support:component related fix
rohinikumart Jan 17, 2025
4b765c3
s5448_support:psu related change
rohinikumart Jan 18, 2025
724604f
s5448_support:psu changes
rohinikumart Jan 18, 2025
81a3775
s5448_support:corrected ut failures
rohinikumart Jan 20, 2025
8a65f6a
s5448_support:watchdog related fix
rohinikumart Jan 21, 2025
4bcb188
s5448_support:pddf temp changes
rohinikumart Jan 21, 2025
b8fb14b
s5448_support:added max speed in plugin file
rohinikumart Jan 21, 2025
00ae882
s5448_support:added psu temp high thresh
rohinikumart Jan 22, 2025
7d05044
s5448_support:fan direction change
rohinikumart Jan 22, 2025
0ed3cd2
s5448_support:psu fandir change
rohinikumart Jan 22, 2025
abf6ebd
corrections to json
rohinikumart Jan 22, 2025
c2a7847
copied latest changes from esonic
rohinikumart Jan 24, 2025
1832dd2
Merge branch 'master' into s5448_support
rohinikumart Feb 25, 2025
29842a0
s5448_support:media settings change
rohinikumart Feb 25, 2025
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,2 @@
{%- set default_topo = 't1' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

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

{%- macro generate_buffer_pool_and_profiles() %}

"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "82138128",
"type": "ingress",
"mode": "dynamic",
"xoff": "22438080"
},
"egress_lossless_pool": {
"size": "82138128",
"type": "egress",
"mode": "static"
}
},

"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"static_th":"82138128"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"static_th":"82138128"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"2226",
"dynamic_th":"0"
},
"egress_lossy_cpu_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"9540",
"dynamic_th":"-2"
}
},
{%- endmacro %}

{%- macro generate_mc_queue_buffers(PORT_ACTIVE) %}
{% for port in PORT_ACTIVE %}
"{{ port }}|8": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|9": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|10": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|11": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

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

{%- macro generate_buffer_pool_and_profiles() %}

"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "82138128",
"type": "ingress",
"mode": "dynamic",
"xoff": "22438080"
},
"egress_lossless_pool": {
"size": "82138128",
"type": "egress",
"mode": "static"
}
},

"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"static_th":"82138128"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"static_th":"82138128"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"2226",
"dynamic_th":"0"
},
"egress_lossy_cpu_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"9540",
"dynamic_th":"-2"
}
},
{%- endmacro %}

{%- macro generate_mc_queue_buffers(PORT_ACTIVE) %}
{% for port in PORT_ACTIVE %}
"{{ port }}|8": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|9": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|10": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port }}|11": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uft_mode: 17
sai_tunnel_support: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uft_mode: 4
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
10000 5m 9540 9540 96036 0 9540
25000 5m 9540 9540 96036 0 9540
40000 5m 9540 9540 117660 0 9540
50000 5m 9540 9540 117660 0 9540
100000 5m 9540 9540 165360 0 9540
200000 5m 9540 9540 273162 0 9540
400000 5m 9540 9540 470004 0 9540
10000 40m 9540 9540 100170 0 9540
25000 40m 9540 9540 100170 0 9540
40000 40m 9540 9540 125929 0 9540
50000 40m 9540 9540 125929 0 9540
100000 40m 9540 9540 181896 0 9540
200000 40m 9540 9540 306234 0 9540
400000 40m 9540 9540 536148 0 9540
10000 300m 9540 9540 131016 0 9540
25000 300m 9540 9540 131016 0 9540
40000 300m 9540 9540 187620 0 9540
50000 300m 9540 9540 187620 0 9540
100000 300m 9540 9540 300962 0 9540
200000 300m 9540 9540 552366 0 9540
400000 300m 9540 9540 1028412 0 9540
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"fec-mode": {
"Ethernet0-159": {
"1": {
"1000": [ "none" ],
"10000": [ "none", "fc" ],
"25000": [ "none", "fc", "rs" ],
"50000": [ "rs" ]
},
"2":{
"50000": [ "none", "fc", "rs" ],
"100000": [ "rs" ]
},
"4": {
"40000": [ "none", "fc" ],
"100000": [ "none", "rs" ],
"200000": [ "rs" ]
},
"8": [ "rs" ]
}
},
"default-fec-mode": {
"Ethernet0-159": {
"1": {
"1000": "none",
"10000": "none",
"25000": "none",
"50000": "rs"
},
"2": {
"50000": "none",
"100000": "rs"
},
"4": {
"40000": "none",
"100000": "none",
"200000": "rs"
},
"8": "rs"
}
},
"native-port-supported-speeds": {
"Ethernet0-31": {
"8": ["400000"],
"4": ["200000","100000","40000"],
"2": ["100000","50000"],
"1": ["50000","25000","10000","1000"]
},
"Ethernet32-127": {
"2": ["100000","50000"],
"1": ["50000","25000","10000","1000"]
},
"Ethernet128-159": {
"8": ["400000"],
"4": ["200000","100000","40000"],
"2": ["100000","50000"],
"1": ["50000","25000","10000","1000"]
},
"Ethernet160-161": {
"1": ["10000","1000"]
}
},
"chips" : {
"total-chips": 1,
"1": {
"total-pipelines": 4,
"max-ports": 72,
"pipelines": {
"1": {
"max-ports": 18,
"ports": ["Ethernet16", "Ethernet24", "Ethernet32", "Ethernet34", "Ethernet36", "Ethernet38", "Ethernet40",
"Ethernet42", "Ethernet44", "Ethernet46", "Ethernet48", "Ethernet50", "Ethernet52", "Ethernet54"]
},
"2": {
"max-ports": 18,
"ports": ["Ethernet104", "Ethernet106", "Ethernet108", "Ethernet110", "Ethernet112", "Ethernet114", "Ethernet116",
"Ethernet118", "Ethernet120", "Ethernet122", "Ethernet124", "Ethernet126", "Ethernet128", "Ethernet136"]
},
"3": {
"max-ports": 18,
"ports": ["Ethernet80", "Ethernet82", "Ethernet84", "Ethernet86", "Ethernet88", "Ethernet90", "Ethernet92",
"Ethernet94", "Ethernet96", "Ethernet98", "Ethernet100","Ethernet102","Ethernet144", "Ethernet152"]
},
"4": {
"max-ports": 18,
"ports": ["Ethernet0", "Ethernet8", "Ethernet56", "Ethernet58", "Ethernet60", "Ethernet62", "Ethernet64",
"Ethernet66", "Ethernet68", "Ethernet70", "Ethernet72", "Ethernet74", "Ethernet76", "Ethernet78"]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"QOS_CAPABILITY_TABLE|qos": {
"buffer_mode": "lossless",
"buffer_dynamic_tuning": "true",
"pool_xoff_default": "22438080",
"pool_xoff_max": "1023324",
"profile_static_th": "82138128",
"profile_xoff_min": "90948",
"profile_xoff_max": "1023324",
"roce_hash": "true"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# name lanes alias index speed
Ethernet0 145,146,147,148,149,150,151,152 fourhundredGigE1/1 1 400000
Ethernet8 153,154,155,156,157,158,159,160 fourhundredGigE1/2 2 400000
Ethernet16 1,2,3,4,5,6,7,8 fourhundredGigE1/3 3 400000
Ethernet24 9,10,11,12,13,14,15,16 fourhundredGigE1/4 4 400000
Ethernet32 17,18 hundredGigE1/5 5 100000
Ethernet34 19,20 hundredGigE1/6 6 100000
Ethernet36 21,22 hundredGigE1/7 7 100000
Ethernet38 23,24 hundredGigE1/8 8 100000
Ethernet40 25,26 hundredGigE1/9 9 100000
Ethernet42 27,28 hundredGigE1/10 10 100000
Ethernet44 29,30 hundredGigE1/11 11 100000
Ethernet46 31,32 hundredGigE1/12 12 100000
Ethernet48 33,34 hundredGigE1/13 13 100000
Ethernet50 35,36 hundredGigE1/14 14 100000
Ethernet52 37,38 hundredGigE1/15 15 100000
Ethernet54 39,40 hundredGigE1/16 16 100000
Ethernet56 121,122 hundredGigE1/17 17 100000
Ethernet58 123,124 hundredGigE1/18 18 100000
Ethernet60 125,126 hundredGigE1/19 19 100000
Ethernet62 127,128 hundredGigE1/20 20 100000
Ethernet64 129,130 hundredGigE1/21 21 100000
Ethernet66 131,132 hundredGigE1/22 22 100000
Ethernet68 133,134 hundredGigE1/23 23 100000
Ethernet70 135,136 hundredGigE1/24 24 100000
Ethernet72 137,138 hundredGigE1/25 25 100000
Ethernet74 139,140 hundredGigE1/26 26 100000
Ethernet76 141,142 hundredGigE1/27 27 100000
Ethernet78 143,144 hundredGigE1/28 28 100000
Ethernet80 97,98 hundredGigE1/29 29 100000
Ethernet82 99,100 hundredGigE1/30 30 100000
Ethernet84 101,102 hundredGigE1/31 31 100000
Ethernet86 103,104 hundredGigE1/32 32 100000
Ethernet88 105,106 hundredGigE1/33 33 100000
Ethernet90 107,108 hundredGigE1/34 34 100000
Ethernet92 109,110 hundredGigE1/35 35 100000
Ethernet94 111,112 hundredGigE1/36 36 100000
Ethernet96 113,114 hundredGigE1/37 37 100000
Ethernet98 115,116 hundredGigE1/38 38 100000
Ethernet100 117,118 hundredGigE1/39 39 100000
Ethernet102 119,120 hundredGigE1/40 40 100000
Ethernet104 41,42 hundredGigE1/41 41 100000
Ethernet106 43,44 hundredGigE1/42 42 100000
Ethernet108 45,46 hundredGigE1/43 43 100000
Ethernet110 47,48 hundredGigE1/44 44 100000
Ethernet112 49,50 hundredGigE1/45 45 100000
Ethernet114 51,52 hundredGigE1/46 46 100000
Ethernet116 53,54 hundredGigE1/32 47 100000
Ethernet118 55,56 hundredGigE1/32 48 100000
Ethernet120 57,58 hundredGigE1/32 49 100000
Ethernet122 59,60 hundredGigE1/32 50 100000
Ethernet124 61,62 hundredGigE1/32 51 100000
Ethernet126 63,64 hundredGigE1/32 52 100000
Ethernet128 73,74,75,76,77,78,79,80 fourhundredGigE1/53 53 400000
Ethernet136 65,66,67,68,69,70,71,72 fourhundredGigE1/54 54 400000
Ethernet144 89,90,91,92,93,94,95,96 fourhundredGigE1/55 55 400000
Ethernet152 81,82,83,84,85,86,87,88 fourhundredGigE1/56 56 400000
Ethernet160 161 tenGigE1/57 57 10000
Ethernet161 162 tenGigE1/58 58 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,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td4-s5448f.config.yml
SAI_NUM_ECMP_MEMBERS=128
Loading
Loading