]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/dev/cxgbe/firmware/t4fw_cfg.txt
MFC 290175,290633,299206,300895,301898: Various TOE fixes.
[FreeBSD/stable/10.git] / sys / dev / cxgbe / firmware / t4fw_cfg.txt
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, 512
32         tp_pmtx = 60, 512
33         tp_pmrx_pagesize = 64K
34         tp_pmtx_pagesize = 64K
35
36         # cluster, lan, or wan.
37         tp_tcptuning = lan
38
39         # TP OFLD MTUs
40         tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
41
42 # PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
43 # these 4 PFs only.  Not used here at all.
44 [function "0"]
45         nvf = 16
46         nvi = 1
47         rssnvi = 0
48 [function "0/*"]
49         nvi = 1
50         rssnvi = 0
51
52 [function "1"]
53         nvf = 16
54         nvi = 1
55         rssnvi = 0
56 [function "1/*"]
57         nvi = 1
58         rssnvi = 0
59
60 [function "2"]
61         nvf = 16
62         nvi = 1
63         rssnvi = 0
64 [function "2/*"]
65         nvi = 1
66         rssnvi = 0
67
68 [function "3"]
69         nvf = 16
70         nvi = 1
71         rssnvi = 0
72 [function "3/*"]
73         nvi = 1
74         rssnvi = 0
75
76 # PF4 is the resource-rich PF that the bus/nexus driver attaches to.
77 # It gets 32 MSI/128 MSI-X vectors.
78 [function "4"]
79         wx_caps = all
80         r_caps = all
81         nvi = 32
82         rssnvi = 8
83         niqflint = 512
84         nethctrl = 1024
85         neq = 2048
86         nexactf = 328
87         cmask = all
88         pmask = all
89
90         # driver will mask off features it won't use
91         protocol = ofld
92
93         tp_l2t = 4096
94         tp_ddp = 2
95
96         # TCAM has 8K cells; each region must start at a multiple of 128 cell.
97         # Each entry in these categories takes 4 cells each.  nhash will use the
98         # TCAM iff there is room left (that is, the rest don't add up to 2048).
99         nroute = 32
100         nclip = 32
101         nfilter = 1456
102         nserver = 512
103         nhash = 16384
104
105 # PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
106 # Not used right now.
107 [function "5"]
108         nvi = 1
109         rssnvi = 0
110
111 # PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
112 # Not used right now.
113 [function "6"]
114         nvi = 1
115         rssnvi = 0
116
117 # The following function, 1023, is not an actual PCIE function but is used to
118 # configure and reserve firmware internal resources that come from the global
119 # resource pool.
120 [function "1023"]
121         wx_caps = all
122         r_caps = all
123         nvi = 4
124         rssnvi = 0
125         cmask = all
126         pmask = all
127         nexactf = 8
128         nfilter = 16
129
130 # MPS has 192K buffer space for ingress packets from the wire as well as
131 # loopback path of the L2 switch.
132 [port "0"]
133         dcb = none
134         bg_mem = 25
135         lpbk_mem = 25
136         hwm = 30
137         lwm = 15
138         dwm = 30
139
140 [port "1"]
141         dcb = none
142         bg_mem = 25
143         lpbk_mem = 25
144         hwm = 30
145         lwm = 15
146         dwm = 30
147
148 [port "2"]
149         dcb = none
150         bg_mem = 25
151         lpbk_mem = 25
152         hwm = 30
153         lwm = 15
154         dwm = 30
155
156 [port "3"]
157         dcb = none
158         bg_mem = 25
159         lpbk_mem = 25
160         hwm = 30
161         lwm = 15
162         dwm = 30
163
164 [fini]
165         version = 0x1
166         checksum = 0xc5e9ef34
167 #
168 # $FreeBSD$
169 #