-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dell:Initial commit for Z9664F platform (#20768)
Why I did it To add support for Z9664F platform How I did it Implemented the support for the platform Z9664F Switch Vendor: Dell Switch SKU: Z9664F ASIC Vendor: Broadcom SONiC Image: sonic-broadcom.bin How to verify it Verified the platform show commands and also executed the sonic-mgmt testcases. logs.txt Added PDDF changes as well and attaching the logs The syncd is not up and will be raising it to broadcom for the same as it requires SAI support. logs.zip
- Loading branch information
Showing
79 changed files
with
92,776 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
device/dell/x86_64-dell_z9664f-r0/DellEMC-Z9664f-O64/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{%- set default_topo = 't1' %} | ||
{%- include 'buffers_config.j2' %} |
59 changes: 59 additions & 0 deletions
59
device/dell/x86_64-dell_z9664f-r0/DellEMC-Z9664f-O64/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "113620296", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "50653696" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "113620296", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"113620296" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"113620296" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"2" | ||
}, | ||
"egress_lossy_cpu_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"-5" | ||
} | ||
}, | ||
{%- 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 %} |
59 changes: 59 additions & 0 deletions
59
device/dell/x86_64-dell_z9664f-r0/DellEMC-Z9664f-O64/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "113620296", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "50653696" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "113620296", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"113620296" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"113620296" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"2" | ||
}, | ||
"egress_lossy_cpu_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"-5" | ||
} | ||
}, | ||
{%- 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 %} |
202 changes: 202 additions & 0 deletions
202
device/dell/x86_64-dell_z9664f-r0/DellEMC-Z9664f-O64/hwsku.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
{ | ||
"interfaces": { | ||
"Ethernet0": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet4": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet8": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet12": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet16": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet20": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet24": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet28": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet32": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet36": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet40": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet44": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet48": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet52": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet56": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet60": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet64": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet68": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet72": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet76": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet80": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet84": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet88": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet92": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet96": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet100": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet104": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet108": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet112": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet116": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet120": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet124": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet128": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet132": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet136": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet140": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet144": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet148": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet152": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet156": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet160": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet164": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet168": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet172": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet176": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet180": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet184": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet188": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet192": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet196": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet200": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet204": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet208": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet212": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet216": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet220": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet224": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet228": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet232": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet236": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet240": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet244": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet248": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet252": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet256": { | ||
"default_brkout_mode": "1x10G" | ||
}, | ||
"Ethernet257": { | ||
"default_brkout_mode": "1x10G" | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
device/dell/x86_64-dell_z9664f-r0/DellEMC-Z9664f-O64/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 9144 9144 75438 0 9144 | ||
25000 5m 9144 9144 75438 0 9144 | ||
40000 5m 9144 9144 91694 0 9144 | ||
50000 5m 9144 9144 91694 0 9144 | ||
100000 5m 9144 9144 129032 0 9144 | ||
200000 5m 9144 9144 214122 0 9144 | ||
400000 5m 9144 9144 371348 0 9144 | ||
10000 40m 9144 9144 78740 0 9144 | ||
25000 40m 9144 9144 78740 0 9144 | ||
40000 40m 9144 9144 98298 0 9144 | ||
50000 40m 9144 9144 98298 0 9144 | ||
100000 40m 9144 9144 142240 0 9144 | ||
200000 40m 9144 9144 240792 0 9144 | ||
400000 40m 9144 9144 424434 0 9144 | ||
10000 300m 9144 9144 103378 0 9144 | ||
25000 300m 9144 9144 103378 0 9144 | ||
40000 300m 9144 9144 147574 0 9144 | ||
50000 300m 9144 9144 147574 0 9144 | ||
100000 300m 9144 9144 240538 0 9144 | ||
200000 300m 9144 9144 437134 0 9144 | ||
400000 300m 9144 9144 817372 0 9144 |
Oops, something went wrong.