From 9139eaf62781c413d26d44f4c98ef25aa879a829 Mon Sep 17 00:00:00 2001 From: Alexander Allen Date: Thu, 2 Sep 2021 20:47:24 +0000 Subject: [PATCH 1/2] [mellanox] Add D32C12S2 SKU to 4600C --- .../Mellanox-SN4600C-D32C12S2/buffers.json.j2 | 1 + .../buffers_defaults_t0.j2 | 100 ++++ .../buffers_defaults_t1.j2 | 100 ++++ .../buffers_dynamic.json.j2 | 1 + .../Mellanox-SN4600C-D32C12S2/hwsku.json | 142 ++++++ .../pg_profile_lookup.ini | 1 + .../Mellanox-SN4600C-D32C12S2/port_config.ini | 47 ++ .../Mellanox-SN4600C-D32C12S2/qos.json.j2 | 1 + .../Mellanox-SN4600C-D32C12S2/sai.profile | 4 + .../sai_4600c_2x10g_32x50g_12x100g.xml | 466 ++++++++++++++++++ 10 files changed, 863 insertions(+) create mode 120000 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers.json.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t0.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t1.j2 create mode 120000 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_dynamic.json.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/hwsku.json create mode 120000 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/pg_profile_lookup.ini create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/port_config.ini create mode 120000 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/qos.json.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai.profile create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai_4600c_2x10g_32x50g_12x100g.xml diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers.json.j2 new file mode 120000 index 00000000000..117d740b0f5 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/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-D32C12S2/buffers_defaults_t0.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t0.j2 new file mode 100644 index 00000000000..210ba8b6007 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t0.j2 @@ -0,0 +1,100 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '55539712' %} +{% set ingress_lossless_pool_xoff = '964608' %} +{% set egress_lossless_pool_size = '60817392' %} +{% set egress_lossy_pool_size = '55539712' %} + +{%- 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": { + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + "size": "{{ egress_lossy_pool_size }}", + "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-D32C12S2/buffers_defaults_t1.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t1.j2 new file mode 100644 index 00000000000..c5168607ba8 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_defaults_t1.j2 @@ -0,0 +1,100 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '54953984' %} +{% set ingress_lossless_pool_xoff = '1550336' %} +{% set egress_lossless_pool_size = '60817392' %} +{% set egress_lossy_pool_size = '54953984' %} + +{%- 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": { + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + "size": "{{ egress_lossy_pool_size }}", + "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-D32C12S2/buffers_dynamic.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/buffers_dynamic.json.j2 new file mode 120000 index 00000000000..8c4117c6621 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/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-D32C12S2/hwsku.json b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/hwsku.json new file mode 100644 index 00000000000..95291f26877 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/hwsku.json @@ -0,0 +1,142 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet128": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet140": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet148": { + "default_brkout_mode": "1x10G" + }, + "Ethernet156": { + "default_brkout_mode": "1x10G" + }, + "Ethernet160": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet164": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet168": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet172": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet176": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet180": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet184": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet188": { + "default_brkout_mode": "1x50G[40G,25G,10G]" + }, + "Ethernet208": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet212": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet216": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet220": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet224": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet228": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet232": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet236": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + } + } +} diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/pg_profile_lookup.ini b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/pg_profile_lookup.ini new file mode 120000 index 00000000000..49745268908 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/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-D32C12S2/port_config.ini b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/port_config.ini new file mode 100644 index 00000000000..08401c0fe40 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/port_config.ini @@ -0,0 +1,47 @@ +# name lanes alias index speed +Ethernet0 0,1,2,3 etp1 1 50000 +Ethernet4 8,9,10,11 etp2 2 50000 +Ethernet8 16,17,18,19 etp3 3 50000 +Ethernet12 24,25,26,27 etp4 4 50000 +Ethernet16 32,33,34,35 etp5 5 50000 +Ethernet20 40,41,42,43 etp6 6 50000 +Ethernet24 48,49,50,51 etp7 7 50000 +Ethernet28 56,57,58,59 etp8 8 50000 +Ethernet48 96,97,98,99 etp13 13 100000 +Ethernet60 120,121,122,123 etp16 16 100000 +Ethernet64 128,129,130,131 etp17 17 50000 +Ethernet68 136,137,138,139 etp18 18 50000 +Ethernet72 144,145,146,147 etp19 19 50000 +Ethernet76 152,153,154,155 etp20 20 50000 +Ethernet80 160,161,162,163 etp21 21 50000 +Ethernet84 168,169,170,171 etp22 22 50000 +Ethernet88 176,177,178,179 etp23 23 50000 +Ethernet92 184,185,186,187 etp24 24 50000 +Ethernet96 192,193,194,195 etp25 25 50000 +Ethernet100 200,201,202,203 etp26 26 50000 +Ethernet104 208,209,210,211 etp27 27 50000 +Ethernet108 216,217,218,219 etp28 28 50000 +Ethernet112 224,225,226,227 etp29 29 50000 +Ethernet116 232,233,234,235 etp30 30 50000 +Ethernet120 240,241,242,243 etp31 31 50000 +Ethernet124 248,249,250,251 etp32 32 50000 +Ethernet128 256,257,258,259 etp33 33 100000 +Ethernet140 280,281,282,283 etp36 36 100000 +Ethernet148 296,297,298,299 etp38 38 10000 +Ethernet156 312,313,314,315 etp40 40 10000 +Ethernet160 320,321,322,323 etp41 41 50000 +Ethernet164 328,329,330,331 etp42 42 50000 +Ethernet168 336,337,338,339 etp43 43 50000 +Ethernet172 344,345,346,347 etp44 44 50000 +Ethernet176 352,353,354,355 etp45 45 50000 +Ethernet180 360,361,362,363 etp46 46 50000 +Ethernet184 368,369,370,371 etp47 47 50000 +Ethernet188 376,377,378,379 etp48 48 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 diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/qos.json.j2 b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/qos.json.j2 new file mode 120000 index 00000000000..05394016a12 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/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-D32C12S2/sai.profile b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai.profile new file mode 100644 index 00000000000..39a14edd6ca --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_2x10g_32x50g_12x100g.xml +SAI_VXLAN_SRCPORT_RANGE_ENABLE=1 +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-D32C12S2/sai_4600c_2x10g_32x50g_12x100g.xml b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai_4600c_2x10g_32x50g_12x100g.xml new file mode 100644 index 00000000000..823581a47e9 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D32C12S2/sai_4600c_2x10g_32x50g_12x100g.xml @@ -0,0 +1,466 @@ + + + + + + 00:02:03:04:05:80 + + + 1 + + + 64 + + + + + 53 + 4 + 48 + 0 + 384 + + + 55 + 4 + 49 + 0 + 384 + + + 49 + 4 + 50 + 0 + 384 + + + 51 + 4 + 51 + 0 + 384 + + + 61 + 4 + 52 + 0 + 384 + + + 63 + 4 + 53 + 0 + 1536 + + + 57 + 4 + 54 + 0 + 1536 + + + 59 + 4 + 55 + 0 + 1536 + + + 37 + 4 + 56 + 0 + 1536 + + + 39 + 4 + 57 + 0 + 1536 + + + 33 + 4 + 58 + 0 + 1536 + + + 35 + 4 + 59 + 0 + 1536 + + + 45 + 4 + 60 + 0 + 1536 + + + 47 + 4 + 61 + 0 + 384 + + + 41 + 4 + 62 + 0 + 384 + + + 43 + 4 + 63 + 0 + 384 + + + 113 + 4 + 12 + 0 + 384 + + + 115 + 4 + 13 + 0 + 1536 + + + 117 + 4 + 14 + 0 + 384 + + + 119 + 4 + 15 + 0 + 384 + + + 121 + 4 + 8 + 0 + 384 + + + 123 + 4 + 9 + 0 + 384 + + + 125 + 4 + 10 + 0 + 384 + + + 127 + 4 + 11 + 0 + 384 + + + 97 + 4 + 4 + 0 + 384 + + + 99 + 4 + 5 + 0 + 384 + + + 101 + 4 + 6 + 0 + 384 + + + 103 + 4 + 7 + 0 + 384 + + + 105 + 4 + 0 + 0 + 384 + + + 107 + 4 + 1 + 0 + 384 + + + 109 + 4 + 2 + 0 + 384 + + + 111 + 4 + 3 + 0 + 384 + + + 29 + 4 + 44 + 0 + 384 + + + 31 + 4 + 45 + 0 + 384 + + + 25 + 4 + 46 + 0 + 384 + + + 27 + 4 + 47 + 0 + 384 + + + 21 + 4 + 40 + 0 + 16 + + + 23 + 4 + 41 + 0 + 384 + + + 17 + 4 + 42 + 0 + 384 + + + 19 + 4 + 43 + 0 + 384 + + + 13 + 4 + 36 + 0 + 1536 + + + 15 + 4 + 37 + 0 + 384 + + + 9 + 4 + 38 + 0 + 16 + + + 11 + 4 + 39 + 0 + 384 + + + 5 + 4 + 32 + 0 + 384 + + + 7 + 4 + 33 + 0 + 1536 + + + 1 + 4 + 34 + 0 + 384 + + + 3 + 4 + 35 + 0 + 384 + + + 89 + 4 + 16 + 0 + 1536 + + + 91 + 4 + 17 + 0 + 384 + + + 93 + 4 + 18 + 0 + 384 + + + 95 + 4 + 19 + 0 + 384 + + + 81 + 4 + 20 + 0 + 384 + + + 83 + 4 + 21 + 0 + 384 + + + 85 + 4 + 22 + 0 + 384 + + + 87 + 4 + 23 + 0 + 384 + + + 73 + 4 + 24 + 0 + 384 + + + 75 + 4 + 25 + 0 + 384 + + + 77 + 4 + 26 + 0 + 384 + + + 79 + 4 + 27 + 0 + 384 + + + 65 + 4 + 28 + 0 + 384 + + + 67 + 4 + 29 + 0 + 384 + + + 69 + 4 + 30 + 0 + 384 + + + 71 + 4 + 31 + 0 + 384 + + + + From 1027eaa4e67471ae735593f48aa5ad5977625063 Mon Sep 17 00:00:00 2001 From: Alexander Allen Date: Thu, 2 Sep 2021 21:05:28 +0000 Subject: [PATCH 2/2] Enable 1x10G default breakout mode --- .../x86_64-mlnx_msn4600c-r0/platform.json | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json index ab22b4fd18d..9e8eb495d85 100644 --- a/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform.json @@ -620,6 +620,7 @@ "lanes": "0,1,2,3", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp1"], + "1x10G": ["etp1"], "2x50G[25G,10G,1G]": ["etp1a", "etp1b"] } }, @@ -628,6 +629,7 @@ "lanes": "8,9,10,11", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp2"], + "1x10G": ["etp2"], "2x50G[25G,10G,1G]": ["etp2a", "etp2b"] } }, @@ -636,6 +638,7 @@ "lanes": "16,17,18,19", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp3"], + "1x10G": ["etp3"], "2x50G[25G,10G,1G]": ["etp3a", "etp3b"] } }, @@ -644,6 +647,7 @@ "lanes": "24,25,26,27", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp4"], + "1x10G": ["etp4"], "2x50G[25G,10G,1G]": ["etp4a", "etp4b"] } }, @@ -652,6 +656,7 @@ "lanes": "32,33,34,35", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp5"], + "1x10G": ["etp5"], "2x50G[25G,10G,1G]": ["etp5a", "etp5b"] } }, @@ -660,6 +665,7 @@ "lanes": "40,41,42,43", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp6"], + "1x10G": ["etp6"], "2x50G[25G,10G,1G]": ["etp6a", "etp6b"] } }, @@ -668,6 +674,7 @@ "lanes": "48,49,50,51", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp7"], + "1x10G": ["etp7"], "2x50G[25G,10G,1G]": ["etp7a", "etp7b"] } }, @@ -676,6 +683,7 @@ "lanes": "56,57,58,59", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp8"], + "1x10G": ["etp8"], "2x50G[25G,10G,1G]": ["etp8a", "etp8b"] } }, @@ -684,6 +692,7 @@ "lanes": "64,65,66,67", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp9"], + "1x10G": ["etp9"], "2x50G[25G,10G,1G]": ["etp9a", "etp9b"] } }, @@ -692,6 +701,7 @@ "lanes": "72,73,74,75", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp10"], + "1x10G": ["etp10"], "2x50G[25G,10G,1G]": ["etp10a", "etp10b"] } }, @@ -700,6 +710,7 @@ "lanes": "80,81,82,83", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp11"], + "1x10G": ["etp11"], "2x50G[25G,10G,1G]": ["etp11a", "etp11b"] } }, @@ -708,6 +719,7 @@ "lanes": "88,89,90,91", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp12"], + "1x10G": ["etp12"], "2x50G[25G,10G,1G]": ["etp12a", "etp12b"] } }, @@ -716,6 +728,7 @@ "lanes": "96,97,98,99", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp13"], + "1x10G": ["etp13"], "2x50G[25G,10G,1G]": ["etp13a", "etp13b"] } }, @@ -724,6 +737,7 @@ "lanes": "104,105,106,107", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp14"], + "1x10G": ["etp14"], "2x50G[25G,10G,1G]": ["etp14a", "etp14b"] } }, @@ -732,6 +746,7 @@ "lanes": "112,113,114,115", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp15"], + "1x10G": ["etp15"], "2x50G[25G,10G,1G]": ["etp15a", "etp15b"] } }, @@ -740,6 +755,7 @@ "lanes": "120,121,122,123", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp16"], + "1x10G": ["etp16"], "2x50G[25G,10G,1G]": ["etp16a", "etp16b"] } }, @@ -748,6 +764,7 @@ "lanes": "128,129,130,131", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp17"], + "1x10G": ["etp17"], "2x50G[25G,10G,1G]": ["etp17a", "etp17b"] } }, @@ -756,6 +773,7 @@ "lanes": "136,137,138,139", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp18"], + "1x10G": ["etp18"], "2x50G[25G,10G,1G]": ["etp18a", "etp18b"] } }, @@ -764,6 +782,7 @@ "lanes": "144,145,146,147", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp19"], + "1x10G": ["etp19"], "2x50G[25G,10G,1G]": ["etp19a", "etp19b"] } }, @@ -772,6 +791,7 @@ "lanes": "152,153,154,155", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp20"], + "1x10G": ["etp20"], "2x50G[25G,10G,1G]": ["etp20a", "etp20b"] } }, @@ -780,6 +800,7 @@ "lanes": "160,161,162,163", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp21"], + "1x10G": ["etp21"], "2x50G[25G,10G,1G]": ["etp21a", "etp21b"] } }, @@ -788,6 +809,7 @@ "lanes": "168,169,170,171", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp22"], + "1x10G": ["etp22"], "2x50G[25G,10G,1G]": ["etp22a", "etp22b"] } }, @@ -796,6 +818,7 @@ "lanes": "176,177,178,179", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp23"], + "1x10G": ["etp23"], "2x50G[25G,10G,1G]": ["etp23a", "etp23b"] } }, @@ -804,6 +827,7 @@ "lanes": "184,185,186,187", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp24"], + "1x10G": ["etp24"], "2x50G[25G,10G,1G]": ["etp24a", "etp24b"] } }, @@ -812,6 +836,7 @@ "lanes": "192,193,194,195", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp25"], + "1x10G": ["etp25"], "2x50G[25G,10G,1G]": ["etp25a", "etp25b"] } }, @@ -820,6 +845,7 @@ "lanes": "200,201,202,203", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp26"], + "1x10G": ["etp26"], "2x50G[25G,10G,1G]": ["etp26a", "etp26b"] } }, @@ -828,6 +854,7 @@ "lanes": "208,209,210,211", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp27"], + "1x10G": ["etp27"], "2x50G[25G,10G,1G]": ["etp27a", "etp27b"] } }, @@ -836,6 +863,7 @@ "lanes": "216,217,218,219", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp28"], + "1x10G": ["etp28"], "2x50G[25G,10G,1G]": ["etp28a", "etp28b"] } }, @@ -844,6 +872,7 @@ "lanes": "224,225,226,227", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp29"], + "1x10G": ["etp29"], "2x50G[25G,10G,1G]": ["etp29a", "etp29b"] } }, @@ -852,6 +881,7 @@ "lanes": "232,233,234,235", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp30"], + "1x10G": ["etp30"], "2x50G[25G,10G,1G]": ["etp30a", "etp30b"] } }, @@ -860,6 +890,7 @@ "lanes": "240,241,242,243", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp31"], + "1x10G": ["etp31"], "2x50G[25G,10G,1G]": ["etp31a", "etp31b"] } }, @@ -868,6 +899,7 @@ "lanes": "248,249,250,251", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp32"], + "1x10G": ["etp32"], "2x50G[25G,10G,1G]": ["etp32a", "etp32b"] } }, @@ -876,6 +908,7 @@ "lanes": "256,257,258,259", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp33"], + "1x10G": ["etp33"], "2x50G[25G,10G,1G]": ["etp33a", "etp33b"] } }, @@ -884,6 +917,7 @@ "lanes": "264,265,266,267", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp34"], + "1x10G": ["etp34"], "2x50G[25G,10G,1G]": ["etp34a", "etp34b"] } }, @@ -892,6 +926,7 @@ "lanes": "272,273,274,275", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp35"], + "1x10G": ["etp35"], "2x50G[25G,10G,1G]": ["etp35a", "etp35b"] } }, @@ -900,6 +935,7 @@ "lanes": "280,281,282,283", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp36"], + "1x10G": ["etp36"], "2x50G[25G,10G,1G]": ["etp36a", "etp36b"] } }, @@ -908,6 +944,7 @@ "lanes": "288,289,290,291", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp37"], + "1x10G": ["etp37"], "2x50G[25G,10G,1G]": ["etp37a", "etp37b"] } }, @@ -916,6 +953,7 @@ "lanes": "296,297,298,299", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp38"], + "1x10G": ["etp38"], "2x50G[25G,10G,1G]": ["etp38a", "etp38b"] } }, @@ -924,6 +962,7 @@ "lanes": "304,305,306,307", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp39"], + "1x10G": ["etp39"], "2x50G[25G,10G,1G]": ["etp39a", "etp39b"] } }, @@ -932,6 +971,7 @@ "lanes": "312,313,314,315", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp40"], + "1x10G": ["etp40"], "2x50G[25G,10G,1G]": ["etp40a", "etp40b"] } }, @@ -940,6 +980,7 @@ "lanes": "320,321,322,323", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp41"], + "1x10G": ["etp41"], "2x50G[25G,10G,1G]": ["etp42a", "etp42b"] } }, @@ -948,6 +989,7 @@ "lanes": "328,329,330,331", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp42"], + "1x10G": ["etp42"], "2x50G[25G,10G,1G]": ["etp42a", "etp42b"] } }, @@ -956,6 +998,7 @@ "lanes": "336,337,338,339", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp43"], + "1x10G": ["etp43"], "2x50G[25G,10G,1G]": ["etp43a", "etp43b"] } }, @@ -964,6 +1007,7 @@ "lanes": "344,345,346,347", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp44"], + "1x10G": ["etp44"], "2x50G[25G,10G,1G]": ["etp44a", "etp44b"] } }, @@ -972,6 +1016,7 @@ "lanes": "352,353,354,355", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp45"], + "1x10G": ["etp45"], "2x50G[25G,10G,1G]": ["etp45a", "etp45b"] } }, @@ -980,6 +1025,7 @@ "lanes": "360,361,362,363", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp46"], + "1x10G": ["etp46"], "2x50G[25G,10G,1G]": ["etp46a", "etp46b"] } }, @@ -988,6 +1034,7 @@ "lanes": "368,369,370,371", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp47"], + "1x10G": ["etp47"], "2x50G[25G,10G,1G]": ["etp47a", "etp47b"] } }, @@ -996,6 +1043,7 @@ "lanes": "376,377,378,379", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp48"], + "1x10G": ["etp48"], "2x50G[25G,10G,1G]": ["etp48a", "etp48b"] } }, @@ -1004,6 +1052,7 @@ "lanes": "384,385,386,387", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp49"], + "1x10G": ["etp49"], "2x50G[25G,10G,1G]": ["etp49a", "etp49b"] } }, @@ -1012,6 +1061,7 @@ "lanes": "392,393,394,395", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp50"], + "1x10G": ["etp50"], "2x50G[25G,10G,1G]": ["etp50a", "etp50b"] } }, @@ -1020,6 +1070,7 @@ "lanes": "400,401,402,403", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp51"], + "1x10G": ["etp51"], "2x50G[25G,10G,1G]": ["etp51a", "etp51b"] } }, @@ -1028,6 +1079,7 @@ "lanes": "408,409,410,411", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp52"], + "1x10G": ["etp52"], "2x50G[25G,10G,1G]": ["etp52a", "etp52b"] } }, @@ -1036,6 +1088,7 @@ "lanes": "416,417,418,419", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp53"], + "1x10G": ["etp53"], "2x50G[25G,10G,1G]": ["etp53a", "etp53b"] } }, @@ -1044,6 +1097,7 @@ "lanes": "424,425,426,427", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp54"], + "1x10G": ["etp54"], "2x50G[25G,10G,1G]": ["etp54a", "etp54b"] } }, @@ -1052,6 +1106,7 @@ "lanes": "432,433,434,435", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp55"], + "1x10G": ["etp55"], "2x50G[25G,10G,1G]": ["etp55a", "etp55b"] } }, @@ -1060,6 +1115,7 @@ "lanes": "440,441,442,443", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp56"], + "1x10G": ["etp56"], "2x50G[25G,10G,1G]": ["etp56a", "etp56b"] } }, @@ -1068,6 +1124,7 @@ "lanes": "448,449,450,451", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp57"], + "1x10G": ["etp57"], "2x50G[25G,10G,1G]": ["etp57a", "etp57b"] } }, @@ -1076,6 +1133,7 @@ "lanes": "456,457,458,459", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp58"], + "1x10G": ["etp58"], "2x50G[25G,10G,1G]": ["etp58a", "etp58b"] } }, @@ -1084,6 +1142,7 @@ "lanes": "464,465,466,467", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp59"], + "1x10G": ["etp59"], "2x50G[25G,10G,1G]": ["etp59a", "etp59b"] } }, @@ -1092,6 +1151,7 @@ "lanes": "472,473,474,475", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp60"], + "1x10G": ["etp60"], "2x50G[25G,10G,1G]": ["etp60a", "etp60b"] } }, @@ -1100,6 +1160,7 @@ "lanes": "480,481,482,483", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp61"], + "1x10G": ["etp61"], "2x50G[25G,10G,1G]": ["etp61a", "etp61b"] } }, @@ -1108,6 +1169,7 @@ "lanes": "488,489,490,491", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp62"], + "1x10G": ["etp62"], "2x50G[25G,10G,1G]": ["etp62a", "etp62b"] } }, @@ -1116,6 +1178,7 @@ "lanes": "496,497,498,499", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp63"], + "1x10G": ["etp63"], "2x50G[25G,10G,1G]": ["etp63a", "etp63b"] } }, @@ -1124,6 +1187,7 @@ "lanes": "504,505,506,507", "breakout_modes": { "1x100G[50G,40G,25G,10G,1G]": ["etp64"], + "1x10G": ["etp64"], "2x50G[25G,10G,1G]": ["etp64a", "etp64b"] } }