doc: whitespace changes in licenses
[dpdk.git] / examples / dpdk_qat / config_files / stargo / dh89xxcc_qa_dev0.conf
1 #########################################################################
2 #
3 # @par
4 #   BSD LICENSE
5
6 #   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
7 #   All rights reserved.
8
9 #   Redistribution and use in source and binary forms, with or without
10 #   modification, are permitted provided that the following conditions
11 #   are met:
12
13 #     * Redistributions of source code must retain the above copyright
14 #       notice, this list of conditions and the following disclaimer.
15 #     * Redistributions in binary form must reproduce the above copyright
16 #       notice, this list of conditions and the following disclaimer in
17 #       the documentation and/or other materials provided with the
18 #       distribution.
19 #     * Neither the name of Intel Corporation nor the names of its
20 #       contributors may be used to endorse or promote products derived
21 #       from this software without specific prior written permission.
22
23 #   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 #   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 #   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26 #   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27 #   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28 #   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29 #   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30 #   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31 #   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 # #########################################################################
35 # ########################################################
36 #
37 # This file is the configuration for a single dh89xxcc_qa
38 # device.
39 #
40 # Each device has up to two accelerators.
41 # - The client may load balance between these
42 #   accelerators.
43 # Each accelerator has 8 independent ring banks.
44 # - The interrupt for each can be directed to a
45 #   specific core.
46 # Each ring bank as 16 rings (hardware assisted queues).
47 #
48 #########################################################
49 # General Section
50 ##############################################
51
52 [GENERAL]
53 ServicesEnabled = cy0;cy1
54
55 # Use version 2 of the config file
56 ConfigVersion = 2
57 # Look Aside Cryptographic Configuration
58 cyHmacAuthMode = 1
59
60 # Look Aside Compression Configuration
61 dcTotalSRAMAvailable = 0
62
63 # Firmware Location Configuration
64 Firmware_MofPath = mof_firmware.bin
65 Firmware_MmpPath = mmp_firmware.bin
66
67 #Default values for number of concurrent requests*/
68 CyNumConcurrentSymRequests = 512
69 CyNumConcurrentAsymRequests = 64
70 DcNumConcurrentRequests = 512
71
72 #Statistics, valid values: 1,0
73 statsGeneral = 1
74 statsDc = 1
75 statsDh = 1
76 statsDrbg = 1
77 statsDsa = 1
78 statsEcc = 1
79 statsKeyGen = 1
80 statsLn = 1
81 statsPrime = 1
82 statsRsa = 1
83 statsSym = 1
84
85 # Enables or disables Single Root Complex IO Virtualization.
86 # If this is enabled (1) then SRIOV and VT-d need to be enabled in
87 # BIOS and there can be no Cy or Dc instances created in PF (Dom0).
88 # If this i disabled (0) then SRIOV and VT-d need to be disabled
89 # in BIOS and Cy and/or Dc instances can be used in PF (Dom0)
90 SRIOV_Enabled = 0
91
92 #Debug feature, if set to 1 it enables additional entries in /proc filesystem
93 ProcDebug = 1
94
95 #######################################################
96 #
97 # Logical Instances Section
98 # A logical instance allows each address domain
99 # (kernel space and individual user space processes)
100 # to configure rings (i.e. hardware assisted queues)
101 # to be used by that address domain and to define the
102 # behavior of that ring.
103 #
104 # The address domains are in the following format
105 # - For kernel address domains
106 #       [KERNEL]
107 # - For user process address domains
108 #   [xxxxx]
109 #   Where xxxxx may be any ascii value which uniquely identifies
110 #   the user mode process.
111 #   To allow the driver correctly configure the
112 #   logical instances associated with this user process,
113 #   the process must call the icp_sal_userStartMultiProcess(...)
114 #   passing the xxxxx string during process initialisation.
115 #   When the user space process is finished it must call
116 #   icp_sal_userStop(...) to free resources.
117 #   NumProcesses will indicate the maximum number of processes
118 #   that can call icp_sal_userStartMultiProcess on this instance.
119 #   Warning: the resources are preallocated: if NumProcesses
120 #   is too high, the driver will fail to load
121 #
122 # Items configurable by a logical instance are:
123 # - Name of the logical instance
124 # - The accelerator associated with this logical
125 #   instance
126 # - The core the instance is affinitized to (optional)
127 #
128 # Note: Logical instances may not share the same ring, but
129 #           may share a ring bank.
130 #
131 # The format of the logical instances are:
132 # - For crypto:
133 #               Cy<n>Name = "xxxx"
134 #               Cy<n>AcceleratorNumber = 0-3
135 #               Cy<n>CoreAffinity = 0-7
136 #
137 # - For Data Compression
138 #               Dc<n>Name = "xxxx"
139 #               Dc<n>AcceleratorNumber = 0-1
140 #               Dc<n>CoreAffinity = 0-7
141 #
142 # Where:
143 #       - n is the number of this logical instance starting at 0.
144 #       - xxxx may be any ascii value which identifies the logical instance.
145 #
146 # Note: for user space processes, a list of values can be specified for
147 # the accelerator number and the core affinity: for example
148 #              Cy0AcceleratorNumber = 0,2
149 #              Cy0CoreAffinity = 0,2,4
150 # These comma-separated lists will allow the multiple processes to use
151 # different accelerators and cores, and will wrap around the numbers
152 # in the list. In the above example, process 0 will use accelerator 0,
153 # and process 1 will use accelerator 2
154 #
155 ########################################################
156
157 ##############################################
158 # Kernel Instances Section
159 ##############################################
160 [KERNEL]
161 NumberCyInstances = 0
162 NumberDcInstances = 0
163
164 ##############################################
165 # User Process Instance Section
166 ##############################################
167 [SSL]
168 NumberCyInstances = 8
169 NumberDcInstances = 0
170 NumProcesses = 1
171 LimitDevAccess = 0
172
173 # Crypto - User instance #0
174 Cy0Name = "SSL0"
175 Cy0IsPolled = 1
176 Cy0AcceleratorNumber = 0
177 # List of core affinities
178 Cy0CoreAffinity = 0
179
180 # Crypto - User instance #1
181 Cy1Name = "SSL1"
182 Cy1IsPolled = 1
183 Cy1AcceleratorNumber = 1
184 # List of core affinities
185 Cy1CoreAffinity = 1
186
187 # Crypto - User instance #2
188 Cy2Name = "SSL2"
189 Cy2IsPolled = 1
190 Cy2AcceleratorNumber = 2
191 # List of core affinities
192 Cy2CoreAffinity = 2
193
194 # Crypto - User instance #3
195 Cy3Name = "SSL3"
196 Cy3IsPolled = 1
197 Cy3AcceleratorNumber = 3
198 # List of core affinities
199 Cy3CoreAffinity = 3
200
201 # Crypto - User instance #4
202 Cy4Name = "SSL4"
203 Cy4IsPolled = 1
204 Cy4AcceleratorNumber = 0
205 # List of core affinities
206 Cy4CoreAffinity = 4
207
208 # Crypto - User instance #5
209 Cy5Name = "SSL5"
210 Cy5IsPolled = 1
211 Cy5AcceleratorNumber = 1
212 # List of core affinities
213 Cy5CoreAffinity = 5
214
215 # Crypto - User instance #6
216 Cy6Name = "SSL6"
217 Cy6IsPolled = 1
218 Cy6AcceleratorNumber = 2
219 # List of core affinities
220 Cy6CoreAffinity = 6
221
222 # Crypto - User instance #7
223 Cy7Name = "SSL7"
224 Cy7IsPolled = 1
225 Cy7AcceleratorNumber = 3
226 # List of core affinities
227 Cy7CoreAffinity = 7
228
229 ##############################################
230 # Wireless Process Instance Section
231 ##############################################
232 [WIRELESS]
233 NumberCyInstances = 0
234 NumberDcInstances = 0
235 NumProcesses = 0
236
237