t5fw_cfg.txt revision 253407
1252661Snp# Firmware configuration file.
2252661Snp#
3252661Snp# Global limits (some are hardware limits, others are due to the firmware).
4252661Snp# nvi = 128		virtual interfaces
5252661Snp# niqflint = 1023	ingress queues with freelists and/or interrupts
6252661Snp# nethctrl = 64K	Ethernet or ctrl egress queues
7252661Snp# neq = 64K		egress queues of all kinds, including freelists
8252661Snp# nexactf = 336		MPS TCAM entries, can oversubscribe.
9252661Snp#
10252661Snp
11252661Snp[global]
12252661Snp	rss_glb_config_mode = basicvirtual
13252661Snp	rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp
14252661Snp
15253407Snp	# PL_TIMEOUT register
16253407Snp	pl_timeout_value = 200		# the timeout value in units of us
17253407Snp
18252661Snp	sge_timer_value = 1, 5, 10, 50, 100, 200	# usecs
19252661Snp
20252661Snp	# TP_SHIFT_CNT
21252661Snp	reg[0x7dc0] = 0x62f8849
22252661Snp
23252661Snp	# TP_GLOBAL_CONFIG
24252661Snp	reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
25252661Snp
26252661Snp	filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
27252661Snp	filterMask = protocol, fcoe
28252661Snp
29252661Snp	# TP rx and tx channels (0 = auto).
30252661Snp	tp_nrxch = 0
31252661Snp	tp_ntxch = 0
32252661Snp
33252661Snp	# TP rx and tx payload memory (% of the total EDRAM + DDR3).
34252661Snp	tp_pmrx = 38
35252661Snp	tp_pmtx = 60
36252661Snp	tp_pmrx_pagesize = 64K
37252661Snp	tp_pmtx_pagesize = 64K
38252661Snp
39252661Snp# PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
40252661Snp# these 4 PFs only.  Not used here at all.
41252661Snp[function "0"]
42252661Snp	nvf = 16
43252661Snp	nvi = 1
44252661Snp[function "0/*"]
45252661Snp	nvi = 1
46252661Snp
47252661Snp[function "1"]
48252661Snp	nvf = 16
49252661Snp	nvi = 1
50252661Snp[function "1/*"]
51252661Snp	nvi = 1
52252661Snp
53252661Snp[function "2"]
54252661Snp	nvf = 16
55252661Snp	nvi = 1
56252661Snp[function "2/*"]
57252661Snp	nvi = 1
58252661Snp
59252661Snp[function "3"]
60252661Snp	nvf = 16
61252661Snp	nvi = 1
62252661Snp[function "3/*"]
63252661Snp	nvi = 1
64252661Snp
65252661Snp# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
66252661Snp# It gets 32 MSI/128 MSI-X vectors.
67252661Snp[function "4"]
68252661Snp	wx_caps = all
69252661Snp	r_caps = all
70252661Snp	nvi = 32
71252661Snp	niqflint = 256
72252661Snp	nethctrl = 128
73252661Snp	neq = 256
74252661Snp	nexactf = 328
75252661Snp	cmask = all
76252661Snp	pmask = all
77252661Snp
78252661Snp	# driver will mask off features it won't use
79252661Snp	protocol = ofld
80252661Snp
81252661Snp	tp_l2t = 4096
82252661Snp	tp_ddp = 2
83252661Snp
84252661Snp	# TCAM has 8K cells; each region must start at a multiple of 128 cell.
85252661Snp	# Each entry in these categories takes 4 cells each.  nhash will use the
86252661Snp	# TCAM iff there is room left (that is, the rest don't add up to 2048).
87252661Snp	nroute = 32
88252661Snp	nclip = 32
89252661Snp	nfilter = 1008
90252661Snp	nserver = 512
91252661Snp	nhash = 16384
92252661Snp
93252661Snp# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
94252661Snp# Not used right now.
95252661Snp[function "5"]
96252661Snp	nvi = 1
97252661Snp
98252661Snp# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
99252661Snp# Not used right now.
100252661Snp[function "6"]
101252661Snp	nvi = 1
102252661Snp
103252661Snp# The following function, 1023, is not an actual PCIE function but is used to
104252661Snp# configure and reserve firmware internal resources that come from the global
105252661Snp# resource pool.
106252661Snp[function "1023"]
107252661Snp	wx_caps = all
108252661Snp	r_caps = all
109252661Snp	nvi = 4
110252661Snp	cmask = all
111252661Snp	pmask = all
112252661Snp	nexactf = 8
113252661Snp	nfilter = 16
114252661Snp
115252661Snp# MPS has 192K buffer space for ingress packets from the wire as well as
116252661Snp# loopback path of the L2 switch.
117252661Snp[port "0"]
118252661Snp	dcb = none
119252661Snp	bg_mem = 25
120252661Snp	lpbk_mem = 25
121252661Snp	hwm = 30
122252661Snp	lwm = 15
123252661Snp	dwm = 30
124252661Snp
125252661Snp[port "1"]
126252661Snp	dcb = none
127252661Snp	bg_mem = 25
128252661Snp	lpbk_mem = 25
129252661Snp	hwm = 30
130252661Snp	lwm = 15
131252661Snp	dwm = 30
132252661Snp
133252661Snp[port "2"]
134252661Snp	dcb = none
135252661Snp	bg_mem = 25
136252661Snp	lpbk_mem = 25
137252661Snp	hwm = 30
138252661Snp	lwm = 15
139252661Snp	dwm = 30
140252661Snp
141252661Snp[port "3"]
142252661Snp	dcb = none
143252661Snp	bg_mem = 25
144252661Snp	lpbk_mem = 25
145252661Snp	hwm = 30
146252661Snp	lwm = 15
147252661Snp	dwm = 30
148252661Snp
149252661Snp[fini]
150252661Snp	version = 0x1
151253407Snp	checksum = 0x93f11b53
152252661Snp#
153252661Snp# $FreeBSD: head/sys/dev/cxgbe/firmware/t5fw_cfg.txt 253407 2013-07-17 02:37:40Z np $
154252661Snp#
155