Skip to content

Commit 249dfa9

Browse files
authored
[Nokia-7220 IXR]Update device files for NOKIA 7220 H4-32D (sonic-net#20559)
Why I did it Update for NOKIA 7220 H4-32D and NOKIA 7220 H4 to achieve 100% pass in OC for T0/T1 topology How I did it Added files under ../device/nokia/x86_64-nokia_ixr7220_h4_32d-r0 directory. Added files under ../device/nokia/x86_64-nokia_ixr7220_h4-r0 directory. How to verify it Make sure the sonic-buildimage is successful Run this image on x86_64-nokia_ixr7220_h4_32d-r0 and x86_64-nokia_ixr7220_h4-r0 and verify all dockers are up and test basic commands
1 parent 03c5b8a commit 249dfa9

22 files changed

+7561
-1727
lines changed

device/nokia/x86_64-nokia_ixr7220_h4-r0/Nokia-IXR7220-H4-64D/buffers_defaults_t0.j2

+9-10
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,32 @@
1010
{%- macro generate_buffer_pool_and_profiles() %}
1111
"BUFFER_POOL": {
1212
"ingress_lossless_pool": {
13-
"size": "57000140",
13+
"size": "113143792",
1414
"type": "ingress",
1515
"mode": "dynamic",
16-
"xoff": "19247104"
16+
"xoff": "48404780"
1717
},
18-
"egress_lossless_pool": {
19-
"size": "57000140",
18+
"egress_lossless_pool": {
19+
"size": "56571896",
2020
"type": "egress",
2121
"mode": "dynamic"
22-
}
22+
}
2323
},
2424
"BUFFER_PROFILE": {
2525
"ingress_lossy_profile": {
2626
"pool":"ingress_lossless_pool",
2727
"size":"0",
28-
"static_th":"58787284"
28+
"dynamic_th":"-1"
2929
},
3030
"egress_lossy_profile": {
3131
"pool":"egress_lossless_pool",
32-
"size":"1778",
33-
"dynamic_th":"0"
32+
"size":"0",
33+
"dynamic_th":"-4"
3434
},
3535
"egress_lossless_profile": {
3636
"pool":"egress_lossless_pool",
3737
"size":"0",
38-
"static_th":"58787284"
38+
"dynamic_th":"3"
3939
}
4040
},
4141
{%- endmacro %}
42-

device/nokia/x86_64-nokia_ixr7220_h4-r0/Nokia-IXR7220-H4-64D/buffers_defaults_t1.j2

+9-10
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,32 @@
1010
{%- macro generate_buffer_pool_and_profiles() %}
1111
"BUFFER_POOL": {
1212
"ingress_lossless_pool": {
13-
"size": "57000140",
13+
"size": "113143792",
1414
"type": "ingress",
1515
"mode": "dynamic",
16-
"xoff": "19247104"
16+
"xoff": "48404780"
1717
},
18-
"egress_lossless_pool": {
19-
"size": "57000140",
18+
"egress_lossless_pool": {
19+
"size": "56571896",
2020
"type": "egress",
2121
"mode": "dynamic"
22-
}
22+
}
2323
},
2424
"BUFFER_PROFILE": {
2525
"ingress_lossy_profile": {
2626
"pool":"ingress_lossless_pool",
2727
"size":"0",
28-
"static_th":"58787284"
28+
"dynamic_th":"-1"
2929
},
3030
"egress_lossy_profile": {
3131
"pool":"egress_lossless_pool",
32-
"size":"1778",
33-
"dynamic_th":"0"
32+
"size":"0",
33+
"dynamic_th":"-4"
3434
},
3535
"egress_lossless_profile": {
3636
"pool":"egress_lossless_pool",
3737
"size":"0",
38-
"static_th":"58787284"
38+
"dynamic_th":"3"
3939
}
4040
},
4141
{%- endmacro %}
42-

device/nokia/x86_64-nokia_ixr7220_h4-r0/Nokia-IXR7220-H4-64D/ixr7220_h4_64d.bcm

+16-4
Original file line numberDiff line numberDiff line change
@@ -1129,11 +1129,23 @@ device:
11291129
# FLEX_STATE_ING_OPERMODE_PIPEUNIQUE: 0
11301130
# FLEX_STATE_EGR_OPERMODE_PIPEUNIQUE: 1
11311131

1132-
# Lossy vs Lossless mode
1133-
TM_THD_CONFIG:
1134-
THRESHOLD_MODE: LOSSLESS
1135-
11361132
# IFP mode
11371133
FP_CONFIG:
11381134
FP_ING_OPERMODE: GLOBAL_PIPE_AWARE
11391135
...
1136+
---
1137+
device:
1138+
0:
1139+
TM_THD_CONFIG:
1140+
THRESHOLD_MODE: LOSSY_AND_LOSSLESS
1141+
...
1142+
---
1143+
device:
1144+
0:
1145+
TM_ING_PORT_PRI_GRP:
1146+
?
1147+
PORT_ID: [1, 5, 9, 13, 17, 21, 25, 29, 34, 38, 42, 46, 50, 51, 55, 59, 63, 68, 72, 76, 80, 85, 89, 93, 97, 102, 106, 110, 114, 119, 123, 127, 131, 136, 140, 144, 148, 150, 153, 157, 161, 165, 170, 174, 178, 182, 187, 191, 195, 199, 204, 208, 212, 216, 221, 225, 229, 233, 238, 242, 246, 250, 255, 259, 263, 267]
1148+
TM_PRI_GRP_ID: [3,4]
1149+
:
1150+
PFC: 1
1151+
LOSSLESS: 1

0 commit comments

Comments
 (0)