t4fw_cfg.txt revision 228561
1228561Snp# Firmware configuration file.
2228561Snp#
3228561Snp# Global limits (some are hardware limits, others are due to the firmware).
4228561Snp# Also note that the firmware reserves some of these resources for its own use
5228561Snp# so it's not always possible for the drivers to grab everything listed here.
6228561Snp# nvi = 128		virtual interfaces
7228561Snp# niqflint = 1023	ingress queues with freelists and/or interrupts
8228561Snp# nethctrl = 64K	Ethernet or ctrl egress queues
9228561Snp# neq = 64K		egress queues of all kinds, including freelists
10228561Snp# nexactf = 336		MPS TCAM entries, can oversubscribe.
11228561Snp#
12228561Snp
13228561Snp[global]
14228561Snp	rss_glb_config_mode = basicvirtual
15228561Snp	rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp
16228561Snp
17228561Snp	sge_timer_value = 1, 5, 10, 50, 100, 200	# usecs
18228561Snp
19228561Snp	# TP_SHIFT_CNT
20228561Snp	reg[0x7dc0] = 0x64f8849
21228561Snp
22228561Snp	filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
23228561Snp
24228561Snp	# TP rx and tx payload memory (% of the total EDRAM + DDR3).
25228561Snp	tp_pmrx = 40
26228561Snp	tp_pmtx = 60
27228561Snp	tp_pmrx_pagesize = 64K
28228561Snp	tp_pmtx_pagesize = 64K
29228561Snp
30228561Snp# PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
31228561Snp# these 4 PFs only.  Not used here at all.
32228561Snp[function "0"]
33228561Snp	nvf = 16
34228561Snp	nvi = 1
35228561Snp[function "0/*"]
36228561Snp	nvi = 1
37228561Snp
38228561Snp[function "1"]
39228561Snp	nvf = 16
40228561Snp	nvi = 1
41228561Snp[function "1/*"]
42228561Snp	nvi = 1
43228561Snp
44228561Snp[function "2"]
45228561Snp	nvf = 16
46228561Snp	nvi = 1
47228561Snp[function "2/*"]
48228561Snp	nvi = 1
49228561Snp
50228561Snp[function "3"]
51228561Snp	nvf = 16
52228561Snp	nvi = 1
53228561Snp[function "3/*"]
54228561Snp	nvi = 1
55228561Snp
56228561Snp# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
57228561Snp# It gets 32 MSI/128 MSI-X vectors.
58228561Snp[function "4"]
59228561Snp	wx_caps = all
60228561Snp	r_caps = all
61228561Snp	nvi = 48
62228561Snp	niqflint = 256
63228561Snp	nethctrl = 128
64228561Snp	neq = 256
65228561Snp	nexactf = 300
66228561Snp	cmask = all
67228561Snp	pmask = all
68228561Snp
69228561Snp	# driver will mask off features it won't use
70228561Snp	protocol = ofld
71228561Snp
72228561Snp	tp_l2t = 100
73228561Snp
74228561Snp	# TCAM has 8K cells; each region must start at a multiple of 128 cell.
75228561Snp	# Each entry in these categories takes 4 cells each.  nhash will use the
76228561Snp	# TCAM iff there is room left (that is, the rest don't add up to 2048).
77228561Snp	nroute = 32
78228561Snp	nclip = 0	# needed only for IPv6 offload
79228561Snp	nfilter = 1504
80228561Snp	nserver = 512
81228561Snp	nhash = 16384
82228561Snp
83228561Snp# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
84228561Snp# Not used right now.
85228561Snp[function "5"]
86228561Snp	nvi = 1
87228561Snp
88228561Snp# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
89228561Snp# Not used right now.
90228561Snp[function "6"]
91228561Snp	nvi = 1
92228561Snp
93228561Snp# MPS has 192K buffer space for ingress packets from the wire as well as
94228561Snp# loopback path of the L2 switch.
95228561Snp[port "0"]
96228561Snp	dcb = none
97228561Snp	bg_mem = 25
98228561Snp	lpbk_mem = 25
99228561Snp	hwm = 30
100228561Snp	lwm = 15
101228561Snp	dwm = 30
102228561Snp
103228561Snp[port "1"]
104228561Snp	dcb = none
105228561Snp	bg_mem = 25
106228561Snp	lpbk_mem = 25
107228561Snp	hwm = 30
108228561Snp	lwm = 15
109228561Snp	dwm = 30
110228561Snp
111228561Snp[port "2"]
112228561Snp	dcb = none
113228561Snp	bg_mem = 25
114228561Snp	lpbk_mem = 25
115228561Snp	hwm = 30
116228561Snp	lwm = 15
117228561Snp	dwm = 30
118228561Snp
119228561Snp[port "3"]
120228561Snp	dcb = none
121228561Snp	bg_mem = 25
122228561Snp	lpbk_mem = 25
123228561Snp	hwm = 30
124228561Snp	lwm = 15
125228561Snp	dwm = 30
126228561Snp
127228561Snp[fini]
128228561Snp	version = 0x1
129228561Snp	checksum = 0xb31cdfac
130228561Snp#
131228561Snp# $FreeBSD: head/sys/dev/cxgbe/firmware/t4fw_cfg.txt 228561 2011-12-16 02:09:51Z np $
132228561Snp#
133