[Nokia][IXR7250E] Add Nokia platform Nokia-IXR7250E-36x100GE 100G line card device dat (#11382)

Signed-off-by: mlok <marty.lok@nokia.com>
This commit is contained in:
Marty Y. Lok 2022-07-14 11:14:34 -04:00 committed by Ying Xie
parent f56963603b
commit 948c932cee
18 changed files with 4345 additions and 0 deletions

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,36) %}
{%- 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": "24979046"
}
},
"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,21 @@
{
"CONTEXTS": [
{
"guid" : 0,
"name" : "syncd0",
"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"
}
]
}
]
}

View File

@ -0,0 +1,12 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
100000 300m 1280 2560 110592 0 1280
400000 300m 1280 2560 315392 0 1280
100000 1000m 1280 2560 225280 0 1280
400000 1000m 1280 2560 778240 0 1280
100000 2000m 1280 2560 393216 0 1280
400000 2000m 1280 2560 1445888 0 1280
100000 80000m 1280 2560 1388544 0 1280
400000 80000m 1280 2560 5435392 0 1280
100000 120000m 1280 2560 2056192 0 1280
400000 120000m 1280 2560 8093696 0 1280

View File

@ -0,0 +1,21 @@
# name lanes alias index asic_port_name role speed coreid coreportid numvoq
Ethernet0 72,73,74,75 Ethernet0 1 Eth0-ASIC0 Ext 100000 1 1 8
Ethernet1 80,81,82,83 Ethernet1 2 Eth1-ASIC0 Ext 100000 1 2 8
Ethernet2 88,89,90,91 Ethernet2 3 Eth2-ASIC0 Ext 100000 1 3 8
Ethernet3 96,97,98,99 Ethernet3 4 Eth3-ASIC0 Ext 100000 1 4 8
Ethernet4 104,105,106,107 Ethernet4 5 Eth4-ASIC0 Ext 100000 1 5 8
Ethernet5 112,113,114,115 Ethernet5 6 Eth5-ASIC0 Ext 100000 1 6 8
Ethernet6 120,121,122,123 Ethernet6 7 Eth6-ASIC0 Ext 100000 1 7 8
Ethernet7 128,129,130,131 Ethernet7 8 Eth7-ASIC0 Ext 100000 1 8 8
Ethernet8 136,137,138,139 Ethernet8 9 Eth8-ASIC0 Ext 100000 1 9 8
Ethernet9 64,65,66,67 Ethernet9 10 Eth9-ASIC0 Ext 100000 0 10 8
Ethernet10 56,57,58,59 Ethernet10 11 Eth10-ASIC0 Ext 100000 0 11 8
Ethernet11 48,49,50,51 Ethernet11 12 Eth11-ASIC0 Ext 100000 0 12 8
Ethernet12 40,41,42,43 Ethernet12 13 Eth12-ASIC0 Ext 100000 0 13 8
Ethernet13 32,33,34,35 Ethernet13 14 Eth13-ASIC0 Ext 100000 0 14 8
Ethernet14 24,25,26,27 Ethernet14 15 Eth14-ASIC0 Ext 100000 0 15 8
Ethernet15 16,17,18,19 Ethernet15 16 Eth15-ASIC0 Ext 100000 0 16 8
Ethernet16 8,9,10,11 Ethernet16 17 Eth16-ASIC0 Ext 100000 0 17 8
Ethernet17 0,1,2,3 Ethernet17 18 Eth17-ASIC0 Ext 100000 0 18 8
Ethernet-IB0 115 Ethernet-IB0 37 Rcy1-ASIC0 Inb 10000 0 19 8
Ethernet-Rec0 116 Ethernet-Rec0 39 Rcy2-ASIC0 Rec 10000 1 20 8

View File

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

View File

@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x100g-4x25g-config.bcm

View File

@ -0,0 +1,36 @@
phy set 3 reg=0xd134 data=-8 lane=0
phy set 3 reg=0xd135 data=132 lane=0
phy set 3 reg=0xd136 data=-8 lane=0
phy set 3 reg=0xd137 data=0 lane=0
phy set 3 reg=0xd138 data=0 lane=0
phy set 3 reg=0xd133 data=0x1802 lane=0
phy set 3 reg=0xd134 data=-8 lane=1
phy set 3 reg=0xd135 data=132 lane=1
phy set 3 reg=0xd136 data=-12 lane=1
phy set 3 reg=0xd137 data=0 lane=1
phy set 3 reg=0xd138 data=0 lane=1
phy set 3 reg=0xd133 data=0x1800 lane=1
phy set 3 reg=0xd134 data=-8 lane=7
phy set 3 reg=0xd135 data=132 lane=7
phy set 3 reg=0xd136 data=-8 lane=7
phy set 3 reg=0xd137 data=0 lane=7
phy set 3 reg=0xd138 data=0 lane=7
phy set 3 reg=0xd133 data=0x1804 lane=7
phy set 6 reg=0xd134 data=-8 lane=1
phy set 6 reg=0xd135 data=132 lane=1
phy set 6 reg=0xd136 data=-8 lane=1
phy set 6 reg=0xd137 data=0 lane=1
phy set 6 reg=0xd138 data=0 lane=1
phy set 6 reg=0xd133 data=0x1802 lane=1
phy set 8 reg=0xd134 data=-8 lane=1
phy set 8 reg=0xd135 data=132 lane=1
phy set 8 reg=0xd136 data=-8 lane=1
phy set 8 reg=0xd137 data=0 lane=1
phy set 8 reg=0xd138 data=0 lane=1
phy set 8 reg=0xd133 data=0x1802 lane=1

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,36) %}
{%- 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": "24979046"
}
},
"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,21 @@
{
"CONTEXTS": [
{
"guid" : 0,
"name" : "syncd1",
"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" : 1,
"hwinfo" : "07:00.0"
}
]
}
]
}

View File

@ -0,0 +1,12 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
100000 300m 1280 2560 110592 0 1280
400000 300m 1280 2560 315392 0 1280
100000 1000m 1280 2560 225280 0 1280
400000 1000m 1280 2560 778240 0 1280
100000 2000m 1280 2560 393216 0 1280
400000 2000m 1280 2560 1445888 0 1280
100000 80000m 1280 2560 1388544 0 1280
400000 80000m 1280 2560 5435392 0 1280
100000 120000m 1280 2560 2056192 0 1280
400000 120000m 1280 2560 8093696 0 1280

View File

@ -0,0 +1,21 @@
# name lanes alias index asic_port_name role speed coreid coreportid numvoq
Ethernet18 72,73,74,75 Ethernet18 19 Eth0-ASIC1 Ext 100000 1 1 8
Ethernet19 80,81,82,83 Ethernet19 20 Eth1-ASIC1 Ext 100000 1 2 8
Ethernet20 88,89,90,91 Ethernet20 21 Eth2-ASIC1 Ext 100000 1 3 8
Ethernet21 96,97,98,99 Ethernet21 22 Eth3-ASIC1 Ext 100000 1 4 8
Ethernet22 104,105,106,107 Ethernet22 23 Eth4-ASIC1 Ext 100000 1 5 8
Ethernet23 112,113,114,115 Ethernet23 24 Eth5-ASIC1 Ext 100000 1 6 8
Ethernet24 120,121,122,123 Ethernet24 25 Eth6-ASIC1 Ext 100000 1 7 8
Ethernet25 128,129,130,131 Ethernet25 26 Eth7-ASIC1 Ext 100000 1 8 8
Ethernet26 136,137,138,139 Ethernet26 27 Eth8-ASIC1 Ext 100000 1 9 8
Ethernet27 64,65,66,67 Ethernet27 28 Eth9-ASIC1 Ext 100000 0 10 8
Ethernet28 56,57,58,59 Ethernet28 29 Eth10-ASIC1 Ext 100000 0 11 8
Ethernet29 48,49,50,51 Ethernet29 30 Eth11-ASIC1 Ext 100000 0 12 8
Ethernet30 40,41,42,43 Ethernet30 31 Eth12-ASIC1 Ext 100000 0 13 8
Ethernet31 32,33,34,35 Ethernet31 32 Eth13-ASIC1 Ext 100000 0 14 8
Ethernet32 24,25,26,27 Ethernet32 33 Eth14-ASIC1 Ext 100000 0 15 8
Ethernet33 16,17,18,19 Ethernet33 34 Eth15-ASIC1 Ext 100000 0 16 8
Ethernet34 8,9,10,11 Ethernet34 35 Eth16-ASIC1 Ext 100000 0 17 8
Ethernet35 0,1,2,3 Ethernet35 36 Eth17-ASIC1 Ext 100000 0 18 8
Ethernet-IB1 115 Ethernet-IB1 38 Rcy1-ASIC1 Inb 10000 0 19 8
Ethernet-Rec1 116 Ethernet-Rec1 40 Rcy2-ASIC1 Rec 10000 1 20 8

View File

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

View File

@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x100g-4x25g-config.bcm

View File

@ -0,0 +1,6 @@
phy set 8 reg=0xd134 data=-8 lane=1
phy set 8 reg=0xd135 data=132 lane=1
phy set 8 reg=0xd136 data=-8 lane=1
phy set 8 reg=0xd137 data=0 lane=1
phy set 8 reg=0xd138 data=0 lane=1
phy set 8 reg=0xd133 data=0x1802 lane=1