d44c2d27788eeb74a7eb16640355a44ef30d576c
[dpdk.git] / examples / dpdk_qat / config_files / stargo / dh89xxcc_qa_dev0.conf
1 #########################################################################
2 #
3 # @par
4 #   BSD LICENSE
5
6 #   Copyright(c) 2010-2012 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 #
38 # This file is the configuration for a single dh89xxcc_qa
39 # device.
40 #
41 # Each device has up to two accelerators.
42 # - The client may load balance between these
43 #   accelerators.
44 # Each accelerator has 8 independent ring banks.
45 # - The interrupt for each can be directed to a
46 #   specific core.
47 # Each ring bank as 16 rings (hardware assisted queues).
48 #
49 #########################################################
50 # General Section
51 ##############################################
52
53 [GENERAL]
54 ServicesEnabled = cy0;cy1
55
56 # Use version 2 of the config file
57 ConfigVersion = 2
58 # Look Aside Cryptographic Configuration
59 cyHmacAuthMode = 1
60
61 # Look Aside Compression Configuration
62 dcTotalSRAMAvailable = 0
63
64 # Firmware Location Configuration
65 Firmware_MofPath = mof_firmware.bin
66 Firmware_MmpPath = mmp_firmware.bin
67
68 #Default values for number of concurrent requests*/
69 CyNumConcurrentSymRequests = 512
70 CyNumConcurrentAsymRequests = 64
71 DcNumConcurrentRequests = 512
72
73 #Statistics, valid values: 1,0
74 statsGeneral = 1
75 statsDc = 1
76 statsDh = 1
77 statsDrbg = 1
78 statsDsa = 1
79 statsEcc = 1
80 statsKeyGen = 1
81 statsLn = 1
82 statsPrime = 1
83 statsRsa = 1
84 statsSym = 1
85
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)
91 SRIOV_Enabled = 0
92
93 #Debug feature, if set to 1 it enables additional entries in /proc filesystem
94 ProcDebug = 1
95
96 #######################################################
97 #
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.
104 #
105 # The address domains are in the following format
106 # - For kernel address domains
107 #       [KERNEL]
108 # - For user process address domains
109 #   [xxxxx]
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
122 #
123 # Items configurable by a logical instance are:
124 # - Name of the logical instance
125 # - The accelerator associated with this logical
126 #   instance
127 # - The core the instance is affinitized to (optional)
128 #
129 # Note: Logical instances may not share the same ring, but
130 #           may share a ring bank.
131 #
132 # The format of the logical instances are:
133 # - For crypto:
134 #               Cy<n>Name = "xxxx"
135 #               Cy<n>AcceleratorNumber = 0-3
136 #               Cy<n>CoreAffinity = 0-7
137 #
138 # - For Data Compression
139 #               Dc<n>Name = "xxxx"
140 #               Dc<n>AcceleratorNumber = 0-1
141 #               Dc<n>CoreAffinity = 0-7
142 #
143 # Where:
144 #       - n is the number of this logical instance starting at 0.
145 #       - xxxx may be any ascii value which identifies the logical instance.
146 #
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
155 #
156 ########################################################
157
158 ##############################################
159 # Kernel Instances Section
160 ##############################################
161 [KERNEL]
162 NumberCyInstances = 0
163 NumberDcInstances = 0
164
165 ##############################################
166 # User Process Instance Section
167 ##############################################
168 [SSL]
169 NumberCyInstances = 8
170 NumberDcInstances = 0
171 NumProcesses = 1
172 LimitDevAccess = 0
173
174 # Crypto - User instance #0
175 Cy0Name = "SSL0"
176 Cy0IsPolled = 1
177 Cy0AcceleratorNumber = 0
178 # List of core affinities
179 Cy0CoreAffinity = 0
180
181 # Crypto - User instance #1
182 Cy1Name = "SSL1"
183 Cy1IsPolled = 1
184 Cy1AcceleratorNumber = 1
185 # List of core affinities
186 Cy1CoreAffinity = 1
187
188 # Crypto - User instance #2
189 Cy2Name = "SSL2"
190 Cy2IsPolled = 1
191 Cy2AcceleratorNumber = 2
192 # List of core affinities
193 Cy2CoreAffinity = 2
194
195 # Crypto - User instance #3
196 Cy3Name = "SSL3"
197 Cy3IsPolled = 1
198 Cy3AcceleratorNumber = 3
199 # List of core affinities
200 Cy3CoreAffinity = 3
201
202 # Crypto - User instance #4
203 Cy4Name = "SSL4"
204 Cy4IsPolled = 1
205 Cy4AcceleratorNumber = 0
206 # List of core affinities
207 Cy4CoreAffinity = 4
208
209 # Crypto - User instance #5
210 Cy5Name = "SSL5"
211 Cy5IsPolled = 1
212 Cy5AcceleratorNumber = 1
213 # List of core affinities
214 Cy5CoreAffinity = 5
215
216 # Crypto - User instance #6
217 Cy6Name = "SSL6"
218 Cy6IsPolled = 1
219 Cy6AcceleratorNumber = 2
220 # List of core affinities
221 Cy6CoreAffinity = 6
222
223 # Crypto - User instance #7
224 Cy7Name = "SSL7"
225 Cy7IsPolled = 1
226 Cy7AcceleratorNumber = 3
227 # List of core affinities
228 Cy7CoreAffinity = 7
229
230 ##############################################
231 # Wireless Process Instance Section
232 ##############################################
233 [WIRELESS]
234 NumberCyInstances = 0
235 NumberDcInstances = 0
236 NumProcesses = 0
237
238