Skip to content

Commit 237c88d

Browse files
committed
[H5-64D]Update device files for NOKIA 7220 H5-64D
1 parent c1e7f33 commit 237c88d

19 files changed

+11119
-143
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{%- macro generate_port_lists(PORT_ALL) %}
2+
{# Generate list of ports #}
3+
{%- for port_idx in range(0, 512, 8) %}
4+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
5+
{%- endfor %}
6+
{% if PORT_ALL.append("Ethernet513") %}{% endif %}
7+
{%- endmacro %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{%- set default_topo = 't1' %}
2+
{%- include 'buffers_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- include 'buffer_ports.j2' %}
4+
5+
{%- macro generate_buffer_pool_and_profiles() %}
6+
"BUFFER_POOL": {
7+
"ingress_lossless_pool": {
8+
"size": "161176208",
9+
"type": "ingress",
10+
"mode": "dynamic",
11+
"xoff": "29520896"
12+
},
13+
"egress_lossless_pool": {
14+
"size": "161176208",
15+
"type": "egress",
16+
"mode": "dynamic"
17+
}
18+
},
19+
"BUFFER_PROFILE": {
20+
"ingress_lossy_profile": {
21+
"pool":"ingress_lossless_pool",
22+
"size":"0",
23+
"dynamic_th":"-1"
24+
},
25+
"egress_lossy_profile": {
26+
"pool":"egress_lossless_pool",
27+
"size":"0",
28+
"dynamic_th":"-4"
29+
},
30+
"egress_lossless_profile": {
31+
"pool":"egress_lossless_pool",
32+
"size":"0",
33+
"dynamic_th":"3"
34+
}
35+
},
36+
{%- endmacro %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- include 'buffer_ports.j2' %}
4+
5+
{%- macro generate_buffer_pool_and_profiles() %}
6+
"BUFFER_POOL": {
7+
"ingress_lossless_pool": {
8+
"size": "161176208",
9+
"type": "ingress",
10+
"mode": "dynamic",
11+
"xoff": "29520896"
12+
},
13+
"egress_lossless_pool": {
14+
"size": "161176208",
15+
"type": "egress",
16+
"mode": "dynamic"
17+
}
18+
},
19+
"BUFFER_PROFILE": {
20+
"ingress_lossy_profile": {
21+
"pool":"ingress_lossless_pool",
22+
"size":"0",
23+
"dynamic_th":"-1"
24+
},
25+
"egress_lossy_profile": {
26+
"pool":"egress_lossless_pool",
27+
"size":"0",
28+
"dynamic_th":"-4"
29+
},
30+
"egress_lossless_profile": {
31+
"pool":"egress_lossless_pool",
32+
"size":"0",
33+
"dynamic_th":"3"
34+
}
35+
},
36+
{%- endmacro %}

device/nokia/x86_64-nokia_ixr7220_h5_64d-r0/Nokia-IXR7220-H5-64D/h5_64Dx400g.yml device/nokia/x86_64-nokia_ixr7220_h5_64d-r0/Nokia-IXR7220-H5-64D/h5_64dx400g.yml

+133-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,48 @@
11
#
2-
# $Copyright: (c) 2022-2023 Delta Electronics, INC.
3-
# Delta Electronics, INC. Proprietary and Confidential. All rights reserved.
2+
# $Copyright: (c) 2022 Broadcom.
3+
# Broadcom Proprietary and Confidential. All rights reserved.$
4+
#
5+
# BCM78900 64x800g port configuration.
6+
#
7+
# configuration yaml file
8+
# device:
9+
# <unit>:
10+
# <table>:
11+
# ?
12+
# <key_fld_1>: <value>
13+
# <key_fld_2>: <value>
14+
# ...
15+
# <key_fld_n>: <value>
16+
# :
17+
# <data_fld_1>: <value>
18+
# <data_fld_2>: <value>
19+
# ...
20+
# <data_fld_n>: <value>
421
#
522

23+
---
24+
bcm_device:
25+
0:
26+
global:
27+
pktio_mode: 1
28+
vlan_flooding_l2mc_num_reserved: 0
29+
ipv6_lpm_128b_enable: 1
30+
shared_block_mask_section: uc_bc
31+
skip_protocol_default_entries: 1
32+
# LTSW uses value 1 for ALPM combined mode
33+
l3_alpm_template: 1
34+
l3_alpm_hit_skip: 1
35+
sai_feat_tail_timestamp : 1
36+
sai_port_phy_time_sync_en : 1
37+
sai_field_group_auto_prioritize: 1
38+
#l3_intf_vlan_split_egress for MTU at L3IF
39+
l3_intf_vlan_split_egress : 1
40+
pfc_deadlock_seq_control : 1
41+
sai_tunnel_support: 2
42+
bcm_tunnel_term_compatible_mode: 1
43+
l3_ecmp_member_first_lkup_mem_size: 12288
44+
default_cpu_tx_queue: 7
45+
sai_l3_byte1_udf_disable: 1
646
---
747
device:
848
0:
@@ -775,6 +815,18 @@ device:
775815
TX_LANE_MAP: 0x34702561
776816
RX_POLARITY_FLIP: 0x6A
777817
TX_POLARITY_FLIP: 0x84
818+
?
819+
PC_PM_ID: 65
820+
CORE_INDEX: 0
821+
:
822+
RX_LANE_MAP_AUTO: 0
823+
TX_LANE_MAP_AUTO: 0
824+
RX_POLARITY_FLIP_AUTO: 0
825+
TX_POLARITY_FLIP_AUTO: 0
826+
RX_LANE_MAP: 0x3210
827+
TX_LANE_MAP: 0x3210
828+
RX_POLARITY_FLIP: 0x04
829+
TX_POLARITY_FLIP: 0x00
778830
...
779831
---
780832
device:
@@ -1042,14 +1094,6 @@ device:
10421094
:
10431095
PC_PHYS_PORT_ID: 505
10441096
# mgmt port
1045-
?
1046-
PORT_ID: 76
1047-
:
1048-
PC_PHYS_PORT_ID: 513
1049-
?
1050-
PORT_ID: 164
1051-
:
1052-
PC_PHYS_PORT_ID: 514
10531097
?
10541098
PORT_ID: 186
10551099
:
@@ -1104,18 +1148,92 @@ device:
11041148
[330, 331],
11051149
[341, 342]]
11061150
:
1107-
ENABLE: 1
1151+
ENABLE: 0
11081152
SPEED: 400000
1109-
NUM_LANES: 8
1153+
NUM_LANES: 4
11101154
FEC_MODE: PC_FEC_RS544_2XN
11111155
MAX_FRAME_SIZE: 9416
1112-
LINK_TRAINING: 1
1156+
LINK_TRAINING: 0
11131157
?
1114-
PORT_ID: [76, 164, 186, 274]
1158+
PORT_ID: [274, 186]
11151159
:
1116-
ENABLE: 1
1160+
ENABLE: 0
11171161
SPEED: 10000
11181162
NUM_LANES: 1
11191163
MAX_FRAME_SIZE: 9416
11201164

11211165
...
1166+
---
1167+
bcm_device:
1168+
0:
1169+
global:
1170+
ftem_mem_entries: 65536
1171+
...
1172+
---
1173+
device:
1174+
0:
1175+
# Per pipe flex counter configuration
1176+
CTR_EFLEX_CONFIG:
1177+
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
1178+
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
1179+
1180+
# IFP mode
1181+
FP_CONFIG:
1182+
FP_ING_OPERMODE: GLOBAL_PIPE_AWARE
1183+
...
1184+
---
1185+
device:
1186+
0:
1187+
DEVICE_CONFIG:
1188+
AUTOLOAD_BOARD_SETTINGS: 0
1189+
...
1190+
---
1191+
device:
1192+
0:
1193+
TM_THD_CONFIG:
1194+
THRESHOLD_MODE: LOSSY_AND_LOSSLESS
1195+
...
1196+
---
1197+
device:
1198+
0:
1199+
TM_ING_PORT_PRI_GRP:
1200+
?
1201+
PORT_ID: [[1, 2],
1202+
[11, 12],
1203+
[22, 23],
1204+
[33, 34],
1205+
[44, 45],
1206+
[55, 56],
1207+
[66, 67],
1208+
[77, 78],
1209+
[88, 89],
1210+
[99, 100],
1211+
[110, 111],
1212+
[121, 122],
1213+
[132, 133],
1214+
[143, 144],
1215+
[154, 155],
1216+
[165, 166],
1217+
[176, 177],
1218+
186,
1219+
[187, 188],
1220+
[198, 199],
1221+
[209, 210],
1222+
[220, 221],
1223+
[231, 232],
1224+
[242, 243],
1225+
[253, 254],
1226+
[264, 265],
1227+
274,
1228+
[275, 276],
1229+
[286, 287],
1230+
[297, 298],
1231+
[308, 309],
1232+
[319, 320],
1233+
[330, 331],
1234+
[341, 342]]
1235+
TM_PRI_GRP_ID: [3,4]
1236+
:
1237+
PFC: 1
1238+
LOSSLESS: 1
1239+
...

0 commit comments

Comments
 (0)