#
d4a131a9 |
| 03-Jul-2020 |
David Coyle <david.coyle@intel.com> |
test/crypto-perf: support DOCSIS protocol
Update test-crypto-perf app to calculate DOCSIS throughput numbers.
1 new parameter is added for DOCSIS: --docsis-hdr-sz <n>
./dpdk-test-crypto-perf -l 3,
test/crypto-perf: support DOCSIS protocol
Update test-crypto-perf app to calculate DOCSIS throughput numbers.
1 new parameter is added for DOCSIS: --docsis-hdr-sz <n>
./dpdk-test-crypto-perf -l 3,4 --socket-mem 2048,0 --vdev crypto_aesni_mb_pmd_1 -n 1 -- --devtype crypto_aesni_mb --optype docsis --cipher-algo aes-docsisbpi --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --burst-sz 32 --total-ops 20000000 --buffer-sz 1024 --silent --docsis-hdr-sz 17
Signed-off-by: David Coyle <david.coyle@intel.com> Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
8fd2b5a6 |
| 08-Nov-2019 |
Akhil Goyal <akhil.goyal@nxp.com> |
app/crypto-perf: support PDCP
test-crypto-perf app is updated to calculate PDCP throughput numbers.
2 new params are added for PDCP --pdcp-sn-sz <5/7/12/15/18> --pdcp-domain <control/user>
./dpdk-
app/crypto-perf: support PDCP
test-crypto-perf app is updated to calculate PDCP throughput numbers.
2 new params are added for PDCP --pdcp-sn-sz <5/7/12/15/18> --pdcp-domain <control/user>
./dpdk-test-crypto-perf --master-lcore 0 -l 0,1 --log-level=8 -- --devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr --cipher-op encrypt --auth-algo null --auth-op generate --auth-key-sz 16 --ptest throughput --total-ops 100000 --burst-sz 64 --buffer-sz 64,390,1512 --pool-sz 4096 --silent --pdcp-sn-sz 12 --pdcp-domain control
Signed-off-by: Manish Tomar <manish.tomar@nxp.com> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
616853f9 |
| 27-Sep-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
app/crypto-perf: add check for out-of-place case
Segmented frames not supported for out-of-place case. This patch returns err if such config is requested.
Signed-off-by: Hemant Agrawal <hemant.agra
app/crypto-perf: add check for out-of-place case
Segmented frames not supported for out-of-place case. This patch returns err if such config is requested.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
27c2e747 |
| 13-Dec-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: support IMIX
Add support for IMIX performance tests, where a distribution of various packet sizes can be submitted to a crypto device, testing a closer to a real world scenario.
A
app/crypto-perf: support IMIX
Add support for IMIX performance tests, where a distribution of various packet sizes can be submitted to a crypto device, testing a closer to a real world scenario.
A sequence of packet sizes, selected randomly from a list of packet sizes (with "buffer-sz" parameter) with a list of the weights per packet size (using "imix" parameter), is generated (the length of this sequence is the same length as the pool, set with "pool-sz" parameter).
This sequence is used repeteadly for all the crypto operations submitted to the crypto device (with "--total-ops" parameter).
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
174a1631 |
| 19-Dec-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
app: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.
app: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
7da01873 |
| 11-Oct-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: add help option
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
|
#
c4f916e3 |
| 04-Oct-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: support multiple queue pairs
Add support for multiple queue pairs, when there are more logical cores available than crypto devices enabled. For instance, if there are 4 cores availa
app/crypto-perf: support multiple queue pairs
Add support for multiple queue pairs, when there are more logical cores available than crypto devices enabled. For instance, if there are 4 cores available and 2 crypto devices, each device will have two queue pairs.
This is useful to have multiple logical cores using a single crypto device, without needing to initialize a crypto device per core.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
5b2b0a74 |
| 04-Oct-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: overwrite mbuf when verifying
When running the verify test, mbufs in the pool were populated with the test vector loaded from a file. To avoid limiting the number of operations to t
app/crypto-perf: overwrite mbuf when verifying
When running the verify test, mbufs in the pool were populated with the test vector loaded from a file. To avoid limiting the number of operations to the pool size, mbufs will be rewritten with the test vector, before linking them to the crypto operations.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
083de3eb |
| 04-Oct-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: parse segment size
Instead of parsing number of segments, from the command line, parse segment size, as it is a more usual case to have the segment size fixed and then different pac
app/crypto-perf: parse segment size
Instead of parsing number of segments, from the command line, parse segment size, as it is a more usual case to have the segment size fixed and then different packet sizes will require different number of segments.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
0c2173c1 |
| 05-Oct-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: fix packet length check
When using DES-CBC, packet size has to be multiple of 8 bytes, but if a list of packets is provided. the check was not correct.
Fixes: fc4600fb2520 ("app/cr
app/crypto-perf: fix packet length check
When using DES-CBC, packet size has to be multiple of 8 bytes, but if a list of packets is provided. the check was not correct.
Fixes: fc4600fb2520 ("app/crypto-perf: add extra option checks") Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Radu Nicolau <radu.nicolau@intel.com>
show more ...
|
#
96dfeb60 |
| 12-Sep-2017 |
Anatoly Burakov <anatoly.burakov@intel.com> |
app/crypto-perf: add new PMD benchmarking mode
This patch adds a new benchmarking mode, which is intended for microbenchmarking individual parts of the cryptodev framework, specifically crypto ops a
app/crypto-perf: add new PMD benchmarking mode
This patch adds a new benchmarking mode, which is intended for microbenchmarking individual parts of the cryptodev framework, specifically crypto ops alloc-build-free, cryptodev PMD enqueue and cryptodev PMD dequeue.
It works by first benchmarking crypto operation alloc-build-free loop (no enqueues/dequeues happening), and then benchmarking enqueue and dequeue separately, by first completely filling up the TX queue, and then completely draining the RX queue.
Results are shown as cycle counts per alloc/build/free, PMD enqueue and PMD dequeue.
One new test mode is added: "pmd-cyclecount" (called with --ptest=pmd-cyclecount)
New command-line argument is also added: --pmd-cyclecount-delay-ms: this is a pmd-cyclecount-specific parameter that controls the delay between enqueue and dequeue. This is useful for benchmarking hardware acceleration, as hardware may not be able to keep up with enqueued packets. This parameter can be increased if there are large amounts of dequeue retries.
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
c3643216 |
| 12-Sep-2017 |
Anatoly Burakov <anatoly.burakov@intel.com> |
app/crypto-perf: add nb-desc parameter
This parameter makes number of cryptodev descriptors adjustable and defaults to earlier hardcoded default of 2048.
Signed-off-by: Anatoly Burakov <anatoly.bur
app/crypto-perf: add nb-desc parameter
This parameter makes number of cryptodev descriptors adjustable and defaults to earlier hardcoded default of 2048.
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
5c49049d |
| 05-Sep-2017 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
app/crypto-perf: fix uninitialized errno value
errno should be initialized to 0 before calling strtol
Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Cc: stable@dpdk.org
Signed-of
app/crypto-perf: fix uninitialized errno value
errno should be initialized to 0 before calling strtol
Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
show more ...
|
#
8a5b494a |
| 02-Jul-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/test-crypto-perf: add AEAD parameters
Since there is a new operation type (AEAD), add parameters for this in the application.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked
app/test-crypto-perf: add AEAD parameters
Since there is a new operation type (AEAD), add parameters for this in the application.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
e32e4fa8 |
| 02-Jul-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
cryptodev: set AES-GMAC as auth-only algo
AES-GMAC is an authentication algorithm, based on AES-GCM without encryption. To simplify its usage, now it can be used setting the authentication parameter
cryptodev: set AES-GMAC as auth-only algo
AES-GMAC is an authentication algorithm, based on AES-GCM without encryption. To simplify its usage, now it can be used setting the authentication parameters, without requiring to concatenate a ciphering transform.
Therefore, it is not required to set AAD, but authentication data length and offset, giving the user the option to have Scatter-Gather List in the input buffer, as long as the driver supports it.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
acf86169 |
| 02-Jul-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
cryptodev: add auth IV
Authentication algorithms, such as AES-GMAC or the wireless algorithms (like SNOW3G) use IV, like cipher algorithms. So far, AES-GMAC has used the IV from the cipher structure
cryptodev: add auth IV
Authentication algorithms, such as AES-GMAC or the wireless algorithms (like SNOW3G) use IV, like cipher algorithms. So far, AES-GMAC has used the IV from the cipher structure, and the wireless algorithms have used the AAD field, which is not technically correct.
Therefore, authentication IV parameters have been added, so API is more correct. Like cipher IV, auth IV is expected to be copied after the crypto operation.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
0dfef605 |
| 22-Jun-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: fix error message
Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona
app/crypto-perf: fix error message
Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes") Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
fc4600fb |
| 27-Mar-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: add extra option checks
When using the verify test, test name is necessary to be passed when digest is needed.
Also, when using an block cipher algorithm (CBC, ECB), the buffer siz
app/crypto-perf: add extra option checks
When using the verify test, test name is necessary to be passed when digest is needed.
Also, when using an block cipher algorithm (CBC, ECB), the buffer size has to be aligned to the block size.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
show more ...
|
#
f6cefe25 |
| 27-Mar-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: add range/list of sizes
So far, the crypto performance application was only able to test one buffer size and one burst size.
With this commit, multiple sizes can be passed, either
app/crypto-perf: add range/list of sizes
So far, the crypto performance application was only able to test one buffer size and one burst size.
With this commit, multiple sizes can be passed, either as a range of values or as a list of values.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
show more ...
|
#
df52cb3b |
| 27-Mar-2017 |
Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> |
app/crypto-perf: move verify as single test type
In order to simplify throughput and latency tests, verify option has been removed from these and moved as a separate test.
Signed-off-by: Sergio Gon
app/crypto-perf: move verify as single test type
In order to simplify throughput and latency tests, verify option has been removed from these and moved as a separate test.
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
9f3ea3e4 |
| 27-Mar-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: remove cyclecount test type
Cyclecount test was not implemented, so it is removed.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Sergio Gonzalez Monroy <s
app/crypto-perf: remove cyclecount test type
Cyclecount test was not implemented, so it is removed.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
show more ...
|
#
5e669376 |
| 08-Mar-2017 |
Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> |
app/crypto-perf: avoid wrong operation type for AEAD algos
When somebody use bad --optype with aead algorithms segmentation fault could happen.
Fixes: f8be1786b1b8 ("app/crypto-perf: introduce perf
app/crypto-perf: avoid wrong operation type for AEAD algos
When somebody use bad --optype with aead algorithms segmentation fault could happen.
Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
66be2712 |
| 27-Feb-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/crypto-perf: use cryptodev algorithm parser
Instead of going through the array of supported algorithms in the app, to get the algorithm enum, use the new API in cryptodev to parse this string, s
app/crypto-perf: use cryptodev algorithm parser
Instead of going through the array of supported algorithms in the app, to get the algorithm enum, use the new API in cryptodev to parse this string, so it is not necessary to add a new supported algorithm in the cryptodev library and this app.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
d27befd0 |
| 07-Feb-2017 |
Kuba Kozak <kubax.kozak@intel.com> |
app/crypto-perf: add options parsing check
Added total_ops value validation in parse_total_ops() function.
Coverity issue: 141070 Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test a
app/crypto-perf: add options parsing check
Added total_ops value validation in parse_total_ops() function.
Coverity issue: 141070 Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Signed-off-by: Kuba Kozak <kubax.kozak@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
8ecd4048 |
| 07-Feb-2017 |
Aleksander Gajewski <aleksanderx.gajewski@intel.com> |
app/crypto-perf: fix string not null terminated
This commit fixes the case where the string buffer may not have a null terminator if the source string's length is equal to the buffer size.
Coverity
app/crypto-perf: fix string not null terminated
This commit fixes the case where the string buffer may not have a null terminator if the source string's length is equal to the buffer size.
Coverity issue: 141069 Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Signed-off-by: Aleksander Gajewski <aleksanderx.gajewski@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|