Add 36 port 400g SKU for x86_64-arista_7800r3a_36d series of Linecards. (#11872)

Add 36 port 400g SKU for x86_64-arista_7800r3a_36d series of Linecards.
This commit is contained in:
Bohan Yang 2022-10-13 20:36:44 -07:00 committed by GitHub
parent 0c68a43712
commit fad4034000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 2234 additions and 0 deletions

View File

@ -0,0 +1 @@
Arista-7800R3A-36D2-D36

View File

@ -0,0 +1,2 @@
{%- set default_topo = 't2' %}
{%- include 'buffers_config.j2' %}

View File

@ -0,0 +1,37 @@
{%- set default_cable = '300m' %}
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0,144,8) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "6441610000",
"type": "both",
"mode": "dynamic",
"xoff": "11354112"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"1280",
"xon_offset": "2560",
"dynamic_th":"0"
},
"egress_lossless_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"static_th":"33030144"
},
"egress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"-1"
}
},
{%- endmacro %}

View File

@ -0,0 +1,25 @@
{
"CONTEXTS": [
{
"guid" : 0,
"name" : "syncd",
"dbAsic" : "ASIC_DB",
"dbCounters" : "COUNTERS_DB",
"dbFlex": "FLEX_COUNTER_DB",
"dbState" : "STATE_DB",
"zmq_enable": false,
"zmq_endpoint": "tcp://127.0.0.1:5555",
"zmq_ntf_endpoint": "tcp://127.0.0.1:5556",
"switches": [
{
"index" : 0,
"hwinfo" : "06:00.0"
},
{
"index" : 1,
"hwinfo" : "07:00.0"
}
]
}
]
}

View File

@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
40000 300m 1280 2560 69632 0 1280
100000 300m 1280 2560 110592 0 1280
400000 300m 1280 2560 315392 0 1280
40000 1000m 1280 2560 114688 0 1280
100000 1000m 1280 2560 225280 0 1280
400000 1000m 1280 2560 778240 0 1280
40000 2000m 1280 2560 184320 0 1280
100000 2000m 1280 2560 393216 0 1280
400000 2000m 1280 2560 1445888 0 1280
40000 80000m 1280 2560 5369856 0 1280
100000 80000m 1280 2560 13357056 0 1280
400000 80000m 1280 2560 53305344 0 1280
40000 120000m 1280 2560 8028160 0 1280
100000 120000m 1280 2560 20004864 0 1280
400000 120000m 1280 2560 79900672 0 1280

View File

@ -0,0 +1,21 @@
# name lanes alias index role speed asic_port_name coreId corePortId numVoq
Ethernet0 72,73,74,75,76,77,78,79 Ethernet1/1 1 Ext 400000 Eth0-ASIC0 1 1 8
Ethernet8 80,81,82,83,84,85,86,87 Ethernet2/1 2 Ext 400000 Eth8-ASIC0 1 2 8
Ethernet16 88,89,90,91,92,93,94,95 Ethernet3/1 3 Ext 400000 Eth16-ASIC0 1 3 8
Ethernet24 96,97,98,99,100,101,102,103 Ethernet4/1 4 Ext 400000 Eth24-ASIC0 1 4 8
Ethernet32 104,105,106,107,108,109,110,111 Ethernet5/1 5 Ext 400000 Eth32-ASIC0 1 5 8
Ethernet40 112,113,114,115,116,117,118,119 Ethernet6/1 6 Ext 400000 Eth40-ASIC0 1 6 8
Ethernet48 120,121,122,123,124,125,126,127 Ethernet7/1 7 Ext 400000 Eth48-ASIC0 1 7 8
Ethernet56 128,129,130,131,132,133,134,135 Ethernet8/1 8 Ext 400000 Eth56-ASIC0 1 8 8
Ethernet64 136,137,138,139,140,141,142,143 Ethernet9/1 9 Ext 400000 Eth64-ASIC0 1 9 8
Ethernet72 64,65,66,67,68,69,70,71 Ethernet10/1 10 Ext 400000 Eth72-ASIC0 0 10 8
Ethernet80 56,57,58,59,60,61,62,63 Ethernet11/1 11 Ext 400000 Eth80-ASIC0 0 11 8
Ethernet88 48,49,50,51,52,53,54,55 Ethernet12/1 12 Ext 400000 Eth88-ASIC0 0 12 8
Ethernet96 40,41,42,43,44,45,46,47 Ethernet13/1 13 Ext 400000 Eth96-ASIC0 0 13 8
Ethernet104 32,33,34,35,36,37,38,39 Ethernet14/1 14 Ext 400000 Eth104-ASIC0 0 14 8
Ethernet112 24,25,26,27,28,29,30,31 Ethernet15/1 15 Ext 400000 Eth112-ASIC0 0 15 8
Ethernet120 16,17,18,19,20,21,22,23 Ethernet16/1 16 Ext 400000 Eth120-ASIC0 0 16 8
Ethernet128 8,9,10,11,12,13,14,15 Ethernet17/1 17 Ext 400000 Eth128-ASIC0 0 17 8
Ethernet136 0,1,2,3,4,5,6,7 Ethernet18/1 18 Ext 400000 Eth136-ASIC0 0 18 8
Ethernet-Rec0 221 Recirc0/0 19 Rec 400000 Rcy0-ASIC0 0 221 8
Ethernet-IB0 222 Recirc0/1 20 Inb 400000 Rcy1-ASIC0 1 222 8

View File

@ -0,0 +1 @@
{%- include 'qos_config.j2' %}

View File

@ -0,0 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/j2p-a7800r3a-36d-36x400G.config.bcm

View File

@ -0,0 +1,2 @@
{%- set default_topo = 't2' %}
{%- include 'buffers_config.j2' %}

View File

@ -0,0 +1,37 @@
{%- set default_cable = '300m' %}
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(144,288,8) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "6441610000",
"type": "both",
"mode": "dynamic",
"xoff": "11354112"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"1280",
"xon_offset": "2560",
"dynamic_th":"0"
},
"egress_lossless_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"static_th":"33030144"
},
"egress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"-1"
}
},
{%- endmacro %}

View File

@ -0,0 +1 @@
../0/context_config.json

View File

@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
40000 300m 1280 2560 69632 0 1280
100000 300m 1280 2560 110592 0 1280
400000 300m 1280 2560 315392 0 1280
40000 1000m 1280 2560 114688 0 1280
100000 1000m 1280 2560 225280 0 1280
400000 1000m 1280 2560 778240 0 1280
40000 2000m 1280 2560 184320 0 1280
100000 2000m 1280 2560 393216 0 1280
400000 2000m 1280 2560 1445888 0 1280
40000 80000m 1280 2560 5369856 0 1280
100000 80000m 1280 2560 13357056 0 1280
400000 80000m 1280 2560 53305344 0 1280
40000 120000m 1280 2560 8028160 0 1280
100000 120000m 1280 2560 20004864 0 1280
400000 120000m 1280 2560 79900672 0 1280

View File

@ -0,0 +1,21 @@
# name lanes alias index role speed asic_port_name coreId corePortId numVoq
Ethernet144 72,73,74,75,76,77,78,79 Ethernet19/1 21 Ext 400000 Eth0-ASIC1 1 1 8
Ethernet152 80,81,82,83,84,85,86,87 Ethernet20/1 22 Ext 400000 Eth8-ASIC1 1 2 8
Ethernet160 88,89,90,91,92,93,94,95 Ethernet21/1 23 Ext 400000 Eth16-ASIC1 1 3 8
Ethernet168 96,97,98,99,100,101,102,103 Ethernet22/1 24 Ext 400000 Eth24-ASIC1 1 4 8
Ethernet176 104,105,106,107,108,109,110,111 Ethernet23/1 25 Ext 400000 Eth32-ASIC1 1 5 8
Ethernet184 112,113,114,115,116,117,118,119 Ethernet24/1 26 Ext 400000 Eth40-ASIC1 1 6 8
Ethernet192 120,121,122,123,124,125,126,127 Ethernet25/1 27 Ext 400000 Eth48-ASIC1 1 7 8
Ethernet200 128,129,130,131,132,133,134,135 Ethernet26/1 28 Ext 400000 Eth56-ASIC1 1 8 8
Ethernet208 136,137,138,139,140,141,142,143 Ethernet27/1 29 Ext 400000 Eth64-ASIC1 1 9 8
Ethernet216 64,65,66,67,68,69,70,71 Ethernet28/1 30 Ext 400000 Eth72-ASIC1 0 10 8
Ethernet224 56,57,58,59,60,61,62,63 Ethernet29/1 31 Ext 400000 Eth80-ASIC1 0 11 8
Ethernet232 48,49,50,51,52,53,54,55 Ethernet30/1 32 Ext 400000 Eth88-ASIC1 0 12 8
Ethernet240 40,41,42,43,44,45,46,47 Ethernet31/1 33 Ext 400000 Eth96-ASIC1 0 13 8
Ethernet248 32,33,34,35,36,37,38,39 Ethernet32/1 34 Ext 400000 Eth104-ASIC1 0 14 8
Ethernet256 24,25,26,27,28,29,30,31 Ethernet33/1 35 Ext 400000 Eth112-ASIC1 0 15 8
Ethernet264 16,17,18,19,20,21,22,23 Ethernet34/1 36 Ext 400000 Eth120-ASIC1 0 16 8
Ethernet272 8,9,10,11,12,13,14,15 Ethernet35/1 37 Ext 400000 Eth128-ASIC1 0 17 8
Ethernet280 0,1,2,3,4,5,6,7 Ethernet36/1 38 Ext 400000 Eth136-ASIC1 0 18 8
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8

View File

@ -0,0 +1 @@
{%- include 'qos_config.j2' %}

View File

@ -0,0 +1 @@
../0/sai.profile

View File

@ -0,0 +1 @@
Arista-7800R3A-36D2-D36

View File

@ -0,0 +1 @@
Arista-7800R3A-36D2-D36

View File

@ -0,0 +1 @@
Arista-7800R3A-36D2-D36

View File

@ -0,0 +1 @@
Arista-7800R3A-36D2-D36