Add Mellanox-SN4600C-D100C12S2 SKU (#8832)

*Add Mellanox-SN4600C-D100C12S2 SKU
This commit is contained in:
Alexander Allen 2021-09-29 17:14:11 -04:00 committed by GitHub
parent 6cbdf11e53
commit 57ad1ed680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 1207 additions and 0 deletions

View File

@ -0,0 +1 @@
../ACS-MSN4600C/buffers.json.j2

View File

@ -0,0 +1,104 @@
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '48228352' %}
{% set ingress_lossless_xoff_size = '2287616' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '48228352' %}
{%- 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)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ ingress_lossless_pool_size }}",
"xoff": "{{ ingress_lossless_xoff_size }}",
{%- endif %}
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "{{ egress_lossless_pool_size }}",
"type": "egress",
"mode": "dynamic"
},
"egress_lossy_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ egress_lossy_pool_size }}",
{%- endif %}
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"7"
},
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"dynamic_th":"7"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"9216",
"dynamic_th":"7"
},
"q_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"0",
"dynamic_th":"3"
}
},
{%- endmacro %}
{%- macro generate_profile_lists(port_names) %}
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
},
"BUFFER_PORT_EGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
}
{%- endmacro %}
{%- macro generate_queue_buffers(port_names) %}
"BUFFER_QUEUE": {
{% for port in port_names.split(',') %}
"{{ port }}|3-4": {
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|0-2": {
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|5-6": {
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
}
{%- endmacro %}

View File

@ -0,0 +1,104 @@
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '46315520' %}
{% set ingress_lossless_xoff_size = '4200448' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '46315520' %}
{%- 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)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ ingress_lossless_pool_size }}",
"xoff": "{{ ingress_lossless_xoff_size }}",
{%- endif %}
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "{{ egress_lossless_pool_size }}",
"type": "egress",
"mode": "dynamic"
},
"egress_lossy_pool": {
{%- if dynamic_mode is not defined %}
"size": "{{ egress_lossy_pool_size }}",
{%- endif %}
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"7"
},
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"dynamic_th":"7"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"9216",
"dynamic_th":"7"
},
"q_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"0",
"dynamic_th":"3"
}
},
{%- endmacro %}
{%- macro generate_profile_lists(port_names) %}
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
},
"BUFFER_PORT_EGRESS_PROFILE_LIST": {
{% for port in port_names.split(',') %}
"{{ port }}": {
"profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
}
{%- endmacro %}
{%- macro generate_queue_buffers(port_names) %}
"BUFFER_QUEUE": {
{% for port in port_names.split(',') %}
"{{ port }}|3-4": {
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|0-2": {
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
},
{% endfor %}
{% for port in port_names.split(',') %}
"{{ port }}|5-6": {
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
}{% if not loop.last %},{% endif %}
{% endfor %}
}
{%- endmacro %}

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2

View File

@ -0,0 +1,346 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet2": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet4": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet6": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet8": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet10": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet12": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet14": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet16": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet18": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet20": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet22": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet24": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet26": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet28": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet30": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet32": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet34": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet36": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet38": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet40": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet42": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet44": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet46": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet48": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet52": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet54": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet56": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet58": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet60": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet64": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet66": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet68": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet70": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet72": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet74": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet76": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet78": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet80": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet82": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet84": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet86": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet88": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet90": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet92": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet94": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet96": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet98": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet100": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet102": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet104": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet106": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet108": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet110": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet112": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet114": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet116": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet118": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet120": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet122": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet124": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet126": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet128": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet132": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet134": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet136": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet138": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet140": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet144": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet146": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet148": {
"default_brkout_mode": "1x10G[100G,50G,40G,25G,1G]"
},
"Ethernet152": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet154": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet156": {
"default_brkout_mode": "1x10G[100G,50G,40G,25G,1G]"
},
"Ethernet160": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet162": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet164": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet166": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet168": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet170": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet172": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet174": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet176": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet178": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet180": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet182": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet184": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet186": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet188": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet190": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet192": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet194": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet196": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet198": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet200": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet202": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet204": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet206": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet208": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet212": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet216": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet220": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet224": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet228": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet232": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet236": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G,1G]"
},
"Ethernet240": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet242": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet244": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet246": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet248": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet250": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet252": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
},
"Ethernet254": {
"default_brkout_mode": "2x50G[25G,10G,1G]"
}
}
}

View File

@ -0,0 +1 @@
../Mellanox-SN4600C-D112C8/pg_profile_lookup.ini

View File

@ -0,0 +1,115 @@
# name lanes alias index speed
Ethernet0 0,1 etp1a 1 50000
Ethernet2 2,3 etp1b 1 50000
Ethernet4 8,9 etp2a 2 50000
Ethernet6 10,11 etp2b 2 50000
Ethernet8 16,17 etp3a 3 50000
Ethernet10 18,19 etp3b 3 50000
Ethernet12 24,25 etp4a 4 50000
Ethernet14 26,27 etp4b 4 50000
Ethernet16 32,33 etp5a 5 50000
Ethernet18 34,35 etp5b 5 50000
Ethernet20 40,41 etp6a 6 50000
Ethernet22 42,43 etp6b 6 50000
Ethernet24 48,49 etp7a 7 50000
Ethernet26 50,51 etp7b 7 50000
Ethernet28 56,57 etp8a 8 50000
Ethernet30 58,59 etp8b 8 50000
Ethernet32 64,65 etp9a 9 50000
Ethernet34 66,67 etp9b 9 50000
Ethernet36 72,73 etp10a 10 50000
Ethernet38 74,75 etp10b 10 50000
Ethernet40 80,81 etp11a 11 50000
Ethernet42 82,83 etp11b 11 50000
Ethernet44 88,89 etp12a 12 50000
Ethernet46 90,91 etp12b 12 50000
Ethernet48 96,97,98,99 etp13 13 100000
Ethernet52 104,105 etp14a 14 50000
Ethernet54 106,107 etp14b 14 50000
Ethernet56 112,113 etp15a 15 50000
Ethernet58 114,115 etp15b 15 50000
Ethernet60 120,121,122,123 etp16 16 100000
Ethernet64 128,129 etp17a 17 50000
Ethernet66 130,131 etp17b 17 50000
Ethernet68 136,137 etp18a 18 50000
Ethernet70 138,139 etp18b 18 50000
Ethernet72 144,145 etp19a 19 50000
Ethernet74 146,147 etp19b 19 50000
Ethernet76 152,153 etp20a 20 50000
Ethernet78 154,155 etp20b 20 50000
Ethernet80 160,161 etp21a 21 50000
Ethernet82 162,163 etp21b 21 50000
Ethernet84 168,169 etp22a 22 50000
Ethernet86 170,171 etp22b 22 50000
Ethernet88 176,177 etp23a 23 50000
Ethernet90 178,179 etp23b 23 50000
Ethernet92 184,185 etp24a 24 50000
Ethernet94 186,187 etp24b 24 50000
Ethernet96 192,193 etp25a 25 50000
Ethernet98 194,195 etp25b 25 50000
Ethernet100 200,201 etp26a 26 50000
Ethernet102 202,203 etp26b 26 50000
Ethernet104 208,209 etp27a 27 50000
Ethernet106 210,211 etp27b 27 50000
Ethernet108 216,217 etp28a 28 50000
Ethernet110 218,219 etp28b 28 50000
Ethernet112 224,225 etp29a 29 50000
Ethernet114 226,227 etp29b 29 50000
Ethernet116 232,233 etp30a 30 50000
Ethernet118 234,235 etp30b 30 50000
Ethernet120 240,241 etp31a 31 50000
Ethernet122 242,243 etp31b 31 50000
Ethernet124 248,249 etp32a 32 50000
Ethernet126 250,251 etp32b 32 50000
Ethernet128 256,257,258,259 etp33 33 100000
Ethernet132 264,265 etp34a 34 50000
Ethernet134 266,267 etp34b 34 50000
Ethernet136 272,273 etp35a 35 50000
Ethernet138 274,275 etp35b 35 50000
Ethernet140 280,281,282,283 etp36 36 100000
Ethernet144 288,289 etp37a 37 50000
Ethernet146 290,291 etp37b 37 50000
Ethernet148 296,297,298,299 etp38 38 10000
Ethernet152 304,305 etp39a 39 50000
Ethernet154 306,307 etp39b 39 50000
Ethernet156 312,313,314,315 etp40 40 10000
Ethernet160 320,321 etp41a 41 50000
Ethernet162 322,323 etp41b 41 50000
Ethernet164 328,329 etp42a 42 50000
Ethernet166 330,331 etp42b 42 50000
Ethernet168 336,337 etp43a 43 50000
Ethernet170 338,339 etp43b 43 50000
Ethernet172 344,345 etp44a 44 50000
Ethernet174 346,347 etp44b 44 50000
Ethernet176 352,353 etp45a 45 50000
Ethernet178 354,355 etp45b 45 50000
Ethernet180 360,361 etp46a 46 50000
Ethernet182 362,363 etp46b 46 50000
Ethernet184 368,369 etp47a 47 50000
Ethernet186 370,371 etp47b 47 50000
Ethernet188 376,377 etp48a 48 50000
Ethernet190 378,379 etp48b 48 50000
Ethernet192 384,385 etp49a 49 50000
Ethernet194 386,387 etp49b 49 50000
Ethernet196 392,393 etp50a 50 50000
Ethernet198 394,395 etp50b 50 50000
Ethernet200 400,401 etp51a 51 50000
Ethernet202 402,403 etp51b 51 50000
Ethernet204 408,409 etp52a 52 50000
Ethernet206 410,411 etp52b 52 50000
Ethernet208 416,417,418,419 etp53 53 100000
Ethernet212 424,425,426,427 etp54 54 100000
Ethernet216 432,433,434,435 etp55 55 100000
Ethernet220 440,441,442,443 etp56 56 100000
Ethernet224 448,449,450,451 etp57 57 100000
Ethernet228 456,457,458,459 etp58 58 100000
Ethernet232 464,465,466,467 etp59 59 100000
Ethernet236 472,473,474,475 etp60 60 100000
Ethernet240 480,481 etp61a 61 50000
Ethernet242 482,483 etp61b 61 50000
Ethernet244 488,489 etp62a 62 50000
Ethernet246 490,491 etp62b 62 50000
Ethernet248 496,497 etp63a 63 50000
Ethernet250 498,499 etp63b 63 50000
Ethernet252 504,505 etp64a 64 50000
Ethernet254 506,507 etp64b 64 50000

View File

@ -0,0 +1 @@
../ACS-MSN4600C/qos.json.j2

View File

@ -0,0 +1,4 @@
SAI_VXLAN_SRCPORT_RANGE_ENABLE=1
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_100x50g_12x100g_2x10g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -0,0 +1,525 @@
<root>
<platform_info type="4601">
<!-- Device MAC address -->
<device-mac-address>00:02:03:04:05:80</device-mac-address>
<!-- ISSU enabled -->
<issu-enabled>1</issu-enabled>
<!-- Number of ports in the following port list -->
<number-of-physical-ports>64</number-of-physical-ports>
<!-- List of ports in the device -->
<ports-list>
<port-info>
<local-port>105</local-port>
<split>2</split>
<width>4</width>
<module>0</module>
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
<breakout-modes>1</breakout-modes>
<!-- (BITMASK) 2 - 1Gb , 16 - 10Gb , 32 - 40Gb , 384 - 50Gb , 1536 - 100Gb , 1536 - 200Gb -->
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>107</local-port>
<split>2</split>
<width>4</width>
<module>1</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>109</local-port>
<split>2</split>
<width>4</width>
<module>2</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>111</local-port>
<split>2</split>
<width>4</width>
<module>3</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>97</local-port>
<split>2</split>
<width>4</width>
<module>4</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>99</local-port>
<split>2</split>
<width>4</width>
<module>5</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>101</local-port>
<split>2</split>
<width>4</width>
<module>6</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>103</local-port>
<split>2</split>
<width>4</width>
<module>7</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>121</local-port>
<split>2</split>
<width>4</width>
<module>8</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>123</local-port>
<split>2</split>
<width>4</width>
<module>9</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>125</local-port>
<split>2</split>
<width>4</width>
<module>10</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>127</local-port>
<split>2</split>
<width>4</width>
<module>11</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>113</local-port>
<split>1</split>
<width>4</width>
<module>12</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>115</local-port>
<split>2</split>
<width>4</width>
<module>13</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>117</local-port>
<split>2</split>
<width>4</width>
<module>14</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>119</local-port>
<split>1</split>
<width>4</width>
<module>15</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>89</local-port>
<split>2</split>
<width>4</width>
<module>16</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>91</local-port>
<split>2</split>
<width>4</width>
<module>17</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>93</local-port>
<split>2</split>
<width>4</width>
<module>18</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>95</local-port>
<split>2</split>
<width>4</width>
<module>19</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>81</local-port>
<split>2</split>
<width>4</width>
<module>20</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>83</local-port>
<split>2</split>
<width>4</width>
<module>21</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>85</local-port>
<split>2</split>
<width>4</width>
<module>22</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>87</local-port>
<split>2</split>
<width>4</width>
<module>23</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>73</local-port>
<width>4</width>
<module>24</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>75</local-port>
<width>4</width>
<module>25</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>77</local-port>
<split>2</split>
<width>4</width>
<module>26</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>79</local-port>
<split>2</split>
<width>4</width>
<module>27</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>65</local-port>
<width>4</width>
<module>28</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>67</local-port>
<width>4</width>
<module>29</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>69</local-port>
<split>2</split>
<width>4</width>
<module>30</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>71</local-port>
<split>2</split>
<width>4</width>
<module>31</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>5</local-port>
<width>4</width>
<module>32</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
<split>1</split></port-info>
<port-info>
<local-port>7</local-port>
<width>4</width>
<module>33</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>1</local-port>
<split>2</split>
<width>4</width>
<module>34</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>3</local-port>
<split>1</split>
<width>4</width>
<module>35</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>13</local-port>
<width>4</width>
<module>36</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
<split>2</split></port-info>
<port-info>
<local-port>15</local-port>
<width>4</width>
<module>37</module>
<breakout-modes>0</breakout-modes>
<port-speed>16</port-speed>
<split>1</split></port-info>
<port-info>
<local-port>9</local-port>
<split>2</split>
<width>4</width>
<module>38</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>11</local-port>
<split>1</split>
<width>4</width>
<module>39</module>
<breakout-modes>0</breakout-modes>
<port-speed>16</port-speed>
</port-info>
<port-info>
<local-port>21</local-port>
<split>2</split>
<width>4</width>
<module>40</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>23</local-port>
<split>2</split>
<width>4</width>
<module>41</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>17</local-port>
<split>2</split>
<width>4</width>
<module>42</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>19</local-port>
<split>2</split>
<width>4</width>
<module>43</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>29</local-port>
<split>2</split>
<width>4</width>
<module>44</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>31</local-port>
<split>2</split>
<width>4</width>
<module>45</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>25</local-port>
<split>2</split>
<width>4</width>
<module>46</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>27</local-port>
<split>2</split>
<width>4</width>
<module>47</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>53</local-port>
<split>2</split>
<width>4</width>
<module>48</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>55</local-port>
<split>2</split>
<width>4</width>
<module>49</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>49</local-port>
<split>2</split>
<width>4</width>
<module>50</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>51</local-port>
<split>2</split>
<width>4</width>
<module>51</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>61</local-port>
<split>1</split>
<width>4</width>
<module>52</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>63</local-port>
<split>1</split>
<width>4</width>
<module>53</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>57</local-port>
<split>1</split>
<width>4</width>
<module>54</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>59</local-port>
<split>1</split>
<width>4</width>
<module>55</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>37</local-port>
<split>1</split>
<width>4</width>
<module>56</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>39</local-port>
<split>1</split>
<width>4</width>
<module>57</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>33</local-port>
<split>1</split>
<width>4</width>
<module>58</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>35</local-port>
<split>1</split>
<width>4</width>
<module>59</module>
<breakout-modes>0</breakout-modes>
<port-speed>1536</port-speed>
</port-info>
<port-info>
<local-port>45</local-port>
<split>2</split>
<width>4</width>
<module>60</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>47</local-port>
<split>2</split>
<width>4</width>
<module>61</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>41</local-port>
<split>2</split>
<width>4</width>
<module>62</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
<port-info>
<local-port>43</local-port>
<split>2</split>
<width>4</width>
<module>63</module>
<breakout-modes>1</breakout-modes>
<port-speed>384</port-speed>
</port-info>
</ports-list>
</platform_info>
</root>

View File

@ -15,3 +15,8 @@
40000 300m 19456 19456 49152 0
50000 300m 19456 19456 55296 0
100000 300m 19456 19456 86016 0
10000 2000m 19456 19456 32768 0
25000 2000m 19456 19456 63488 0
40000 2000m 19456 19456 94208 0
50000 2000m 19456 19456 114688 0
100000 2000m 19456 19456 217088 0