remove version in all files
[dpdk.git] / examples / dpdk_qat / config_files / shumway_B0 / dh89xxcc_qa_dev1.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
51 ##############################################
52 # General Section
53 ##############################################
54
55 [GENERAL]
56 ServicesEnabled = cy0;cy1
57
58 # Look Aside Cryptographic Configuration
59 cyHmacAuthMode = 1
60
61 # Look Aside Compression Configuration
62 dcTotalSRAMAvailable = 0
63 dcSRAMPerInstance = 0
64
65 # Firmware Location Configuration
66 Firmware_UofPath = uof_firmware.bin
67 Firmware_MmpPath = mmp_firmware.bin
68
69 # QAT Parameters
70 Accel0AdminBankNumber = 0
71 Accel0AcceleratorNumber = 0
72 Accel0AdminTx = 0
73 Accel0AdminRx = 1
74
75 Accel1AcceleratorNumber = 1
76 Accel1AdminBankNumber = 0
77 Accel1AdminTx = 0
78 Accel1AdminRx = 1
79
80 #Statistics, valid values: 1,0
81 statsGeneral = 1
82 statsDc = 1
83 statsDh = 1
84 statsDrbg = 1
85 statsDsa = 1
86 statsEcc = 1
87 statsKeyGen = 1
88 statsLn = 1
89 statsPrime = 1
90 statsRsa = 1
91 statsSym = 1
92
93 #Debug feature, if set to 1 it enables additional entries in /proc filesystem
94 ProcDebug = 1
95
96
97 ################################################
98 #
99 # Hardware Access Ring Bank Configuration
100 # Each Accelerator has 8 ring banks (0-7)
101 # If the OS supports MSI-X, each ring bank has an
102 # steerable MSI-x interrupt which may be
103 # affinitized to a particular node/core.
104 #
105 ################################################
106
107
108 [Accelerator0]
109 Bank0InterruptCoalescingEnabled = 1
110 Bank0InterruptCoalescingTimerNs = 10000
111 Bank0CoreIDAffinity = 8
112 Bank0InterruptCoalescingNumResponses = 0
113
114 Bank1InterruptCoalescingEnabled = 1
115 Bank1InterruptCoalescingTimerNs = 10000
116 Bank1CoreIDAffinity = 10
117 Bank1InterruptCoalescingNumResponses = 0
118
119 Bank2InterruptCoalescingEnabled = 1
120 Bank2InterruptCoalescingTimerNs = 10000
121 Bank2CoreIDAffinity = 12
122 Bank2InterruptCoalescingNumResponses = 0
123
124 Bank3InterruptCoalescingEnabled = 1
125 Bank3InterruptCoalescingTimerNs = 10000
126 Bank3CoreIDAffinity = 14
127 Bank3InterruptCoalescingNumResponses = 0
128
129 Bank4InterruptCoalescingEnabled = 1
130 Bank4InterruptCoalescingTimerNs = 10000
131 Bank4CoreIDAffinity = 24
132 Bank4InterruptCoalescingNumResponses = 0
133
134 Bank5InterruptCoalescingEnabled = 1
135 Bank5InterruptCoalescingTimerNs = 10000
136 Bank5CoreIDAffinity = 26
137 Bank5InterruptCoalescingNumResponses = 0
138
139 Bank6InterruptCoalescingEnabled = 1
140 Bank6InterruptCoalescingTimerNs = 10000
141 Bank6CoreIDAffinity = 28
142 Bank6InterruptCoalescingNumResponses = 0
143
144 Bank7InterruptCoalescingEnabled = 1
145 Bank7InterruptCoalescingTimerNs = 10000
146 Bank7CoreIDAffinity = 30
147 Bank7InterruptCoalescingNumResponses = 0
148
149 [Accelerator1]
150 Bank0InterruptCoalescingEnabled = 1
151 Bank0InterruptCoalescingTimerNs = 10000
152 Bank0CoreIDAffinity = 9
153 Bank0InterruptCoalescingNumResponses = 0
154
155 Bank1InterruptCoalescingEnabled = 1
156 Bank1InterruptCoalescingTimerNs = 10000
157 Bank1CoreIDAffinity = 11
158 Bank1InterruptCoalescingNumResponses = 0
159
160 Bank2InterruptCoalescingEnabled = 1
161 Bank2InterruptCoalescingTimerNs = 10000
162 Bank2CoreIDAffinity = 13
163 Bank2InterruptCoalescingNumResponses = 0
164
165 Bank3InterruptCoalescingEnabled = 1
166 Bank3InterruptCoalescingTimerNs = 10000
167 Bank3CoreIDAffinity = 15
168 Bank3InterruptCoalescingNumResponses = 0
169
170 Bank4InterruptCoalescingEnabled = 1
171 Bank4InterruptCoalescingTimerNs = 10000
172 Bank4CoreIDAffinity = 25
173 Bank4InterruptCoalescingNumResponses = 0
174
175 Bank5InterruptCoalescingEnabled = 1
176 Bank5InterruptCoalescingTimerNs = 10000
177 Bank5CoreIDAffinity = 27
178 Bank5InterruptCoalescingNumResponses = 0
179
180 Bank6InterruptCoalescingEnabled = 1
181 Bank6InterruptCoalescingTimerNs = 10000
182 Bank6CoreIDAffinity = 29
183 Bank6InterruptCoalescingNumResponses = 0
184
185 Bank7InterruptCoalescingEnabled = 1
186 Bank7InterruptCoalescingTimerNs = 10000
187 Bank7CoreIDAffinity = 31
188 Bank7InterruptCoalescingNumResponses = 0
189
190 #######################################################
191 #
192 # Logical Instances Section
193 # A logical instance allows each address domain
194 # (kernel space and individual user space processes)
195 # to configure rings (i.e. hardware assisted queues)
196 # to be used by that address domain and to define the
197 # behavior of that ring.
198 #
199 # The address domains are in the following format
200 # - For kernel address domains
201 #       [KERNEL]
202 # - For user process address domains
203 #   [xxxxx]
204 #   Where xxxxx may be any ascii value which uniquely identifies
205 #   the user mode process.
206 #   To allow the driver correctly configure the
207 #   logical instances associated with this user process,
208 #   the process must call the icp_sal_userStart(...)
209 #   passing the xxxxx string during process initialisation.
210 #   When the user space process is finish it must call
211 #   icp_sal_userStop(...) to free resources.
212 #   If there are multiple devices present in the system all conf
213 #   files that describe the devices must have the same address domain
214 #   sections even if the address domain does not configure any instances
215 #   on that particular device. So if icp_sal_userStart("xxxxx") is called
216 #   then user process address domain [xxxxx] needs to be present in all
217 #   conf files for all devices in the system.
218 #
219 # Items configurable by a logical instance are:
220 # - Name of the logical instance
221 # - The accelerator associated with this logical
222 #   instance
223 # - The ring bank associated with this logical
224 #   instance.
225 # - The response mode associated wth this logical instance (0
226 #   for IRQ or 1 for polled).
227 # - The ring for receiving and the ring for transmitting.
228 # - The number of concurrent requests supported by a pair of
229 #   rings on this instance (tx + rx). Note this number affects
230 #   the amount of memory allocated by the driver. Also
231 #   Bank<n>InterruptCoalescingNumResponses is only supported for
232 #   number of concurrent requests equal to 512.
233 #
234 # Note: Logical instances may not share the same ring, but
235 #           may share a ring bank.
236 #
237 # The format of the logical instances are:
238 # - For crypto:
239 #               Cy<n>Name = "xxxx"
240 #               Cy<n>AcceleratorNumber = 0|1
241 #               Cy<n>BankNumber = 0-7
242 #               Cy<n>IsPolled = 0|1
243 #               Cy<n>NumConcurrentSymRequests = 64|128|256|512|1024|2048|4096
244 #               Cy<n>NumConcurrentAsymRequests = 64|128|256|512|1024|2048|4096
245 #               Cy<n>RingAsymTx = 0-15
246 #               Cy<n>RingAsymRx = 0-15
247 #               Cy<n>RingSymTxHi = 0-15
248 #               Cy<n>RingSymRxHi = 0-15
249 #               Cy<n>RingSymRx = 0-15
250 #
251 # - For Data Compression
252 #               Dc<n>Name = "xxxx"
253 #               Dc<n>AcceleratorNumber = 0|1
254 #               Dc<n>BankNumber = 0-7
255 #               Dc<n>IsPolled = 0|1
256 #               Dc<n>NumConcurrentRequests = 64|128|256|512|1024|2048|4096
257 #               Dc<n>RingTx = 0-15
258 #               Dc<n>RingRx = 0-15
259 #
260 # Where:
261 #       - n is the number of this logical instance starting at 0.
262 #       - xxxx may be any ascii value which identifies the logical instance.
263 #
264 ########################################################
265
266 ##############################################
267 # Kernel Instances Section
268 ##############################################
269 [KERNEL]
270 NumberCyInstances = 0
271 NumberDcInstances = 0
272
273
274 ##############################################
275 # User Process Instance Section
276 ##############################################
277 [SSL]
278 NumberCyInstances = 16
279 NumberDcInstances = 0
280
281 # Crypto - User instance #0
282 Cy0Name = "SSL0"
283 Cy0IsPolled = 1
284 Cy0AcceleratorNumber = 0
285 Cy0ExecutionEngine = 0
286 Cy0BankNumber = 0
287 Cy0NumConcurrentSymRequests = 512
288 Cy0NumConcurrentAsymRequests = 64
289
290 Cy0RingAsymTx =  2
291 Cy0RingAsymRx =  3
292 Cy0RingSymTxHi = 4
293 Cy0RingSymRxHi = 5
294 Cy0RingSymTxLo = 6
295 Cy0RingSymRxLo = 7
296
297 # Crypto - User instance #1
298 Cy1Name = "SSL1"
299 Cy1AcceleratorNumber = 1
300 Cy1ExecutionEngine = 0
301 Cy1BankNumber = 0
302 Cy1IsPolled = 1
303 Cy1NumConcurrentSymRequests = 512
304 Cy1NumConcurrentAsymRequests = 64
305
306 Cy1RingAsymTx =  2
307 Cy1RingAsymRx =  3
308 Cy1RingSymTxHi = 4
309 Cy1RingSymRxHi = 5
310 Cy1RingSymTxLo = 6
311 Cy1RingSymRxLo = 7
312
313 # Crypto - User instance #2
314 Cy2Name = "SSL2"
315 Cy2IsPolled= 1
316 Cy2AcceleratorNumber = 0
317 Cy2ExecutionEngine = 1
318 Cy2BankNumber = 1
319 Cy2NumConcurrentSymRequests = 512
320 Cy2NumConcurrentAsymRequests = 64
321
322 Cy2RingAsymTx =  0
323 Cy2RingAsymRx =  1
324 Cy2RingSymTxHi = 2
325 Cy2RingSymRxHi = 3
326 Cy2RingSymTxLo = 4
327 Cy2RingSymRxLo = 5
328
329 # Crypto - User instance #3
330 Cy3Name = "SSL3"
331 Cy3AcceleratorNumber = 1
332 Cy3ExecutionEngine = 1
333 Cy3BankNumber = 1
334 Cy3IsPolled = 1
335 Cy3NumConcurrentSymRequests = 512
336 Cy3NumConcurrentAsymRequests = 64
337
338 Cy3RingAsymTx =  0
339 Cy3RingAsymRx =  1
340 Cy3RingSymTxHi = 2
341 Cy3RingSymRxHi = 3
342 Cy3RingSymTxLo = 4
343 Cy3RingSymRxLo = 5
344
345
346 # Crypto - User instance #4
347 Cy4Name = "SSL4"
348 Cy4IsPolled= 1
349 Cy4AcceleratorNumber = 0
350 Cy4ExecutionEngine = 0
351 Cy4BankNumber = 2
352 Cy4NumConcurrentSymRequests = 512
353 Cy4NumConcurrentAsymRequests = 64
354
355 Cy4RingAsymTx =  0
356 Cy4RingAsymRx =  1
357 Cy4RingSymTxHi = 2
358 Cy4RingSymRxHi = 3
359 Cy4RingSymTxLo = 4
360 Cy4RingSymRxLo = 5
361
362 # Crypto - User instance #5
363 Cy5Name = "SSL5"
364 Cy5AcceleratorNumber = 1
365 Cy5ExecutionEngine = 0
366 Cy5BankNumber = 2
367 Cy5IsPolled = 1
368 Cy5NumConcurrentSymRequests = 512
369 Cy5NumConcurrentAsymRequests = 64
370
371 Cy5RingAsymTx =  0
372 Cy5RingAsymRx =  1
373 Cy5RingSymTxHi = 2
374 Cy5RingSymRxHi = 3
375 Cy5RingSymTxLo = 4
376 Cy5RingSymRxLo = 5
377
378 # Crypto - User instance #6
379 Cy6Name = "SSL6"
380 Cy6IsPolled = 1
381 Cy6AcceleratorNumber = 0
382 Cy6ExecutionEngine = 1
383 Cy6BankNumber = 3
384 Cy6NumConcurrentSymRequests = 512
385 Cy6NumConcurrentAsymRequests = 64
386
387 Cy6RingAsymTx =  0
388 Cy6RingAsymRx =  1
389 Cy6RingSymTxHi = 2
390 Cy6RingSymRxHi = 3
391 Cy6RingSymTxLo = 4
392 Cy6RingSymRxLo = 5
393
394 # Crypto - User instance #7
395 Cy7Name = "SSL7"
396 Cy7AcceleratorNumber = 1
397 Cy7ExecutionEngine = 1
398 Cy7BankNumber = 3
399 Cy7IsPolled = 1
400 Cy7NumConcurrentSymRequests = 512
401 Cy7NumConcurrentAsymRequests = 64
402
403 Cy7RingAsymTx =  0
404 Cy7RingAsymRx =  1
405 Cy7RingSymTxHi = 2
406 Cy7RingSymRxHi = 3
407 Cy7RingSymTxLo = 4
408 Cy7RingSymRxLo = 5
409
410 # Crypto - User instance #8
411 Cy8Name = "SSL8"
412 Cy8IsPolled = 1
413 Cy8AcceleratorNumber = 0
414 Cy8ExecutionEngine = 0
415 Cy8BankNumber = 4
416 Cy8NumConcurrentSymRequests = 512
417 Cy8NumConcurrentAsymRequests = 64
418
419 Cy8RingAsymTx =  0
420 Cy8RingAsymRx =  1
421 Cy8RingSymTxHi = 2
422 Cy8RingSymRxHi = 3
423 Cy8RingSymTxLo = 4
424 Cy8RingSymRxLo = 5
425
426 # Crypto - User instance #9
427 Cy9Name = "SSL9"
428 Cy9IsPolled = 1
429 Cy9AcceleratorNumber = 1
430 Cy9ExecutionEngine = 0
431 Cy9BankNumber = 4
432 Cy9NumConcurrentSymRequests = 512
433 Cy9NumConcurrentAsymRequests = 64
434
435 Cy9RingAsymTx =  0
436 Cy9RingAsymRx =  1
437 Cy9RingSymTxHi = 2
438 Cy9RingSymRxHi = 3
439 Cy9RingSymTxLo = 4
440 Cy9RingSymRxLo = 5
441
442 # Crypto - User instance #10
443 Cy10Name = "SSL10"
444 Cy10IsPolled = 1
445 Cy10AcceleratorNumber = 0
446 Cy10ExecutionEngine = 1
447 Cy10BankNumber = 5
448 Cy10NumConcurrentSymRequests = 512
449 Cy10NumConcurrentAsymRequests = 64
450
451 Cy10RingAsymTx =  0
452 Cy10RingAsymRx =  1
453 Cy10RingSymTxHi = 2
454 Cy10RingSymRxHi = 3
455 Cy10RingSymTxLo = 4
456 Cy10RingSymRxLo = 5
457
458 # Crypto - User instance #11
459 Cy11Name = "SSL11"
460 Cy11IsPolled = 1
461 Cy11AcceleratorNumber = 1
462 Cy11ExecutionEngine = 1
463 Cy11BankNumber = 5
464 Cy11NumConcurrentSymRequests = 512
465 Cy11NumConcurrentAsymRequests = 64
466
467 Cy11RingAsymTx =  0
468 Cy11RingAsymRx =  1
469 Cy11RingSymTxHi = 2
470 Cy11RingSymRxHi = 3
471 Cy11RingSymTxLo = 4
472 Cy11RingSymRxLo = 5
473
474 # Crypto - User instance #12
475 Cy12Name = "SSL12"
476 Cy12IsPolled = 1
477 Cy12AcceleratorNumber = 0
478 Cy12ExecutionEngine = 0
479 Cy12BankNumber = 6
480 Cy12NumConcurrentSymRequests = 512
481 Cy12NumConcurrentAsymRequests = 64
482
483 Cy12RingAsymTx =  0
484 Cy12RingAsymRx =  1
485 Cy12RingSymTxHi = 2
486 Cy12RingSymRxHi = 3
487 Cy12RingSymTxLo = 4
488 Cy12RingSymRxLo = 5
489
490 # Crypto - User instance #13
491 Cy13Name = "SSL13"
492 Cy13IsPolled = 1
493 Cy13AcceleratorNumber = 1
494 Cy13ExecutionEngine = 0
495 Cy13BankNumber = 6
496 Cy13NumConcurrentSymRequests = 512
497 Cy13NumConcurrentAsymRequests = 64
498
499 Cy13RingAsymTx =  0
500 Cy13RingAsymRx =  1
501 Cy13RingSymTxHi = 2
502 Cy13RingSymRxHi = 3
503 Cy13RingSymTxLo = 4
504 Cy13RingSymRxLo = 5
505
506 # Crypto - User instance #14
507 Cy14Name = "SSL14"
508 Cy14IsPolled = 1
509 Cy14AcceleratorNumber = 0
510 Cy14ExecutionEngine = 1
511 Cy14BankNumber = 7
512 Cy14NumConcurrentSymRequests = 512
513 Cy14NumConcurrentAsymRequests = 64
514
515 Cy14RingAsymTx =  0
516 Cy14RingAsymRx =  1
517 Cy14RingSymTxHi = 2
518 Cy14RingSymRxHi = 3
519 Cy14RingSymTxLo = 4
520 Cy14RingSymRxLo = 5
521
522 # Crypto - User instance #15
523 Cy15Name = "SSL15"
524 Cy15IsPolled = 1
525 Cy15AcceleratorNumber = 1
526 Cy15ExecutionEngine = 1
527 Cy15BankNumber = 7
528 Cy15NumConcurrentSymRequests = 512
529 Cy15NumConcurrentAsymRequests = 64
530
531 Cy15RingAsymTx =  0
532 Cy15RingAsymRx =  1
533 Cy15RingSymTxHi = 2
534 Cy15RingSymRxHi = 3
535 Cy15RingSymTxLo = 4
536 Cy15RingSymRxLo = 5