|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
474f1202 |
| 25-Sep-2021 |
Anoob Joseph <[email protected]> |
test/crypto: add lookaside IPsec cases
Added test case for lookaside IPsec. Inbound known vector tests are added.
Cipher list: AES-GCM 128, 192 & 256
Signed-off-by: Anoob Joseph <[email protected]
test/crypto: add lookaside IPsec cases
Added test case for lookaside IPsec. Inbound known vector tests are added.
Cipher list: AES-GCM 128, 192 & 256
Signed-off-by: Anoob Joseph <[email protected]> Signed-off-by: Tejasree Kondoj <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: Ciara Power <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3 |
|
| #
e65da89c |
| 12-May-2021 |
Ciara Power <[email protected]> |
test/crypto: build block-cipher suite dynamically
In the existing implementation, the blockcipher test cases are being run and reported as one test case per type, even though multiple test cases are
test/crypto: build block-cipher suite dynamically
In the existing implementation, the blockcipher test cases are being run and reported as one test case per type, even though multiple test cases are hidden in each. For example, "test_AES_chain_all" runs 46 test cases. Each blockcipher type should have a testsuite instead.
The blockcipher testsuite is dynamically built, depending on the blockcipher type chosen. The testcase struct is modified to allow running a testcase with data, which is used for data required when running each blockcipher testcase.
The blockcipher testsuites are added dynamically to parent testsuites as sub-testsuites where needed.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Declan Doherty <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Akhil Goyal <[email protected]> Tested-by: Ruifeng Wang <[email protected]>
show more ...
|
| #
fbc53675 |
| 12-May-2021 |
Ciara Power <[email protected]> |
test: introduce parent test suite format
The current structure for unit testing only allows for running a test suite with nested test cases. This means all test cases for an autotest must be in one
test: introduce parent test suite format
The current structure for unit testing only allows for running a test suite with nested test cases. This means all test cases for an autotest must be in one suite, which is not ideal. For example, in some cases we may want to run multiple lists of test cases that each require different setup, so should be in separate suites.
The unit test suite struct is modified to hold a pointer to a list of sub-testsuite pointers, along with the list of testcases as before.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Declan Doherty <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Akhil Goyal <[email protected]> Reviewed-by: Aaron Conole <[email protected]> Tested-by: Ruifeng Wang <[email protected]>
show more ...
|
| #
caa817f0 |
| 12-May-2021 |
Ciara Power <[email protected]> |
test: refactor unit test suite runner
Some small changes were made to the unit test suite runner for readability and to enable reuse of some of the function in a later patch.
On test suite setup sk
test: refactor unit test suite runner
Some small changes were made to the unit test suite runner for readability and to enable reuse of some of the function in a later patch.
On test suite setup skip/fail, the loop to count testcases as skipped/failed has been moved to another function. This will allow for recursion in a later patch when nested sub-testsuites are used.
The unit test suite runner accessed the list of testcases in the suite structure every time the testcase was used. This is now replaced by a testcase variable which improves readability.
A macro has been introduced for readability, instead of using open coded loops.
Rather than keep local variable status counts for testcases, these are added to the test suite structure.
The summary output now prints the suite name, this will be useful later when multiple nested sub-testsuites are being run.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Aaron Conole <[email protected]> Acked-by: Declan Doherty <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Akhil Goyal <[email protected]> Tested-by: Ruifeng Wang <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
ace2f054 |
| 27-Jan-2021 |
Bruce Richardson <[email protected]> |
test: take test names from command line
While having the ability to run a test based off the DPDK_TEST environment variable is useful, it's sometimes more convenient to specify the test name as a co
test: take test names from command line
While having the ability to run a test based off the DPDK_TEST environment variable is useful, it's sometimes more convenient to specify the test name as a commandline parameter to a test binary. This patch adds support for checking all parameters after the EAL ones, and running all valid autotests requested - either from DPDK_TEST or on the commandline. This also allows multiple tests to be run in a single automated session, which is useful for working with components which have multiple test suites.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
27ea35b7 |
| 09-Apr-2020 |
Lukasz Wojciechowski <[email protected]> |
test: remove redundant macro
Remove RTE_TEST_TRACE_FAILURE macro definition from app/test/test.h as it might be already defined and cause build problems.
Also it is good to leave the decision of ad
test: remove redundant macro
Remove RTE_TEST_TRACE_FAILURE macro definition from app/test/test.h as it might be already defined and cause build problems.
Also it is good to leave the decision of additional logs to the final user of test.h and rte_test.h
Fixes: 5afc521eac6a ("eal: add test assert macros") Cc: [email protected]
Signed-off-by: Lukasz Wojciechowski <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
50247fe0 |
| 18-Apr-2019 |
Erik Gabriel Carrillo <[email protected]> |
test/timer: exercise new APIs in secondary process
This commit adds an autotest which exercises new timer reset/stop APIs in a secondary process. Timers are created, and sometimes stopped, in the se
test/timer: exercise new APIs in secondary process
This commit adds an autotest which exercises new timer reset/stop APIs in a secondary process. Timers are created, and sometimes stopped, in the secondary process, and their expiration is checked for and handled in the primary process.
Signed-off-by: Erik Gabriel Carrillo <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
55878866 |
| 18-Mar-2019 |
Jerin Jacob <[email protected]> |
use appropriate EAL macro for constructors
Use eal's RTE_INIT abstraction for defining constructors.
Signed-off-by: Jerin Jacob <[email protected]> Reviewed-by: David Marchand <david.marchand@redh
use appropriate EAL macro for constructors
Use eal's RTE_INIT abstraction for defining constructors.
Signed-off-by: Jerin Jacob <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
a9de470c |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we ca
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we can move it back to where it all started in early versions of DPDK - the "app/" folder.
This move has a couple of advantages: * This reduces clutter at the top level of the project, due to one less folder. * It eliminates the separate build task necessary for building the autotests using make "make test-build" which means that developers are less likely to miss something in their own compilation tests * It re-aligns the final location of the test binary in the app folder when building with make with it's location in the source tree.
For meson builds, the autotest app is different from the other apps in that it needs a series of different test cases defined for it for use by "meson test". Therefore, it does not get built as part of the main loop in the app folder, but gets built separately at the end.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1, v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2, v18.02-rc1, v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2, v17.11-rc1, v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1, v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2, v17.05-rc1, v17.02, v17.02-rc3, v17.02-rc2, v17.02-rc1, v16.11, v16.11-rc3, v16.11-rc2, v16.11-rc1 |
|
| #
c711ccb3 |
| 29-Jul-2016 |
David Marchand <[email protected]> |
ivshmem: remove library and its EAL integration
Following discussions on the mailing list [1] and since nobody stood up to implement the necessary cleanups, here is the ivshmem integration removal.
ivshmem: remove library and its EAL integration
Following discussions on the mailing list [1] and since nobody stood up to implement the necessary cleanups, here is the ivshmem integration removal.
There is not much to say about this patch, a lot of code is being removed. The default configuration file for packet_ordering example is replaced with the "native" x86 file. The only tricky part is in eal_memory with the memseg index stuff.
More cleanups can be done after this but will come in subsequent patchsets.
[1]: http://dpdk.org/ml/archives/dev/2016-June/040844.html
Signed-off-by: David Marchand <[email protected]> Acked-by: Panu Matilainen <[email protected]> Acked-by: Anatoly Burakov <[email protected]>
show more ...
|
| #
d7e61ad3 |
| 29-Jul-2016 |
Thomas Monjalon <[email protected]> |
log: remove deprecated history dump
The log history feature was deprecated in 16.07. The remaining empty functions are removed in 16.11.
Signed-off-by: Thomas Monjalon <[email protected]> A
log: remove deprecated history dump
The log history feature was deprecated in 16.07. The remaining empty functions are removed in 16.11.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v16.07, v16.07-rc5, v16.07-rc4, v16.07-rc3 |
|
| #
26e09db6 |
| 13-Jul-2016 |
Thomas Monjalon <[email protected]> |
app/test: rework command registration
The tests are registered with their command name by adding a structure to a list. The structure of each test was declared in each test file and passed to the re
app/test: rework command registration
The tests are registered with their command name by adding a structure to a list. The structure of each test was declared in each test file and passed to the register macro. This rework generate the structure inside the register macro.
Signed-off-by: Thomas Monjalon <[email protected]> Reviewed-by: Jan Viktorin <[email protected]>
show more ...
|
|
Revision tags: v16.07-rc2, v16.07-rc1 |
|
| #
db4faf46 |
| 20-Jun-2016 |
Pablo de Lara <[email protected]> |
app/test: add new buffer comparison macros
In order to compare buffers with length and offset in bits, new macros have been created, which use the previous compare function to compare full bytes and
app/test: add new buffer comparison macros
In order to compare buffers with length and offset in bits, new macros have been created, which use the previous compare function to compare full bytes and then, compare first and last bytes of each buffer separately.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Deepak Kumar Jain <[email protected]>
show more ...
|
| #
47df73a1 |
| 15-Jun-2016 |
Pablo de Lara <[email protected]> |
app/test: use hexdump if debug log is enabled
Instead of using the previous RTE_APP_TEST_DEBUG macro, to dump memory when it was enabled (with rte_hexdump), a new TEST_HEXDUMP is defined, which will
app/test: use hexdump if debug log is enabled
Instead of using the previous RTE_APP_TEST_DEBUG macro, to dump memory when it was enabled (with rte_hexdump), a new TEST_HEXDUMP is defined, which will call rte_hexdump if RTE_LOG_LEVEL is set to RTE_LOG_DEBUG.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Fan Zhang <[email protected]>
show more ...
|
|
Revision tags: v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1, v2.2.0, v2.2.0-rc4, v2.2.0-rc3, v2.2.0-rc2 |
|
| #
202d375c |
| 25-Nov-2015 |
Declan Doherty <[email protected]> |
app/test: add cryptodev unit and performance tests
unit tests are run by using cryptodev_qat_autotest or cryptodev_aesni_autotest from the test apps interactive console.
performance tests are run b
app/test: add cryptodev unit and performance tests
unit tests are run by using cryptodev_qat_autotest or cryptodev_aesni_autotest from the test apps interactive console.
performance tests are run by using the cryptodev_qat_perftest or cryptodev_aesni_mb_perftest command from the test apps interactive console.
If you which to run the tests on a QAT device there must be one bound to igb_uio kernel driver.
Signed-off-by: Declan Doherty <[email protected]> Signed-off-by: John Griffin <[email protected]> Signed-off-by: Des O Dea <[email protected]> Signed-off-by: Fiona Trahe <[email protected]> Acked-by: Sergio Gonzalez Monroy <[email protected]>
show more ...
|
|
Revision tags: v2.2.0-rc1, v2.1.0, v2.1.0-rc4, v2.1.0-rc3, v2.1.0-rc2, v2.1.0-rc1, v2.0.0, v2.0.0-rc3 |
|
| #
d788ccb1 |
| 19-Mar-2015 |
Marvin Liu <[email protected]> |
app/test: fix build constructor with gcc < 4.4
Build app/test will be failed for function only defined but not used. test_prefetch.c:65: error: ‘testfn_prefetch_cmd’ defined but not used
Add attrib
app/test: fix build constructor with gcc < 4.4
Build app/test will be failed for function only defined but not used. test_prefetch.c:65: error: ‘testfn_prefetch_cmd’ defined but not used
Add attribute used in test function declaration can fix this. static void __attribute__((used)) testfn_##t(void);
Fixes: 727909c59231 ("app/test: introduce dynamic commands list")
Signed-off-by: Marvin Liu <[email protected]>
show more ...
|
|
Revision tags: v2.0.0-rc2, v2.0.0-rc1 |
|
| #
174ddb81 |
| 13-Feb-2015 |
Tomasz Kulasek <[email protected]> |
app/test: rework assert macros
Signed-off-by: Pawel Wodkowski <[email protected]> Signed-off-by: Tomasz Kulasek <[email protected]> Acked-by: Declan Doherty <[email protected]
app/test: rework assert macros
Signed-off-by: Pawel Wodkowski <[email protected]> Signed-off-by: Tomasz Kulasek <[email protected]> Acked-by: Declan Doherty <[email protected]>
show more ...
|
|
Revision tags: v1.8.0, v1.8.0-rc6 |
|
| #
e1e0d0bc |
| 17-Dec-2014 |
Bruce Richardson <[email protected]> |
app/test: fix assert macro
One of the test assertion macros was missing the "do" part of the do-while. This issue was picked up by clang reporting an empty while loop body for the closing while of t
app/test: fix assert macro
One of the test assertion macros was missing the "do" part of the do-while. This issue was picked up by clang reporting an empty while loop body for the closing while of the do-while pair.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v1.8.0-rc5, v1.8.0-rc4, v1.8.0-rc3, v1.8.0-rc2, v1.8.0-rc1 |
|
| #
503f9e8b |
| 26-Sep-2014 |
David Marchand <[email protected]> |
app: no more bare metal environment
Signed-off-by: David Marchand <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Neil Horman <[email protected]>
|
| #
a45b288e |
| 24-Nov-2014 |
Declan Doherty <[email protected]> |
bond: support link status polling
Signed-off-by: Declan Doherty <[email protected]> Acked-by: Pablo de Lara <[email protected]> Tested-by: SunX Jiajia <[email protected]>
|
| #
002ade70 |
| 12-Nov-2014 |
Cunming Liang <[email protected]> |
app/test: measure cycles per packet in Rx/Tx
The unit test can be used to measure cycles per packet in different rx/tx routines. The NIC works in loopback mode. So it doesn't require test equipment
app/test: measure cycles per packet in Rx/Tx
The unit test can be used to measure cycles per packet in different rx/tx routines. The NIC works in loopback mode. So it doesn't require test equipment to measure throughput. As result, the unit test shows the average cycles per packet consuming. When doing the test, make sure the link is UP.
Usage Example: 1. Run unit test app in interactive mode app/test -c f -n 4 -- -i 2. Run and wait for the result pmd_perf_autotest
There's option to choose rx/tx pair, default is vector. set_rxtx_mode [vector|scalar|full|hybrid] Note: To get acurate scalar fast, please choose 'vector' or 'hybrid' without INC_VEC=y in config
It supports to measure standalone rx or tx. Usage Example: Choose rx or tx standalone, default is both set_rxtx_anchor [rxtx|rxonly|txonly]
It also supports to measure standalone RX burst cycles. In this way, it won't repeat re-send received packets. Now it measures two situations, poll before/after xmit(w or w/o desc. cache conflict) Usage Example: Set stream control mode, by default is continuous set_rxtx_sc [continuous|poll_before_xmit|poll_after_xmit]
Test report: http://dpdk.org/ml/archives/dev/2014-October/007145.html
Signed-off-by: Cunming Liang <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Neil Horman <[email protected]> Tested-by: Yong Liu <[email protected]>
show more ...
|
|
Revision tags: v1.7.1 |
|
| #
942405f9 |
| 18-Aug-2014 |
David Marchand <[email protected]> |
app/test: convert all tests to register system
Remove all tests from the builtin commands list and use the dynamic commands list register macro.
Signed-off-by: David Marchand <david.marchand@6wind.
app/test: convert all tests to register system
Remove all tests from the builtin commands list and use the dynamic commands list register macro.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| #
727909c5 |
| 18-Aug-2014 |
David Marchand <[email protected]> |
app/test: introduce dynamic commands list
This patch adds a way to dynamically add a test without modifying commands.c. Move all current tests in a builtin_commands[] list, next patch will convert t
app/test: introduce dynamic commands list
This patch adds a way to dynamically add a test without modifying commands.c. Move all current tests in a builtin_commands[] list, next patch will convert them to this new system.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| #
ffac67b1 |
| 21-Jul-2014 |
Declan Doherty <[email protected]> |
app/test: new assert macros and test suite runner
- Adding common test assertion macros for unit testing - Structs for encapsulating unit tests / test suites data. - test suite runner method
Signed
app/test: new assert macros and test suite runner
- Adding common test assertion macros for unit testing - Structs for encapsulating unit tests / test suites data. - test suite runner method
Signed-off-by: Declan Doherty <[email protected]> Acked-by: Pablo de Lara <[email protected]>
show more ...
|
|
Revision tags: v1.7.0, v1.7.0-rc4, v1.7.0-rc3, v1.7.0-rc2 |
|
| #
92073ef9 |
| 25-Jun-2014 |
Declan Doherty <[email protected]> |
bond: unit tests
Including: - code to generate packet bursts for testing rx and tx functionality of bonded device - virtual/stubbed out ethdev for use as slave ethdev in testing
Signed-off-by:
bond: unit tests
Including: - code to generate packet bursts for testing rx and tx functionality of bonded device - virtual/stubbed out ethdev for use as slave ethdev in testing
Signed-off-by: Declan Doherty <[email protected]> Acked-by: Pablo de Lara <[email protected]>
show more ...
|