t5fw_cfg.txt revision 252661
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	# TP_SHIFT_CNT
18	reg[0x7dc0] = 0x62f8849
19
20	# TP_GLOBAL_CONFIG
21	reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
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# PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
37# these 4 PFs only.  Not used here at all.
38[function "0"]
39	nvf = 16
40	nvi = 1
41[function "0/*"]
42	nvi = 1
43
44[function "1"]
45	nvf = 16
46	nvi = 1
47[function "1/*"]
48	nvi = 1
49
50[function "2"]
51	nvf = 16
52	nvi = 1
53[function "2/*"]
54	nvi = 1
55
56[function "3"]
57	nvf = 16
58	nvi = 1
59[function "3/*"]
60	nvi = 1
61
62# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
63# It gets 32 MSI/128 MSI-X vectors.
64[function "4"]
65	wx_caps = all
66	r_caps = all
67	nvi = 32
68	niqflint = 256
69	nethctrl = 128
70	neq = 256
71	nexactf = 328
72	cmask = all
73	pmask = all
74
75	# driver will mask off features it won't use
76	protocol = ofld
77
78	tp_l2t = 4096
79	tp_ddp = 2
80
81	# TCAM has 8K cells; each region must start at a multiple of 128 cell.
82	# Each entry in these categories takes 4 cells each.  nhash will use the
83	# TCAM iff there is room left (that is, the rest don't add up to 2048).
84	nroute = 32
85	nclip = 32
86	nfilter = 1008
87	nserver = 512
88	nhash = 16384
89
90# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
91# Not used right now.
92[function "5"]
93	nvi = 1
94
95# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
96# Not used right now.
97[function "6"]
98	nvi = 1
99
100# The following function, 1023, is not an actual PCIE function but is used to
101# configure and reserve firmware internal resources that come from the global
102# resource pool.
103[function "1023"]
104	wx_caps = all
105	r_caps = all
106	nvi = 4
107	cmask = all
108	pmask = all
109	nexactf = 8
110	nfilter = 16
111
112# MPS has 192K buffer space for ingress packets from the wire as well as
113# loopback path of the L2 switch.
114[port "0"]
115	dcb = none
116	bg_mem = 25
117	lpbk_mem = 25
118	hwm = 30
119	lwm = 15
120	dwm = 30
121
122[port "1"]
123	dcb = none
124	bg_mem = 25
125	lpbk_mem = 25
126	hwm = 30
127	lwm = 15
128	dwm = 30
129
130[port "2"]
131	dcb = none
132	bg_mem = 25
133	lpbk_mem = 25
134	hwm = 30
135	lwm = 15
136	dwm = 30
137
138[port "3"]
139	dcb = none
140	bg_mem = 25
141	lpbk_mem = 25
142	hwm = 30
143	lwm = 15
144	dwm = 30
145
146[fini]
147	version = 0x1
148	checksum = 0xb2417251
149#
150# $FreeBSD: head/sys/dev/cxgbe/firmware/t5fw_cfg.txt 252661 2013-07-03 23:52:15Z np $
151#
152