Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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,6 @@
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0, 512, 4) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
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,36 @@
{%- set default_cable = '5m' %}

{%- include 'buffer_ports.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "164075364",
"type": "ingress",
"mode": "dynamic",
"xoff": "22010624"
},
"egress_lossless_pool": {
"size": "164075364",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool": "ingress_lossless_pool",
"size": "0",
"static_th": "165364160"
},
"egress_lossy_profile": {
"pool": "egress_lossless_pool",
"size": "1778",
"dynamic_th": "0"
},
"egress_lossless_profile": {
"pool": "egress_lossless_pool",
"size": "0",
"static_th": "165364160"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{%- set default_cable = '5m' %}

{%- include 'buffer_ports.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "164075364",
"type": "ingress",
"mode": "dynamic",
"xoff": "22010624"
},
"egress_lossless_pool": {
"size": "164075364",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool": "ingress_lossless_pool",
"size": "0",
"static_th": "165364160"
},
"egress_lossy_profile": {
"pool": "egress_lossless_pool",
"size": "1778",
"dynamic_th": "0"
},
"egress_lossless_profile": {
"pool": "egress_lossless_pool",
"size": "0",
"static_th": "165364160"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet8": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet16": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet24": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet32": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet40": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet48": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet56": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet64": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet72": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet80": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet88": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet96": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet104": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet112": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet120": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet128": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet136": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet144": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet152": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet160": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet168": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet176": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet184": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet192": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet200": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet208": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet216": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet224": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet232": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet240": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet248": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet256": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet264": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet272": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet280": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet288": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet296": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet304": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet312": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet320": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet328": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet336": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet344": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet352": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet360": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet368": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet376": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet384": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet392": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet400": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet408": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet416": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet424": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet432": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet440": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet448": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet456": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet464": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet472": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet480": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet488": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet496": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
},
"Ethernet504": {
"default_brkout_mode": "2x400G",
"autoneg": "on"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
400000 5m 18796 0 445770 0 3556
400000 40m 18796 0 445770 0 3556
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need another cable length between LT2 and UT2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bingwang-ms I've added 150m, can you confirm this is correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 3 different cable length

400000 150m 18796 0 445770 0 3556
Loading
Loading