openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

config.bcm (47395B)


      1 #
      2 # 
      3 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4 # 
      5 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6 #
      7 # Sample Properties file used for Broadcom StrataSwitch.
      8 # Each entry in the file consists of a single line of the form:
      9 #	<Parameter>=<Value>
     10 #
     11 # See the file $SDK/doc/properties.txt for more documentation about how
     12 # to use properties.
     13 #
     14 # To allow different properties for different units or chips,
     15 # each property is looked up with the following suffixes in order:
     16 #	.<unit-num>		(e.g. "foo.0")
     17 #	.<CHIP_TYPE>		(e.g. foo.BCM5680_B0)
     18 #	.<CHIP_GROUP>		(e.g. foo.BCM5680)
     19 #	<nothing>		(e.g. foo)
     20 #
     21 # The per-port properties are looked up with various port related
     22 # suffixes in the following order:
     23 #	_<port_name>		phy_null_fe0
     24 #	_<port_type>		phy_null_fe
     25 #	_port<port_number>	phy_null_port1
     26 #	_<bcm_port_number>      phy_null_1
     27 #	<nothing>		phy_null
     28 #
     29 # <port_number> is counted from 1 up to the number of enabled ports on
     30 # the chip (deprecated).
     31 #
     32 # <bcm_port_number> is the (untranslated) port number used in the BCM
     33 # API. If port translation is enabled (INCLUDE_BCM_API_XLATE_PORT),
     34 # then this port number should match the port number used on the
     35 # driver side of the BCM dispatch layer.
     36 #
     37 # In order to support devices where the switch port number (as used in
     38 # the BCM API) does not map directly to the physical port number (as
     39 # described in the Programmer's Reference Guide), a special format
     40 # exists to specify a physical port number:
     41 #	{<phys_port>}           phy_null{1}
     42 #
     43 # For PHY configuration parameters, the physical port format is
     44 # extensible to support a specific PHY in a chain of multiple external
     45 # PHYs:
     46 #	{<phys_port>.<phy_num>} phy_null{1.1}
     47 #
     48 # The <phy_num> parameter counts from the innermost PHY and outwards,
     49 # such that the internal PHY (if present) is PHY number 0, the
     50 # innermost external PHY is 1, and so forth.
     51 #
     52 # The PHY configuration format can be extended further to specify a
     53 # PHY port (line side or system side) and optionally a specific lane:
     54 #	{<phys_port>[.<phy_num>[.<phy_port>[.<phy_lane]]]}
     55 #
     56 # For the <phy_port> parameter, use 0 for the line side and 1 for the
     57 # system side.
     58 #
     59 # All the per-port properties also have the unit or chip based
     60 # suffixes described above added as well.
     61 #
     62 # White space is NOT ignored, but blank lines are ignored.
     63 # Lines starting with '#' are comments and are ignored.
     64 #
     65 # All properties not specified have default values.  Our convention
     66 # here is to comment out properties that are best left at their
     67 # default, and to show the default value in the comment when feasible.
     68 #
     69 # In the Broadcom Command Monitor, the 'config' command may be used to
     70 # add and delete properties and manage them in non-volatile storage.
     71 #
     72 
     73 # Station mac address used for management through the switch ports
     74 # itself. If using the CPU network interface, the NVRAM setting is used
     75 # for MAC address assignment.
     76 
     77 #station_mac_address=00:00:00:00:01:00
     78 
     79 # Station IP address used for management through the switch ports
     80 # itself. If using the CPU network interface, the NVRAM setting is used
     81 # for IP address assignment.
     82 
     83 #station_ip_address=192.168.1.0
     84 
     85 # Station IP netmast used for management through the switch ports
     86 # itself. If using the CPU network interface, the NVRAM setting is used
     87 # for netmask assignment.
     88 
     89 #station_ip_netmask=255.255.255.0
     90 
     91 # Station host name used for management through the switch ports
     92 # itself. If using the CPU network interface, the NVRAM setting is used
     93 # for host name assignment.
     94 
     95 #station_hostname=StrataSwitch
     96 
     97 # Define default OS / SAL
     98 #os=vxworks
     99 
    100 # Enable polled IRQ mode (useful for board bringup and debugging).
    101 # IRQs will be polled from a dedicated thread and hardware interrupts
    102 # will remain disabled.
    103 #polled_irq_mode=0
    104 
    105 # The priority of the IRQ poll thread as well as the minimum delay
    106 # between IRQ polls can be configured if needed.
    107 #polled_irq_delay=0
    108 #polled_irq_priority=100
    109 
    110 #
    111 # Board Configuration Properties
    112 #
    113 # These are not per-unit and are not used by the driver.
    114 # They are used by scripts such as rc.soc and sanity.
    115 #
    116 
    117 # Black Knight
    118 #black_knight=1
    119 
    120 # White Knight (SDK5690P24S)
    121 #white_knight=1
    122 
    123 # Galahad (SDK5690R24)
    124 #galahad=1
    125 
    126 # Merlin (SDK5690R24S)
    127 #merlin=1
    128 
    129 # Lancelot (SDK5690R48S)
    130 #lancelot=1
    131 
    132 # Guenevere (BCM95695P24SX)
    133 #guenevere=1
    134 
    135 # Hercules 8-port (SDK5670K8)
    136 #herc8=1
    137 
    138 #
    139 # Driver Configuration Properties
    140 #
    141 
    142 #Allow PLL bypass mode to be configured.
    143 #pll_bypass.<unit-num>=0
    144 
    145 # debug can be set to initial DK_XXX mask to use on booting.
    146 
    147 #debug=0x10000
    148 
    149 # If reload support is compiled in, the buffer size must be large enough
    150 # for the platform.  Our worst-case platform is Herculynx with eight
    151 # BCM5673s at nearly 300k apiece.
    152 
    153 #reload_buffer_size=3145728
    154 #reload_file_name=flash:reload.dat
    155 
    156 # Allow filtering to be disabled in hardware if not being used.
    157 # Also, tables will not be cleared which can save time in simulation.
    158 
    159 #filter_enable=1
    160 
    161 # MMU SDRAM configuration
    162 
    163 #mmu_sdram_enable=1
    164 #mmu_sdram_width=128
    165 
    166 # For BCM5605, DLL values may need tuning.
    167 #mmu_sdram_dll0=4
    168 #mmu_sdram_dll1=0xd
    169 #mmu_sdram_dll2=7
    170 
    171 # For all other chips, DLL values should be 0.
    172 #mmu_sdram_dll0=0
    173 #mmu_sdram_dll1=0
    174 #mmu_sdram_dll2=0
    175 
    176 # Control 5615 MISCCONFIG2.SDCLK_133MHZ_EN (external vs internal SDRAM clock)
    177 #mmu_sdram_clock_external=1
    178 
    179 # HOLBLOCKINGMARKER and INGRESSBACKPRESSURE configuration.
    180 # These can be used to set the initial value of these registers in
    181 # StrataSwitch and G-Switch devices based on port type.
    182 
    183 #mmu_hbm_fe=
    184 #mmu_hbm_ge=
    185 #mmu_hbm_cpu=
    186 #mmu_ibp_fe=
    187 #mmu_ibp_ge=
    188 #mmu_ibp_cpu=
    189 
    190 # L3 switching enable
    191 
    192 #l3_enable=1
    193 #ipmc_enable=1
    194 #ipmc_do_vlan=1
    195 
    196 # Trunk extension control
    197 # For BCM5695, enables 128 trunk groups (affects HiGig header format).
    198 # Currently, this property must be commented out (or =0) if non-BCM5695
    199 # switch devices are connected via the HiGig port (fabric devices OK).
    200 #trunk_extend=1
    201 
    202 # Multicast ranges
    203 
    204 # The Higig2 header format concatenates the broadcast, multicast, and
    205 # IP multicast indices into one generic multicast index.  The mapping
    206 # between the individual indices and the combined index is specified by
    207 # these.  The default values are indicated.
    208 
    209 # higig2_multicast_vlan_range=4096
    210 # higig2_multicast_l2_range=4096
    211 # higig2_multicast_l3_range=4096
    212 
    213 # In BCM568xx and BCM567xx devices, the some L2 and L3 multicast
    214 # information is stored in a shared resource.  These specify the
    215 # division of this resource.
    216 
    217 # multicast_l2_range=4096
    218 # multicast_l3_range=4096
    219 
    220 # pbmp_valid allows assigning a port bitmap of valid ports.
    221 # Any port not in the bitmap is assumed to not exist.
    222 # Default value is PBMP_ALL(unit), all ports including CPU.
    223 # The cpu port cannot be disabled.
    224 # For BCM5671 this now defaults to 0x14b automatically (ports 1,3,6,8,CPU).
    225 #
    226 #pbmp_valid.0=0x14b
    227 
    228 # higig2_hdr_mode_<port> allows a HG port to default to HiGig2
    229 # encapsulation, instead of HiGig.  This is only available on devices
    230 # which support HiGig2.
    231 #higig2_hdr_mode_hg0=1
    232 # Uncomment the following line to make all HG ports default to HiGig2.
    233 #higig2_hdr_mode=1
    234 
    235 
    236 # pbmp_xport_xe is used to specify if a XPORT block is configured as xe port
    237 # By default, an XPORT block is treated as HG port.
    238 #pbmp_xport_xe.0=0x00000000
    239 # Uncomment the following line instead to set all XPORTs to XE ports.
    240 #pbmp_xport_xe.0=0x0f000000
    241 # On 568xx devices, the XPORT block defaults to XE ports.  Uncomment the
    242 # following line to change all ports to HG ports.  A specific bitmap
    243 # may be provided to select some XE and some HG ports, with the set
    244 # bits initialized to HG ports.  Note that HG and XE ports may be
    245 # exchanged through the bcm_port_encap_set API.
    246 #pbmp_xport_xe.0=0x00000000
    247 
    248 # pbmp_gport_stack is used to specify if a stack capable GE port is
    249 # configured as stack port
    250 # By default, a stack capable GE port is configured as stack port.
    251 #pbmp_gport_stack.0=0x00000006
    252 # Uncomment the following line instead to set all GE ports as regular
    253 # front panel Ethernet ports.
    254 #pbmp_gport_stack.0=0x00000000
    255 
    256 # pbmp_loopback is used to specify if a HIGIG/HIGIG-LITE port is
    257 # configured as loopback port
    258 # Uncomment the following line instead to set all HIGIG/HIGIG-LITE ports as regular
    259 # front panel Ethernet ports.
    260 #pbmp_loopback.0=0x3c000000
    261 
    262 # If phy_enable is set to 0, all ports will use the null PHY driver.
    263 # This is useful for simulations on Quickturn.
    264 
    265 #phy_enable=1
    266 
    267 # Override the MDIO bus address to access a phy for a particular port
    268 #port_phy_addr_xe0.0=24
    269 
    270 # If phy_null_<port> is set to 1, the port will use the null PHY driver.
    271 # This is useful for configuring direct-connect GMII links such as the
    272 # chip-to-chip links on a 48-port board (example shown for 48 port board).
    273 
    274 #phy_null_ge0.0=1
    275 #phy_null_ge1.1=1
    276 
    277 # If phy_simul_<port> is set to 1, the port will use the simulation
    278 # PHY driver.
    279 
    280 #phy_simul_ge0.0=1
    281 #phy_simul_ge1.1=1
    282 
    283 # Turbo port configuration (example shown for 48 port board)
    284 # Drive strength and phase control may be overridden from defaults.
    285 # All are controllable on a per-port basis.
    286 
    287 #turbo_ge0.0=1
    288 #turbo_ge1.1=1
    289 #turbo_drv=0
    290 #turbo_phase=0
    291 
    292 # I/O Voltage selection. (per-port controllable)
    293 # BCM5645B0 and later default turbo_iov to 1 for 2.5V
    294 # board design may require that gig_iov be 1 for 2.5V
    295 
    296 #turbo_iov=0
    297 #gig_iov=0
    298 
    299 # TBI vs. GMII configuration
    300 
    301 #if_tbi_ge0.0=1
    302 #if_tbi_ge1.1=1
    303 
    304 # Serdes Autonegotiation configuration
    305 # This per-port parameter specifies what will happen if autonegotiation is
    306 # on but the remote partner is not autonegotiating.  If the value is zero,
    307 # we will not link.  If the value is non-zero, we will link.
    308 
    309 #phy_serdes_autos=0
    310 
    311 # Per-port parameter indicating the only PHY is 5690 SERDES directly
    312 # connected to a fiber module.  This is needed on 24-port 5690 SDKs
    313 # which have resistors configuration to bypass external 5434/5464.
    314 # SERDES is used automatically if no PHY is detected on the MDIO.
    315 
    316 #phy_5690_ge10=0
    317 #phy_5690_ge11=0
    318 
    319 # Per-port parameter indicating the only PHY is 56XXX SERDES directly
    320 # connected to a fiber module.  This is needed on boards which have
    321 # which have resistors configuration to bypass external 5434/5464.
    322 # SERDES is used automatically if no PHY is detected on the MDIO.
    323 
    324 #phy_56xxx_ge10=0
    325 #phy_56xxx_ge11=0
    326 
    327 # The per-port parameter phy_5464S must be set if a BCM5464S or 5464SR
    328 # is used.  This is needed because the PHY device ID is the same for all
    329 # of 5464/5464R/5464S/5464SR.
    330 
    331 #phy_5464S_ge8=0
    332 #phy_5464S_ge9=0
    333 #phy_5464S_ge10=0
    334 #phy_5464S_ge11=0
    335 
    336 # The per-port parameter phy_8706 must be set if a BCM8706 or BCM8726
    337 # is used. This is needed because the PHY device ID is the same for
    338 # 8704/8706/8726.
    339 #phy_8706_xe0=0
    340 
    341 # Fiber vs. copper autodetection enable
    342 #
    343 # This property defaults to 1 for the 5421S and 5464S.
    344 # This property defaults to 0 for the 5464.
    345 
    346 #phy_automedium_ge0.0=1
    347 #phy_automedium_ge1.1=1
    348 
    349 # Fiber vs. copper preference
    350 #
    351 # When automedium is enabled, phy_fiber_pref indicates which medium to
    352 # prefer if BOTH are active.  Selects fiber (1) or copper (0).
    353 #
    354 # When automedium is disabled, phy_fiber_pref indicates which medium to
    355 # use.  Selects fiber (1) or copper (0).
    356 
    357 #phy_fiber_pref_ge0.0=1
    358 #phy_fiber_pref_ge1.1=1
    359 
    360 # This parameter can be used to skip probing for an external PHY connected
    361 # to a 5673 and just use the internal phy.
    362 #phy_5673_xe0=0
    363 
    364 # Per-port parameter on maximum time to wait for PHY autoneg busy condition.
    365 #phy_autoneg_timeout=250000
    366 
    367 # Per-port phy LED control values (currently only used by 546x phy driver)
    368 # see 546x phy data sheets:
    369 # ledN_mode are LED selector values from phy reg 0x1x[011101, 01110]
    370 # led_ctrl is phy reg 0x1x[01001]
    371 #phy_led1_mode=0
    372 #phy_led2_mode=1
    373 #phy_led3_mode=3
    374 #phy_led4_mode=6
    375 #phy_led_ctrl=0x8
    376 
    377 # Per-port control of fiber signal detection (for 546x phys)
    378 #	0	use the phy's default as signal detect
    379 #	1	use PECL SD as signal detect (default on 5461)
    380 #	4	use LED4 as signal detect (default on 5464)
    381 #	10	use EN_10B as signal detect
    382 # Negating value treats signal detect as loss of signal without
    383 # needing an external inverter on the board
    384 #
    385 
    386 # Initial number of COS queues bcm_init() configures the chip for.
    387 #bcm_num_cos=4
    388 
    389 # XQ distribution weighting (relative) for each COSQ.
    390 #
    391 # Some SOC devices allow weighted distribution of XQs among the COSQs.
    392 # The portion of a port's XQs allocated to any one COSQ is defined
    393 # by that COSQ's weight value divided by the sum of all applicable
    394 # weight values.
    395 #
    396 # A weight of 0 disables that COSQ. Non-zero weights must start at COSQ0
    397 # and occupy contiguous COSQs.
    398 #
    399 # Ideally, the sum of all weight values should add up to the smallest
    400 # power of 2 possible.
    401 
    402 #mmu_xq_weight_cos0=1
    403 #mmu_xq_weight_cos1=1
    404 #mmu_xq_weight_cos2=1
    405 #mmu_xq_weight_cos3=1
    406 #mmu_xq_weight_cos4=1
    407 #mmu_xq_weight_cos5=1
    408 #mmu_xq_weight_cos6=1
    409 #mmu_xq_weight_cos7=1
    410 
    411 # Per-XQ packet aging.
    412 #
    413 # Some SOC devices allow independent packet aging behavior among the COSQs.
    414 #
    415 # An aging value of 0 disables packet aging for that COSQ. Non-zero values
    416 # define the maximum age of a packet (for a COSQ), in milliseconds.
    417 #
    418 # The underlying hardware determines the supported granularity, as well
    419 # as the maximum ratio of the longest aging value to the smallest
    420 # (nonzero) aging value.
    421 
    422 #mmu_xq_aging_cos0=1000
    423 #mmu_xq_aging_cos1=1000
    424 #mmu_xq_aging_cos2=1000
    425 #mmu_xq_aging_cos3=1000
    426 #mmu_xq_aging_cos4=1000
    427 #mmu_xq_aging_cos5=1000
    428 #mmu_xq_aging_cos6=1000
    429 #mmu_xq_aging_cos7=1000
    430 
    431 # MMU Configuration for 56500 style memory managers.
    432 # Includes 56100, 56300, 56200, 53700 familes of devices.
    433 #
    434 # Default MMU xq (packet) controls allow for 8 queues to be used
    435 # even less than 8 are currently configured.  If less than 8 queues
    436 # will ever be used then the remaining queues mmu_xq_weight_cosN
    437 # values should be set to 0.  A 4 queue configuration should set
    438 # mmu_xq_weight_cosN=0 for N=4, 5, 6, 7.
    439 #
    440 # The defaults are indicated here.
    441 #
    442 #mmu_flow_percent=90
    443 #				percentage of per-port cells useable
    444 #				before flow control starts
    445 #mmu_flow_fanin=4
    446 #				number of simulteneous senders to each
    447 #				port for flow control purposes
    448 #mmu_red_drop_percent=60
    449 #mmu_yellow_drop_percent=80
    450 #				percentage of per-port/per-cos packets
    451 #				used before red or yellow packets will
    452 #				be dropped
    453 #mmu_static_bytes=1536
    454 #				per-port/per-cos static reserved limit.
    455 #				Rounded up from bytes to next cell size.
    456 #				Remaining cells are put in dynamic pool.
    457 #				If 0, then mmu_static_percent is used.
    458 #mmu_static_percent=50
    459 #				Percentage of per-port/per-cos cells to
    460 #				use as static reserved limit.
    461 #				Remaining cells are put in dynamic pool.
    462 #				Only used if mmu_static_bytes is 0.
    463 #mmu_reset_bytes=3072
    464 #				(1536 * 2)
    465 #				offset from dynamic cell set limits for
    466 #				reset (enable) limits.
    467 #				Rounded up from bytes to next cell size.
    468 #mmu_overcommit=1
    469 #				non-stack port overcommit factor for
    470 #				dynamic pool
    471 #mmu_overcommit_stack=2
    472 #				stack port overcommit factor for
    473 #				dynamic pool.  If 0, then use the
    474 #				mmu_overcommit value for stack ports
    475 
    476 #
    477 # Linkscan
    478 #
    479 
    480 # Specify ports on which bcm_init will run linkscan (default all).
    481 #bcm_linkscan_pbmp=
    482 
    483 # If non-zero, bcm_init() will start linkscan
    484 #bcm_linkscan_interval=250000
    485 
    486 # If linkscan detects more than bcm_linkscan_maxerr consecutive errors,
    487 # then it disables scanning of that port for bcm_linkscan_errtime usec.
    488 # This is mainly to prevent infinite error messages from scrolling by.
    489 # Use bcm_linkscan_maxerr=0 to disable this feature.
    490 #bcm_linkscan_maxerr=5
    491 #bcm_linkscan_errdelay=10000000
    492 
    493 #
    494 # BCM Statistics Collection
    495 #
    496 # Set bitmap of ports on which stat collection will be enabled.
    497 # Default is all ports.
    498 
    499 #bcm_stat_pbmp=
    500 
    501 # Set interval on which stat collection will be performed.
    502 # Setting this to 0 will prevent counters from being started.
    503 #bcm_stat_interval=1000000
    504 
    505 # Flag values to be ORd together:
    506 #   0x0 indicates that counter DMA should NOT be used
    507 #   0x1 indicates that counter DMA should be used (default).
    508 #bcm_stat_flags=0x1
    509 
    510 # Threshold value for oversize (*OVR) frame size.
    511 # Values over 1518 affect the *OVR statistics computation
    512 #bcm_stat_jumbo=1518
    513 
    514 # Size of ARL DMA buffer
    515 
    516 #arldma_size=1024
    517 
    518 # Timeout for hardware-accelerated ARL delete operations including:
    519 # delete by port, delete by port+modid, delete by VLAN, delete by trunk.
    520 #arl_clean_timeout_usec=5000000
    521 
    522 # L2 table is DMAed into memory to search for entries to delete
    523 # when no hardware assists are available.  DMA is done in smaller
    524 # parts to minimize memory use.  Must be power of 2.
    525 #l2delete_chunks=64
    526 
    527 # Enable L2X shadowing into AVL tree.
    528 #l2xmsg_avl=1
    529 
    530 # Synchronize the L2X table in chunks to spread out the work over
    531 # time and save memory on size of DMA buffer.  Must be power of 2.
    532 #l2xmsg_chunks=8
    533 
    534 # Period between synchronizations of the software L2X shadow table
    535 # with the hardware (5690 only).  The thread actually runs every
    536 # l2xmsg_thread_usec/l2xmsg_chunks microseconds.
    537 
    538 #l2xmsg_thread_usec=3000000
    539 
    540 # The l2xmsg thread will call back to the user any time an L2X address
    541 # is added, removed, or changed.  However, if only the hit bit changes,
    542 # it will not call back unless l2x_msg_shadow_hit_bits is set to 1.
    543 #l2xmsg_shadow_hit_bits=0
    544 
    545 # Mode control to select L2 Table DMA mode aka L2MODE_POLL (0) or
    546 # L2MOD_FIFO mechanism aka L2MODE_FIFO (1) for L2 table change notification.
    547 #l2xmsg_mode=0
    548 
    549 # Enable L2X address grouping
    550 #l2_group_enable=0
    551 
    552 # Run s/w based L2 aging
    553 #run_l2_sw_aging=1
    554 
    555 # Set default maximum number of entry moves for dual hash tables
    556 #dual_hash_recurse_depth=1
    557 
    558 # Set default maximum number of entry moves for multi hash tables
    559 #multi_hash_recurse_depth=1
    560 
    561 # Memory Built-In-Self-Test (BIST) timeout in milliseconds
    562 
    563 #bist_timeout_msec=1000
    564 
    565 # Normally, the system will use polling for register/memory S-Channel
    566 # operations and interrupts for time-consuming operations such as ARL
    567 # insert/delete.  If this schan_intr_enable is set to 0, polling will be
    568 # used for ALL operations.
    569 
    570 #schan_intr_enable=1
    571 
    572 # Length of time to block the S-Channel error interrupt after one occurs.
    573 # Prevents monopolizing the CPU (use 0 to disable any blocking).
    574 #schan_error_block_usec=250000
    575 
    576 # S-Channel operation timeout in microseconds.  Note that ARL
    577 # insert/delete messages can take a while if the ARL is highly active.
    578 
    579 #schan_timeout_usec=300000
    580 
    581 # If miim_intr_enable variable is set to 1, the system will use
    582 # interrupts for MII operations since they take a while (70 usec or so).
    583 # If this variable is set to 0, polling will be used for all MII
    584 # operations.
    585 
    586 #miim_intr_enable=1
    587 
    588 # MIIM operation timeout in microseconds
    589 
    590 #miim_timeout_usec=100000
    591 
    592 # Diagnostics loopback (tr 17 through tr 24) timeout in seconds for
    593 # link up
    594 
    595 #diag_lb_link_timeout=15
    596 
    597 # Diagnostics loopback (tr 17 through tr 24) timeout in seconds for
    598 # loopback packet reception
    599 
    600 #diag_lb_packet_timeout=5
    601 
    602 # Diagnostics loopback - if set to TRUE, all receive buffers are filled
    603 # with 0xdeadbeef before DMAing into them.  It is slow, but then you will
    604 # know if loopback miscompares are due to skipped PCI writes.
    605 #diag_lb_fill_rx=0
    606 
    607 # Packet watcher thread priority
    608 #diag_pw_thread_pri=100
    609 
    610 # Tab width for diagnostics (especially 'show counters')
    611 #diag_tabs=8
    612 
    613 # ASCII comma character for show counters
    614 # Use 44 for comma, 46 for period, 0 for none
    615 #diag_comma=44
    616 
    617 # arl_static_ff indicates that a static entry of VLAN TAG 0xfff must be
    618 # made in the ARL for proper operation, on chips where applicable.
    619 
    620 #arl_static_ff=1
    621 
    622 # The ARL lookup command (on chips supporting it) may fail and require
    623 # retry in the event the ARL is extra busy.
    624 
    625 #arl_lookup_tries=100
    626 
    627 # Limit the number of ARL messages/sec the software will process, to
    628 # keep it from hogging the CPU.  Set to 0 to disable.
    629 # Does not apply to L2X shadow table (see l2xmsg_thread_usec instead).
    630 
    631 #arl_rate_limit=3000
    632 
    633 # Delay this long after an ARL message overrun before a lengthy ARL-
    634 # resync process.  Setting to 0 to disables resync, in peril of getting
    635 # an inconsistent ARL message stream and/or corrupt L2 shadow table.
    636 
    637 #arl_resync_delay=3000000
    638 
    639 # Maximum number of consecutive S-channel errors the counter collection
    640 # code will tolerate before the counter thread gives up and exits.
    641 
    642 #soc_ctr_maxerr=5
    643 
    644 # Skip hardware reset (CMIC_CONFIG.RESET_CPS) when calling soc_reset().
    645 # This means that e.g. 'init soc' will NOT perform a hard reset.
    646 
    647 #soc_skip_reset=1
    648 
    649 # Packet DMA abort timeout
    650 
    651 #pdma_timeout_usec=500000
    652 
    653 # Counter DMA collection pass timeout in microseconds
    654 
    655 #cdma_timeout_usec=100000
    656 
    657 # Table DMA operation timeout in microseconds
    658 
    659 #tdma_timeout_usec=1000000
    660 
    661 # Table DMA operation should use interrupt rather than poll for completion
    662 
    663 #tdma_intr_enable=1
    664 
    665 # Table SLAM DMA operation timeout in microseconds
    666 
    667 #tslam_timeout_usec=1000000
    668 
    669 # Table SLAM DMA operation should use interrupt rather than poll for completion
    670 
    671 #tslam_intr_enable=1
    672 
    673 # Enable/Disable SLAM DMA
    674 #tslam_dma_enable=1
    675 
    676 # Enable/Disable TABLE DMA
    677 #table_dma_enable=1
    678 
    679 # gbpfull_warn_enable enables a warning message to be printed on GBPFULL
    680 # interrupt.  gbpfull_warn_time sets the minimum number of seconds
    681 # between successive GBPFULL messages, to avoid flooding the terminal.
    682 # These variables take affect only after the "init" command is run.
    683 
    684 #gbpfull_warn_enable=1
    685 #gbpfull_warn_time=5
    686 
    687 # Select memory tests run by cfapinit (default MT_PAT_FIVES and MT_PAT_AS)
    688 #cfap_tests=12
    689 
    690 # Memory scan: max errors, and max DMA buffer size in entries
    691 #mem_scan_maxerr=8
    692 #mem_scan_chunk_size=256
    693 
    694 # Miscellaneous thread priorities; 0 is highest and 255 is lowest
    695 
    696 #counter_thread_pri=50
    697 #arlmsg_thread_pri=50
    698 #l2xmsg_thread_pri=50
    699 #mem_scan_thread_pri=50
    700 #linkscan_thread_pri=50
    701 #bcm_tx_thread_pri=50
    702 #bcm_rx_thread_pri=200
    703 #l2age_thread_pri=150
    704 #error_thread_pri=50
    705 
    706 # When a link goes down for any reason, the driver waits for all packets
    707 # to that port to drain from the MMU before continuing.  There is a
    708 # timeout in case the packet count is non-zero AND non-decrementing.
    709 
    710 #lccdrain_timeout_usec=250000
    711 
    712 # PCI device/rev ID override allows you to pretend you are running
    713 # on a different chip (e.g. force 5605 driver to run on 5615)
    714 # NOTE: this one is actually in sysconf.c, not the driver.
    715 
    716 #pci_override_dev=0x5605
    717 #pci_override_rev=1
    718 
    719 # Generic SOC configuration registers located at reserved addresses in
    720 # PCI configuration space (usually address 0x44 and 0x48). Any arbitrary
    721 # 32-bit hex value may be specified.
    722 # NOTE: these settings only work with the VxWorks driver and are provided
    723 # for debugging purposes only.
    724 
    725 #pci_conf_soccfg0=0x0
    726 #pci_conf_soccfg1=0x0
    727 
    728 # Use crytal input for LCPLL
    729 #xgxs_lcpll_xtal_refclk=0
    730 
    731 # Fusion core reference clock selection
    732 # External Clock = 0, Internal LCPLL = 1
    733 #xgxs_lcpll=1
    734 
    735 # Fusion core LCPLL clock speed selection - 10Gbps = 0, 12Gbps = 1
    736 #xgxs_lcpll_12gbps=0
    737 
    738 # Unicore 10G parallel detect (10/12 Gbps legacy speed detection)
    739 #xgxs_pdetect_10g=1
    740 
    741 # Fusion/Uni core preemphasis, driver current and  pre-driver current
    742 # values 0-15 (can be changed per-port)
    743 #xgxs_preemphasis=1
    744 #xgxs_driver_current=1
    745 #xgxs_pre_driver_current=1
    746 
    747 # Fusion PLL lock range value 0-15 (can be changed per-port)
    748 #xgxs_plllock=15
    749 
    750 # Remap XGXS rx and tx lanes to desired mapping. Four bits were used for
    751 # specifying each lane in the format of Lane 0 (bit 15-12), Lane 1 (bit 11-8),
    752 # lane 2 (bit 7-4), and lane 3 (bit 3-0).
    753 # For example, to reverse the tx lane mapping in 3, 2, 1, 0 order,
    754 # set xgxs_tx_lane_map=0x3210.
    755 # efault setting is.
    756 #xgxs_tx_lane_map=0x0123
    757 #xgxs_rx_lane_map=0x0123
    758 
    759 # Serdes reference clock selection
    760 # External Clock = 0, Internal LCPLL = 1
    761 #serdes_lcpll=0
    762 
    763 # Combo Serdes core preemhasis, driver current and pre-driver current
    764 # values 0-15 (can be changed per-port)
    765 # serdes_preemphasis=1
    766 # serdes_driver_current=1
    767 # serdes_pre_driver_current=1
    768 
    769 # switch serdes SGMII master/slave mode configuration.  Default is slave.
    770 # serdes_sgmii_master=0
    771 
    772 # 10G PHY core preemphasis, driver current and pre-driver current
    773 # values 0-15 (can be changed per-port) for SFP+ application.
    774 #phy_preemphasis=1
    775 #phy_driver_current=1
    776 #phy_pre_driver_current=1
    777 
    778 # Unicore Serdes SGMII/fiber auto-detect (can be changed per-port)
    779 # Note that auto-detect only works when auto-negotiation is enabled.
    780 # If auto-detect or auto-negotiation is off then fiber_pref=0 will
    781 # select SGMII and fiber_pref=1 (default) will select fiber.
    782 #serdes_automedium=1
    783 #serdes_fiber_pref=1
    784 
    785 # Enable SGMII autonegotiation between the SOC and PHY if the
    786 # SOC supports SGMII autonegotiation. This feature is not enabled by
    787 # default.
    788 #phy_sgmii_autoneg_ge0.0=1
    789 
    790 # By default, 5670 will be configured to accept the maximum number of
    791 # packets per port, but may drop them if resources are oversubscribed due
    792 # to activity from other ports.  If lossless mode is enabled, 5670 will
    793 # instead be configured to accept packets only if sufficient processing
    794 # resources are guaranteed for all ports.  This may decrease overall
    795 # throughput, but no accepted packets will be dropped.
    796 
    797 #lossless_mode=0
    798 
    799 #24c64 EEPROM and XFP share the same I2C slave address. Set this to
    800 #1 to treat the #device found at this slave address as XFP.
    801 #i2c_nvram_skip=0
    802 
    803 #PCF8574 lpt2 and LTC4258 poe3 share the same I2C slave address. Set
    804 #this to 1 to treat the device found at this slave address as POE.
    805 #i2c_hclk_skip=0
    806 
    807 #PD63000 init power setting. Set this to 1 for 100W; otherwise
    808 #default of 37W is used.
    809 #i2c_poe_power=0
    810 
    811 #Set this to 1 for 189 MHz core, 25 MHz reference used for 12G in 5675.
    812 #core_clock_12G=0
    813 
    814 #Set this to 1 for 5670 compatiable mirror behavior in 5675.
    815 #mirror_5670_mode=0
    816 
    817 #BCM5675 HOL blocking avoidance mode (jitter and hysteresis)
    818 #Set this to 1 to enable jitter for comparing low cell/packet count thresholds
    819 #mmu_hol_jitter=0
    820 #Set this to 1 to enable hysteresis with recommended default low thresholds
    821 #mmu_hol_hysteresis=0
    822 
    823 #Swap XAUI lanes between phy8703/BCM5670 and BCM5673(lynxalot board)
    824 #phy_xaui_rx_lane_swap=0
    825 
    826 #Flip PHY lane TX polarity 8706 (all Lanes) and XGXS16G serdes
    827 #Format: phy_xaui_tx_polarity_flip_logicalPort = VALUE
    828 #VALUE:  1 - Flip TX polarity
    829 #        0 - Do not flip TX polarity
    830 #        Each bit represents one lane
    831 #        Logical lane 0 is the right most bit
    832 #        For TSCe12, which has 3 quads for a logical port, the right most nibble represents
    833 #        the first TSCe4 quad while middle nibble represents the second (middle) TSCe4 quad
    834 #phy_xaui_tx_polarity_flip=0
    835 
    836 #Flip PHY lane TX polarity on applicable ext PHY devices
    837 #Format: phy_tx_polarity_logicalPort = VALUE
    838 #VALUE: 1 - Flip TX polarity.
    839 #       0 - Do not flip TX polarity.
    840 #       Each bit represents one lane.
    841 #phy_tx_polarity_flip=0
    842 
    843 #Flip PHY lane RX polarity on applicable ext PHY devices
    844 #See detail above (TX polarity)
    845 #phy_rx_polarity_flip=0
    846 
    847 #Flip PHY lane TX polarity on applicable PHY devices
    848 #Format: phy_chain_tx_polarity_flip_physical[{<phys_port>.<phy:num>}] = VALUE
    849 #<phys_port>: Physical port number which is corresponding to a physical lane within a Serdes or an external phy.
    850 #<phy_num>:   Serdes or phy number.
    851 #             0 = internal Serdes.
    852 #             1 = the external phy directly attached to Serdes.
    853 #             2 = the external phy attached to phy1.
    854 #             3 = the external phy attached to phy2.
    855 #             etc.
    856 #VALUE:       1 - Flip TX polarity.
    857 #             0 - Do not flip TX polarity.
    858 #             Should be a 1-bit VALUE.
    859 #phy_chain_tx_polarity_flip_physical{0.0} = 0 
    860 
    861 #Flip PHY lane RX polarity on applicable PHY devices
    862 #See detail above (TX polarity)
    863 #phy_chain_rx_polarity_flip_physical{0.0} = 0
    864 
    865 #Invert PCS TX output to PMD. Supported only on BCM8705 PHY.
    866 #phy_tx_invert_ge0.0=0
    867 #phy_rx_invert_ge0.0=0
    868 
    869 #phy_port_primary_and_offset specifies the base port and phy index of a multi slice phy chip.
    870 #phy_port_primary_and_offset_<port>=0xPPOO 0xPP=primary port number 0xOO=offset of the slice
    871 #For example, for ports ge0-ge3 Primary Port number is 02 (address of base/first port)
    872 #phy_port_primary_and_offset_ge0=0x0200 primary port number=0x02 offset=00
    873 #phy_port_primary_and_offset_ge1=0x0201 primary port number=0x02 offset=01
    874 #phy_port_primary_and_offset_ge2=0x0202 primary port number=0x02 offset=02
    875 #phy_port_primary_and_offset_ge3=0x0203 primary port number=0x02 offset=03
    876 
    877 #Port property to set BCM5488 family PHY to operate in class A half amplitude
    878 #mode.
    879 #phy_half_pwr_mode_ge0.0=10    Enable half amplitude for all speed.
    880 #phy_half_pwr_mode_ge0.0=100   Enable half amplitude for all speed.
    881 #phy_half_pwr_mode_ge0.0=1000  Enable half amplitude for Giga speed.
    882 
    883 #Port property to set BCM5488 family PHY to operate in class A/B low power
    884 #mode. Accept value 0(lowest power) to 7(highest power).
    885 #phy_low_power_mode_ge0.0=0
    886 
    887 #Port Property to transform CX4 pinout to Higig pinout on 5650x/5660x
    888 #cx4_to_higig=0
    889 
    890 # 8704 and 8705 XFP clock
    891 # 8704 and 8705 can provide the clock for the XFPs (thus eliminating the need
    892 # for an external clock. By default we enable it, but if you are not using it,
    893 # it should be disabled.
    894 #phy_xfp_clock=1
    895 
    896 # 8705 WAN support
    897 # 8705 PHY driver can support both LAN and WAN mode. The default setting
    898 # is LAN mode.
    899 #phy_wan_mode_xe0=1
    900 
    901 # The following optical controls manage to force various PHY signal on
    902 # BCM8703/4/5
    903 # Control Active Optical Enable output level.
    904 #force_opttxenblvl=0
    905 
    906 # Control Active Optical Reset output level.
    907 #force_opttxrstlvl=0
    908 
    909 # Control Active Laser Bias Fault level.
    910 #force_optbiasfltlvl=0
    911 
    912 # Control Active Temperature level.
    913 #force_opttempfltlvl=0
    914 
    915 # Control Active Laser Power Fault level.
    916 #force_optprfltlvl=0
    917 
    918 # Control Active TX fault level.
    919 #force_opttxfltlvl=0
    920 
    921 # Control Active Laser Loss of light level.
    922 #force_optrxloslvl=0
    923 
    924 # Control Active RX fault level.
    925 #force_optrxfltlvl=0
    926 
    927 # Control Active TX on level.
    928 #force_opttxonlvl=0
    929 
    930 # BCM5665L and BCM5666L support
    931 # The BCM5665L and BCM5666L device IDs are 0x5665, same as the BCM5665.
    932 # However, these devices do not support the upper 24 FE ports.
    933 # The following property must be used to invalidate them.
    934 #pbmp_valid.BCM5665=0x010000001fffffff
    935 
    936 # BCM5665 family debug mode - bypass MCU, allows diagnostics such as
    937 # loopback to be run without initializing the MCU (but requires small
    938 # packet sizes and counts).
    939 #bypass_mcu=1
    940 
    941 # BCM5665 MCU configuration
    942 # See bcm5665 DDR bring up flow chart for MCU tuning procedure
    943 # These are the default values:
    944 
    945 # These are valid for BCM5650/55/65:
    946 #mcu_drv_str0_ch0=1
    947 #mcu_drv_str1_ch0=0
    948 #mcu_pad_data_class2_ch0=1
    949 #mcu_pad_data_drive_ch0=3
    950 #mcu_pad_data_slew_ch0=3
    951 #mcu_pad_addr_class2_ch0=0
    952 #mcu_pad_addr_drive_ch0=3
    953 #mcu_pad_addr_slew_ch0=3
    954 #mcu_delay_dqi_adj_dir_ch0=1
    955 #mcu_delay_dqi_adj_val_ch0=3
    956 #mcu_delay_addr_adj_dir_ch0=1
    957 #mcu_delay_addr_adj_val_ch0=0
    958 
    959 #mcu_drv_str0_ch1=1
    960 #mcu_drv_str1_ch1=0
    961 #mcu_pad_data_class2_ch1=1
    962 #mcu_pad_data_drive_ch1=3
    963 #mcu_pad_data_slew_ch1=3
    964 #mcu_pad_addr_class2_ch1=0
    965 #mcu_pad_addr_drive_ch1=3
    966 #mcu_pad_addr_slew_ch1=3
    967 #mcu_delay_dqi_adj_dir_ch1=1
    968 #mcu_delay_dqi_adj_val_ch1=3
    969 #mcu_delay_addr_adj_dir_ch1=1
    970 #mcu_delay_addr_adj_val_ch1=0
    971 
    972 # These following are only for BCM5665:
    973 #mcu_drv_str0_ch2=1
    974 #mcu_drv_str1_ch2=0
    975 #mcu_pad_data_class2_ch2=1
    976 #mcu_pad_data_drive_ch2=3
    977 #mcu_pad_data_slew_ch2=3
    978 #mcu_pad_addr_class2_ch2=0
    979 #mcu_pad_addr_drive_ch2=3
    980 #mcu_pad_addr_slew_ch2=3
    981 #mcu_delay_dqi_adj_dir_ch2=1
    982 #mcu_delay_dqi_adj_val_ch2=3
    983 #mcu_delay_addr_adj_dir_ch2=1
    984 #mcu_delay_addr_adj_val_ch2=0
    985 
    986 #mcu_drv_str0_ch3=1
    987 #mcu_drv_str1_ch3=0
    988 #mcu_pad_data_class2_ch3=1
    989 #mcu_pad_data_drive_ch3=3
    990 #mcu_pad_data_slew_ch3=3
    991 #mcu_pad_addr_class2_ch3=0
    992 #mcu_pad_addr_drive_ch3=3
    993 #mcu_pad_addr_slew_ch3=3
    994 #mcu_delay_dqi_adj_dir_ch3=1
    995 #mcu_delay_dqi_adj_val_ch3=3
    996 #mcu_delay_addr_adj_dir_ch3=1
    997 #mcu_delay_addr_adj_val_ch3=0
    998 
    999 # The values may be set for all channels (though a channel-specific setting
   1000 # will override these):
   1001 #mcu_drv_str0=1
   1002 #mcu_drv_str1=0
   1003 #mcu_pad_data_class2=1
   1004 #mcu_pad_data_drive=3
   1005 #mcu_pad_data_slew=3
   1006 #mcu_pad_addr_class2=0
   1007 #mcu_pad_addr_drive=3
   1008 #mcu_pad_addr_slew=3
   1009 #mcu_delay_dqi_adj_dir=1
   1010 #mcu_delay_dqi_adj_val=3
   1011 #mcu_delay_addr_adj_dir=1
   1012 #mcu_delay_addr_adj_val=0
   1013 
   1014 # BCM5665 MCU 16bit DDR configuration
   1015 #mcu_16bit_ddr=1
   1016 
   1017 # BCM5665 family filter sizes
   1018 # The FE port filters on 5665/50/55 may be configured for two mask/rule sizes
   1019 # 256 rules and 16 masks (default)
   1020 # 128 rules and 24 masks
   1021 # Use this to select the 128/24 configuation for the chip.
   1022 #filter_resize=1
   1023 
   1024 #
   1025 # Stacking related defines; see stk.soc for board related defines
   1026 #
   1027 #stkvlan=4092
   1028 #stkcos=7
   1029 #stkports="(0,24) (0,25)"
   1030 #
   1031 # Bitmap to indicate reserved modid's system wide
   1032 #stk_rsvd_modids=0
   1033 
   1034 # Command memory controls
   1035 #memcmd_timeout_usec=10000000
   1036 #memcmd_intr_enable=1
   1037 
   1038 # Timeout value in microseconds for BCM5660x search engine initialization
   1039 #seer_init_timeout_usec=50000
   1040 
   1041 # Control to disable parity messages
   1042 #parity_enable=0
   1043 
   1044 # Control to disable parity correction
   1045 #parity_correction=0
   1046 
   1047 # Set BCM5660x external packet buffer to 500 MHz instead of 600 MHz
   1048 #pll600_slowclk=1
   1049 
   1050 # For MCU Channel 0 only (0x2 for Channel 1 only)
   1051 #mcu_channel_bitmap=0x1
   1052 
   1053 # MCU tuning parameters (Default values)
   1054 #mcu_tcrd=7
   1055 #mcu_tcwd=8
   1056 #mcu_twl=6
   1057 #mcu_dll90_offset_tx=3
   1058 #mcu_dll90_offset3=1
   1059 #mcu_dll90_offset2=1
   1060 #mcu_dll90_offset1=1
   1061 #mcu_dll90_offset0_qk=1
   1062 #mcu_dll90_offset_qkb=1
   1063 #mcu_sel_early2_3=0
   1064 #mcu_sel_early2_2=0
   1065 #mcu_sel_early2_1=0
   1066 #mcu_sel_early2_0=0
   1067 #mcu_sel_early1_3=1
   1068 #mcu_sel_early1_2=1
   1069 #mcu_sel_early1_1=1
   1070 #mcu_sel_early1_0=1
   1071 #mcu_odt_imp_enable=1
   1072 
   1073 # Channel 0 only
   1074 #mcu_tcrd_ch0=7
   1075 #mcu_tcwd_ch0=8
   1076 #mcu_twl_ch0=6
   1077 #mcu_dll90_offset_tx_ch0=3
   1078 #mcu_dll90_offset3_ch0=1
   1079 #mcu_dll90_offset2_ch0=1
   1080 #mcu_dll90_offset1_ch0=1
   1081 #mcu_dll90_offset0_qk_ch0=1
   1082 #mcu_dll90_offset_qkb_ch0=1
   1083 #mcu_sel_early2_3_ch0=0
   1084 #mcu_sel_early2_2_ch0=0
   1085 #mcu_sel_early2_1_ch0=0
   1086 #mcu_sel_early2_0_ch0=0
   1087 #mcu_sel_early1_3_ch0=1
   1088 #mcu_sel_early1_2_ch0=1
   1089 #mcu_sel_early1_1_ch0=1
   1090 #mcu_sel_early1_0_ch0=1
   1091 #mcu_odt_imp_enable_ch0=1
   1092 #mcu_ovrd_sm_en_ch0=0
   1093 #mcu_phase_sel_ch0=0
   1094 
   1095 # Channel 1 only
   1096 #mcu_tcrd_ch1=7
   1097 #mcu_tcwd_ch1=8
   1098 #mcu_twl_ch1=6
   1099 #mcu_dll90_offset_tx_ch1=3
   1100 #mcu_dll90_offset3_ch1=1
   1101 #mcu_dll90_offset2_ch1=1
   1102 #mcu_dll90_offset1_ch1=1
   1103 #mcu_dll90_offset0_qk_ch1=1
   1104 #mcu_dll90_offset_qkb_ch1=1
   1105 #mcu_sel_early2_3_ch1=0
   1106 #mcu_sel_early2_2_ch1=0
   1107 #mcu_sel_early2_1_ch1=0
   1108 #mcu_sel_early2_0_ch1=0
   1109 #mcu_sel_early1_3_ch1=1
   1110 #mcu_sel_early1_2_ch1=1
   1111 #mcu_sel_early1_1_ch1=1
   1112 #mcu_sel_early1_0_ch1=1
   1113 #mcu_odt_imp_enable_ch1=1
   1114 #mcu_ovrd_sm_en_ch1=0
   1115 #mcu_phase_sel_ch1=0
   1116 
   1117 # DDR72 tuning parameters (Default values)
   1118 #ddr72_dll90_offset_tx=4
   1119 #ddr72_dll90_offset3=4
   1120 #ddr72_dll90_offset2=4
   1121 #ddr72_dll90_offset1=4
   1122 #ddr72_dll90_offset0_qk=4
   1123 #ddr72_dll90_offset_qkb=4
   1124 #ddr72_sel_early2_3=0
   1125 #ddr72_sel_early2_2=0
   1126 #ddr72_sel_early2_1=0
   1127 #ddr72_sel_early2_0=0
   1128 #ddr72_sel_early1_3=1
   1129 #ddr72_sel_early1_2=1
   1130 #ddr72_sel_early1_1=1
   1131 #ddr72_sel_early1_0=1
   1132 #ddr72_ovrd_sm_en=0
   1133 #ddr72_phase_sel=0
   1134 
   1135 # QDR36 tuning parameters (Default values)
   1136 #qdr36_dll90_offset_tx=4
   1137 #qdr36_dll90_offset_qk=4
   1138 #qdr36_dll90_offset_qkb=4
   1139 #qdr36_sel_early2_1=0
   1140 #qdr36_sel_early2_0=0
   1141 #qdr36_sel_early1_1=1
   1142 #qdr36_sel_early1_0=1
   1143 #qdr36_ovrd_sm_en=0
   1144 #qdr36_phase_sel=0
   1145 
   1146 #BCAM tuning
   1147 #seer_tunnel_sam=2
   1148 
   1149 # Memory configuration
   1150 
   1151 # No external mem (Default)
   1152 #seer_ext_table_cfg=0
   1153 
   1154 # 512K L2
   1155 #seer_ext_table_cfg=1
   1156 
   1157 # 256K LPM
   1158 #seer_ext_table_cfg=2
   1159 
   1160 # 192K L4
   1161 #seer_ext_table_cfg=3
   1162 
   1163 # 96K L4
   1164 #seer_ext_table_cfg=4
   1165 
   1166 # 256K LPM 128K L4
   1167 #seer_ext_table_cfg=5
   1168 
   1169 # 384K LPM 64K L4
   1170 #seer_ext_table_cfg=6
   1171 
   1172 # 128K LPM 64K L4 (QDR testing)
   1173 #seer_ext_table_cfg=7
   1174 
   1175 # 192K LPM 32K L4
   1176 #seer_ext_table_cfg=8
   1177 
   1178 # 448K LPM
   1179 #seer_ext_table_cfg=9
   1180 
   1181 # 896K LPM
   1182 #seer_ext_table_cfg=10
   1183 
   1184 # No TCAM
   1185 #seer_ext_tcam_select=0
   1186 
   1187 # Type 1 TCAM
   1188 #seer_ext_tcam_select=1
   1189 
   1190 # Type 2 TCAM
   1191 #seer_ext_tcam_select=2
   1192 
   1193 # All L2
   1194 #seer_host_hash_table_cfg=0
   1195 
   1196 # Half L2, Half V4
   1197 #seer_host_hash_table_cfg=1
   1198 
   1199 # Half L2, Quarter V4, Quarter V6 (Default)
   1200 #seer_host_hash_table_cfg=2
   1201 
   1202 # Half L2, Half V6
   1203 #seer_host_hash_table_cfg=3
   1204 
   1205 # Quarter L2, Half V4, Quarter V6
   1206 #seer_host_hash_table_cfg=4
   1207 
   1208 # Quarter L2, Quarter V4, Half V6
   1209 #seer_host_hash_table_cfg=5
   1210 
   1211 # All V4
   1212 #seer_host_hash_table_cfg=6
   1213 
   1214 # Half V4, Half V6
   1215 #seer_host_hash_table_cfg=7
   1216 
   1217 # All V6
   1218 #seer_host_hash_table_cfg=8
   1219 
   1220 # All MAC_VLAN
   1221 #seer_mvl_hash_table_cfg=0
   1222 
   1223 # Half MAC_VLAN, Half MYSTATION (Default)
   1224 #seer_mvl_hash_table_cfg=1
   1225 
   1226 # All MYSTATION
   1227 #seer_mvl_hash_table_cfg=2
   1228 
   1229 
   1230 # External memory timing
   1231 #seer_hse_em_latency7=0
   1232 
   1233 #seer_cse_em_latency7=0
   1234 
   1235 # This setting may be used to change the number of LPM entries caches
   1236 # when performing traversals of the tables.  Increasing this number
   1237 # uses more memory for increased speed.
   1238 #seer_lpm_traverse_entries=100
   1239 
   1240 # On BCM5662x devices, enable external TCAM lookup on XPORT block
   1241 # (back-panel ports) instead of XGPORT block (front-panel ports)
   1242 #ext_lookup_on_xport=1
   1243 
   1244 # 72-bit external L2 forward table
   1245 #ext_l2_fwd_table_size=0
   1246 
   1247 # 72-bit external IPv4 forward table
   1248 #ext_ip4_fwd_table_size=0
   1249 
   1250 # 72-bit external IPv6 64-bit prefix length forward table
   1251 #ext_ip6u_fwd_table_size=0
   1252 
   1253 # 144-bit external IPv6 128-bit prefix length forward table
   1254 #ext_ip6_fwd_table_size=0
   1255 
   1256 # 288-bit external L2 ACL table
   1257 #ext_l2_acl_table_size=0
   1258 
   1259 # 288-bit external IPv4 ACL table
   1260 #ext_ip4_acl_table_size=0
   1261 
   1262 # 360-bit external IPv6 ACL table
   1263 #ext_ip6s_acl_table_size=0
   1264 
   1265 # 432-bit external IPv6 ACL table
   1266 #ext_ip6f_acl_table_size=0
   1267 
   1268 # 144-bit external L2 ACL table
   1269 #ext_l2c_acl_table_size=0
   1270 
   1271 # 144-bit external IPv4 ACL table
   1272 #ext_ip4c_acl_table_size=0
   1273 
   1274 # 144-bit external IPv6 ACL table
   1275 #ext_ip6c_acl_table_size=0
   1276 
   1277 # 432-bit external L2 + IPv4 ACL table
   1278 #ext_l2ip4_acl_table_size=0
   1279 
   1280 # 432-bit external L2 + IPv6 ACL table
   1281 #ext_l2ip6_acl_table_size=0
   1282 
   1283 # External TCAM PLL frequency
   1284 #ext_tcam_mode=500
   1285 
   1286 # External SRAM PLL frequency
   1287 #ext_sram_mode=334
   1288 
   1289 # External TCAM mode, 0 for 6 cycles per pakcet, 1 for 4 cycles per packet
   1290 #ext_tcam_mode=0
   1291 
   1292 # External SRAM mode, 0 for 1.5 clock latency, 1 for 2 clock latency
   1293 #ext_sram_mode=1
   1294 
   1295 # External associated data mode:
   1296 # 1: 250 MHz, L2 table in ES0
   1297 # 2: 250 MHz, L2 table in ES1
   1298 # 3: 250 MHz, L3 table in ES0
   1299 # 4: 250 MHz, L3 table in ES1
   1300 # 5: 250 MHz, L2 and L3 table in ES0
   1301 # 6: 250 MHz, L2 and L3 table in ES1
   1302 # 7: 334 MHz, ACL table in ES0
   1303 # 8: 334 MHz, ACL table in ES1
   1304 # 9: 250 MHz, ACL table in both ES0 and ES1
   1305 # 10: 250 MHz, L2 and ACL table in both ES0 and ES1
   1306 # 11: 250 MHz, L3 and ACL table in both ES0 and ES1
   1307 # 12: 334 MHz, L2 and L3 and ACL table in both ES0 and ES1
   1308 #ext_ad_mode=12
   1309 
   1310 # External IPv6 forwarding search key selection
   1311 # 0 for 72-bit, 1 for 144-bit
   1312 #ext_ip6_fwd_key=0
   1313 
   1314 # External ACL search key selection for L2 packet
   1315 # 0 for disable, 1 for 288-bit, 2 for 144-bit
   1316 #ext_l2_acl_key=1
   1317 
   1318 # External ACL search key selection for IPv4 packet
   1319 # 0 for disable, 1 for 288-bit, 2 for 144-bit, 3 for using both L2 and IP4 key,
   1320 # 4 for using L2 key
   1321 #ext_ip4_acl_key=1
   1322 
   1323 # External ACL search key selection for IPV6 packet
   1324 # 0 for disable, 1 for 360-bit, 2 for 432-bit, 3 for 144-bit,
   1325 # 4 for using both L2 and IP6 key, 5 for using L2 key
   1326 #ext_ip6_acl_key=1
   1327 
   1328 # RCPU master unit. This is unit which is used to inject pkts to slave rcpu device.
   1329 #rcpu_master_unit=0
   1330 
   1331 # switch port connected to slave RCPU device.
   1332 #rcpu_port=3
   1333 
   1334 # RCPU vlanid
   1335 #rcpu_vlan=1
   1336 
   1337 # Use OOB (out of band) channel for sending/receiving rcpu packets
   1338 #rcpu_use_oob=1
   1339 
   1340 # Mac driver/unit to use
   1341 #rcpu_oob_channel
   1342 
   1343 # Valid ports on which RCPU packets can be receied by slave device.
   1344 #rcpu_rx_pbmp=0x4
   1345 
   1346 # Enable diag shell port mapping. Port names will be assigned in
   1347 # dport order, and the BCM shell will list multiple ports in
   1348 # dport order regardless of the internal port numbering.
   1349 #dport_map_enable=1
   1350 
   1351 # Port names for each port type (fe, ge, etc.) will increment
   1352 # by one starting at zero, e.g. if a switch has four xe ports
   1353 # with dport numbers 24, 25, 26, and 27, they will be named
   1354 # xe0, xe1, xe2, and xe3. In non-indexed mode the ports would
   1355 # be named xe24, xe25, xe26, and xe27.
   1356 #dport_map_indexed=1
   1357 
   1358 # Traditionally, specifying a raw number instead of a port name
   1359 # in the diag shell will be parsed as if port numbers are counted
   1360 # from 1 up to the number of enabled ports. Typically this would
   1361 # mean that for a gigabit switch, port 1 would correspond to ge0,
   1362 # and so forth. Setting this flag causes raw port numbers to be
   1363 # parsed as internal port numbers.
   1364 #dport_map_direct=0
   1365 
   1366 # Map dport number <dport> to internal port number <port>.
   1367 #dport_map_port_<port>=<dport>
   1368 
   1369 # Port number and bandwidth assignment.
   1370 # For example:
   1371 # portmap_5=9:40:EQ assigns physical port 9 as port 5, the
   1372 # maximum bandwidth is 40Gb, the port is expected to support extended queueing.
   1373 # portmap_2=1:40:2 assigns physical port 1 as port 2, mapping to 2 lanes.
   1374 # The maximum bandwidth is 40Gb.
   1375 # portmap_3=1:100:244 assigns physical port 1 as port 3 with 100Gb maximum bandwidth.
   1376 # The port maps to the first 2 lanes in TSCe0, and 4 lanes in TSCe1 and in TSCe2.
   1377 #portmap_<port>=<physical port number>:<bandwidth in Gb>[:EQ]
   1378 #portmap_<port>=<physical port number>:<bandwidth in Gb>[:1/2/4]
   1379 #portmap_<port>=<physical port number>:<bandwidth in Gb>[:343/442/244]
   1380 
   1381 # Flex port config per port group in terms of number of lanes per port in the group.
   1382 # This can be used to configure the flex ports in any mode at system init time.
   1383 # For example portgroup_0=1 creates 4 ports with single lane each in port group 0.
   1384 # Valid values for num_lanes are 1, 2, 4.
   1385 #portgroup_<group_no>=<num_lanes>
   1386 
   1387 # Indicates the maximum speed that any port can be set to in a device.
   1388 # This is used to determine the maximum number of logical numbers
   1389 # for the device.
   1390 #port_flex_speed_max=42000
   1391 #
   1392 # For BCM56860 devices, indicates the maximum speed that a port on a pipe.
   1393 # These fields are optional but if one is defined, the other MUST be as well.
   1394 # If defined, these two fields take precedence over port_flex_speed_max. If
   1395 # neither is defined, port_flex_speed_max is used for the device; these fields
   1396 # DO NOT have a default value since they are optional.
   1397 #port_flex_speed_max_x=42000
   1398 #port_flex_speed_max_y=42000
   1399 #
   1400 # Indicates that the port module (macro) on which the given physical
   1401 # port resides is flex capable (or flex enabled). Users always have
   1402 # to give the first physical port residing on the port macro in
   1403 # this config property. 
   1404 #
   1405 # For BCM56860 based devices, enabling flex on port macros 
   1406 # consisting of smaller port macros enables flex on the entire
   1407 # subset of smaller port macros. For example, in this device
   1408 # a TSC-12 is comprised of three TSC-4. Enabling flex on the TSC-12
   1409 # will enable flex on each of the three individual TSC-4.
   1410 #
   1411 #port_flex_enable{physical port number}=1
   1412 #port_flex_enable=1
   1413 # Valid values are 0 (disable) or 1 (enable)
   1414 # Default value is 0
   1415 # If given without physical port number as in the example above,
   1416 # the config applies to all ports. Of course, if there is a more specific
   1417 # config (with physical port) present, that takes precedence.
   1418 
   1419 # Indicates the maximum number of ports that the core could flex to.
   1420 # Valid values are 1, 2 or 4. Default value is 4.
   1421 # port_flex_enable must be enabled on that core to enable flex port.
   1422 # The value of port_flex_max_ports must be equal or greater than the number of ports
   1423 # that have been mapped to the core by property "portmap"
   1424 # If given without index, the config applies to all cores.
   1425 #port_flex_max_ports{physical port number}=4
   1426 #port_flex_max_ports_core<core number>=2
   1427 #port_flex_max_ports=1
   1428 
   1429 # Enable translation of physical port numbers within the BCM layer.
   1430 # This feature allows a new device to emulate an older similar
   1431 # device even if the physical port map is different. Note that
   1432 # translation support must be compiled in as well.
   1433 #bcm_xlate_api_port_enable=1
   1434 
   1435 # Specify a BCM port translation map.
   1436 #bcm_xlate_port_map=bcm56524_to_bcm56504
   1437 #bcm_xlate_port_map=bcm56620_to_bcm56504
   1438 #bcm_xlate_port_map=bcm56630_to_bcm56504
   1439 #bcm_xlate_port_map=bcm56524_single_modid
   1440 #bcm_xlate_port_map=bcm56636_single_modid
   1441 #bcm_xlate_port_map=bcm56636_single_modid_alt
   1442 
   1443 # Allow customized BCM translation maps. The example below will
   1444 # map physical port 2 to BCM port 0.
   1445 #bcm_xlate_port_2=0
   1446 
   1447 # Enable translation of system port numbers to physical port numbers
   1448 # in hardware (if supported by the switch device). This feature may
   1449 # be used to complement the BCM API translation feature, but can
   1450 # also be used to limit the use of module IDs on devices with 32 or
   1451 # fewer ports in case some physical port numbers reside beyond 31.
   1452 #bcm_xlate_sysport_enable=0
   1453 
   1454 # Convenience variable that can be used to turn off both physical
   1455 # and system port mapping. This variable overrides the dedicated
   1456 # variables described above.
   1457 #bcm_xlate_port_enable=1
   1458 
   1459 # Interval (in usecs) at which the port monitor thread will run.
   1460 # The port monitor can be used to handle workarounds which are
   1461 # required only with specific equipment configurations.
   1462 #portmon_interval=0
   1463 
   1464 # Select whether to always attach the corresponding Serdes shadow
   1465 # driver for Raptor and Raven devices. Note that when deciding
   1466 # which driver to attach, MDIO accesses are also verified indepedently
   1467 # and checked for corruption. If corruption is detected, the
   1468 # shadow driver is attached regardless of this property.
   1469 # To always attach the shadow driver for a port:
   1470 #serdes_shadow_driver_<port>=1
   1471 
   1472 #MACSEC PHY properties
   1473 #The following proporties are effective on MACSEC capable PHYs. Currently
   1474 #BCM54580 family based PHYs are MACSEC capable.
   1475 
   1476 #Enable MACSEC feature on the MACSEC phys.
   1477 #macsec_enable
   1478 
   1479 #MACSEC device address. MACSEC devices address, used to adress MACSEC core.
   1480 #This is MDIO address that is being assigned to MACSEC core. The MDIO address
   1481 #gets programmed to MACSEC PHY during initialization if MACSEC is enabled.
   1482 #macsec_dev_addr
   1483 
   1484 #A MACSEC phy could be an integrated PHYs with multiple ports. This property
   1485 #is needed to identify the index of each PHY port.
   1486 #macsec_port_index
   1487 
   1488 #Define port bitmap of FE ports that use 100-FX mode.
   1489 #pbmp_fe_100fx=0xffffff
   1490 
   1491 #
   1492 # CES Properties
   1493 #
   1494 # ces_port_tdm_proto - This property selects the TDM protocol to be used for the TDM ports.
   1495 # Valid values are T1 and E1, default is T1.
   1496 #ces_port_tdm_proto=E1
   1497 
   1498 #
   1499 # RX COS queues (5644x)
   1500 #
   1501 # Queues assignment to share across host CPU and uControllers.
   1502 # By default, all 48 queues are assigned to the host CPU.  The sum
   1503 # of all queues must be equal to 48.
   1504 #
   1505 #num_queues_pci=48
   1506 #num_queues_uc0=0
   1507 #num_queues_uc1=0
   1508 #
   1509 
   1510 #
   1511 # BFD
   1512 #
   1513 # BFD COS queue.  Default is highest available queue assigned to the uC
   1514 # where the BFD application is running on.
   1515 #bfd_cosq=
   1516 #
   1517 # Maximum number of BFD sessions
   1518 #bfd_num_sessions=256
   1519 #
   1520 # Maximum number of Simple Password and SHA1 keys
   1521 #bfd_simple_password_keys=0
   1522 #bfd_sha1_keys=0
   1523 #
   1524 
   1525 #
   1526 # Triumph3 ESM
   1527 #
   1528 # Specifying MDIO port addresses for the external tcams. tcam0 default is 1
   1529 # tcam1 default is 2 for broadcom boards.
   1530 # port_phy_addr_ext_tcam0
   1531 # port_phy_addr_ext_tcam1
   1532 #
   1533 
   1534 # Memory table size configs in terms of the widest entry type.
   1535 #l2_mem_entries=<>
   1536 #l3_mem_entries=<>
   1537 #vlan_xlate_mem_entries=<>
   1538 #egr_vlan_xlate_mem_entries=<>
   1539 #mpls_mem_entries=<>
   1540 
   1541 #
   1542 # Accelerated Linkscan
   1543 #
   1544 # Enables accelerated linkscan mode on given port.
   1545 # This feature is not enabled by default.
   1546 # This is a per-port property.
   1547 # rx_fast_los_link_<port>
   1548 # rx_fast_los_link_xe=1
   1549 # rx_fast_los_link=1
   1550 #
   1551 # Indicates the time interval in usecs when linkscan is in accelerated mode.
   1552 # rx_fast_los_usec=100000
   1553 #
   1554 # Indicates the maximum number of times Linkscan will poll in
   1555 # accelerated mode without a status change in any accelerated mode ports.
   1556 # rx_fast_los_poll_count_max=10
   1557 #