1 #########################################################################
6 # Copyright(c) 2010-2012 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.
35 # #########################################################################
36 # ########################################################
38 # This file is the configuration for a single dh89xxcc_qa
41 # Each device has up to two accelerators.
42 # - The client may load balance between these
44 # Each accelerator has 8 independent ring banks.
45 # - The interrupt for each can be directed to a
47 # Each ring bank as 16 rings (hardware assisted queues).
49 #########################################################
51 ##############################################
54 ServicesEnabled = cy0;cy1
56 # Use version 2 of the config file
58 # Look Aside Cryptographic Configuration
61 # Look Aside Compression Configuration
62 dcTotalSRAMAvailable = 0
64 # Firmware Location Configuration
65 Firmware_MofPath = mof_firmware.bin
66 Firmware_MmpPath = mmp_firmware.bin
68 #Default values for number of concurrent requests*/
69 CyNumConcurrentSymRequests = 512
70 CyNumConcurrentAsymRequests = 64
71 DcNumConcurrentRequests = 512
73 #Statistics, valid values: 1,0
86 # Enables or disables Single Root Complex IO Virtualization.
87 # If this is enabled (1) then SRIOV and VT-d need to be enabled in
88 # BIOS and there can be no Cy or Dc instances created in PF (Dom0).
89 # If this i disabled (0) then SRIOV and VT-d need to be disabled
90 # in BIOS and Cy and/or Dc instances can be used in PF (Dom0)
93 #Debug feature, if set to 1 it enables additional entries in /proc filesystem
96 #######################################################
98 # Logical Instances Section
99 # A logical instance allows each address domain
100 # (kernel space and individual user space processes)
101 # to configure rings (i.e. hardware assisted queues)
102 # to be used by that address domain and to define the
103 # behavior of that ring.
105 # The address domains are in the following format
106 # - For kernel address domains
108 # - For user process address domains
110 # Where xxxxx may be any ascii value which uniquely identifies
111 # the user mode process.
112 # To allow the driver correctly configure the
113 # logical instances associated with this user process,
114 # the process must call the icp_sal_userStartMultiProcess(...)
115 # passing the xxxxx string during process initialisation.
116 # When the user space process is finished it must call
117 # icp_sal_userStop(...) to free resources.
118 # NumProcesses will indicate the maximum number of processes
119 # that can call icp_sal_userStartMultiProcess on this instance.
120 # Warning: the resources are preallocated: if NumProcesses
121 # is too high, the driver will fail to load
123 # Items configurable by a logical instance are:
124 # - Name of the logical instance
125 # - The accelerator associated with this logical
127 # - The core the instance is affinitized to (optional)
129 # Note: Logical instances may not share the same ring, but
130 # may share a ring bank.
132 # The format of the logical instances are:
135 # Cy<n>AcceleratorNumber = 0-3
136 # Cy<n>CoreAffinity = 0-7
138 # - For Data Compression
140 # Dc<n>AcceleratorNumber = 0-1
141 # Dc<n>CoreAffinity = 0-7
144 # - n is the number of this logical instance starting at 0.
145 # - xxxx may be any ascii value which identifies the logical instance.
147 # Note: for user space processes, a list of values can be specified for
148 # the accelerator number and the core affinity: for example
149 # Cy0AcceleratorNumber = 0,2
150 # Cy0CoreAffinity = 0,2,4
151 # These comma-separated lists will allow the multiple processes to use
152 # different accelerators and cores, and will wrap around the numbers
153 # in the list. In the above example, process 0 will use accelerator 0,
154 # and process 1 will use accelerator 2
156 ########################################################
158 ##############################################
159 # Kernel Instances Section
160 ##############################################
162 NumberCyInstances = 0
163 NumberDcInstances = 0
165 ##############################################
166 # User Process Instance Section
167 ##############################################
169 NumberCyInstances = 16
170 NumberDcInstances = 0
174 # Crypto - User instance #0
177 Cy0AcceleratorNumber = 0
178 # List of core affinities
181 # Crypto - User instance #1
184 Cy1AcceleratorNumber = 1
185 # List of core affinities
188 # Crypto - User instance #2
191 Cy2AcceleratorNumber = 2
192 # List of core affinities
195 # Crypto - User instance #3
198 Cy3AcceleratorNumber = 3
199 # List of core affinities
202 # Crypto - User instance #4
205 Cy4AcceleratorNumber = 0
206 # List of core affinities
209 # Crypto - User instance #5
212 Cy5AcceleratorNumber = 1
213 # List of core affinities
216 # Crypto - User instance #6
219 Cy6AcceleratorNumber = 2
220 # List of core affinities
223 # Crypto - User instance #7
226 Cy7AcceleratorNumber = 3
227 # List of core affinities
230 # Crypto - User instance #8
233 Cy8AcceleratorNumber = 0
234 # List of core affinities
237 # Crypto - User instance #9
240 Cy9AcceleratorNumber = 1
241 # List of core affinities
244 # Crypto - User instance #10
247 Cy10AcceleratorNumber = 2
248 # List of core affinities
249 Cy10CoreAffinity = 18
251 # Crypto - User instance #11
254 Cy11AcceleratorNumber = 3
255 # List of core affinities
256 Cy11CoreAffinity = 19
258 # Crypto - User instance #12
261 Cy12AcceleratorNumber = 0
262 # List of core affinities
263 Cy12CoreAffinity = 20
265 # Crypto - User instance #13
268 Cy13AcceleratorNumber = 1
269 # List of core affinities
270 Cy13CoreAffinity = 21
272 # Crypto - User instance #14
275 Cy14AcceleratorNumber = 2
276 # List of core affinities
277 Cy14CoreAffinity = 22
279 # Crypto - User instance #15
282 Cy15AcceleratorNumber = 3
283 # List of core affinities
284 Cy15CoreAffinity = 23
288 ##############################################
289 # Wireless Process Instance Section
290 ##############################################
292 NumberCyInstances = 0
293 NumberDcInstances = 0