]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/dev/cxgbe/firmware/t5fw_cfg.txt
MFC r256459.
[FreeBSD/stable/10.git] / sys / dev / cxgbe / firmware / t5fw_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         # PL_TIMEOUT register
16         pl_timeout_value = 200          # the timeout value in units of us
17
18         sge_timer_value = 1, 5, 10, 50, 100, 200        # usecs
19
20         # enable TP_OUT_CONFIG.IPIDSPLITMODE
21         reg[0x7d04] = 0x00010000/0x00010000
22
23         # TP_SHIFT_CNT
24         reg[0x7dc0] = 0x62f8849
25
26         # TP_GLOBAL_CONFIG
27         reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
28
29         # TP_PARA_REG0
30         reg[0x7d60] = 0x06000000/0x07000000 # set InitCWND to 6
31
32         filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
33         filterMask = protocol, fcoe
34
35         # TP rx and tx channels (0 = auto).
36         tp_nrxch = 0
37         tp_ntxch = 0
38
39         # TP rx and tx payload memory (% of the total EDRAM + DDR3).
40         tp_pmrx = 38
41         tp_pmtx = 60
42         tp_pmrx_pagesize = 64K
43         tp_pmtx_pagesize = 64K
44
45         # TP OFLD MTUs
46         tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
47
48         # MC configuration
49         mc_mode_brc[0] = 1              # mc0 - 1: enable BRC, 0: enable RBC
50         mc_mode_brc[1] = 1              # mc1 - 1: enable BRC, 0: enable RBC
51
52 # PFs 0-3.  These get 8 MSI/8 MSI-X vectors each.  VFs are supported by
53 # these 4 PFs only.  Not used here at all.
54 [function "0"]
55         nvf = 16
56         nvi = 1
57 [function "0/*"]
58         nvi = 1
59
60 [function "1"]
61         nvf = 16
62         nvi = 1
63 [function "1/*"]
64         nvi = 1
65
66 [function "2"]
67         nvf = 16
68         nvi = 1
69 [function "2/*"]
70         nvi = 1
71
72 [function "3"]
73         nvf = 16
74         nvi = 1
75 [function "3/*"]
76         nvi = 1
77
78 # PF4 is the resource-rich PF that the bus/nexus driver attaches to.
79 # It gets 32 MSI/128 MSI-X vectors.
80 [function "4"]
81         wx_caps = all
82         r_caps = all
83         nvi = 32
84         niqflint = 256
85         nethctrl = 128
86         neq = 256
87         nexactf = 328
88         cmask = all
89         pmask = all
90
91         # driver will mask off features it won't use
92         protocol = ofld
93
94         tp_l2t = 4096
95         tp_ddp = 2
96
97         # TCAM has 8K cells; each region must start at a multiple of 128 cell.
98         # Each entry in these categories takes 4 cells each.  nhash will use the
99         # TCAM iff there is room left (that is, the rest don't add up to 2048).
100         nroute = 32
101         nclip = 32
102         nfilter = 1008
103         nserver = 512
104         nhash = 16384
105
106 # PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors.
107 # Not used right now.
108 [function "5"]
109         nvi = 1
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
116 # The following function, 1023, is not an actual PCIE function but is used to
117 # configure and reserve firmware internal resources that come from the global
118 # resource pool.
119 [function "1023"]
120         wx_caps = all
121         r_caps = all
122         nvi = 4
123         cmask = all
124         pmask = all
125         nexactf = 8
126         nfilter = 16
127
128 # MPS has 192K buffer space for ingress packets from the wire as well as
129 # loopback path of the L2 switch.
130 [port "0"]
131         dcb = none
132         bg_mem = 25
133         lpbk_mem = 25
134         hwm = 30
135         lwm = 15
136         dwm = 30
137
138 [port "1"]
139         dcb = none
140         bg_mem = 25
141         lpbk_mem = 25
142         hwm = 30
143         lwm = 15
144         dwm = 30
145
146 [port "2"]
147         dcb = none
148         bg_mem = 25
149         lpbk_mem = 25
150         hwm = 30
151         lwm = 15
152         dwm = 30
153
154 [port "3"]
155         dcb = none
156         bg_mem = 25
157         lpbk_mem = 25
158         hwm = 30
159         lwm = 15
160         dwm = 30
161
162 [fini]
163         version = 0x1
164         checksum = 0x9f27febc
165 #
166 # $FreeBSD$
167 #