blob: 239ee72b827b72cc6366e5bd1ff259e9626188d5 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001#
2# $Id: config-sand.bcm,v 1.140 2013/09/22 14:29:47 tomerma Exp $
3#
4# $Copyright: (c) 2011 Broadcom Corporation
5# All Rights Reserved.$
6
7#########################################
8##cfg for BCM88640 (PetraB) and BCM88650 (Arad)
9#########################################
10
11## temporary suppressing unknown soc properties warnings - till adding them unknown to property.h/propgen
12## (need to be the first soc property in the file).
13suppress_unknown_prop_warnings=1
14
15## Multi device system (Negev): 2 devices, fabric mode is FE, mod id is slot id
16## (Top line card is 0, button is 1).
17#diag_chassis=1
18
19## Disable diag init application. Should be used if one wants to run his own
20## application instead of the diag init example
21#diag_disable=1
22
23## Skip cosq configuration in diag_init
24#diag_cosq_disable=1
25
26#########################################
27##cfg for BCM88650 - Arad
28#########################################
29
30### Device configuration ###
31
32## Activate Emulation partial init. Values: 0 - Normal, 1 - Emulation .Default: 0x0.
33diag_emulator_partial_init.BCM88650=0
34
35## General
36# Set the FAP Device mode
37# Options: PP / TM / TDM_OPTIMIZED / TDM_STANDARD
38fap_device_mode.BCM88650=PP
39
40## Credit worth size (Bytes)
41credit_size.BCM88650=1024
42
43## Clock configurations
44# Core clock speed (MHz). Default: 600 MHz
45core_clock_speed_khz.BCM88650=600000
46# System reference clock (MHz). Default: 600 MHz
47system_ref_core_clock_khz.BCM88650=600000
48
49### Network Interface configuration ###
50## Use of the ucode_port_<Local-Port-Id>=<Interface-type>[<Interface-Id>][.<Channel-Id>]
51## Local port range: 0 - 255.
52## Interface types: XAUI/RXAUI/SGMII/ILKN/10GBase-R/XLGE/CGE/CPU
53
54# Map bcm local port to CPU[.channel] interfaces
55ucode_port_180.BCM88650=CPU.0
56
57pon_application_support_enabled_0.BCM88650=TRUE
58pon_application_support_enabled_1.BCM88650=TRUE
59pon_application_support_enabled_2.BCM88650=TRUE
60pon_application_support_enabled_3.BCM88650=TRUE
61#pon_application_support_enabled_4.BCM88650=TRUE
62#pon_application_support_enabled_5.BCM88650=TRUE
63#pon_application_support_enabled_6.BCM88650=TRUE
64#pon_application_support_enabled_7.BCM88650=TRUE
65
66vlan_match_criteria_mode=PON_PCP_ETHERTYPE
67
68#Firmware mode:
69# 0=DEFAULT
70# 1=SFP_OPT_SR4 - optical short range
71# 2=SFP_DAC - direct attach copper
72# 3=XLAUI - 40G XLAUI mode
73# 4=FORCE_OSDFE - force over sample digital feedback equalization
74# 5=FORCE_BRDFE - force baud rate digital feedback equalization
75# 6=SW_CL72 - software cl72 with AN on
76# 7=CL72_WITHOUT_AN - cl72 without AN
77#For Negev2 chassis enable DFE is recommended
78
79serdes_if_type=1024
80
81#serdes_firmware_mode.BCM88650=3
82serdes_firmware_mode_il.BCM88650=4
83serdes_firmware_mode_sfi.BCM88650=0
84
85#
86# Serdes firmware mode for Channelized PON interfaces
87#
88#serdes_firmware_mode_xe0.BCM88650=0
89#serdes_firmware_mode_xe1.BCM88650=0
90#serdes_firmware_mode_xe2.BCM88650=0
91#serdes_firmware_mode_xe3.BCM88650=0
92#serdes_firmware_mode_xe4.BCM88650=0
93#serdes_firmware_mode_xe5.BCM88650=0
94#serdes_firmware_mode_xe6.BCM88650=0
95#serdes_firmware_mode_xe7.BCM88650=0
96#serdes_firmware_mode_xe8.BCM88650=0
97#serdes_firmware_mode_xe9.BCM88650=0
98#serdes_firmware_mode_xe10.BCM88650=0
99#serdes_firmware_mode_xe11.BCM88650=0
100#serdes_firmware_mode_xe12.BCM88650=0
101#serdes_firmware_mode_xe13.BCM88650=0
102#serdes_firmware_mode_xe14.BCM88650=0
103#serdes_firmware_mode_xe15.BCM88650=0
104
105#
106# Serdes firmware mode for NNI interfaces
107#
108serdes_firmware_mode_xe128.BCM88650=2
109serdes_firmware_mode_xe129.BCM88650=2
110serdes_firmware_mode_xe130.BCM88650=2
111serdes_firmware_mode_xe131.BCM88650=2
112serdes_firmware_mode_xe0.BCM88650=2
113serdes_firmware_mode_xe1.BCM88650=2
114serdes_firmware_mode_xe2.BCM88650=2
115serdes_firmware_mode_xe3.BCM88650=2
116
117#
118# Set the speed for the PON-side ports (connected to Pioneer) to 12.5G
119#
120#port_init_speed_xe0.BCM88650=12500
121#port_init_speed_xe1.BCM88650=12500
122#IL# change xe2, xe3 speed to 1G
123port_init_speed_xe2.BCM88650=1000
124port_init_speed_xe3.BCM88650=1000
125#port_init_speed_xe4.BCM88650=12500
126#port_init_speed_xe5.BCM88650=12500
127#port_init_speed_xe6.BCM88650=12500
128#port_init_speed_xe7.BCM88650=12500
129#port_init_speed_xe8.BCM88650=12500
130#port_init_speed_xe9.BCM88650=12500
131#port_init_speed_xe10.BCM88650=12500
132#port_init_speed_xe11.BCM88650=12500
133#port_init_speed_xe12.BCM88650=12500
134#port_init_speed_xe13.BCM88650=12500
135#port_init_speed_xe14.BCM88650=12500
136#port_init_speed_xe15.BCM88650=12500
137
138#
139# Set the number of priorities for the PON-side ports (connected to
140# Pioneer) to '2'.
141#
142port_priorities_xe0.BCM88650=2
143port_priorities_xe1.BCM88650=2
144port_priorities_xe2.BCM88650=2
145port_priorities_xe3.BCM88650=2
146#port_priorities_xe4.BCM88650=2
147#port_priorities_xe5.BCM88650=2
148#port_priorities_xe6.BCM88650=2
149#port_priorities_xe7.BCM88650=2
150#port_priorities_xe8.BCM88650=2
151#port_priorities_xe9.BCM88650=2
152#port_priorities_xe10.BCM88650=2
153#port_priorities_xe11.BCM88650=2
154#port_priorities_xe12.BCM88650=2
155#port_priorities_xe13.BCM88650=2
156#port_priorities_xe14.BCM88650=2
157#port_priorities_xe15.BCM88650=2
158
159#
160# Map bcm local port to Network-Interface[.channel] interfaces
161#
162# PON Interfaces
163#
164
165#
166# Non-channelized PON Interfaces
167#
168# Uncomment the following if using non-channelized PON interfaces with
169# Pioneer.
170#
171#ucode_port_0.BCM88650=10GBase-R8
172#ucode_port_1.BCM88650=10GBase-R9
173#ucode_port_2.BCM88650=10GBase-R10
174#ucode_port_3.BCM88650=10GBase-R11
175#ucode_port_4.BCM88650=10GBase-R12
176#ucode_port_5.BCM88650=10GBase-R13
177#ucode_port_6.BCM88650=10GBase-R14
178#ucode_port_7.BCM88650=10GBase-R15
179
180#
181# Channelized PON Interfaces
182#
183# Define virtual ports for the 10G Channels
184#
185#ucode_port_0.BCM88650=10GBase-R8.0
186#ucode_port_1.BCM88650=10GBase-R9.0
187#ucode_port_2.BCM88650=10GBase-R10.0
188#ucode_port_3.BCM88650=10GBase-R11.0
189#ucode_port_4.BCM88650=10GBase-R12.0
190#ucode_port_5.BCM88650=10GBase-R13.0
191#ucode_port_6.BCM88650=10GBase-R14.0
192#ucode_port_7.BCM88650=10GBase-R15.0
193
194#
195# Define virtual ports for the 1G Channels
196#
197#ucode_port_8.BCM88650=10GBase-R8.1
198#ucode_port_9.BCM88650=10GBase-R9.1
199#ucode_port_10.BCM88650=10GBase-R10.1
200#ucode_port_11.BCM88650=10GBase-R11.1
201#ucode_port_12.BCM88650=10GBase-R12.1
202#ucode_port_13.BCM88650=10GBase-R13.1
203#ucode_port_14.BCM88650=10GBase-R14.1
204#ucode_port_15.BCM88650=10GBase-R15.1
205
206#
207# NNI Interfaces
208#
209ucode_port_128.BCM88650=10GBase-R0
210ucode_port_129.BCM88650=10GBase-R1
211ucode_port_130.BCM88650=10GBase-R2
212ucode_port_131.BCM88650=10GBase-R3
213ucode_port_0.BCM88650=10GBase-R4
214ucode_port_1.BCM88650=10GBase-R5
215ucode_port_2.BCM88650=10GBase-R6
216ucode_port_3.BCM88650=10GBase-R7
217
218#ucode_port_200.BCM88650=CPU.1
219#ucode_port_201.BCM88650=CPU.2
220#ucode_port_202.BCM88650=CPU.3
221#ucode_port_203.BCM88650=CPU.4
222
223#40G
224#ucode_port_1.BCM88650=XLGE0
225#ucode_port_2.BCM88650=XLGE1
226#ucode_port_3.BCM88650=XLGE2
227#ucode_port_4.BCM88650=XLGE3
228#ucode_port_5.BCM88650=XLGE4
229#ucode_port_6.BCM88650=XLGE5
230#ucode_port_7.BCM88650=XLGE6
231
232#ILKN configuration - basic config
233#ucode_port_31.BCM88650=ILKN0
234#ucode_port_32.BCM88650=ILKN1
235#ilkn_num_lanes_0.BCM88650=12
236#ilkn_num_lanes_1.BCM88650=12
237#port_init_speed_il.BCM88650=10312
238
239
240#ILKN per port channel stat
241#ilkn_counters_mode.BCM88650=PACKET_PER_CHANNEL
242
243#ILKN configuration - advanced
244#ilkn_metaframe_sync_period=2048
245# Enable\Disable ILKN status message sent through an out-of-band interface.
246# ilkn_interface_status_oob_ignore.BCM88650=1
247
248##ILKN retransmit
249#ilkn_retransmit_enable_rx.BCM88650=1
250#ilkn_retransmit_enable_tx.BCM88650=1
251#ilkn_retransmit_buffer_size.BCM88650=250
252#ilkn_retransmit_num_requests_resent.BCM88650=15
253#ilkn_retransmit_num_sn_repetitions_tx.BCM88650=1
254#ilkn_retransmit_num_sn_repetitions_rx.BCM88650=1
255#ilkn_retransmit_rx_timeout_words.BCM88650=3800
256#ilkn_retransmit_rx_timeout_sn.BCM88650=250
257#ilkn_retransmit_rx_ignore.BCM88650=80
258#ilkn_retransmit_rx_reset_when_error_enable.BCM88650=1
259#ilkn_retransmit_rx_watchdog.BCM88650=0
260#ilkn_retransmit_rx_reset_when_alligned_error_enable.BCM88650=1
261#ilkn_retransmit_rx_reset_when_retry_error_enable.BCM88650=1
262#ilkn_retransmit_rx_reset_when_wrap_after_disc_error_enable.BCM88650=1
263#ilkn_retransmit_rx_reset_when_wrap_before_disc_error_enable.BCM88650=0
264#ilkn_retransmit_rx_reset_when_timout_error_enable.BCM88650=0
265#ilkn_retransmit_tx_wait_for_seq_num_change_enable.BCM88650=1
266#ilkn_retransmit_tx_ignore_requests_when_fifo_almost_empty.BCM88650=1
267
268#ucode_port_40.BCM88650=RCY.0
269#ucode_port_41.BCM88650=RCY.1
270#ucode_port_42.BCM88650=RCY.2
271
272## CAUI Configuration
273#ucode_port_41.BCM88650=CGE0
274#ucode_port_42.BCM88650=CGE1
275caui_num_lanes_0.BCM88650=10
276caui_num_lanes_1.BCM88650=10
277#Required for working IXIA 100G port:
278mld_lane_swap_lane20_ce.BCM88650=0
279mld_lane_swap_lane21_ce.BCM88650=1
280mld_lane_swap_lane0_ce.BCM88650=20
281mld_lane_swap_lane1_ce.BCM88650=21
282
283# This configures the lane polarity
284pb_serdes_lane_swap_polarity_tx_phy1.BCM88650=1
285pb_serdes_lane_swap_polarity_tx_phy2.BCM88650=0
286pb_serdes_lane_swap_polarity_tx_phy3.BCM88650=0
287pb_serdes_lane_swap_polarity_tx_phy4.BCM88650=0
288pb_serdes_lane_swap_polarity_tx_phy5.BCM88650=1
289pb_serdes_lane_swap_polarity_tx_phy6.BCM88650=0
290pb_serdes_lane_swap_polarity_tx_phy7.BCM88650=0
291pb_serdes_lane_swap_polarity_tx_phy8.BCM88650=0
292pb_serdes_lane_swap_polarity_tx_phy9.BCM88650=0
293pb_serdes_lane_swap_polarity_tx_phy10.BCM88650=0
294pb_serdes_lane_swap_polarity_tx_phy11.BCM88650=0
295pb_serdes_lane_swap_polarity_tx_phy12.BCM88650=0
296pb_serdes_lane_swap_polarity_tx_phy13.BCM88650=0
297pb_serdes_lane_swap_polarity_tx_phy14.BCM88650=0
298pb_serdes_lane_swap_polarity_tx_phy15.BCM88650=0
299pb_serdes_lane_swap_polarity_tx_phy16.BCM88650=0
300pb_serdes_lane_swap_polarity_tx_phy17.BCM88650=0
301pb_serdes_lane_swap_polarity_tx_phy18.BCM88650=0
302pb_serdes_lane_swap_polarity_tx_phy19.BCM88650=0
303pb_serdes_lane_swap_polarity_tx_phy20.BCM88650=0
304pb_serdes_lane_swap_polarity_tx_phy21.BCM88650=0
305pb_serdes_lane_swap_polarity_tx_phy22.BCM88650=0
306pb_serdes_lane_swap_polarity_tx_phy23.BCM88650=0
307pb_serdes_lane_swap_polarity_tx_phy24.BCM88650=0
308pb_serdes_lane_swap_polarity_tx_phy25.BCM88650=0
309pb_serdes_lane_swap_polarity_tx_phy26.BCM88650=0
310pb_serdes_lane_swap_polarity_tx_phy27.BCM88650=0
311pb_serdes_lane_swap_polarity_tx_phy28.BCM88650=0
312
313pb_serdes_lane_swap_polarity_rx_phy1.BCM88650=0
314pb_serdes_lane_swap_polarity_rx_phy2.BCM88650=0
315pb_serdes_lane_swap_polarity_rx_phy3.BCM88650=0
316pb_serdes_lane_swap_polarity_rx_phy4.BCM88650=0
317pb_serdes_lane_swap_polarity_rx_phy5.BCM88650=0
318pb_serdes_lane_swap_polarity_rx_phy6.BCM88650=0
319pb_serdes_lane_swap_polarity_rx_phy7.BCM88650=0
320pb_serdes_lane_swap_polarity_rx_phy8.BCM88650=0
321pb_serdes_lane_swap_polarity_rx_phy9.BCM88650=0
322pb_serdes_lane_swap_polarity_rx_phy10.BCM88650=0
323pb_serdes_lane_swap_polarity_rx_phy11.BCM88650=0
324pb_serdes_lane_swap_polarity_rx_phy12.BCM88650=0
325pb_serdes_lane_swap_polarity_rx_phy13.BCM88650=0
326pb_serdes_lane_swap_polarity_rx_phy14.BCM88650=0
327pb_serdes_lane_swap_polarity_rx_phy15.BCM88650=0
328pb_serdes_lane_swap_polarity_rx_phy16.BCM88650=0
329pb_serdes_lane_swap_polarity_rx_phy17.BCM88650=0
330pb_serdes_lane_swap_polarity_rx_phy18.BCM88650=0
331pb_serdes_lane_swap_polarity_rx_phy19.BCM88650=0
332pb_serdes_lane_swap_polarity_rx_phy20.BCM88650=0
333pb_serdes_lane_swap_polarity_rx_phy21.BCM88650=0
334pb_serdes_lane_swap_polarity_rx_phy22.BCM88650=0
335pb_serdes_lane_swap_polarity_rx_phy23.BCM88650=0
336pb_serdes_lane_swap_polarity_rx_phy24.BCM88650=0
337pb_serdes_lane_swap_polarity_rx_phy25.BCM88650=0
338pb_serdes_lane_swap_polarity_rx_phy26.BCM88650=0
339pb_serdes_lane_swap_polarity_rx_phy27.BCM88650=0
340pb_serdes_lane_swap_polarity_rx_phy28.BCM88650=0
341
342xgxs_tx_lane_map_quad0.BCM88650=0x3210
343xgxs_tx_lane_map_quad1.BCM88650=0x3210
344xgxs_tx_lane_map_quad2.BCM88650=0x3210
345xgxs_tx_lane_map_quad3.BCM88650=0x3210
346xgxs_tx_lane_map_quad4.BCM88650=0x3210
347xgxs_tx_lane_map_quad5.BCM88650=0x3210
348xgxs_tx_lane_map_quad6.BCM88650=0x3210
349
350xgxs_rx_lane_map_quad0.BCM88650=0x3210
351xgxs_rx_lane_map_quad1.BCM88650=0x3210
352xgxs_rx_lane_map_quad2.BCM88650=0x3210
353xgxs_rx_lane_map_quad3.BCM88650=0x3210
354xgxs_rx_lane_map_quad4.BCM88650=0x3210
355xgxs_rx_lane_map_quad5.BCM88650=0x3210
356xgxs_rx_lane_map_quad6.BCM88650=0x3210
357
358
359
360#High voltage driver strap. If 0, connected to 1.4V supply; if 1, connected to 1V mode.
361#for specific quad use srd_tx_drv_hv_disable_quad_X where X is (FSRD num * 4 + internal quad)
362srd_tx_drv_hv_disable.BCM88650=1
363
364#Port init mode
365#port_init_duplex=0
366#port_init_adv=0
367#port_init_autoneg=0
368
369
370# This disables serdes initialization
371# phy_null.BCM88650=1
372
373## Number of Internal ports
374# Enable the ERP port. Values: 0 / 1.
375num_erp_tm_ports.BCM88650=1
376# Enable the OLP port. Values: 0 / 1.
377num_olp_tm_ports.BCM88650=1
378# Enable OAMP
379num_oamp_ports.BCM88650=0
380
381## Firmware Load Method
382load_firmware.BCM88650=0x102
383
384### Headers configuration ###
385
386## Use of the tm_port_header_type_<Local-Port-Id>=<Header-type>
387## Default header type is derived from fap_device_mode: If fap_device_mode is
388## PP, default header type is ETH. Otherwise, defualt header type is TM.
389## Header type per port can be overriden.
390## All options: ETH/RAW/TM/PROG/CPU/STACKING/TDM/TDM_RAW/UDH_ETH
391## Injected header types: if PTCH, INJECTED (local Port of type TM) or INJECTED_PP (PP)
392## if PTCH-2, INJECTED_2 (local Port of type TM) or INJECTED_2_PP (PP)
393
394# Set CPU to work with TM header (ITMH)
395#tm_port_header_type_0.BCM88650=TM
396
397tm_port_header_type_in_180.BCM88650=INJECTED_2
398tm_port_header_type_out_180.BCM88650=CPU
399
400tm_port_header_type_in_200.BCM88650=INJECTED_2_PP
401tm_port_header_type_out_200.BCM88650=ETH
402tm_port_header_type_in_201.BCM88650=INJECTED_2_PP
403tm_port_header_type_out_201.BCM88650=ETH
404tm_port_header_type_in_202.BCM88650=INJECTED_2_PP
405tm_port_header_type_out_202.BCM88650=ETH
406tm_port_header_type_in_203.BCM88650=INJECTED_2_PP
407tm_port_header_type_out_203.BCM88650=ETH
408
409### Parser Configuration ###
410# Parser has 4 custom macros that are allocated dynamically and
411# configured according to the following features and soc properties:
412# Trill (1 macro) - trill_mode
413# FCoE (2 macros) - bcm886xx_fcoe_switch_mode
414# VxLAN (1 macro) - bcm886xx_vxlan_enable
415# IPv6-Extension-header (2 macros) - bcm886xx_ipv6_ext_hdr_enable
416# UDP (1 macro) - UDP parsing is enabled by default, and can be
417# disabled with soc property custom_feature_udp_parse_disable
418# When disabling UDP parsing VxLAN and 1588oUDP are affected
419
420# Enable IPv6 Extension Header, 0 - disable (default), 1 - enable
421#bcm886xx_ipv6_ext_hdr_enable=1
422
423# Disable UDP parsing, 0 - enable (default), 1 - disable
424#custom_feature_udp_parse_disable=1
425
426#OAMP port
427#tm_port_header_type_out_232.BCM88650=CPU
428
429#MPLS-TP channel types for OAM/BFD - If MPLS-TP used, channel should be specified
430#Available types: mplstp_bfd_control_channel_type
431# mplstp_pw_ach_channel_type
432# mplstp_dlm_channel_type
433# mplstp_ilm_channel_type
434# mplstp_dm_channel_type
435# mplstp_ipv4_channel_type
436# mplstp_cc_channel_type
437# mplstp_cv_channel_type
438# mplstp_on_demand_cv_channel_type
439# mplstp_pwe_oam_channel_type
440# mplstp_ipv6_channel_type
441# mplstp_fault_oam_channel_type
442# mplstp_g8113_channel_type
443#mplstp_g8113_channel_type=0x8902
444
445
446
447# Set the recycling port processing to be raw (static forwarding)
448tm_port_header_type_rcy.BCM88650=RAW
449
450### RCPU
451# Valid CPU local ports on which RCPU packets can be received by slave device.
452#rcpu_rx_pbmp=0xf00000000000000000000000000000000000000000000000001
453
454#tm_port_header_type_514.BCM88650=RAW
455
456## Header extensions
457# Set if an FTMH Out-LIF extension is present to Unicast and Multicast packets
458# Options: NEVER / IF_MC (only Multicast packets) / ALWAYS
459fabric_ftmh_outlif_extension.BCM88650=IF_MC
460
461# Set the FTMH Load-Balancing Key extension mode
462# Options for 88660: ENABLED, FULL_HASH
463# Options for 88650: ENABLED
464# Options for 88640 compatible: DISABLED / 8B_LB_KEY_8B_STACKING_ROUTE_HISTORY / 16B_STACKING_ROUTE_HISTORY / STANDBY_MC_LB
465# (available only for AradPlus)
466# Default: DISABLED
467system_ftmh_load_balancing_ext_mode.BCM88650=DISABLED
468
469# Set if an OTMH Out-LIF (CUD) Extension is present to Unicast and Multicast packets
470# Options: NEVER / IF_MC (only Multicast packets) / ALWAYS / DOUBLE_TAG (two hop scheduling)
471# Default: NEVER
472# tm_port_otmh_outlif_ext_mode_13.BCM88650=NEVER
473
474# Set if an OTMH Source-System-Port Extension is present.
475# Option: 0/1
476# Default: 0
477# tm_port_otmh_src_ext_enable_13.BCM88650=0
478
479#Trunk hash format, relevant only for AradPlus. Possible values: NORMAL (default) / INVERTED / DUPLICATED.
480#trunk_hash_format=NORMAL
481
482## Stacking Application
483#stacking_enable.BCM88650=1
484#custom_feature_stamp_uc_destination.BCM88650=1
485
486## System RED
487# Set System-Red functionality.
488#system_red_enable.BCM88650=1
489
490# Indicate the size (Bytes) of a first header to skip
491# before the major header at ingress (e.g. Ethernet, ITMH)
492# It can be set per port also
493first_header_size.BCM88650=0
494
495# Indicate the size (Bytes) of the PMF Extension Headers
496# to remove for TM header type ports (expecting ITMH)
497# Set per port
498#post_headers_size_0.BCM88650=4
499
500# Indicate the size (Bytes) of the User-Headers: configurable
501# headers located in the fabric between internal headers and
502# Ethernet. Their values are set by Ingress FP, and can be used
503# by Egress FP or Egress Editor.
504# units: bits. 4 values can be set:
505# 0 - size of the 1st User-Header, for the Egress PMF. 0b / 8b / 16b
506# 1 - size of the 2nd User-Header, for the Egress PMF. 0b / 8b / 16b
507# The sum of these 2 values should be under 16b
508# 2, 3 - size of the 1st/2nd User-Header, for the Egress Editor.
509# 0b / 8b / 16b / 24b / 32b
510# Each of the global User-Header size must be under 32 bits, but not 24 bits.
511# The Egress FP field is always at the MSB of the User-Header
512# Not available for 88650-A0.
513#field_class_id_size_0.BCM88650=8
514#field_class_id_size_1.BCM88650=0
515#field_class_id_size_2.BCM88650=24
516#field_class_id_size_3.BCM88650=0
517
518
519### Trunk - LAG configuration ###
520# Set Set the number of LAGs: 1024, 512, 256, 128 or 64
521number_of_trunks.BCM88650=256
522
523### SYNCE configuration ###
524## Synchronous Ethernet Signal Mode.
525## Options: TWO_DIFF_CLK, TWO_CLK_AND_VALID. Default: TWO_CLK_AND_VALID
526#sync_eth_mode.BCM88650=TWO_CLK_AND_VALID
527
528## Clock Source (single SerDes) lane in the specified NIF port.
529## Usage: sync_eth_clk_to_nif_id_clk_<clk_number>=<serdes_number>
530#sync_eth_clk_to_nif_id_clk_0.BCM88650=1
531#sync_eth_clk_to_nif_id_clk_1.BCM88650=1
532
533## Clock Divider for the selected recovered clock. Valid values: 1/2/4. Default: 1.
534## Usage: sync_eth_clk_divider_clk_<clk_number>=<1/2/4>
535#sync_eth_clk_divider_clk_0.BCM88650=1
536#sync_eth_clk_divider_clk_1.BCM88650=1
537
538## Enable the automatic squelch function for the recovered clock. Valid values: 0/1. Default: 0.
539## Usage: sync_eth_clk_squelch_enable_clk_<clk_number>=<0/1>
540#sync_eth_clk_squelch_enable_clk_0.BCM88650=0
541#sync_eth_clk_squelch_enable_clk_1.BCM88650=0
542
543### ELK configuration ###
544## External lookup (TCAM) Device type select, Indicate the External lookup Device type.
545# Value Options: NONE/NL88650. Default: NONE.
546#ext_tcam_dev_type=NL88650
547
548## Set ELK FWD table Size.
549# format: ext_xxx_fwd_table_size.
550# where xxx replaced by FWD options: ip4_uc_rpf/ip4_mc/ip6_uc_rpf/ip6/ip6_mc/trill_uc/trill_mc/mpls/coup_mpls
551# Value Options: (0) - External table disabled, >0: number of entries. Default: 0.
552#ext_ip4_uc_rpf_fwd_table_size=8192
553#ext_ip4_mc_fwd_table_size=8192
554
555## Set ELK IP FWD use NetRoute ALG.
556# Value Options: ALG_LPM_LPM/ALG_LPM_NETROUTE/ALG_LPM_TCAM. Default: ALG_LPM_TCAM.
557#ext_fwd_algorithm_lpm=ALG_LPM_TCAM
558
559## Set ELK interface mode.
560# Change ELK interface configuration to support CAUI port.
561# Value Options: 0/1. 0 - Normal mode, 1 2 CAUI port + ELK mode. Default: 0.
562#ext_interface_mode=0
563
564### Configure MDIO interface
565# External MDIO clock rate divisor . Default: 0x24.
566#rate_ext_mdio_divisor=0x36
567# External MDIO clock rate divisor. Default: 0x1.
568#rate_ext_mdio_dividend=1
569
570### TDM - OTN configuration ###
571#fap_tdm_bypass.BCM88650=0
572
573# Indicate if a Petra-B device is connected to the actual device
574# For TDM/OTN applications,
575# system_is_petra_b_in_system.BCM88650=0
576##Indicate if TDM can arrive throgh primary pipe.
577#Should be 1 for a System with PetraB that connected to fabric over primary pipe.
578fabric_tdm_over_primary_pipe.BCM88650=0
579
580### Fabric configuration ###
581#0-LFEC 1-8b\10b 2-FEC 3-BEC
582backplane_serdes_encoding.BCM88650=2
583#SFI speed rate
584port_init_speed_sfi.BCM88650=10312
585#CL72
586#port_init_cl72_sfi=0
587fabric_segmentation_enable.BCM88650=1
588
589## Fabric transmission mode
590# Set the Connect mode to the Fabric
591# Options: FE - presence of a Fabric device (single stage) / MULT_STAGE_FE - Multi-stage /
592# SINGLE_FAP - stand-alone device / MESH - mesh / BACK2BACK - 2 devices in Mesh
593#fabric_connect_mode.BCM88650=SINGLE_FAP
594fabric_connect_mode.BCM88650=FE
595
596## Cell format configuration
597# Indicate if the traffic can be sent in dual pipe
598is_dual_mode.BCM88650=0
599# Indicate the format of the cell:
600# A VCS128 cell is used if system_is_vcs_128_in_system or system_is_fe600_in_system is TRUE
601system_is_vcs_128_in_system.BCM88650=0
602system_is_fe600_in_system.BCM88650=0
603
604### WRED ###
605
606# Set the maximum packet size for WRED tests. 0 - means ignore max packet size.
607discard_mtu_size.BCM88650=0
608
609### OCB (On-Chip Buffer) configuration ###
610# Enable the OCB
611# Enable MODES:
612# 0/FALSE --> OCB_DISABLED --> No OCB use
613# 1/TRUE --> OCB_ENABLED --> Like in Arad-A0/B0. Some packets may use both DRAM and OCB resources
614# ONE_WAY_BYPASS --> Depends on number of present drams (available only for AradPlus):
615# 0 drams: - OCB_ONLY
616# 1 drams: - OCB_ONLY_1_DRAM --> : OCB-only with 1 DRAM for the free pointers
617# 2-8 drams: - OCB_DRAM_SEPARATE --> : OCB and DRAM coexist separately
618# Default: TRUE.
619bcm886xx_ocb_enable.BCM88650=1
620
621# OCB Data Buffer size. Possible values: 128/256/512/1024. Default: 256.
622bcm886xx_ocb_databuffer_size.BCM88650=256
623# Repartition between Unicast and Full Multicast buffers.
624# 0: 80% Unicast and 20% Multicast, 1: Unicast-Only
625bcm886xx_ocb_repartition.BCM88650=0
626
627### PDM configuration ###
628# Set the PDM Mode.
629# 0: simple (default), 1: reduced (mandatory for LLFC-VSQ, PFC-VSQ, or ST-VSQ)
630bcm886xx_pdm_mode.BCM88650=0
631
632### Multicast Number of DBuff mode ###
633# Set IQM FMC buffers-replication sizes
634# Options for 88650: ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE/ARAD_INIT_FMC_64_REP_128K_DBUFF_MODE
635# Default: ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE
636multicast_nbr_full_dbuff.BCM88650=ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE
637
638### Multicast configuration ###
639# Multicast egress vlan membership range. By default: 0-4095.
640egress_multicast_direct_bitmap_min.BCM88650=0
641egress_multicast_direct_bitmap_max.BCM88650=4095
642
643### VOQ - Flow configuration ###
644
645# Set the VOQ mapping mode:
646# DIRECT: More than 4K System Ports are supported. System-level WRED is not supported.
647# INDIRECT: similar to Petra-B. Up to 4K System Ports.
648voq_mapping_mode.BCM88650=INDIRECT
649
650# Set the Base Queue to be added to the packet flow-id
651# when the Flow-Id is set explicitely either by the ITMH
652# or by the Destination resolution in the Packet processing
653flow_mapping_queue_base.BCM88650=0
654
655# Set the number of priorities supported at egress per Port
656# Options: 1 / 2 / 8
657port_priorities.BCM88650=8
658
659# Set the shared multicast resource mode: Strict / Discrete
660egress_shared_resources_mode.BCM88650=Strict
661
662# Define outgoing port rate mode in data rate or packet rate.
663# Options: DATA / PACKET
664otm_port_packet_rate.BCM88650=DATA
665
666# Set Port egress recycling scheduler configuration.
667# 0: Strict Priority Scheduler, 1: Round Robin Scheduler
668port_egress_recycling_scheduler_configuration.BCM88650=0
669
670# Set statically the region mode per region id
671# 0: queue connectors only (InterDigitated = FALSE, OddEven = TRUE)
672# 1: queue connectors, SE (InterDigitated =TRUE, OddEven = TRUE)
673# 2: queue connectors, SE (InterDigitated =TRUE, OddEven = FALSE)
674dtm_flow_mapping_mode_region_65.BCM88650=0
675dtm_flow_mapping_mode_region_66.BCM88650=0
676dtm_flow_mapping_mode_region_67.BCM88650=0
677dtm_flow_mapping_mode_region_68.BCM88650=0
678dtm_flow_mapping_mode_region_69.BCM88650=0
679dtm_flow_mapping_mode_region_70.BCM88650=0
680dtm_flow_mapping_mode_region_71.BCM88650=0
681dtm_flow_mapping_mode_region_72.BCM88650=0
682dtm_flow_mapping_mode_region_73.BCM88650=0
683dtm_flow_mapping_mode_region_74.BCM88650=0
684dtm_flow_mapping_mode_region_75.BCM88650=0
685dtm_flow_mapping_mode_region_76.BCM88650=0
686dtm_flow_mapping_mode_region_77.BCM88650=0
687dtm_flow_mapping_mode_region_78.BCM88650=0
688dtm_flow_mapping_mode_region_79.BCM88650=0
689dtm_flow_mapping_mode_region_80.BCM88650=0
690dtm_flow_mapping_mode_region_81.BCM88650=1
691dtm_flow_mapping_mode_region_82.BCM88650=1
692dtm_flow_mapping_mode_region_83.BCM88650=1
693dtm_flow_mapping_mode_region_84.BCM88650=1
694dtm_flow_mapping_mode_region_85.BCM88650=1
695dtm_flow_mapping_mode_region_86.BCM88650=1
696dtm_flow_mapping_mode_region_87.BCM88650=1
697dtm_flow_mapping_mode_region_88.BCM88650=1
698dtm_flow_mapping_mode_region_89.BCM88650=1
699dtm_flow_mapping_mode_region_90.BCM88650=1
700dtm_flow_mapping_mode_region_91.BCM88650=1
701dtm_flow_mapping_mode_region_92.BCM88650=1
702dtm_flow_mapping_mode_region_93.BCM88650=1
703dtm_flow_mapping_mode_region_94.BCM88650=1
704dtm_flow_mapping_mode_region_95.BCM88650=1
705dtm_flow_mapping_mode_region_96.BCM88650=1
706dtm_flow_mapping_mode_region_97.BCM88650=1
707dtm_flow_mapping_mode_region_98.BCM88650=1
708dtm_flow_mapping_mode_region_99.BCM88650=2
709dtm_flow_mapping_mode_region_100.BCM88650=2
710dtm_flow_mapping_mode_region_101.BCM88650=2
711dtm_flow_mapping_mode_region_102.BCM88650=2
712dtm_flow_mapping_mode_region_103.BCM88650=2
713dtm_flow_mapping_mode_region_104.BCM88650=2
714dtm_flow_mapping_mode_region_105.BCM88650=2
715dtm_flow_mapping_mode_region_106.BCM88650=2
716dtm_flow_mapping_mode_region_107.BCM88650=2
717dtm_flow_mapping_mode_region_108.BCM88650=2
718dtm_flow_mapping_mode_region_109.BCM88650=2
719dtm_flow_mapping_mode_region_110.BCM88650=2
720dtm_flow_mapping_mode_region_111.BCM88650=2
721dtm_flow_mapping_mode_region_112.BCM88650=2
722dtm_flow_mapping_mode_region_113.BCM88650=2
723dtm_flow_mapping_mode_region_114.BCM88650=2
724dtm_flow_mapping_mode_region_115.BCM88650=2
725dtm_flow_mapping_mode_region_116.BCM88650=2
726dtm_flow_mapping_mode_region_117.BCM88650=2
727dtm_flow_mapping_mode_region_118.BCM88650=2
728dtm_flow_mapping_mode_region_119.BCM88650=2
729dtm_flow_mapping_mode_region_120.BCM88650=2
730dtm_flow_mapping_mode_region_121.BCM88650=2
731dtm_flow_mapping_mode_region_122.BCM88650=2
732dtm_flow_mapping_mode_region_123.BCM88650=2
733dtm_flow_mapping_mode_region_124.BCM88650=2
734dtm_flow_mapping_mode_region_125.BCM88650=2
735dtm_flow_mapping_mode_region_126.BCM88650=2
736dtm_flow_mapping_mode_region_127.BCM88650=2
737dtm_flow_mapping_mode_region_128.BCM88650=2
738
739#IL# Configure number of symmetric cores each region supports ##
740dtm_flow_nof_remote_cores_region_1.BCM88650=2
741dtm_flow_nof_remote_cores_region_2.BCM88650=2
742dtm_flow_nof_remote_cores_region_3.BCM88650=2
743dtm_flow_nof_remote_cores_region_4.BCM88650=2
744dtm_flow_nof_remote_cores_region_5.BCM88650=2
745dtm_flow_nof_remote_cores_region_6.BCM88650=2
746dtm_flow_nof_remote_cores_region_7.BCM88650=2
747dtm_flow_nof_remote_cores_region_8.BCM88650=2
748dtm_flow_nof_remote_cores_region_9.BCM88650=2
749dtm_flow_nof_remote_cores_region_10.BCM88650=2
750dtm_flow_nof_remote_cores_region_11.BCM88650=2
751dtm_flow_nof_remote_cores_region_12.BCM88650=2
752dtm_flow_nof_remote_cores_region_13.BCM88650=2
753dtm_flow_nof_remote_cores_region_14.BCM88650=2
754dtm_flow_nof_remote_cores_region_15.BCM88650=2
755dtm_flow_nof_remote_cores_region_16.BCM88650=2
756dtm_flow_nof_remote_cores_region_17.BCM88650=2
757dtm_flow_nof_remote_cores_region_18.BCM88650=2
758dtm_flow_nof_remote_cores_region_19.BCM88650=2
759dtm_flow_nof_remote_cores_region_20.BCM88650=2
760dtm_flow_nof_remote_cores_region_21.BCM88650=2
761dtm_flow_nof_remote_cores_region_22.BCM88650=2
762dtm_flow_nof_remote_cores_region_23.BCM88650=2
763dtm_flow_nof_remote_cores_region_24.BCM88650=2
764dtm_flow_nof_remote_cores_region_25.BCM88650=2
765dtm_flow_nof_remote_cores_region_26.BCM88650=2
766dtm_flow_nof_remote_cores_region_27.BCM88650=2
767dtm_flow_nof_remote_cores_region_28.BCM88650=2
768dtm_flow_nof_remote_cores_region_29.BCM88650=2
769dtm_flow_nof_remote_cores_region_30.BCM88650=2
770dtm_flow_nof_remote_cores_region_31.BCM88650=2
771dtm_flow_nof_remote_cores_region_32.BCM88650=2
772dtm_flow_nof_remote_cores_region_33.BCM88650=2
773dtm_flow_nof_remote_cores_region_34.BCM88650=2
774dtm_flow_nof_remote_cores_region_35.BCM88650=2
775dtm_flow_nof_remote_cores_region_36.BCM88650=2
776dtm_flow_nof_remote_cores_region_37.BCM88650=2
777dtm_flow_nof_remote_cores_region_38.BCM88650=2
778dtm_flow_nof_remote_cores_region_39.BCM88650=2
779dtm_flow_nof_remote_cores_region_40.BCM88650=2
780dtm_flow_nof_remote_cores_region_41.BCM88650=2
781dtm_flow_nof_remote_cores_region_42.BCM88650=2
782dtm_flow_nof_remote_cores_region_43.BCM88650=2
783dtm_flow_nof_remote_cores_region_44.BCM88650=2
784dtm_flow_nof_remote_cores_region_45.BCM88650=2
785dtm_flow_nof_remote_cores_region_46.BCM88650=2
786dtm_flow_nof_remote_cores_region_47.BCM88650=2
787dtm_flow_nof_remote_cores_region_48.BCM88650=2
788dtm_flow_nof_remote_cores_region_49.BCM88650=2
789dtm_flow_nof_remote_cores_region_50.BCM88650=2
790dtm_flow_nof_remote_cores_region_51.BCM88650=2
791dtm_flow_nof_remote_cores_region_52.BCM88650=2
792dtm_flow_nof_remote_cores_region_53.BCM88650=2
793dtm_flow_nof_remote_cores_region_54.BCM88650=2
794dtm_flow_nof_remote_cores_region_55.BCM88650=2
795dtm_flow_nof_remote_cores_region_56.BCM88650=2
796dtm_flow_nof_remote_cores_region_57.BCM88650=2
797dtm_flow_nof_remote_cores_region_58.BCM88650=2
798dtm_flow_nof_remote_cores_region_59.BCM88650=2
799dtm_flow_nof_remote_cores_region_60.BCM88650=2
800#dtm_flow_nof_remote_cores_region_core0_2.BCM88675=2
801
802### Flow Control configuration ###
803# Set the Flow control type per Port.
804# Options: LL (Link-level) / CB2 (Class-Based - 2 classes) /
805# CB8 (Class-Based - 8 classes)
806# flow_control_type.BCM88650=LL
807
808## Out-Of-Band Flow control configuration
809#spn_FC_OOB_TYPE, spn_FC_OOB_MODE, spn_FC_OOB_CALENDER_LENGTH, spn_FC_OOB_CALENDER_REP_COUNT,
810
811## Set voltage mode for oob interfaces
812#HSTL_1.5V
813#3.3V
814#HSTL_1.5V_VDDO_DIV_2
815ext_voltage_mode_oob=3.3V
816
817## Inband Interlaken configuration
818# spn_FC_INBAND_INTLKN_MODE, spn_FC_INBAND_INTLKN_CALENDER_LENGTH, spn_FC_INBAND_INTLKN_CALENDER_REP_COUNT
819# spn_FC_INBAND_INTLKN_CALENDER_LLFC_MODE, spn_FC_INBAND_INTLKN_LLFC_MUB_ENABLE_MASK
820
821### Meter engine configuration ###
822
823# Specify meter operation mode
824# 32 - Two meters per packet (32k total)
825# 64 - One meter per packet (64k total)
826# Options: 0, 32, 64
827policer_ingress_count.BCM88650=32
828
829# For meters in double 32k mode, determine the sharing mode
830# Options:
831# 0 - NONE (only for 64k mode)
832# 1 - SERIAL (only for 32k mode)
833# 2 - PARALLEL (only for 32k mode)
834policer_ingress_sharing_mode.BCM88650=1
835
836# Applies only to Arad+ (88660)
837# For meters in parallel mode, determine the mapping
838# Options: BEST, WORST
839# policer_result_parallel_color_map.BCM88650=WORST
840
841# Applies only to Arad+ (88660)
842# For meters in parallel mode, determine how the buckets are changed
843# Options: CONSTANT, TRANSPARENT, DEFERRED
844# policer_result_parallel_bucket_update.BCM88650=CONSTANT
845
846# Applies only to Arad+ (88660)
847# Set the Ethernet policer to work in color blind mode
848# rate_color_blind.BCM88650=1
849
850# L2 learn limit mode
851# Options: VLAN, VLAN_PORT, TUNNEL or the numeric equivalent 0-2.
852# Default: VLAN
853# l2_learn_limit_mode = VLAN_PORT
854
855# Applies only to Arad+ (88660)
856# Determines the L2 learn limit ranges when l2_learn_limit_mode is set to VLAN_PORT
857# Two range bases can be selected, each of 16K size.
858# Options: 0, 16K, 32K, 48K.
859# Default: 0 & 16K
860# l2_learn_lif_range_base_0 = 0
861# l2_learn_lif_range_base_1 = 16K
862
863### Counter engine configuration ###
864
865# Set the Counter source
866# Options: INGRESS_FIELD / INGRESS_VOQ / INGRESS_VSQ
867# INGRESS_CNM / EGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM (per queue) / EGRESS_TM_PORT (per port)
868# EGRESS_RECEIVE_VSI / EGRESS_RECEIVE_OUT_LIF / EGRESS_RECEIVE_TM (per queue) / EGRESS_RECEIVE_TM_PORT (per port)
869# INGRESS_OAM / EGRESS_OAM
870# 2 Counter-Pointers can be set (with _0 and _1) for
871# INGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT
872# Range extension can be set (with _LSB and _MSB) for
873# INGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT /EGRESS_RECEIVE_VSI /
874# EGRESS_RECEIVE_OUT_LIF / EGRESS_RECEIVE_TM / EGRESS_RECEIVE_TM_PORT
875counter_engine_source_0.BCM88650=INGRESS_FIELD
876counter_engine_source_1.BCM88650=INGRESS_FIELD_1
877counter_engine_source_2.BCM88650=INGRESS_VOQ
878###
879### DML
880###
881### For DML applications, counter engine 3 is used for VOQ
882### counters. This in combination with configuring the engines used for
883### VOQs for FWD_DROP allows for counters for 32K VOQs.
884###
885#counter_engine_source_3.BCM88650=EGRESS_FIELD
886counter_engine_source_3.BCM88650=INGRESS_VOQ
887
888# Configure the statistic interface egress source
889# Options: EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT (the default is TM)
890# valid just when there is no conflict with the other counter engines
891#counter_engine_source_stat0.BCM88650=EGRESS_TM
892#counter_engine_source_stat1.BCM88650=EGRESS_TM
893
894
895# Set the Counter engine resolution
896# SIMPLE_COLOR = green, not green
897# SIMPLE_COLOR_FWD = fwd green, fwd not green (BCM88660_A0 only)
898# SIMPLE_COLOR_DROP = drop green, drop not green (BCM88660_A0 only)
899# FWD_DROP = forwarded, dropped
900# GREEN_NOT_GREEN = fwd grn, drop grn, fwd not grn, drop not grn
901# FULL_COLOR = fwd grn, drop grn, fwd not grn, drop yel, drop red
902# ALL = received
903# FWD = forwarded, DROP = droped (not supported by ARAD_A0)
904# CONFIGURABLE = defined by counter_engine_map_ SOC properties (BCM88660_A0 only)
905counter_engine_statistics_0.BCM88650=FULL_COLOR
906counter_engine_statistics_1.BCM88650=FULL_COLOR
907###
908### DML
909###
910### For DML applications, counter engine 3 is used for VOQ
911### counters. This in combination with configuring the engines used for
912### VOQs for FWD_DROP allows for counters for 32K VOQs.
913###
914#counter_engine_statistics_2.BCM88650=FULL_COLOR
915#counter_engine_statistics_3.BCM88650=FULL_COLOR
916counter_engine_statistics_2.BCM88650=FWD_DROP
917counter_engine_statistics_3.BCM88650=FWD_DROP
918
919# Set the Counter format
920# Options: PACKETS_AND_BYTES / PACKETS / BYTES
921# / MAX_QUEUE_SIZE / PACKETS_AND_PACKETS(supported just in FWD_DROP statistic in BCM88660_A0)
922# If not PACKETS_AND_BYTES or PACKETS_AND_PACKETS, the HW Counter width is 59 bits, thus
923# no background SW operation is performed
924counter_engine_format_0.BCM88650=PACKETS_AND_BYTES
925counter_engine_format_1.BCM88650=PACKETS_AND_BYTES
926counter_engine_format_2.BCM88650=PACKETS_AND_BYTES
927counter_engine_format_3.BCM88650=PACKETS_AND_BYTES
928
929# #enable/disable counter processor background thread (default:1-enable)
930# counter_engine_sampling_interval=1
931
932### Configurable mode configuration (BCM88660_A0 only)###
933# counter_engine_statistics_0.BCM88660_A0=CONFIGURABLE
934# counter_engine_map_enable_0.BCM88660_A0=1
935# counter_engine_map_size_0.BCM88660_A0=4
936# counter_engine_map_fwd_green_offset_0.BCM88660_A0=0
937# counter_engine_map_fwd_yellow_offset_0.BCM88660_A0=1
938# counter_engine_map_fwd_red_offset_0.BCM88660_A0=1
939# counter_engine_map_fwd_black_offset_0.BCM88660_A0=2
940# counter_engine_map_drop_green_offset_0.BCM88660_A0=3
941# counter_engine_map_drop_yellow_offset_0.BCM88660_A0=3
942# counter_engine_map_drop_red_offset_0.BCM88660_A0=3
943# counter_engine_map_drop_black_offset_0.BCM88660_A0=3
944
945### Statistic-Report configuration ###
946# Enable the Statistic-Interface configuration
947# stat_if_enable_<port> - not supported by ARAD_A0
948# stat_if_enable.BCM88650=1
949
950# ## Statistic-Report Properties
951# # Set the Statistic-Report mode
952# # Options: BILLING / BILLING_QUEUE_NUMBER (not supported by ARAD_A0)/ QSIZE
953# stat_if_report_mode.BCM88650=QSIZE
954# #Indicate if idle reports must be sent
955# #when the Statistic-report rate is too low
956# stat_if_idle_reports_present.BCM88650=0
957# # Indicate if the reported packet size is the original packet size
958# stat_if_report_original_pkt_size.BCM88650=1
959# #If set then a single ingress-billing report will be generated
960# #for the whole set of the multicast copies
961# stat_if_report_multicast_single_copy=1
962# ## Statistic Packet configurations
963# # Set the Statistic Packet size (Bytes)
964# # Valid valued: 65B/126B/248B/492B (Queue-Size), 64B/128B/256B/512B/1024B (Billing)
965# stat_if_pkt_size=64B
966#
967# ## Scrubber configuration
968# # Set the range of VOQs to scrub. Range: 0 - 96K-1.
969# stat_if_scrubber_queue_min.BCM88650=0
970# stat_if_scrubber_queue_max.BCM88650=0
971#
972# # Set the scrubber rate range
973# # If set to 0 (default), the scrubber is disabled. Units: nanoseconds
974# stat_if_scrubber_rate_min.BCM88650=0
975# stat_if_scrubber_rate_max.BCM88650=0
976#
977# # Set the thresholds (thresh_id 0 - 15) defining
978# # occupancy range per resource type:
979# # DRAM Buffers, Buffer descriptors, Buffer descriptors buffers
980# stat_if_scrubber_bdb_th.BCM88650=0
981# stat_if_scrubber_buffer_descr_th.BCM88650=0
982# stat_if_uc_dram_buffer_descr_th.BCM88650=0
983#
984# #Relective report for queue size mode - not supported by ARAD_A0
985# #Reports will be created for queue num range (stat_if_selective_report_queue_min -stat_if_selective_report_queue_max)
986# #Default - all range
987# stat_if_selective_report_queue_min.BCM88650_B0=0
988# stat_if_selective_report_queue_max.BCM88650_B0=98303
989
990### Transaction - DMA configuration ###
991# Time to wait for SCHAN channel response (from CMIC). Units: microseconds.
992
993# TODO
994### Counter threads ###
995# spn_BCM_STAT_PBMP, spn_BCM_STAT_INTERVAL, spn_BCM_STAT_FLAGS
996
997### Interrupts ###
998## Set interrupts global parameters.
999# Options: 1 - Polling interrupt mode, 0 - Line/MSI interrupt mode. Default: 1.
1000polled_irq_mode.BCM88650=0
1001# Set the delay in microsecond between the polling, relevant only to Polling mode. Default: 0x0.
1002polled_irq_delay.BCM88650=50000
1003
1004## CMIC interrupts:
1005# Enable: Use interrupts completion instead of polling completion for the following operations.
1006# Options: 1 - Enable, 0 - Disable. Default: 0.
1007# Timeout: delay in Microsecond between the polling, relevant only to Polling completion mode.
1008# SCHAN:
1009#schan_intr_enable.0=1
1010schan_timeout_usec.BCM88650=300000
1011# TDMA
1012tdma_intr_enable.BCM88650=1
1013tdma_timeout_usec.BCM88650=80000000
1014# TSLAM
1015tslam_intr_enable.BCM88650=1
1016tslam_timeout_usec.BCM88650=80000000
1017# MIIM
1018#miim_intr_enable.0=1
1019miim_timeout_usec.0=300000
1020
1021### DRAM configuration ###
1022
1023# DRAM buffer (Dbuff) size
1024# Allowed values: 256/512/1024/2048.
1025ext_ram_dbuff_size.BCM88650=1024
1026
1027# Number of external DRAMs.
1028# Allowed values for 88650: 0/2/3/4/6/8. A value of 0 disables the DRAM.
1029# Allowed values for 88660: 0/1/2/3/4/6/8. A value of 0 disables the DRAM.
1030# A value of 1 is permitted only in ONE WAY BYPASS ocb mode.
1031ext_ram_present.BCM88650=8
1032
1033### Dram Tuning (Shmoo)
1034# 2 = Use Dram saved config Parameters, if no Parameters Perform Shmoo on init. Default option.
1035# 1 = Perform Shmoo on init.
1036# 0 = Use Dram saved config Parameters, if no Parameters do nothing.
1037ddr3_auto_tune.BCM88650=2
1038
1039### Enable BIST
1040# Run Dram BIST on initialization, if BIST fail the initialization will fail. Defult: 1.
1041# bist_enable_dram.BCM88650=1
1042
1043### Example for Dram Saved config Parameters.
1044## This example is for ci=14 (Dram=7).
1045#ddr3_tune_addrc_ci14=0x000000ae
1046#ddr3_tune_wr_dq_wl1_ci14=0x92929292,0x92929292,0x92929292,0x92929292
1047#ddr3_tune_wr_dq_wl0_ci14=0x93939393,0x93939393,0x92929292,0x92929292
1048#ddr3_tune_wr_dq_ci14=0x80808080
1049#ddr3_tune_vref_ci14=0x000007df
1050#ddr3_tune_rd_dqs_ci14=0x96969191,0x90909191
1051#ddr3_tune_rd_dq_wl1_rn_ci14=0x82828282,0x82828282,0x82828282,0x82828282
1052#ddr3_tune_rd_dq_wl0_rn_ci14=0x82828282,0x82828282,0x89898989,0x89898989
1053#ddr3_tune_rd_dq_wl1_rp_ci14=0x82828282,0x82828282,0x82828282,0x82828282
1054#ddr3_tune_rd_dq_wl0_rp_ci14=0x82828282,0x82828282,0x89898989,0x89898989
1055#ddr3_tune_rd_en_ci14=0x009d9e9d,0x00a2a3a1
1056#ddr3_tune_rd_data_dly_ci14=0x00000505
1057
1058
1059# Dram type: Select ONLY ONE of the following DRAM types, to configure all dram related parameteres per type.
1060# Dram Type for Arad:
1061dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_1066=1
1062#dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_933=1
1063#dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_800=1
1064#dram_type_DDR3_MICRON_MT41J256M16_4GBIT_1066=1
1065#dram_type_DDR3_MICRON_MT41J128M16HA_125_1066=1
1066#dram_type_DDR3_MICRON_MT41J128M16HA_125_933=1
1067#dram_type_DDR3_MICRON_MT41J128M16HA_125_800=1
1068#dram_type_DDR3_MICRON_MT42J64M16LA_15E_667=1
1069#dram_type_DDR3_SAMSUNG_K4B4G1646B_4GBIT_1066=1
1070#dram_type_DDR3_SAMSUNG_K4B1G1646G_933=1
1071#dram_type_DDR3_SAMSUNG_K4B1G1646G_800=1
1072
1073### Setting dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_1066 Parameters as Default:
1074## All other dram types parameter resides in arad.soc. choosing another Dram Type will override the following parameters.
1075ext_ram_t_rrd=6000
1076ext_ram_columns=1024
1077ext_ram_banks=8
1078ext_ram_ap_bit_pos=10
1079ext_ram_burst_size=32
1080ext_ram_t_ref=3900000
1081ext_ram_t_wr=15000
1082ext_ram_t_wtr=7500
1083ext_ram_t_rtp=7500
1084ext_ram_freq=1066
1085ext_ram_rows=16384
1086ext_ram_jedec=29
1087ext_ram_t_rc=46090
1088ext_ram_t_rcd_rd=13090
1089ext_ram_t_rcd_wr=13090
1090ext_ram_t_rp=13090
1091ext_ram_t_rfc=160000
1092ext_ram_t_ras=33000
1093ext_ram_c_wr_latency=10
1094ext_ram_t_faw=35000
1095ext_ram_c_cas_latency=14
1096ddr3_mem_grade=0x141414
1097
1098# DRAM pre-configurations according to config variables which defines
1099# Dram Type. supports only DDR3:
1100ext_ram_type.BCM88650=DDR3
1101
1102# Total Dram Size (MBytes)
1103# For 8 drams interfaces, 2 channel each, Each channel 2Gbit Dram. the total DRAM size is 32GBits=4000MBytes.
1104ext_ram_total_size.BCM88650=4000
1105
1106# Total buffer size allocated for User buffer. Units: Mbytes. Default: '0x0'.
1107# Supported suffix:
1108# dram - the buffer size will be subtracted from the DRAM size available for packet memory.
1109#user_buffer_size=0
1110#user_buffer_size_dram=50
1111
1112# DRAM ClamShell (interface swap its HW PIN pairs during init. Note: Only one of DRAMs can have its PIN swapped)
1113# Valid values: 0/1
1114#dram0_clamshell_enable.BCM88650=1
1115#dram1_clamshell_enable.BCM88650=1
1116
1117# DRAM maximum number of crc error per buffer, buffer deleted by interrupt application.
1118#dram_crc_del_buffer_max_reclaims=0
1119
1120### Warmboot ###
1121## Scache initialization for warmboot persistent storage.
1122#Save the warm boot data in a file. Allowed values: 3.
1123#stable_location.BCM88650=3
1124#Set the warm boot data filename.
1125#stable_filename.BCM88650=./warmboot_data
1126#Set the warm boot data file size (At least 10MB for PETRA-B, 4MB for ARAD)
1127#stable_size.BCM88650=1000000000
1128
1129
1130##############################
1131# Config variable below are only accessed from dune.soc, and are used to
1132# configure BSP / example application / group of formal config variables.
1133##############################
1134
1135## If set, always configures synthesizers, even if the configured rate is equal to
1136## their nominal rate. Can be disabled to speedup bringup time (keep in mind that if
1137## disabled, changing a synt to a non-nominal freq and than back to nominal will not
1138## work
1139#synt_over.BCM88650=1
1140
1141# Local variables for board synthesizers freq. Fabric, combo and nif also configure
1142# the *_ref_clock soc properties for these frequencies. core, ddr and phy only
1143# configures the synthesizer
1144synt_core.BCM88650=100000000
1145synt_ddr.BCM88650=125000000
1146synt_phy.BCM88650=156250000
1147synth_dram_freq.BCM88650=25
1148
1149#Configure the reference clock frequencies for NIF and Fabric SerDes
1150# Options: 0 - 125MHZ, 1 - 156.25MHz
1151serdes_nif_clk_freq.BCM88650=1
1152serdes_fabric_clk_freq.BCM88650=1
1153# IEEE 1588 -
1154# configure clock (for 1588 debug, when Broadsync is disabled):
1155# DPLL mode/lock: 0 - eci ts pll clk disabled, 1 - configure eci ts pll clk
1156# DPLL phase/freq. Default initial: lo = 0x40000000, hi = 0x10000000.
1157#phy_1588_dpll_frequency_lock.BCM88650=1
1158#phy_1588_dpll_phase_initial_lo.BCM88650=0x40000000
1159#phy_1588_dpll_phase_initial_hi.BCM88650=0x10000000
1160# port external MAC
1161# indication whether external MAC exists or not.
1162# 0: 1588 external MAC does not exist
1163# 1: 1588 external MAC exists
1164# the external MAC substracts the RX time from the correction field
1165# and adds the TX time to the correction field.
1166#ext_1588_mac_enable_14.BCM88650=1
1167
1168## Trill configurations
1169# Trill mode: 0 (disabled) / 1 (coarse-grained) / 2 (fine-grained)
1170#trill_mode.BCM88650=1
1171
1172# Trill multicast prunning mode:
1173# 0: no prunning - vsi is not part of the key
1174# 1: VSI prunning: Key is dist-tree,esadit-bit,VSI.
1175trill_mc_prune_mode.BCM88650=0
1176
1177# Enable SA authentication
1178#sa_auth_enabled=1
1179
1180# Bridge default logical interfaces allocation IDS
1181logical_port_l2_bridge.BCM88650=0
1182logical_port_drop.BCM88650=1
1183
1184#logical_port_mim_in.BCM88650=2
1185#logical_port_mim_out.BCM88650=4096
1186
1187# Enable EVB application
1188#evb_enable=1
1189
1190# Enable Flexible QinQ application
1191#vlan_translation_match_ipv4=1
1192
1193
1194# Prepend tag to be 4 bytes or 8 bytes. Default: 4B.
1195# Applicable only from ARAD+
1196#prepend_tag_bytes=4B
1197
1198# The Prepend Tag is located at (12 + 2*offset) bytes from the start of the packet.
1199# Range: 0-7. Default: 0
1200#prepend_tag_offset=0
1201
1202# Enable ARP (next hop mac extension) feature
1203bcm886xx_next_hop_mac_extension_enable.BCM88650=0
1204
1205# Set VLAN translate mode.
1206# 0: normal
1207# 1: advanced mode. Enable vlan edit settings with enhanced user control
1208#bcm886xx_vlan_translate_mode=0
1209
1210# Set MPLS termination database mode
1211# Set MPLS databases location for each MPLS namespace (L1,L2,L3)
1212#bcm886xx_mpls_termination_database_mode=0
1213
1214# Enable , Disable MPLS indexed.
1215# MPLS termination with known label stack location.
1216# Must be enabled in case device supports more than 2 MPLS label terminations (L1,L2,L3)
1217#mpls_termination_label_index_enable=1
1218
1219# Enable FastReRoute labels in device.
1220#fast_reroute_labels_enable=0
1221
1222# Enable MPLS Context specific. Upstream label assignment in device.
1223#mpls_context_specific_label_enable=0
1224
1225# MPLS context.
1226# Can be global, per port , per interface or per port,interface.
1227#mpls_context=global
1228
1229# MPLS TP MC reserved mac address (01-00-5E-90-00-00).
1230# If set device will support My-MAC termination of reserved MC Ethernet
1231#mpls_tp_mymac_reserved_address=0
1232
1233# MPLS ELI enable disable
1234mpls_entropy_label_indicator_enable=0
1235
1236
1237#########################################
1238##cfg for BCM88640_A0 - Petra
1239#########################################
1240
1241force_clk_m_n_divisors_zero_nif0.BCM88640_A0=0
1242force_clk_m_n_divisors_zero_fabric0.BCM88640_A0=1
1243force_clk_m_n_divisors_zero_comb0.BCM88640_A0=0
1244
1245combo_ref_clock.BCM88640=312500
1246
1247nif_ref_clock.BCM88640_A0=312500
1248
1249# Use variable cell size
1250system_cell_format.BCM88640_A0=VCS128
1251
1252# Core clock speed (MHz)
1253core_clock_speed.BCM88640_A0=300
1254
1255# Map bcm local port to CPU/NIF interfaces
1256ucode_port_0.BCM88640_A0=CPU.0
1257ucode_port_73.BCM88640_A0=CPU.1
1258ucode_port_74.BCM88640_A0=CPU.2
1259ucode_port_75.BCM88640_A0=CPU.3
1260ucode_port_76.BCM88640_A0=CPU.4
1261ucode_port_77.BCM88640_A0=CPU.5
1262ucode_port_78.BCM88640_A0=CPU.6
1263
1264# Interlaken ports basic configuration (temporary).
1265# This configuration replaces the above XAUI/RXAUI ports config
1266# The following PB design constraint is not enforced in SW, so must be taken
1267# care of here, when mapping ports to interfaces:
1268# If using ilkn0, port 1 (if used) must be mapped to ilkn0
1269# If using ilkn1, port 2 (if used) must be mapped to ilkn1
1270# Note that in our default mapping, port 2 is mapped to RXAUI 6, thus won't
1271# work. If one wants to use front panel port 2 with ilkn1, he should be map
1272# RAXUI6 to a port != 2.
1273#ilkn_num_lanes_0.BCM88640_A0=12
1274#ucode_port_1.BCM88640_A0=ILKN0.0
1275#ucode_port_2.BCM88640_A0=ILKN0.1
1276#ucode_port_3.BCM88640_A0=ILKN0.2
1277#ilkn_num_lanes_1.BCM88640_A0=12
1278#ucode_port_4.BCM88640_A0=RXAUI6
1279#ucode_port_5.BCM88640_A0=ILKN1.0
1280#ucode_port_6.BCM88640_A0=ILKN1.1
1281#ucode_port_7.BCM88640_A0=ILKN1.2
1282
1283# Default header type is derived from fap_device_mode: If fap_device_mode is
1284# PP, default header type is ETH. Otherwise, defualt header type is TM.
1285# Header type per port can be overriden.
1286# All options: ETH/RAW/TM/PROG/CPU/STACKING/TDM/TDM_RAW/INJECTED
1287
1288# Set CPU to work with TM header (ITMH)
1289#tm_port_header_type_0.BCM88640_A0=TM
1290tm_port_header_type_in_0.BCM88640_A0=TM
1291tm_port_header_type_out_0.BCM88640_A0=CPU
1292tm_port_header_type_73.BCM88640_A0=TM
1293tm_port_header_type_74.BCM88640_A0=TM
1294tm_port_header_type_75.BCM88640_A0=TM
1295tm_port_header_type_76.BCM88640_A0=TM
1296tm_port_header_type_77.BCM88640_A0=TM
1297tm_port_header_type_78.BCM88640_A0=TM
1298# recycling port
1299tm_port_header_type_40.BCM88640_A0=RAW
1300ucode_port_40.BCM88640_A0=RCY.0
1301
1302# Enable ERP and OLP ports
1303num_erp_tm_ports.BCM88640_A0=1
1304num_olp_tm_ports.BCM88640_A0=1
1305num_recycle_tm_ports.BCM88640_A0=1
1306
1307# Dram configuration
1308# 600 Mhz
1309ext_ram_pll_r.BCM88640_A0=4
1310ext_ram_pll_f.BCM88640_A0=47
1311ext_ram_pll_q.BCM88640_A0=1
1312ext_ram_freq.BCM88640_A0=600
1313
1314# Dbuff size
1315# Allowed values: 256/512/1024/2048.
1316ext_ram_dbuff_size.BCM88640_A0=1024
1317
1318# Number of external DRAMs.
1319# Allowed values for 88x4x: 0/2/3/4/6.
1320# Allowed values for 88650: 0/2/3/4/6/8.
1321# ext_ram_total_size below assumed this value is 6 for 88x4x and 8 for
1322ext_ram_present.BCM88640_A0=6
1323
1324# Dram type: Select ONLY ONE of the following DRAM types, to configure all dram
1325# related parameteres per type.
1326# Dram Type for Pb:
1327dram_type_DDR3_MICRON_MT41J64M16_15E.BCM88640_A0=1
1328#dram_type_DDR2_MICRON_K4T51163QE_ZC_LF7.BCM88640_A0=1
1329#dram_type_DDR3_SAMSUNG_K4B1G1646E_HCK0_1333.BCM88640_A0=1
1330#dram_type_DDR3_SAMSUNG_K4B1G1646E_HCK0_1600.BCM88640_A0=1
1331#dram_type_GDDR3_SAMSUNG_K4J52324QE.BCM88640_A0=1
1332#dram_type_DDR3_MICRON_MT41J128M16HA_15E_2G.BCM88640_A0=1
1333
1334# QDR configuration
1335# Parity. Allowed values: PARITY/ECC.
1336ext_qdr_protection_type.BCM88640_A0=PARITY
1337ext_qdr_size_mbit.BCM88640_A0=72
1338#QDR type: QDR/QDR2P/QDR3/NONE.
1339ext_qdr_type.BCM88640_A0=QDR
1340
1341# QDR can use the core clock, or using it's own pll. Current example is for 250MHz pll (if used).
1342# QDR using own pll configuration
1343#ext_qdr_use_core_clock_freq.BCM88640_A0=0
1344#ext_qdr_pll_m.BCM88640_A0=4
1345#ext_qdr_pll_n.BCM88640_A0=4
1346#ext_qdr_pll_p.BCM88640_A0=0
1347
1348# QDR using core clock
1349ext_qdr_use_core_clock_freq.BCM88640_A0=1
1350
1351#Configure MDIO. If parameter is not defined, MDIO is disabled.
1352mdio_clock_freq_khz.BCM88640_A0=1000
1353
1354# Streaming interface configuration
1355streaming_if_enable_timeoutcnt.BCM88640_A0=1
1356streaming_if_timeout_prd.BCM88640_A0=70
1357streaming_if_quiet_mode.BCM88640_A0=0
1358streaming_if_discard_bad_parity.BCM88640_A0=0
1359
1360# maximum packet size for WRED tests. 0 - means ignore max packet size.
1361discard_mtu_size.BCM88640_A0=0
1362
1363# multicast egress vlan membership range. By default: 0-4095.
1364egress_multicast_direct_bitmap_min.BCM88640_A0=0
1365egress_multicast_direct_bitmap_max.BCM88640_A0=4095
1366
1367# configure flow mapping base to 0
1368flow_mapping_queue_base.BCM88640_A0=0
1369
1370dtm_flow_mapping_mode_region_25.BCM88640_A0=0
1371dtm_flow_mapping_mode_region_26.BCM88640_A0=0
1372dtm_flow_mapping_mode_region_27.BCM88640_A0=0
1373dtm_flow_mapping_mode_region_28.BCM88640_A0=0
1374dtm_flow_mapping_mode_region_29.BCM88640_A0=0
1375dtm_flow_mapping_mode_region_30.BCM88640_A0=0
1376dtm_flow_mapping_mode_region_31.BCM88640_A0=0
1377dtm_flow_mapping_mode_region_32.BCM88640_A0=0
1378dtm_flow_mapping_mode_region_33.BCM88640_A0=1
1379dtm_flow_mapping_mode_region_34.BCM88640_A0=1
1380dtm_flow_mapping_mode_region_35.BCM88640_A0=1
1381dtm_flow_mapping_mode_region_36.BCM88640_A0=1
1382dtm_flow_mapping_mode_region_37.BCM88640_A0=1
1383dtm_flow_mapping_mode_region_38.BCM88640_A0=1
1384dtm_flow_mapping_mode_region_39.BCM88640_A0=1
1385dtm_flow_mapping_mode_region_40.BCM88640_A0=1
1386dtm_flow_mapping_mode_region_41.BCM88640_A0=1
1387dtm_flow_mapping_mode_region_42.BCM88640_A0=2
1388dtm_flow_mapping_mode_region_43.BCM88640_A0=2
1389dtm_flow_mapping_mode_region_44.BCM88640_A0=2
1390dtm_flow_mapping_mode_region_45.BCM88640_A0=2
1391dtm_flow_mapping_mode_region_46.BCM88640_A0=2
1392dtm_flow_mapping_mode_region_47.BCM88640_A0=2
1393dtm_flow_mapping_mode_region_48.BCM88640_A0=2
1394dtm_flow_mapping_mode_region_49.BCM88640_A0=2
1395dtm_flow_mapping_mode_region_50.BCM88640_A0=2
1396dtm_flow_mapping_mode_region_51.BCM88640_A0=2
1397dtm_flow_mapping_mode_region_52.BCM88640_A0=2
1398dtm_flow_mapping_mode_region_53.BCM88640_A0=2
1399dtm_flow_mapping_mode_region_54.BCM88640_A0=2
1400dtm_flow_mapping_mode_region_55.BCM88640_A0=2
1401
1402# Power up state (DOWN/UP/UP_AND_RELOCK). Can be configured per lane.
1403pb_serdes_lane_power_state.BCM88640_A0=UP_AND_RELOCK
1404
1405# SeDes media type: Pre-configuration for tx params, according to
1406# media type.
1407# Allowed values: SHORT_BACKPLANE/LONG_BACKPLANE/CHIP2CHIP
1408pb_serdes_lane_tx_phys_media_type.BCM88640_A0=SHORT_BACKPLANE
1409pb_serdes_lane_tx_phys_media_type_28.BCM88640_A0=CHIP2CHIP
1410pb_serdes_lane_tx_phys_media_type_29.BCM88640_A0=CHIP2CHIP
1411pb_serdes_lane_tx_phys_media_type_30.BCM88640_A0=CHIP2CHIP
1412pb_serdes_lane_tx_phys_media_type_31.BCM88640_A0=CHIP2CHIP
1413
1414system_is_fe1600_in_system.BCM88640_A0=0
1415
1416# Counter engine configuration
1417counter_engine_source_1.BCM88640_A0=0
1418counter_engine_statistics_1.BCM88640_A0=4
1419counter_engine_source_2.BCM88640_A0=1
1420counter_engine_statistics_2.BCM88640_A0=4
1421
1422# Statistic Reporting
1423stat_if_enable=0
1424
1425# Clock Phases: 0/90/180/270
1426stat_if_phase=0
1427
1428# Rate in nm
1429stat_if_sync_rate=0
1430
1431# TRUE/FALSE
1432stat_if_parity_enable=FALSE
1433
1434# BILLING/FAP20V
1435stat_if_report_mode=BILLING
1436
1437# Billing Mode
1438# EGR_Q_NB/CUD/VSI_VLAN/BOTH_LIFS
1439stat_if_report_billing_mode=VSI_VLAN
1440
1441# Fap20V Mode
1442# QUEUE/PACKET
1443stat_if_report_fap20v_mode=QUEUE
1444
1445# QUEUE_NUM/MC_ID (only valid in Fap20V PACKET mode)
1446stat_if_report_fap20v_fabric_mc=QUEUE_NUM
1447stat_if_report_fap20v_ing_mc=QUEUE_NUM
1448
1449# TRUE/FALSE (only valid in Fap20V PACKET mode)
1450stat_if_report_fap20v_cnm_report=FALSE
1451
1452# TRUE/FALSE
1453stat_if_report_fap20v_count_snoop=FALSE
1454stat_if_report_original_pkt_size=FALSE
1455stat_if_report_fap20v_single_copy_reported=FALSE
1456
1457schan_timeout_usec.BCM88640_A0=300000
1458
1459
1460polled_irq_mode.BCM88640_A0=0
1461polled_irq_delay.BCM88640_A0=1000
1462
1463# Set the FTMH Load-Balancing Key extension mode
1464# Options for 88650: ENABLED
1465# Options for 88640 compatible: DISABLED / 8B_LB_KEY_8B_STACKING_ROUTE_HISTORY / 16B_STACKING_ROUTE_HISTORY
1466# Default: DISABLED
1467system_ftmh_load_balancing_ext_mode.BCM88640=DISABLED
1468
1469#########################################
1470##cfg for BCM88750
1471#########################################
1472
1473fabric_device_mode.BCM88750=SINGLE_STAGE_FE2
1474
1475is_dual_mode.BCM88750=0
1476system_is_vcs_128_in_system.BCM88750=0
1477
1478system_is_dual_mode_in_system.BCM88750=0
1479system_is_single_mode_in_system.BCM88750=1
1480
1481system_is_fe600_in_system.BCM88750=0
1482
1483system_ref_core_clock_khz.BCM88750=600000
1484
1485fabric_merge_cells.BCM88750=0
1486fabric_multicast_mode.BCM88750=DIRECT
1487fabric_load_balancing_mode.BCM88750=NORMAL_LOAD_BALANCE
1488fabric_tdm_fragment.BCM88750=0x180
1489##Allows single pipe device to send TDM traffic over the fabric primary pipe - available for Fe1600_B0 only
1490#change vcs128_unicast_priority to be lower than 2 - when enabling
1491fabric_tdm_over_primary_pipe.BCM88750=0
1492fabric_optimize_partial_links.BCM88750=0
1493vcs128_unicast_priority.BCM88750=2
1494
1495polled_irq_mode.BCM88750=0
1496polled_irq_delay.BCM88750=1000
1497
1498#Selects if to run MBIST (Memory Built In Self Test) of internal memory (tables) during startup.
1499#Supported values: 0=don't run, 1=run, 2=run with extra logs
1500#bist_enable.BCM88650=1
1501bist_enable.BCM88750=1
1502#High voltage driver strap. If 0, connected to 1.4V supply; if 1, connected to 1V mode.
1503#for specific quad use srd_tx_drv_hv_disable_quad_X where X is (FSRD num * 4 + internal quad)
1504srd_tx_drv_hv_disable.BCM88750=0
1505load_firmware.BCM88750=2
1506
1507#0-LFEC 1-8b\10b 2-FEC 3-BEC
1508backplane_serdes_encoding.BCM88750=2
1509
1510#enable\disable CL72
1511port_init_cl72.BCM88750=0
1512#Avaliable speeds for BCM88750: 5750, 6250, 10312, 11500, 12500
1513port_init_speed.BCM88750=10312
1514#LC PLL in\out 0=125MHz 1=156.25MHz
1515serdes_fabric_clk_freq_in.BCM88750=1
1516serdes_fabric_clk_freq_out.BCM88750=1
1517serdes_mixed_rate_enable.BCM88750_B0=0
1518
1519# VSC128 or VSC256
1520fabric_cell_format.BCM88750=VSC256
1521
1522# Core clock speed (MHz)
1523core_clock_speed_khz.BCM88750=533333
1524
1525## CMIC interrupts:
1526# Enable: Use interrupts completion instead of polling completion for the following operations.
1527# Options: 1 - Enable, 0 - Disable. Default: 0.
1528# Timeout: delay in Microsecond between the polling,
1529# SCHAN:
1530schan_intr_enable.BCM88750=0
1531schan_timeout_usec.BCM88750=300000
1532# TDMA
1533tdma_intr_enable.BCM88750=0
1534tdma_timeout_usec.BCM88750=80000000
1535# TSLAM
1536tslam_intr_enable.BCM88750=0
1537tslam_timeout_usec.BCM88750=80000000
1538# MIIM
1539miim_intr_enable.BCM88750=0
1540miim_timeout_usec.BCM88750=300000
1541
1542
1543##initialization for warmboot
1544stable_location.BCM88750=3
1545stable_size.BCM88750=200000
1546scache_filename.BCM88750=fe1600_warmboot.mem
1547
1548##############################
1549# Config variable below are only accessed from dune.soc, and are used to
1550# configure BSP / example application / group of formal config variables.
1551##############################
1552
1553# Support (and configure on init) packet processing features.
1554# If not defined - only traffic management capabilities are enabled.
1555packet_processing=1
1556
1557## PCP (Petra Co-Processor) features
1558#pcp_elk.BCM88640_A0=1
1559#pcp_oam.BCM88640_A0=1
1560#pcp_dma.BCM88640_A0=1
1561
1562## Set/Override TDM related config variables
1563#tdm.BCM88640_A0=1
1564
1565# If set, always configures synthesizers, even if the configured rate is
1566# equal to
1567# their nominal rate. Can be disabled to speedup bringup time
1568# (keep in mind that if disabled, changing a synt to a non-nominal freq and
1569# than back to nominal will not work
1570#synt_over.BCM88640_A0=1
1571
1572# Local variables for board synthesizers freq. Fabric, combo and nif also configure
1573# the *_ref_clock soc properties for these frequencies. core, ddr and phy only
1574# configures the synthesizer
1575synt_core.BCM88640_A0=100000000
1576synt_ddr.BCM88640_A0=125000000
1577synt_phy.BCM88640_A0=156250000
1578
1579## Scache initialization for warmboot persistent storage.
1580## Valid values: 2: Store in dram. 3: Store in a file.
1581stable_location=3
1582stable_filename=./warmboot_data
1583stable_flags=0
1584stable_size=1000000000
1585
1586# Bridge default logical interfaces allocation IDS
1587logical_port_l2_bridge.BCM88640=1
1588logical_port_drop.BCM88640=-1
1589
1590#logical_port_mim_in.BCM88640=2
1591#logical_port_mim_out.BCM88640=3
1592
1593## IPV6 tunnel
1594bcm886xx_ipv6_tunnel_enable=1
1595
1596## Inlif Profile Management Mode - QoS L3 L2 marking mode
1597#
1598# BCM88660 ONLY
1599#
1600# QoS L3 L2 marking allows changing the DSCP and/or EXP values
1601# of IP and/or MPLS packets according to the incoming port
1602# (or inlif), and the Traffic Class/Drop Precedence.
1603#
1604# The inlif profile is used to control the DSCP/EXP marking.
1605# This SOC property controls which mode is used for the inlif profile:
1606# 1: Basic mode (1 bit of the inlif profile is reserved and is used for the DSCP/EXP marking).
1607# 0: Advanced mode (the user controls which inlif profile values perform DSCP/EXP marking directly).
1608#bcm886xx_qos_l3_l2_marking=1
1609
1610## Unicast RPF mode per RIF
1611#
1612# This SOC property allows the user to set the unicast RPF mode - loose, strict or disabled - per RIF.
1613# If disabled, the unicast RPF mode of a RIF is set globally.
1614# Options: 0 / 1
1615
1616# bcm886xx_l3_ingress_urpf_enable=1
1617
1618## BOS handling mode
1619# BCM8866X ONLY
1620#
1621# There are two ways to handle BOS, controlled by bcm886xx_mpls_termination_mode:
1622# 0 - Use BOS as key in lookup.
1623# 1 - Don't use it (except for reserved labels).
1624#
1625#bcm886xx_mpls_termination_key_mode=0
1626
1627# Color resolution mode allows the user to have more detailed metering color information.
1628# BCM88660 ONLY
1629#
1630# Options: 0/1
1631# 0: A red result from both Ethernet policer and policer implies DP=3.
1632# 1: A red result from the policer implies that DP=2, while a red result from rate (Ethernet policer) implies DP=3.
1633#policer_color_resolution_mode=1
1634
1635## Inlif Profile Management Mode - Disable Same Interface Filter
1636# BCM8866X ONLY
1637#
1638# Controls which mode is used for the inlif profile management.
1639# 1: Basic mode (1 bit of the inlif profile is reserved and is used for the same-interface filter).
1640# 0: Advanced mode (the user controls which inlif profile values have the same-interface filter disabled for them).
1641#bcm886xx_logical_interface_bridge_filter_enable=1
1642
1643## Default Block Forwarding Strength
1644#
1645# Configure the default forwarding strength of blocks.
1646#
1647# SOC Properties:
1648#block_trap_strength_vtt - VTT block forwarding strength
1649#block_trap_strength_flp - FLP block forwarding strength
1650#block_trap_strength_hash - SLB block forwarding strength (BCM8866X ONLY)
1651#block_trap_strength_pmf_0 - PMF 1st lookup forwarding strength
1652#block_trap_strength_pmf_1 - PMF 2nd lookup forwarding strength
1653#
1654# Options: 0-7
1655
1656## Stateful Load Balancing
1657# BCM8866X ONLY
1658#
1659# Stateful Load Balancing (SLB) allows the load balancing of ECMP and LAG
1660# groups to become stateful.
1661# In standard load balancing, removing a member from the ECMP/LAG
1662# group may affect the selected member, since the formula
1663# depends on group size.
1664# In stateful load balancing the member is selected once and saved.
1665# Later, the member is always retrieved, and does not depend on
1666# the size of the LAG/ECMP group.
1667#
1668# resilient_hash_enable - Enable/disable SLB. Values:
1669# 1 - Enable SLB.
1670# 0 - Disable SLB.
1671#resilient_hash_enable=1
1672
1673
1674#Make Arad SOC properties work for Arad+, by mapping the BCM88660 suffix to BCM88650
1675soc_family.BCM88660=BCM88650
1676#Make Arad SOC properties work for Ardon, by mapping the BCM88202 suffix to BCM88650
1677soc_family.BCM88202=BCM88650
1678
1679# Use different mymac addresses for ipv4 and ipv6 when using vrrp for mymac termination.
1680#l3_vrrp_ipv6_distinct=1
1681
1682# Enable multiple mymac termination mode. In order to enable it, also set l3_vrrp_ipv6_distinct=0 and
1683# l3_vrrp_max_vid=0 since vrrp and multiple mymac mode can't co exist.
1684#l3_multiple_mymac_termination_enable=1
1685
1686# Distinguish between ipv4 and all other l3 protocols when multiple mymac terminating
1687#l3_multiple_mymac_termination_mode=1
1688
1689# Usually the final DP given by the meter (or the In-DP) is unchanged, and can be from 0-3.
1690# When this SOC property is set to 1, when the final INGRESS DP is 2, it is mapped to 1 instead,
1691# and thus only the values 0-1 and 3 can be output.
1692# This has no effect when policer_color_resolution_mode=1.
1693#custom_feature_always_map_result_dp_2_to_1=1
1694
1695#
1696# Enable L3 Source Binds for DPoE SAV
1697#
1698l3_source_bind_mode=IP
1699l3_source_bind_subnet_mode=IP
1700ipv4_num_vrfs = 4096
1701
1702#
1703# Enable ARP checking for L3 Source Binds
1704#
1705# This feature is not currently used.
1706#
1707# Valid values for custom_feature_l3_source_bind_arp_relay:
1708# 0 - disabled
1709# 1 - downstream ARP checking
1710# 2 - upstream ARP checking
1711# 3 - both downstream and upstream ARP checking
1712#
1713#custom_feature_l3_source_bind_arp_relay=2