Deleted Added
full compact
t4fw_cfg_uwire.txt (256281) t4fw_cfg_uwire.txt (256791)
1# Chelsio T4 Factory Default configuration file.
2#
1# Chelsio T4 Factory Default configuration file.
2#
3# Copyright (C) 2010-2012 Chelsio Communications. All rights reserved.
3# Copyright (C) 2010-2013 Chelsio Communications. All rights reserved.
4#
5# DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES. MODIFICATION OF
6# THIS FILE WILL RESULT IN A NON-FUNCTIONAL T4 ADAPTER AND MAY RESULT
7# IN PHYSICAL DAMAGE TO T4 ADAPTERS.
8
9# This file provides the default, power-on configuration for 4-port T4-based
10# adapters shipped from the factory. These defaults are designed to address
11# the needs of the vast majority of T4 customers. The basic idea is to have

--- 92 unchanged lines hidden (view full) ---

104 reg[0x1058] = 2048 # SGE_FL_BUFFER_SIZE5
105 reg[0x105c] = 128 # SGE_FL_BUFFER_SIZE6
106 reg[0x1060] = 8192 # SGE_FL_BUFFER_SIZE7
107 reg[0x1064] = 16384 # SGE_FL_BUFFER_SIZE8
108 reg[0x10a4] = 0xa000a000/0xf000f000 # SGE_DBFIFO_STATUS
109 reg[0x10a8] = 0x2000/0x2000 # SGE_DOORBELL_CONTROL
110 sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs
111
4#
5# DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES. MODIFICATION OF
6# THIS FILE WILL RESULT IN A NON-FUNCTIONAL T4 ADAPTER AND MAY RESULT
7# IN PHYSICAL DAMAGE TO T4 ADAPTERS.
8
9# This file provides the default, power-on configuration for 4-port T4-based
10# adapters shipped from the factory. These defaults are designed to address
11# the needs of the vast majority of T4 customers. The basic idea is to have

--- 92 unchanged lines hidden (view full) ---

104 reg[0x1058] = 2048 # SGE_FL_BUFFER_SIZE5
105 reg[0x105c] = 128 # SGE_FL_BUFFER_SIZE6
106 reg[0x1060] = 8192 # SGE_FL_BUFFER_SIZE7
107 reg[0x1064] = 16384 # SGE_FL_BUFFER_SIZE8
108 reg[0x10a4] = 0xa000a000/0xf000f000 # SGE_DBFIFO_STATUS
109 reg[0x10a8] = 0x2000/0x2000 # SGE_DOORBELL_CONTROL
110 sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs
111
112 # enable TP_OUT_CONFIG.IPIDSPLITMODE
113 reg[0x7d04] = 0x00010000/0x00010000
114
112 reg[0x7dc0] = 0x62f8849 # TP_SHIFT_CNT
113
115 reg[0x7dc0] = 0x62f8849 # TP_SHIFT_CNT
116
114 # Selection of tuples for LE filter lookup, fields (and widths which
115 # must sum to <= 36): { IP Fragment (1), MPS Match Type (3),
116 # IP Protocol (8), [Inner] VLAN (17), Port (3), FCoE (1) }
117 #
117 # TP_VLAN_PRI_MAP to select filter tuples
118 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
119 # protocol, tos, vlan, vnic_id, port, fcoe
120 # valid filterModes are described the Terminator 4 Data Book
118 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
119
121 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
122
123 # filter tuples enforced in LE active region (equal to or subset of filterMode)
124 filterMask = protocol, fcoe
125
120 # Percentage of dynamic memory (in either the EDRAM or external MEM)
121 # to use for TP RX payload
126 # Percentage of dynamic memory (in either the EDRAM or external MEM)
127 # to use for TP RX payload
122 tp_pmrx = 30
128 tp_pmrx = 34
123
124 # TP RX payload page size
125 tp_pmrx_pagesize = 64K
126
127 # TP number of RX channels
128 tp_nrxch = 0 # 0 (auto) = 1
129
130 # Percentage of dynamic memory (in either the EDRAM or external MEM)
131 # to use for TP TX payload
129
130 # TP RX payload page size
131 tp_pmrx_pagesize = 64K
132
133 # TP number of RX channels
134 tp_nrxch = 0 # 0 (auto) = 1
135
136 # Percentage of dynamic memory (in either the EDRAM or external MEM)
137 # to use for TP TX payload
132 tp_pmtx = 50
138 tp_pmtx = 32
133
134 # TP TX payload page size
135 tp_pmtx_pagesize = 64K
136
137 # TP number of TX channels
138 tp_ntxch = 0 # 0 (auto) = equal number of ports
139
139
140 # TP TX payload page size
141 tp_pmtx_pagesize = 64K
142
143 # TP number of TX channels
144 tp_ntxch = 0 # 0 (auto) = equal number of ports
145
146 # TP OFLD MTUs
147 tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
148
140# Some "definitions" to make the rest of this a bit more readable. We support
141# 4 ports, 3 functions (NIC, FCoE and iSCSI), scaling up to 8 "CPU Queue Sets"
142# per function per port ...
143#
144# NMSIX = 1088 # available MSI-X Vectors
145# NVI = 128 # available Virtual Interfaces
146# NMPSTCAM = 336 # MPS TCAM entries
147#

--- 208 unchanged lines hidden (view full) ---

356 nethofld = 1024 # number of user mode ethernet flow contexts
357 nroute = 32 # number of routing region entries
358 nclip = 32 # number of clip region entries
359 nfilter = 496 # number of filter region entries
360 nserver = 496 # number of server region entries
361 nhash = 12288 # number of hash region entries
362 protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu
363 tp_l2t = 3072
149# Some "definitions" to make the rest of this a bit more readable. We support
150# 4 ports, 3 functions (NIC, FCoE and iSCSI), scaling up to 8 "CPU Queue Sets"
151# per function per port ...
152#
153# NMSIX = 1088 # available MSI-X Vectors
154# NVI = 128 # available Virtual Interfaces
155# NMPSTCAM = 336 # MPS TCAM entries
156#

--- 208 unchanged lines hidden (view full) ---

365 nethofld = 1024 # number of user mode ethernet flow contexts
366 nroute = 32 # number of routing region entries
367 nclip = 32 # number of clip region entries
368 nfilter = 496 # number of filter region entries
369 nserver = 496 # number of server region entries
370 nhash = 12288 # number of hash region entries
371 protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu
372 tp_l2t = 3072
364 tp_ddp = 2
373 tp_ddp = 3
365 tp_ddp_iscsi = 2
374 tp_ddp_iscsi = 2
366 tp_stag = 2
367 tp_pbl = 5
368 tp_rq = 7
375 tp_stag = 3
376 tp_pbl = 10
377 tp_rq = 13
369
370# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may
371# need to have Virtual Interfaces on each of the four ports with up to NCPUS
372# "Queue Sets" each.
373#
374[function "5"]
375 wx_caps = all # write/execute permissions for all commands
376 r_caps = all # read permissions for all commands

--- 23 unchanged lines hidden (view full) ---

400 neq = 66 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA)
401 nexactf = 32 # NPORTS + adding 28 exact entries for FCoE
402 # which is OK since < MIN(SUM PF0..3, PF4)
403 # and we never load PF0..3 and PF4 concurrently
404 cmask = all # access to all channels
405 pmask = all # access to all four ports ...
406 nhash = 2048
407 protocol = fcoe_initiator
378
379# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may
380# need to have Virtual Interfaces on each of the four ports with up to NCPUS
381# "Queue Sets" each.
382#
383[function "5"]
384 wx_caps = all # write/execute permissions for all commands
385 r_caps = all # read permissions for all commands

--- 23 unchanged lines hidden (view full) ---

409 neq = 66 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA)
410 nexactf = 32 # NPORTS + adding 28 exact entries for FCoE
411 # which is OK since < MIN(SUM PF0..3, PF4)
412 # and we never load PF0..3 and PF4 concurrently
413 cmask = all # access to all channels
414 pmask = all # access to all four ports ...
415 nhash = 2048
416 protocol = fcoe_initiator
408 tp_ddp = 2
417 tp_ddp = 1
409 fcoe_nfcf = 16
410 fcoe_nvnp = 32
411 fcoe_nssn = 1024
412
413# The following function, 1023, is not an actual PCIE function but is used to
414# configure and reserve firmware internal resources that come from the global
415# resource pool.
416#

--- 98 unchanged lines hidden (view full) ---

515 dcb = ppp, dcbx
516 bg_mem = 25
517 lpbk_mem = 25
518 hwm = 30
519 lwm = 15
520 dwm = 30
521
522[fini]
418 fcoe_nfcf = 16
419 fcoe_nvnp = 32
420 fcoe_nssn = 1024
421
422# The following function, 1023, is not an actual PCIE function but is used to
423# configure and reserve firmware internal resources that come from the global
424# resource pool.
425#

--- 98 unchanged lines hidden (view full) ---

524 dcb = ppp, dcbx
525 bg_mem = 25
526 lpbk_mem = 25
527 hwm = 30
528 lwm = 15
529 dwm = 30
530
531[fini]
523 version = 0x1425000d
524 checksum = 0x25c2f782
532 version = 0x14250010
533 checksum = 0x5a5526c3
525
526# Total resources used by above allocations:
527# Virtual Interfaces: 104
528# Ingress Queues/w Free Lists and Interrupts: 526
529# Egress Queues: 702
530# MPS TCAM Entries: 336
531# MSI-X Vectors: 736
532# Virtual Functions: 64
533#
534
535# Total resources used by above allocations:
536# Virtual Interfaces: 104
537# Ingress Queues/w Free Lists and Interrupts: 526
538# Egress Queues: 702
539# MPS TCAM Entries: 336
540# MSI-X Vectors: 736
541# Virtual Functions: 64
542#
534# $FreeBSD: stable/10/sys/dev/cxgbe/firmware/t4fw_cfg_uwire.txt 252661 2013-07-03 23:52:15Z np $
543# $FreeBSD: stable/10/sys/dev/cxgbe/firmware/t4fw_cfg_uwire.txt 256791 2013-10-20 15:24:44Z np $
535#
544#