t4fw_cfg.txt revision 228561
1# Firmware configuration file.
2#
3# Global limits (some are hardware limits, others are due to the firmware).
4# Also note that the firmware reserves some of these resources for its own use
5# so it's not always possible for the drivers to grab everything listed here.
6# nvi = 128		virtual interfaces
7# niqflint = 1023	ingress queues with freelists and/or interrupts
8# nethctrl = 64K	Ethernet or ctrl egress queues
9# neq = 64K		egress queues of all kinds, including freelists
10# nexactf = 336		MPS TCAM entries, can oversubscribe.
11#
12
13[global]
14	rss_glb_config_mode = basicvirtual
15	rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp
16
17	sge_timer_value = 1, 5, 10, 50, 100, 200	# usecs
18
19	# TP_SHIFT_CNT
20	reg[0x7dc0] = 0x64f8849
21
22	filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
23
24	# TP rx and tx payload memory (% of the total EDRAM + DDR3).
25	tp_pmrx = 40
26	tp_pmtx = 60
27	tp_pmrx_pagesize = 64K
28	tp_pmtx_pagesize = 64K
29
30# PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
31# these 4 PFs only.  Not used here at all.
32[function "0"]
33	nvf = 16
34	nvi = 1
35[function "0/*"]
36	nvi = 1
37
38[function "1"]
39	nvf = 16
40	nvi = 1
41[function "1/*"]
42	nvi = 1
43
44[function "2"]
45	nvf = 16
46	nvi = 1
47[function "2/*"]
48	nvi = 1
49
50[function "3"]
51	nvf = 16
52	nvi = 1
53[function "3/*"]
54	nvi = 1
55
56# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
57# It gets 32 MSI/128 MSI-X vectors.
58[function "4"]
59	wx_caps = all
60	r_caps = all
61	nvi = 48
62	niqflint = 256
63	nethctrl = 128
64	neq = 256
65	nexactf = 300
66	cmask = all
67	pmask = all
68
69	# driver will mask off features it won't use
70	protocol = ofld
71
72	tp_l2t = 100
73
74	# TCAM has 8K cells; each region must start at a multiple of 128 cell.
75	# Each entry in these categories takes 4 cells each.  nhash will use the
76	# TCAM iff there is room left (that is, the rest don't add up to 2048).
77	nroute = 32
78	nclip = 0	# needed only for IPv6 offload
79	nfilter = 1504
80	nserver = 512
81	nhash = 16384
82
83# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
84# Not used right now.
85[function "5"]
86	nvi = 1
87
88# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
89# Not used right now.
90[function "6"]
91	nvi = 1
92
93# MPS has 192K buffer space for ingress packets from the wire as well as
94# loopback path of the L2 switch.
95[port "0"]
96	dcb = none
97	bg_mem = 25
98	lpbk_mem = 25
99	hwm = 30
100	lwm = 15
101	dwm = 30
102
103[port "1"]
104	dcb = none
105	bg_mem = 25
106	lpbk_mem = 25
107	hwm = 30
108	lwm = 15
109	dwm = 30
110
111[port "2"]
112	dcb = none
113	bg_mem = 25
114	lpbk_mem = 25
115	hwm = 30
116	lwm = 15
117	dwm = 30
118
119[port "3"]
120	dcb = none
121	bg_mem = 25
122	lpbk_mem = 25
123	hwm = 30
124	lwm = 15
125	dwm = 30
126
127[fini]
128	version = 0x1
129	checksum = 0xb31cdfac
130#
131# $FreeBSD: head/sys/dev/cxgbe/firmware/t4fw_cfg.txt 228561 2011-12-16 02:09:51Z np $
132#
133