1 #########################################################################
6 # Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
9 # Redistribution and use in source and binary forms, with or without
10 # modification, are permitted provided that the following conditions
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
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.
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 # ########################################################
37 # This file is the configuration for a single dh89xxcc_qa
40 # Each device has up to two accelerators.
41 # - The client may load balance between these
43 # Each accelerator has 8 independent ring banks.
44 # - The interrupt for each can be directed to a
46 # Each ring bank as 16 rings (hardware assisted queues).
48 #########################################################
50 ##############################################
53 ServicesEnabled = cy0;cy1
55 # Use version 2 of the config file
57 # Look Aside Cryptographic Configuration
60 # Look Aside Compression Configuration
61 dcTotalSRAMAvailable = 0
63 # Firmware Location Configuration
64 Firmware_MofPath = mof_firmware.bin
65 Firmware_MmpPath = mmp_firmware.bin
67 #Default values for number of concurrent requests*/
68 CyNumConcurrentSymRequests = 512
69 CyNumConcurrentAsymRequests = 64
70 DcNumConcurrentRequests = 512
72 #Statistics, valid values: 1,0
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)
92 #Debug feature, if set to 1 it enables additional entries in /proc filesystem
95 #######################################################
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.
104 # The address domains are in the following format
105 # - For kernel address domains
107 # - For user process address domains
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
122 # Items configurable by a logical instance are:
123 # - Name of the logical instance
124 # - The accelerator associated with this logical
126 # - The core the instance is affinitized to (optional)
128 # Note: Logical instances may not share the same ring, but
129 # may share a ring bank.
131 # The format of the logical instances are:
134 # Cy<n>AcceleratorNumber = 0-3
135 # Cy<n>CoreAffinity = 0-7
137 # - For Data Compression
139 # Dc<n>AcceleratorNumber = 0-1
140 # Dc<n>CoreAffinity = 0-7
143 # - n is the number of this logical instance starting at 0.
144 # - xxxx may be any ascii value which identifies the logical instance.
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
155 ########################################################
157 ##############################################
158 # Kernel Instances Section
159 ##############################################
161 NumberCyInstances = 0
162 NumberDcInstances = 0
164 ##############################################
165 # User Process Instance Section
166 ##############################################
168 NumberCyInstances = 16
169 NumberDcInstances = 0
173 # Crypto - User instance #0
176 Cy0AcceleratorNumber = 0
177 # List of core affinities
180 # Crypto - User instance #1
183 Cy1AcceleratorNumber = 1
184 # List of core affinities
187 # Crypto - User instance #2
190 Cy2AcceleratorNumber = 2
191 # List of core affinities
194 # Crypto - User instance #3
197 Cy3AcceleratorNumber = 3
198 # List of core affinities
201 # Crypto - User instance #4
204 Cy4AcceleratorNumber = 0
205 # List of core affinities
208 # Crypto - User instance #5
211 Cy5AcceleratorNumber = 1
212 # List of core affinities
215 # Crypto - User instance #6
218 Cy6AcceleratorNumber = 2
219 # List of core affinities
222 # Crypto - User instance #7
225 Cy7AcceleratorNumber = 3
226 # List of core affinities
229 # Crypto - User instance #8
232 Cy8AcceleratorNumber = 0
233 # List of core affinities
236 # Crypto - User instance #9
239 Cy9AcceleratorNumber = 1
240 # List of core affinities
243 # Crypto - User instance #10
246 Cy10AcceleratorNumber = 2
247 # List of core affinities
248 Cy10CoreAffinity = 18
250 # Crypto - User instance #11
253 Cy11AcceleratorNumber = 3
254 # List of core affinities
255 Cy11CoreAffinity = 19
257 # Crypto - User instance #12
260 Cy12AcceleratorNumber = 0
261 # List of core affinities
262 Cy12CoreAffinity = 20
264 # Crypto - User instance #13
267 Cy13AcceleratorNumber = 1
268 # List of core affinities
269 Cy13CoreAffinity = 21
271 # Crypto - User instance #14
274 Cy14AcceleratorNumber = 2
275 # List of core affinities
276 Cy14CoreAffinity = 22
278 # Crypto - User instance #15
281 Cy15AcceleratorNumber = 3
282 # List of core affinities
283 Cy15CoreAffinity = 23
287 ##############################################
288 # Wireless Process Instance Section
289 ##############################################
291 NumberCyInstances = 0
292 NumberDcInstances = 0