t6fw_cfg_uwire.txt revision 331719
1# Chelsio T6 Factory Default configuration file.
2#
3# Copyright (C) 2014-2017 Chelsio Communications.  All rights reserved.
4#
5#   DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES.  MODIFICATION OF THIS FILE
6#   WILL RESULT IN A NON-FUNCTIONAL ADAPTER AND MAY RESULT IN PHYSICAL DAMAGE
7#   TO ADAPTERS.
8
9
10# This file provides the default, power-on configuration for 2-port T6-based
11# adapters shipped from the factory.  These defaults are designed to address
12# the needs of the vast majority of Terminator customers.  The basic idea is to
13# have a default configuration which allows a customer to plug a Terminator
14# adapter in and have it work regardless of OS, driver or application except in
15# the most unusual and/or demanding customer applications.
16#
17# Many of the Terminator resources which are described by this configuration
18# are finite.  This requires balancing the configuration/operation needs of
19# device drivers across OSes and a large number of customer application.
20#
21# Some of the more important resources to allocate and their constaints are:
22#  1. Virtual Interfaces: 256.
23#  2. Ingress Queues with Free Lists: 1024.
24#  3. Egress Queues: 128K.
25#  4. MSI-X Vectors: 1088.
26#  5. Multi-Port Support (MPS) TCAM: 336 entries to support MAC destination
27#     address matching on Ingress Packets.
28#
29# Some of the important OS/Driver resource needs are:
30#  6. Some OS Drivers will manage all resources through a single Physical
31#     Function (currently PF4 but it could be any Physical Function).
32#  7. Some OS Drivers will manage different ports and functions (NIC,
33#     storage, etc.) on different Physical Functions.  For example, NIC
34#     functions for ports 0-1 on PF0-1, FCoE on PF4, iSCSI on PF5, etc.
35#
36# Some of the customer application needs which need to be accommodated:
37#  8. Some customers will want to support large CPU count systems with
38#     good scaling.  Thus, we'll need to accommodate a number of
39#     Ingress Queues and MSI-X Vectors to allow up to some number of CPUs
40#     to be involved per port and per application function.  For example,
41#     in the case where all ports and application functions will be
42#     managed via a single Unified PF and we want to accommodate scaling up
43#     to 8 CPUs, we would want:
44#
45#         2 ports *
46#         3 application functions (NIC, FCoE, iSCSI) per port *
47#         16 Ingress Queue/MSI-X Vectors per application function
48#
49#     for a total of 96 Ingress Queues and MSI-X Vectors on the Unified PF.
50#     (Plus a few for Firmware Event Queues, etc.)
51#
52#  9. Some customers will want to use PCI-E SR-IOV Capability to allow Virtual
53#     Machines to directly access T6 functionality via SR-IOV Virtual Functions
54#     and "PCI Device Passthrough" -- this is especially true for the NIC
55#     application functionality.
56#
57
58
59# Global configuration settings.
60#
61[global]
62	rss_glb_config_mode = basicvirtual
63	rss_glb_config_options = tnlmapen,hashtoeplitz,tnlalllkp
64
65	# PL_TIMEOUT register
66	pl_timeout_value = 200		# the timeout value in units of us
67
68	# The following Scatter Gather Engine (SGE) settings assume a 4KB Host
69	# Page Size and a 64B L1 Cache Line Size. It programs the
70	# EgrStatusPageSize and IngPadBoundary to 64B and the PktShift to 2.
71	# If a Master PF Driver finds itself on a machine with different
72	# parameters, then the Master PF Driver is responsible for initializing
73	# these parameters to appropriate values.
74	#
75	# Notes:
76	#  1. The Free List Buffer Sizes below are raw and the firmware will
77	#     round them up to the Ingress Padding Boundary.
78	#  2. The SGE Timer Values below are expressed below in microseconds.
79	#     The firmware will convert these values to Core Clock Ticks when
80	#     it processes the configuration parameters.
81	#
82	reg[0x1008] = 0x40800/0x21c70	# SGE_CONTROL
83	reg[0x100c] = 0x22222222	# SGE_HOST_PAGE_SIZE
84	reg[0x10a0] = 0x01040810	# SGE_INGRESS_RX_THRESHOLD
85	reg[0x1044] = 4096		# SGE_FL_BUFFER_SIZE0
86	reg[0x1048] = 65536		# SGE_FL_BUFFER_SIZE1
87	reg[0x104c] = 1536		# SGE_FL_BUFFER_SIZE2
88	reg[0x1050] = 9024		# SGE_FL_BUFFER_SIZE3
89	reg[0x1054] = 9216		# SGE_FL_BUFFER_SIZE4
90	reg[0x1058] = 2048		# SGE_FL_BUFFER_SIZE5
91	reg[0x105c] = 128		# SGE_FL_BUFFER_SIZE6
92	reg[0x1060] = 8192		# SGE_FL_BUFFER_SIZE7
93	reg[0x1064] = 16384		# SGE_FL_BUFFER_SIZE8
94
95	sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs
96	reg[0x10c4] = 0x20000000/0x20000000 # GK_CONTROL, enable 5th thread
97
98	# enable TP_OUT_CONFIG.IPIDSPLITMODE
99	reg[0x7d04] = 0x00010000/0x00010000
100
101	reg[0x7dc0] = 0x0e2f8849	# TP_SHIFT_CNT
102
103	#Tick granularities in kbps
104	tsch_ticks = 100000, 10000, 1000, 10
105
106	# TP_VLAN_PRI_MAP to select filter tuples and enable ServerSram
107	# filter control: compact, fcoemask
108	# server sram   : srvrsram
109	# filter tuples : fragmentation, mpshittype, macmatch, ethertype,
110	#		  protocol, tos, vlan, vnic_id, port, fcoe
111	# valid filterModes are described the Terminator 5 Data Book
112	# vnicMode = pf_vf  #default. Other values are outer_vlan, encapsulation
113	filterMode = fcoemask, srvrsram, fragmentation, mpshittype, protocol, vlan, port, fcoe
114
115	# filter tuples enforced in LE active region (equal to or subset of filterMode)
116	filterMask = protocol, fcoe
117
118	# Percentage of dynamic memory (in either the EDRAM or external MEM)
119	# to use for TP RX payload
120	tp_pmrx = 30
121
122	# TP RX payload page size
123	tp_pmrx_pagesize = 64K
124
125	# TP number of RX channels
126	tp_nrxch = 0		# 0 (auto) = 1
127
128	# Percentage of dynamic memory (in either the EDRAM or external MEM)
129	# to use for TP TX payload
130	tp_pmtx = 50
131
132	# TP TX payload page size
133	tp_pmtx_pagesize = 64K
134
135	# TP number of TX channels
136	tp_ntxch = 0		# 0 (auto) = equal number of ports
137
138	# TP OFLD MTUs
139	tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
140
141	# enable TP_OUT_CONFIG.IPIDSPLITMODE and CRXPKTENC
142	reg[0x7d04] = 0x00010008/0x00010008
143
144	# TP_GLOBAL_CONFIG
145	reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
146
147	# TP_PC_CONFIG
148	reg[0x7d48] = 0x00000000/0x00000400 # clear EnableFLMError
149
150	# TP_PARA_REG0
151	reg[0x7d60] = 0x06000000/0x07000000 # set InitCWND to 6
152
153	# LE_DB_CONFIG
154	reg[0x19c04] = 0x00000000/0x00440000 # LE Server SRAM disabled
155					     # LE IPv4 compression disabled 
156	# LE_DB_HASH_CONFIG
157	reg[0x19c28] = 0x00800000/0x01f00000 # LE Hash bucket size 8, 
158
159	# ULP_TX_CONFIG
160	reg[0x8dc0] = 0x00000104/0x00000104 # Enable ITT on PI err
161					    # Enable more error msg for ...
162					    # TPT error.
163
164	# ULP_RX_MISC_FEATURE_ENABLE
165	#reg[0x1925c] = 0x01003400/0x01003400 # iscsi tag pi bit
166					     # Enable offset decrement after ...
167					     # PI extraction and before DDP
168					     # ulp insert pi source info in DIF
169					     # iscsi_eff_offset_en
170
171	#Enable iscsi completion moderation feature
172	reg[0x1925c] = 0x000041c0/0x000031c0	# Enable offset decrement after
173						# PI extraction and before DDP.
174						# ulp insert pi source info in
175						# DIF.
176						# Enable iscsi hdr cmd mode.
177						# iscsi force cmd mode.
178						# Enable iscsi cmp mode.
179	# MC configuration
180	#mc_mode_brc[0] = 1		# mc0 - 1: enable BRC, 0: enable RBC
181
182	# HMA configuration
183	hma_size = 64			# Size (in MBs) of host memory expected
184	hma_regions = stag,pbl,rq	# What all regions to place in host memory
185
186# Some "definitions" to make the rest of this a bit more readable.  We support
187# 4 ports, 3 functions (NIC, FCoE and iSCSI), scaling up to 8 "CPU Queue Sets"
188# per function per port ...
189#
190# NMSIX = 1088			# available MSI-X Vectors
191# NVI = 256			# available Virtual Interfaces
192# NMPSTCAM = 336		# MPS TCAM entries
193#
194# NPORTS = 2			# ports
195# NCPUS = 16			# CPUs we want to support scalably
196# NFUNCS = 3			# functions per port (NIC, FCoE, iSCSI)
197
198# Breakdown of Virtual Interface/Queue/Interrupt resources for the "Unified
199# PF" which many OS Drivers will use to manage most or all functions.
200#
201# Each Ingress Queue can use one MSI-X interrupt but some Ingress Queues can
202# use Forwarded Interrupt Ingress Queues.  For these latter, an Ingress Queue
203# would be created and the Queue ID of a Forwarded Interrupt Ingress Queue
204# will be specified as the "Ingress Queue Asynchronous Destination Index."
205# Thus, the number of MSI-X Vectors assigned to the Unified PF will be less
206# than or equal to the number of Ingress Queues ...
207#
208# NVI_NIC = 4			# NIC access to NPORTS
209# NFLIQ_NIC = 32		# NIC Ingress Queues with Free Lists
210# NETHCTRL_NIC = 32		# NIC Ethernet Control/TX Queues
211# NEQ_NIC = 64			# NIC Egress Queues (FL, ETHCTRL/TX)
212# NMPSTCAM_NIC = 16		# NIC MPS TCAM Entries (NPORTS*4)
213# NMSIX_NIC = 32		# NIC MSI-X Interrupt Vectors (FLIQ)
214#
215# NVI_OFLD = 0			# Offload uses NIC function to access ports
216# NFLIQ_OFLD = 16		# Offload Ingress Queues with Free Lists
217# NETHCTRL_OFLD = 0		# Offload Ethernet Control/TX Queues
218# NEQ_OFLD = 16			# Offload Egress Queues (FL)
219# NMPSTCAM_OFLD = 0		# Offload MPS TCAM Entries (uses NIC's)
220# NMSIX_OFLD = 16		# Offload MSI-X Interrupt Vectors (FLIQ)
221#
222# NVI_RDMA = 0			# RDMA uses NIC function to access ports
223# NFLIQ_RDMA = 4		# RDMA Ingress Queues with Free Lists
224# NETHCTRL_RDMA = 0		# RDMA Ethernet Control/TX Queues
225# NEQ_RDMA = 4			# RDMA Egress Queues (FL)
226# NMPSTCAM_RDMA = 0		# RDMA MPS TCAM Entries (uses NIC's)
227# NMSIX_RDMA = 4		# RDMA MSI-X Interrupt Vectors (FLIQ)
228#
229# NEQ_WD = 128			# Wire Direct TX Queues and FLs
230# NETHCTRL_WD = 64		# Wire Direct TX Queues
231# NFLIQ_WD = 64	`		# Wire Direct Ingress Queues with Free Lists
232#
233# NVI_ISCSI = 4			# ISCSI access to NPORTS
234# NFLIQ_ISCSI = 4		# ISCSI Ingress Queues with Free Lists
235# NETHCTRL_ISCSI = 0		# ISCSI Ethernet Control/TX Queues
236# NEQ_ISCSI = 4			# ISCSI Egress Queues (FL)
237# NMPSTCAM_ISCSI = 4		# ISCSI MPS TCAM Entries (NPORTS)
238# NMSIX_ISCSI = 4		# ISCSI MSI-X Interrupt Vectors (FLIQ)
239#
240# NVI_FCOE = 4			# FCOE access to NPORTS
241# NFLIQ_FCOE = 34		# FCOE Ingress Queues with Free Lists
242# NETHCTRL_FCOE = 32		# FCOE Ethernet Control/TX Queues
243# NEQ_FCOE = 66			# FCOE Egress Queues (FL)
244# NMPSTCAM_FCOE = 32 		# FCOE MPS TCAM Entries (NPORTS)
245# NMSIX_FCOE = 34		# FCOE MSI-X Interrupt Vectors (FLIQ)
246
247# Two extra Ingress Queues per function for Firmware Events and Forwarded
248# Interrupts, and two extra interrupts per function for Firmware Events (or a
249# Forwarded Interrupt Queue) and General Interrupts per function.
250#
251# NFLIQ_EXTRA = 6		# "extra" Ingress Queues 2*NFUNCS (Firmware and
252# 				#   Forwarded Interrupts
253# NMSIX_EXTRA = 6		# extra interrupts 2*NFUNCS (Firmware and
254# 				#   General Interrupts
255
256# Microsoft HyperV resources.  The HyperV Virtual Ingress Queues will have
257# their interrupts forwarded to another set of Forwarded Interrupt Queues.
258#
259# NVI_HYPERV = 16		# VMs we want to support
260# NVIIQ_HYPERV = 2		# Virtual Ingress Queues with Free Lists per VM
261# NFLIQ_HYPERV = 40		# VIQs + NCPUS Forwarded Interrupt Queues
262# NEQ_HYPERV = 32		# VIQs Free Lists
263# NMPSTCAM_HYPERV = 16		# MPS TCAM Entries (NVI_HYPERV)
264# NMSIX_HYPERV = 8		# NCPUS Forwarded Interrupt Queues
265
266# Adding all of the above Unified PF resource needs together: (NIC + OFLD +
267# RDMA + ISCSI + FCOE + EXTRA + HYPERV)
268#
269# NVI_UNIFIED = 28
270# NFLIQ_UNIFIED = 106
271# NETHCTRL_UNIFIED = 32
272# NEQ_UNIFIED = 124
273# NMPSTCAM_UNIFIED = 40
274#
275# The sum of all the MSI-X resources above is 74 MSI-X Vectors but we'll round
276# that up to 128 to make sure the Unified PF doesn't run out of resources.
277#
278# NMSIX_UNIFIED = 128
279#
280# The Storage PFs could need up to NPORTS*NCPUS + NMSIX_EXTRA MSI-X Vectors
281# which is 34 but they're probably safe with 32.
282#
283# NMSIX_STORAGE = 32
284
285# Note: The UnifiedPF is PF4 which doesn't have any Virtual Functions
286# associated with it.  Thus, the MSI-X Vector allocations we give to the
287# UnifiedPF aren't inherited by any Virtual Functions.  As a result we can
288# provision many more Virtual Functions than we can if the UnifiedPF were
289# one of PF0-3.
290#
291
292# All of the below PCI-E parameters are actually stored in various *_init.txt
293# files.  We include them below essentially as comments.
294#
295# For PF0-3 we assign 8 vectors each for NIC Ingress Queues of the associated
296# ports 0-3.
297#
298# For PF4, the Unified PF, we give it an MSI-X Table Size as outlined above.
299#
300# For PF5-6 we assign enough MSI-X Vectors to support FCoE and iSCSI
301# storage applications across all four possible ports.
302#
303# Additionally, since the UnifiedPF isn't one of the per-port Physical
304# Functions, we give the UnifiedPF and the PF0-3 Physical Functions
305# different PCI Device IDs which will allow Unified and Per-Port Drivers
306# to directly select the type of Physical Function to which they wish to be
307# attached.
308#
309# Note that the actual values used for the PCI-E Intelectual Property will be
310# 1 less than those below since that's the way it "counts" things.  For
311# readability, we use the number we actually mean ...
312#
313# PF0_INT = 8			# NCPUS
314# PF1_INT = 8			# NCPUS
315# PF0_3_INT = 32		# PF0_INT + PF1_INT + PF2_INT + PF3_INT
316#
317# PF4_INT = 128			# NMSIX_UNIFIED
318# PF5_INT = 32			# NMSIX_STORAGE
319# PF6_INT = 32			# NMSIX_STORAGE
320# PF7_INT = 0			# Nothing Assigned
321# PF4_7_INT = 192		# PF4_INT + PF5_INT + PF6_INT + PF7_INT
322#
323# PF0_7_INT = 224		# PF0_3_INT + PF4_7_INT
324#
325# With the above we can get 17 VFs/PF0-3 (limited by 336 MPS TCAM entries)
326# but we'll lower that to 16 to make our total 64 and a nice power of 2 ...
327#
328# NVF = 16
329
330
331# For those OSes which manage different ports on different PFs, we need
332# only enough resources to support a single port's NIC application functions
333# on PF0-3.  The below assumes that we're only doing NIC with NCPUS "Queue
334# Sets" for ports 0-3.  The FCoE and iSCSI functions for such OSes will be
335# managed on the "storage PFs" (see below).
336#
337[function "0"]
338	nvf = 16		# NVF on this function
339	wx_caps = all		# write/execute permissions for all commands
340	r_caps = all		# read permissions for all commands
341	nvi = 1			# 1 port
342	niqflint = 8		# NCPUS "Queue Sets"
343	nethctrl = 8		# NCPUS "Queue Sets"
344	neq = 16		# niqflint + nethctrl Egress Queues
345	nexactf = 8		# number of exact MPSTCAM MAC filters
346	cmask = all		# access to all channels
347	pmask = 0x1		# access to only one port
348
349
350[function "1"]
351	nvf = 16		# NVF on this function
352	wx_caps = all		# write/execute permissions for all commands
353	r_caps = all		# read permissions for all commands
354	nvi = 1			# 1 port
355	niqflint = 8		# NCPUS "Queue Sets"
356	nethctrl = 8		# NCPUS "Queue Sets"
357	neq = 16		# niqflint + nethctrl Egress Queues
358	nexactf = 8		# number of exact MPSTCAM MAC filters
359	cmask = all		# access to all channels
360	pmask = 0x2		# access to only one port
361
362[function "2"]
363	nvf = 16		# NVF on this function
364	wx_caps = all		# write/execute permissions for all commands
365	r_caps = all		# read permissions for all commands
366	nvi = 1			# 1 port
367	niqflint = 8		# NCPUS "Queue Sets"
368	nethctrl = 8		# NCPUS "Queue Sets"
369	neq = 16		# niqflint + nethctrl Egress Queues
370	nexactf = 8		# number of exact MPSTCAM MAC filters
371	cmask = all		# access to all channels
372	pmask = 0x4		# access to only one port
373
374[function "3"]
375	nvf = 16		# NVF on this function
376	wx_caps = all		# write/execute permissions for all commands
377	r_caps = all		# read permissions for all commands
378	nvi = 1			# 1 port
379	niqflint = 8		# NCPUS "Queue Sets"
380	nethctrl = 8		# NCPUS "Queue Sets"
381	neq = 16		# niqflint + nethctrl Egress Queues
382	nexactf = 8		# number of exact MPSTCAM MAC filters
383	cmask = all		# access to all channels
384	pmask = 0x8		# access to only one port
385
386
387# Some OS Drivers manage all application functions for all ports via PF4.
388# Thus we need to provide a large number of resources here.  For Egress
389# Queues we need to account for both TX Queues as well as Free List Queues
390# (because the host is responsible for producing Free List Buffers for the
391# hardware to consume).
392#
393[function "4"]
394	wx_caps = all		# write/execute permissions for all commands
395	r_caps = all		# read permissions for all commands
396	nvi = 28		# NVI_UNIFIED
397	niqflint = 202		# NFLIQ_UNIFIED + NLFIQ_WD + NFLIQ_CRYPTO (32)
398	nethctrl = 116		# NETHCTRL_UNIFIED + NETHCTRL_WD + ncrypto_lookaside
399	neq = 256		# NEQ_UNIFIED + NEQ_WD
400	nqpcq = 12288
401	nexactf = 40		# NMPSTCAM_UNIFIED
402	nrawf = 2
403	cmask = all		# access to all channels
404	pmask = all		# access to all four ports ...
405	nethofld = 1024		# number of user mode ethernet flow contexts
406	ncrypto_lookaside = 16  # Number of lookaside flow contexts 
407	nclip = 320		# number of clip region entries
408	nfilter = 496		# number of filter region entries
409	nserver = 496		# number of server region entries
410	nhash = 12288		# number of hash region entries
411	nhpfilter = 64		# number of high priority filter region entries
412	protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu, iscsi_t10dif, tlskeys, crypto_lookaside
413	tp_l2t = 3072
414	tp_ddp = 2
415	tp_ddp_iscsi = 2
416	tp_tls_key = 3
417	tp_tls_mxrxsize = 17408    # 16384 + 1024, governs max rx data, pm max xfer len, rx coalesce sizes
418	tp_stag = 2
419	tp_pbl = 5
420	tp_rq = 7
421	tp_srq = 128
422
423# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may
424# need to have Virtual Interfaces on each of the four ports with up to NCPUS
425# "Queue Sets" each.
426#
427[function "5"]
428	wx_caps = all		# write/execute permissions for all commands
429	r_caps = all		# read permissions for all commands
430	nvi = 4			# NPORTS
431	niqflint = 34		# NPORTS*NCPUS + NMSIX_EXTRA
432	nethctrl = 32		# NPORTS*NCPUS
433	neq = 64		# NPORTS*NCPUS * 2 (FL, ETHCTRL/TX)
434	nexactf = 16		# (NPORTS *(no of snmc grp + 1 hw mac) + 1 anmc grp)) rounded to 16.
435	cmask = all		# access to all channels
436	pmask = all		# access to all four ports ...
437	nserver = 16
438	nhash = 2048
439	tp_l2t = 1020
440	nclip = 64
441	protocol = iscsi_initiator_fofld
442	tp_ddp_iscsi = 2
443	iscsi_ntask = 2048
444	iscsi_nsess = 2048
445	iscsi_nconn_per_session = 1
446	iscsi_ninitiator_instance = 64
447
448
449[function "6"]
450	wx_caps = all		# write/execute permissions for all commands
451	r_caps = all		# read permissions for all commands
452	nvi = 4			# NPORTS
453	niqflint = 34		# NPORTS*NCPUS + NMSIX_EXTRA
454	nethctrl = 32		# NPORTS*NCPUS
455	neq = 66		# NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA)
456	nexactf = 32		# NPORTS + adding 28 exact entries for FCoE
457				# which is OK since < MIN(SUM PF0..3, PF4)
458				# and we never load PF0..3 and PF4 concurrently
459	cmask = all		# access to all channels
460	pmask = all		# access to all four ports ...
461	nhash = 2048
462	tp_l2t = 4
463	protocol = fcoe_initiator
464	tp_ddp = 2
465	fcoe_nfcf = 16
466	fcoe_nvnp = 32
467	fcoe_nssn = 1024
468
469
470# The following function, 1023, is not an actual PCIE function but is used to
471# configure and reserve firmware internal resources that come from the global
472# resource pool.
473#
474[function "1023"]
475	wx_caps = all		# write/execute permissions for all commands
476	r_caps = all		# read permissions for all commands
477	nvi = 4			# NVI_UNIFIED
478	cmask = all		# access to all channels
479	pmask = all		# access to all four ports ...
480	nexactf = 8		# NPORTS + DCBX +
481	nfilter = 16		# number of filter region entries
482
483
484# For Virtual functions, we only allow NIC functionality and we only allow
485# access to one port (1 << PF).  Note that because of limitations in the
486# Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL
487# and GTS registers, the number of Ingress and Egress Queues must be a power
488# of 2.
489#
490[function "0/*"]		# NVF
491	wx_caps = 0x82		# DMAQ | VF
492	r_caps = 0x86		# DMAQ | VF | PORT
493	nvi = 1			# 1 port
494	niqflint = 6		# 2 "Queue Sets" + NXIQ
495	nethctrl = 4		# 2 "Queue Sets"
496	neq = 8			# 2 "Queue Sets" * 2
497	nexactf = 4
498	cmask = all		# access to all channels
499	pmask = 0x1		# access to only one port ...
500
501
502[function "1/*"]		# NVF
503	wx_caps = 0x82		# DMAQ | VF
504	r_caps = 0x86		# DMAQ | VF | PORT
505	nvi = 1			# 1 port
506	niqflint = 6		# 2 "Queue Sets" + NXIQ
507	nethctrl = 4		# 2 "Queue Sets"
508	neq = 8			# 2 "Queue Sets" * 2
509	nexactf = 4
510	cmask = all		# access to all channels
511	pmask = 0x2		# access to only one port ...
512
513[function "2/*"]		# NVF
514	wx_caps = 0x82		# DMAQ | VF
515	r_caps = 0x86		# DMAQ | VF | PORT
516	nvi = 1			# 1 port
517	niqflint = 6		# 2 "Queue Sets" + NXIQ
518	nethctrl = 4		# 2 "Queue Sets"
519	neq = 8			# 2 "Queue Sets" * 2
520	nexactf = 4
521	cmask = all		# access to all channels
522	pmask = 0x1		# access to only one port ...
523
524
525[function "3/*"]		# NVF
526	wx_caps = 0x82		# DMAQ | VF
527	r_caps = 0x86		# DMAQ | VF | PORT
528	nvi = 1			# 1 port
529	niqflint = 6		# 2 "Queue Sets" + NXIQ
530	nethctrl = 4		# 2 "Queue Sets"
531	neq = 8			# 2 "Queue Sets" * 2
532	nexactf = 4
533	cmask = all		# access to all channels
534	pmask = 0x2		# access to only one port ...
535
536# MPS features a 196608 bytes ingress buffer that is used for ingress buffering
537# for packets from the wire as well as the loopback path of the L2 switch. The
538# folling params control how the buffer memory is distributed and the L2 flow
539# control settings:
540#
541# bg_mem:	%-age of mem to use for port/buffer group
542# lpbk_mem:	%-age of port/bg mem to use for loopback
543# hwm:		high watermark; bytes available when starting to send pause
544#		frames (in units of 0.1 MTU)
545# lwm:		low watermark; bytes remaining when sending 'unpause' frame
546#		(in inuits of 0.1 MTU)
547# dwm:		minimum delta between high and low watermark (in units of 100
548#		Bytes)
549#
550[port "0"]
551	dcb = ppp, dcbx		# configure for DCB PPP and enable DCBX offload
552	#bg_mem = 25
553	#lpbk_mem = 25
554	hwm = 60
555	lwm = 15
556	dwm = 30
557	dcb_app_tlv[0] = 0x8906, ethertype, 3
558	dcb_app_tlv[1] = 0x8914, ethertype, 3
559	dcb_app_tlv[2] = 3260, socketnum, 5
560
561[port "1"]
562	dcb = ppp, dcbx
563	#bg_mem = 25
564	#lpbk_mem = 25
565	hwm = 60
566	lwm = 15
567	dwm = 30
568	dcb_app_tlv[0] = 0x8906, ethertype, 3
569	dcb_app_tlv[1] = 0x8914, ethertype, 3
570	dcb_app_tlv[2] = 3260, socketnum, 5
571
572[fini]
573	version = 0x1425001c
574	checksum = 0x8136d0f8
575
576# Total resources used by above allocations:
577#   Virtual Interfaces: 104
578#   Ingress Queues/w Free Lists and Interrupts: 526
579#   Egress Queues: 702
580#   MPS TCAM Entries: 336
581#   MSI-X Vectors: 736
582#   Virtual Functions: 64
583#
584# $FreeBSD: stable/10/sys/dev/cxgbe/firmware/t6fw_cfg_uwire.txt 331719 2018-03-29 01:20:58Z np $
585#
586