Deleted Added
sdiff udiff text old ( 228561 ) new ( 237436 )
full compact
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] = 0x64f8849
19
20 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
21
22 # TP rx and tx payload memory (% of the total EDRAM + DDR3).
23 tp_pmrx = 40
24 tp_pmtx = 60
25 tp_pmrx_pagesize = 64K
26 tp_pmtx_pagesize = 64K
27
28# PFs 0-3. These get 8 MSI/8 MSI-X vectors each. VFs are supported by
29# these 4 PFs only. Not used here at all.
30[function "0"]
31 nvf = 16
32 nvi = 1
33[function "0/*"]
34 nvi = 1
35
36[function "1"]
37 nvf = 16
38 nvi = 1
39[function "1/*"]
40 nvi = 1
41
42[function "2"]
43 nvf = 16
44 nvi = 1
45[function "2/*"]
46 nvi = 1
47
48[function "3"]
49 nvf = 16
50 nvi = 1
51[function "3/*"]
52 nvi = 1
53
54# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
55# It gets 32 MSI/128 MSI-X vectors.
56[function "4"]
57 wx_caps = all
58 r_caps = all
59 nvi = 54
60 niqflint = 256
61 nethctrl = 128
62 neq = 256
63 nexactf = 328
64 cmask = all
65 pmask = all
66
67 # driver will mask off features it won't use
68 protocol = ofld
69
70 tp_l2t = 100
71
72 # TCAM has 8K cells; each region must start at a multiple of 128 cell.
73 # Each entry in these categories takes 4 cells each. nhash will use the
74 # TCAM iff there is room left (that is, the rest don't add up to 2048).
75 nroute = 32
76 nclip = 0 # needed only for IPv6 offload
77 nfilter = 1488
78 nserver = 512
79 nhash = 16384
80
81# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
82# Not used right now.
83[function "5"]
84 nvi = 1
85
86# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
87# Not used right now.
88[function "6"]
89 nvi = 1
90
91# The following function, 1023, is not an actual PCIE function but is used to
92# configure and reserve firmware internal resources that come from the global
93# resource pool.
94[function "1023"]
95 wx_caps = all
96 r_caps = all
97 nvi = 4
98 cmask = all
99 pmask = all
100 nexactf = 8
101 nfilter = 16
102
103# MPS has 192K buffer space for ingress packets from the wire as well as
104# loopback path of the L2 switch.
105[port "0"]
106 dcb = none
107 bg_mem = 25
108 lpbk_mem = 25
109 hwm = 30
110 lwm = 15
111 dwm = 30
112
113[port "1"]
114 dcb = none
115 bg_mem = 25
116 lpbk_mem = 25
117 hwm = 30
118 lwm = 15
119 dwm = 30
120
121[port "2"]
122 dcb = none
123 bg_mem = 25
124 lpbk_mem = 25
125 hwm = 30
126 lwm = 15
127 dwm = 30
128
129[port "3"]
130 dcb = none
131 bg_mem = 25
132 lpbk_mem = 25
133 hwm = 30
134 lwm = 15
135 dwm = 30
136
137[fini]
138 version = 0x1
139 checksum = 0xdb5813f9
140#
141# $FreeBSD: head/sys/dev/cxgbe/firmware/t4fw_cfg.txt 237436 2012-06-22 07:51:15Z np $
142#