diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers.json.j2 new file mode 120000 index 00000000000..117d740b0f5 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers.json.j2 @@ -0,0 +1 @@ +../ACS-MSN4600C/buffers.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t0.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t0.j2 new file mode 100644 index 00000000000..e5785e0744e --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t0.j2 @@ -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 %} diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t1.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t1.j2 new file mode 100644 index 00000000000..a8f95220924 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_defaults_t1.j2 @@ -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 %} diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_dynamic.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_dynamic.json.j2 new file mode 120000 index 00000000000..8c4117c6621 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/buffers_dynamic.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/hwsku.json b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/hwsku.json new file mode 100644 index 00000000000..89b35dda06f --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/hwsku.json @@ -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]" + } + } +} diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/pg_profile_lookup.ini b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/pg_profile_lookup.ini new file mode 120000 index 00000000000..49745268908 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/pg_profile_lookup.ini @@ -0,0 +1 @@ +../Mellanox-SN4600C-D112C8/pg_profile_lookup.ini \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/port_config.ini b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/port_config.ini new file mode 100644 index 00000000000..48f92f311a9 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/port_config.ini @@ -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 diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/qos.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/qos.json.j2 new file mode 120000 index 00000000000..05394016a12 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/qos.json.j2 @@ -0,0 +1 @@ +../ACS-MSN4600C/qos.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai.profile b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai.profile new file mode 100644 index 00000000000..c05c9ac6a1d --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai.profile @@ -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 diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai_4600c_100x50g_12x100g_2x10g.xml b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai_4600c_100x50g_12x100g_2x10g.xml new file mode 100644 index 00000000000..bcf792d6337 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D100C12S2/sai_4600c_100x50g_12x100g_2x10g.xml @@ -0,0 +1,525 @@ + + + + + 00:02:03:04:05:80 + + + 1 + + + 64 + + + + + 105 + 2 + 4 + 0 + + + 1 + + + 384 + + + 107 + 2 + 4 + 1 + 1 + 384 + + + 109 + 2 + 4 + 2 + 1 + 384 + + + 111 + 2 + 4 + 3 + 1 + 384 + + + 97 + 2 + 4 + 4 + 1 + 384 + + + 99 + 2 + 4 + 5 + 1 + 384 + + + 101 + 2 + 4 + 6 + 1 + 384 + + + 103 + 2 + 4 + 7 + 1 + 384 + + + 121 + 2 + 4 + 8 + 1 + 384 + + + 123 + 2 + 4 + 9 + 1 + 384 + + + 125 + 2 + 4 + 10 + 1 + 384 + + + 127 + 2 + 4 + 11 + 1 + 384 + + + 113 + 1 + 4 + 12 + 0 + 1536 + + + 115 + 2 + 4 + 13 + 1 + 384 + + + 117 + 2 + 4 + 14 + 1 + 384 + + + 119 + 1 + 4 + 15 + 0 + 1536 + + + 89 + 2 + 4 + 16 + 1 + 384 + + + 91 + 2 + 4 + 17 + 1 + 384 + + + 93 + 2 + 4 + 18 + 1 + 384 + + + 95 + 2 + 4 + 19 + 1 + 384 + + + 81 + 2 + 4 + 20 + 1 + 384 + + + 83 + 2 + 4 + 21 + 1 + 384 + + + 85 + 2 + 4 + 22 + 1 + 384 + + + 87 + 2 + 4 + 23 + 1 + 384 + + + 73 + 4 + 24 + 1 + 384 + 2 + + 75 + 4 + 25 + 1 + 384 + 2 + + 77 + 2 + 4 + 26 + 1 + 384 + + + 79 + 2 + 4 + 27 + 1 + 384 + + + 65 + 4 + 28 + 1 + 384 + 2 + + 67 + 4 + 29 + 1 + 384 + 2 + + 69 + 2 + 4 + 30 + 1 + 384 + + + 71 + 2 + 4 + 31 + 1 + 384 + + + 5 + 4 + 32 + 0 + 1536 + 1 + + 7 + 4 + 33 + 1 + 384 + 2 + + 1 + 2 + 4 + 34 + 1 + 384 + + + 3 + 1 + 4 + 35 + 0 + 1536 + + + 13 + 4 + 36 + 1 + 384 + 2 + + 15 + 4 + 37 + 0 + 16 + 1 + + 9 + 2 + 4 + 38 + 1 + 384 + + + 11 + 1 + 4 + 39 + 0 + 16 + + + 21 + 2 + 4 + 40 + 1 + 384 + + + 23 + 2 + 4 + 41 + 1 + 384 + + + 17 + 2 + 4 + 42 + 1 + 384 + + + 19 + 2 + 4 + 43 + 1 + 384 + + + 29 + 2 + 4 + 44 + 1 + 384 + + + 31 + 2 + 4 + 45 + 1 + 384 + + + 25 + 2 + 4 + 46 + 1 + 384 + + + 27 + 2 + 4 + 47 + 1 + 384 + + + 53 + 2 + 4 + 48 + 1 + 384 + + + 55 + 2 + 4 + 49 + 1 + 384 + + + 49 + 2 + 4 + 50 + 1 + 384 + + + 51 + 2 + 4 + 51 + 1 + 384 + + + 61 + 1 + 4 + 52 + 0 + 1536 + + + 63 + 1 + 4 + 53 + 0 + 1536 + + + 57 + 1 + 4 + 54 + 0 + 1536 + + + 59 + 1 + 4 + 55 + 0 + 1536 + + + 37 + 1 + 4 + 56 + 0 + 1536 + + + 39 + 1 + 4 + 57 + 0 + 1536 + + + 33 + 1 + 4 + 58 + 0 + 1536 + + + 35 + 1 + 4 + 59 + 0 + 1536 + + + 45 + 2 + 4 + 60 + 1 + 384 + + + 47 + 2 + 4 + 61 + 1 + 384 + + + 41 + 2 + 4 + 62 + 1 + 384 + + + 43 + 2 + 4 + 63 + 1 + 384 + + + + diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D112C8/pg_profile_lookup.ini b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D112C8/pg_profile_lookup.ini index 4931d4e1d7a..fdcf8c0c305 100644 --- a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D112C8/pg_profile_lookup.ini +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D112C8/pg_profile_lookup.ini @@ -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 diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json index ab22b4fd18d..4733f95d3bb 100644 --- a/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json @@ -916,6 +916,7 @@ "lanes": "296,297,298,299", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp38"], + "1x10G[100G,50G,40G,25G,1G]": ["etp38"], "2x50G[25G,10G,1G]": ["etp38a", "etp38b"] } }, @@ -932,6 +933,7 @@ "lanes": "312,313,314,315", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp40"], + "1x10G[100G,50G,40G,25G,1G]": ["etp40"], "2x50G[25G,10G,1G]": ["etp40a", "etp40b"] } },