t4fw_cfg.txt revision 256791
1# Firmware configuration file.
2#
3# Global limits (some are hardware limits, others are due to the firmware).
4# nvi = 128		virtual interfaces
5# niqflint = 1023	ingress queues with freelists and/or interrupts
6# nethctrl = 64K	Ethernet or ctrl egress queues
7# neq = 64K		egress queues of all kinds, including freelists
8# nexactf = 336		MPS TCAM entries, can oversubscribe.
9#
10
11[global]
12	rss_glb_config_mode = basicvirtual
13	rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp
14
15	sge_timer_value = 1, 5, 10, 50, 100, 200	# usecs
16
17	# enable TP_OUT_CONFIG.IPIDSPLITMODE
18	reg[0x7d04] = 0x00010000/0x00010000
19
20	# TP_SHIFT_CNT
21	reg[0x7dc0] = 0x62f8849
22
23	filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
24	filterMask = protocol, fcoe
25
26	# TP rx and tx channels (0 = auto).
27	tp_nrxch = 0
28	tp_ntxch = 0
29
30	# TP rx and tx payload memory (% of the total EDRAM + DDR3).
31	tp_pmrx = 38
32	tp_pmtx = 60
33	tp_pmrx_pagesize = 64K
34	tp_pmtx_pagesize = 64K
35
36	# TP OFLD MTUs
37	tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
38
39# PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
40# these 4 PFs only.  Not used here at all.
41[function "0"]
42	nvf = 16
43	nvi = 1
44[function "0/*"]
45	nvi = 1
46
47[function "1"]
48	nvf = 16
49	nvi = 1
50[function "1/*"]
51	nvi = 1
52
53[function "2"]
54	nvf = 16
55	nvi = 1
56[function "2/*"]
57	nvi = 1
58
59[function "3"]
60	nvf = 16
61	nvi = 1
62[function "3/*"]
63	nvi = 1
64
65# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
66# It gets 32 MSI/128 MSI-X vectors.
67[function "4"]
68	wx_caps = all
69	r_caps = all
70	nvi = 32
71	niqflint = 256
72	nethctrl = 128
73	neq = 256
74	nexactf = 328
75	cmask = all
76	pmask = all
77
78	# driver will mask off features it won't use
79	protocol = ofld
80
81	tp_l2t = 4096
82	tp_ddp = 2
83
84	# TCAM has 8K cells; each region must start at a multiple of 128 cell.
85	# Each entry in these categories takes 4 cells each.  nhash will use the
86	# TCAM iff there is room left (that is, the rest don't add up to 2048).
87	nroute = 32
88	nclip = 32
89	nfilter = 1456
90	nserver = 512
91	nhash = 16384
92
93# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
94# Not used right now.
95[function "5"]
96	nvi = 1
97
98# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
99# Not used right now.
100[function "6"]
101	nvi = 1
102
103# The following function, 1023, is not an actual PCIE function but is used to
104# configure and reserve firmware internal resources that come from the global
105# resource pool.
106[function "1023"]
107	wx_caps = all
108	r_caps = all
109	nvi = 4
110	cmask = all
111	pmask = all
112	nexactf = 8
113	nfilter = 16
114
115# MPS has 192K buffer space for ingress packets from the wire as well as
116# loopback path of the L2 switch.
117[port "0"]
118	dcb = none
119	bg_mem = 25
120	lpbk_mem = 25
121	hwm = 30
122	lwm = 15
123	dwm = 30
124
125[port "1"]
126	dcb = none
127	bg_mem = 25
128	lpbk_mem = 25
129	hwm = 30
130	lwm = 15
131	dwm = 30
132
133[port "2"]
134	dcb = none
135	bg_mem = 25
136	lpbk_mem = 25
137	hwm = 30
138	lwm = 15
139	dwm = 30
140
141[port "3"]
142	dcb = none
143	bg_mem = 25
144	lpbk_mem = 25
145	hwm = 30
146	lwm = 15
147	dwm = 30
148
149[fini]
150	version = 0x1
151	checksum = 0x6f516705
152#
153# $FreeBSD: stable/10/sys/dev/cxgbe/firmware/t4fw_cfg.txt 256791 2013-10-20 15:24:44Z np $
154#
155