|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
1f8cc1a3 |
| 17-Nov-2021 |
Joyce Kong <[email protected]> |
app: remove unneeded atomic header include
Remove the unnecessary rte_atomic.h included in app modules.
Signed-off-by: Joyce Kong <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]
app: remove unneeded atomic header include
Remove the unnecessary rte_atomic.h included in app modules.
Signed-off-by: Joyce Kong <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
d424777d |
| 02-Nov-2020 |
Honnappa Nagarahalli <[email protected]> |
test/ring: remove unused code
Remove unused assignment statement as the assigned variable is not used in the code further.
Coverity issue: 363690 Fixes: 6c583103a2d1 ("test/ring: factorize object c
test/ring: remove unused code
Remove unused assignment statement as the assigned variable is not used in the code further.
Coverity issue: 363690 Fixes: 6c583103a2d1 ("test/ring: factorize object checks")
Signed-off-by: Honnappa Nagarahalli <[email protected]> Reviewed-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
show more ...
|
| #
83342a13 |
| 25-Oct-2020 |
Honnappa Nagarahalli <[email protected]> |
test/ring: add functional tests for zero copy API
Add functional tests for zero copy APIs. Test enqueue/dequeue functions are created using the zero copy APIs to fit into the existing testing method
test/ring: add functional tests for zero copy API
Add functional tests for zero copy APIs. Test enqueue/dequeue functions are created using the zero copy APIs to fit into the existing testing method.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Reviewed-by: Dharmik Thakkar <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
6c341665 |
| 25-Oct-2020 |
Honnappa Nagarahalli <[email protected]> |
test/ring: fix integer cast to pointer
Use uintptr_t instead of unsigned long while initializing the array of pointers.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Acked-by:
test/ring: fix integer cast to pointer
Use uintptr_t instead of unsigned long while initializing the array of pointers.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
31354c76 |
| 25-Oct-2020 |
Honnappa Nagarahalli <[email protected]> |
test/ring: remove unnecessary braces
Remove unnecessary braces to improve readability.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <konstantin.an
test/ring: remove unnecessary braces
Remove unnecessary braces to improve readability.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
46697431 |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: enhance debug info in failure cases
Add more parameters into the macro TEST_RING_VERIFY and expand the scope of application for it. Then replace all ring APIs check with TEST_RING_VERIFY
test/ring: enhance debug info in failure cases
Add more parameters into the macro TEST_RING_VERIFY and expand the scope of application for it. Then replace all ring APIs check with TEST_RING_VERIFY to facilitate debugging.
Furthermore, correct a spelling mistakes of the macro TEST_RING_FULL_EMTPY_ITER.
Suggested-by: Honnappa Nagarahalli <[email protected]> Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Dharmik Thakkar <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
6c583103 |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: factorize object checks
Do code clean up by moving repeated code inside 'test_ring_mem_cmp' function to validate data and print information of enqueue/dequeue elements if validation fails
test/ring: factorize object checks
Do code clean up by moving repeated code inside 'test_ring_mem_cmp' function to validate data and print information of enqueue/dequeue elements if validation fails.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Dharmik Thakkar <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
f68c2066 |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: validate single element enqueue/dequeue
Validate the return value of single element enqueue/dequeue operation in the test.
Suggested-by: Honnappa Nagarahalli <[email protected]
test/ring: validate single element enqueue/dequeue
Validate the return value of single element enqueue/dequeue operation in the test.
Suggested-by: Honnappa Nagarahalli <[email protected]> Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
c570da36 |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: check dequeued object for single element
Add check in test_ring_basic_ex and test_ring_with_exact_size for single element enqueue and dequeue operations to validate the dequeued objects.
test/ring: check dequeued object for single element
Add check in test_ring_basic_ex and test_ring_with_exact_size for single element enqueue and dequeue operations to validate the dequeued objects.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Dharmik Thakkar <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
d943c605 |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: fix dequeued object checks
When using memcmp function to check data, the third param should be the size of all elements, rather than the number of the elements.
Fixes: a9fe152363e2 ("tes
test/ring: fix dequeued object checks
When using memcmp function to check data, the third param should be the size of all elements, rather than the number of the elements.
Fixes: a9fe152363e2 ("test/ring: add custom element size functional tests") Cc: [email protected]
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Dharmik Thakkar <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
f642148e |
| 20-Sep-2020 |
Feifei Wang <[email protected]> |
test/ring: fix number of single element enqueue/dequeue
The ring capacity is (RING_SIZE - 1), thus only (RING_SIZE - 1) number of elements can be enqueued into the ring.
Fixes: af75078fece3 ("first
test/ring: fix number of single element enqueue/dequeue
The ring capacity is (RING_SIZE - 1), thus only (RING_SIZE - 1) number of elements can be enqueued into the ring.
Fixes: af75078fece3 ("first public release") Cc: [email protected]
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: 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 |
|
| #
2d59e9c8 |
| 29-Apr-2020 |
Konstantin Ananyev <[email protected]> |
test/ring: reduce compilation time
Rework test code to reduce code complexity for the compiler and bring down compilation time and memory consumption. Current test_ring_enqueue/test_ring_dequeue fun
test/ring: reduce compilation time
Rework test code to reduce code complexity for the compiler and bring down compilation time and memory consumption. Current test_ring_enqueue/test_ring_dequeue functions contain too many branches and it takes compiler a lot of effort to resolve all of them at compile time. So the patch replaces these branchy function invocations with an array of function pointers (test_enqdeq_impl[]). That way compiler knows straightway which function to use for each particular case.
Signed-off-by: Konstantin Ananyev <[email protected]> Acked-by: Honnappa Nagarahalli <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc1 |
|
| #
7c5e68cb |
| 20-Apr-2020 |
Konstantin Ananyev <[email protected]> |
test/ring: add functional tests for new sync modes
Extend test_ring_autotest with new test-cases for RTS/HTS sync modes.
Signed-off-by: Konstantin Ananyev <[email protected]> Acked-by: H
test/ring: add functional tests for new sync modes
Extend test_ring_autotest with new test-cases for RTS/HTS sync modes.
Signed-off-by: Konstantin Ananyev <[email protected]> Acked-by: Honnappa Nagarahalli <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1 |
|
| #
a9fe1523 |
| 18-Jan-2020 |
Honnappa Nagarahalli <[email protected]> |
test/ring: add custom element size functional tests
Add basic infrastructure to test rte_ring_xxx_elem APIs. Adjust the existing test cases to test for various ring element sizes.
Signed-off-by: Ho
test/ring: add custom element size functional tests
Add basic infrastructure to test rte_ring_xxx_elem APIs. Adjust the existing test cases to test for various ring element sizes.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Reviewed-by: Gavin Hu <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
|
Revision tags: 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, v19.05-rc1 |
|
| #
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, 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 |
|
| #
837b33a4 |
| 11-May-2016 |
Thomas Monjalon <[email protected]> |
app/test: remove unused constants
Signed-off-by: Thomas Monjalon <[email protected]>
|
| #
775a8cfc |
| 04-May-2016 |
Thomas Monjalon <[email protected]> |
app/test: shorten execution time
The autotests are too long to be run often. This patch reduces the needed time of some tests in fast_test.
Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1 |
|
| #
693f715d |
| 27-Jan-2016 |
Huawei Xie <[email protected]> |
remove extra parentheses in return statement
fix the error reported by checkpatch: "ERROR: return is not a function, parentheses are not required"
remove parentheses in return like: "return (lo
remove extra parentheses in return statement
fix the error reported by checkpatch: "ERROR: return is not a function, parentheses are not required"
remove parentheses in return like: "return (logical expressions)"
remove parentheses in return a function like: "return (rte_mempool_lookup(...))"
Fixes: 6307b909b8e0 ("lib: remove extra parenthesis after return")
Signed-off-by: Huawei Xie <[email protected]>
show more ...
|
| #
c7985de0 |
| 21-Jan-2016 |
David Marchand <[email protected]> |
remove unneeded tests for NULL when freeing
free() already handles NULL pointer.
Signed-off-by: David Marchand <[email protected]>
|
|
Revision tags: v2.2.0, v2.2.0-rc4, v2.2.0-rc3, v2.2.0-rc2, 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, v2.0.0-rc2 |
|
| #
ff708fac |
| 04-Mar-2015 |
David Marchand <[email protected]> |
tailq: remove unneeded inclusions
Only keep inclusion where really needed.
Signed-off-by: David Marchand <[email protected]> Acked-by: Neil Horman <[email protected]>
|
|
Revision tags: v2.0.0-rc1 |
|
| #
f2cae314 |
| 14-Feb-2015 |
Stephen Hemminger <[email protected]> |
app/test: remove unneeded casts
The malloc family returns void * and therefore cast is unnecessary. Use calloc rather than zmalloc with multiply for array.
Signed-off-by: Stephen Hemminger <stephen
app/test: remove unneeded casts
The malloc family returns void * and therefore cast is unnecessary. Use calloc rather than zmalloc with multiply for array.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v1.8.0, v1.8.0-rc6, v1.8.0-rc5, v1.8.0-rc4, v1.8.0-rc3, v1.8.0-rc2, v1.8.0-rc1, 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 ...
|
|
Revision tags: v1.7.0, v1.7.0-rc4, v1.7.0-rc3, v1.7.0-rc2, v1.7.0-rc1 |
|
| #
3031749c |
| 03-Jun-2014 |
Bruce Richardson <[email protected]> |
remove trailing whitespaces
This commit removes trailing whitespace from lines in files. Almost all files are affected, as the BSD license copyright header had trailing whitespace on 4 lines in it [
remove trailing whitespaces
This commit removes trailing whitespace from lines in files. Almost all files are affected, as the BSD license copyright header had trailing whitespace on 4 lines in it [hence the number of files reporting 8 lines changed in the diffstat].
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Neil Horman <[email protected]> [Thomas: remove spaces before tabs in libs] [Thomas: remove more trailing spaces in non-C files] Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
591a9d79 |
| 02-May-2014 |
Stephen Hemminger <[email protected]> |
add FILE argument to debug functions
The DPDK dump functions are useful for remote debugging of an applications. But when application runs as a daemon, stdout is typically routed to /dev/null.
Inst
add FILE argument to debug functions
The DPDK dump functions are useful for remote debugging of an applications. But when application runs as a daemon, stdout is typically routed to /dev/null.
Instead change all these functions to take a stdio FILE * handle instead. An application can then use open_memstream() to capture the output.
Signed-off-by: Stephen Hemminger <[email protected]> [Thomas: fix quota_watermark example] Acked-by: Thomas Monjalon <[email protected]>
show more ...
|