|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
06c047b6 |
| 09-Feb-2022 |
Stephen Hemminger <[email protected]> |
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free functions found by nullfree.cocci
Signed-off-by: Stephen Hemminger <[email protected]>
show more ...
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
4a6672c2 |
| 12-Nov-2021 |
Stephen Hemminger <[email protected]> |
fix spelling in comments and doxygen
Fix spelling errors in comments including doxygen found using codespell.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Konstantin Anan
fix spelling in comments and doxygen
Fix spelling errors in comments including doxygen found using codespell.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Vladimir Medvedkin <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: Ray Kinsella <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]> Acked-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2, v21.11-rc1 |
|
| #
96fe84f4 |
| 17-Sep-2021 |
Rebecca Troy <[email protected]> |
test/compress: fix buffer overflow
Fixes stack buffer overflow bug in compressdev autotest, which was caused by the use of buf_idx in the debug logs. Originally, buf_idx was treated as an array inst
test/compress: fix buffer overflow
Fixes stack buffer overflow bug in compressdev autotest, which was caused by the use of buf_idx in the debug logs. Originally, buf_idx was treated as an array instead of the reference of an integer. This was fixed by replacing the use of buf_idx[priv_data->orig_idx] with the variable i.
Fixes: 466a2c4bb5f4 ("test/compress: improve debug logs") Fixes: 6bbc5a923625 ("test/compress: refactor unit tests") Cc: [email protected]
Signed-off-by: Rebecca Troy <[email protected]> Acked-by: Fan Zhang <[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, 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, 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 |
|
| #
db06104c |
| 17-Apr-2020 |
Adam Dybkowski <[email protected]> |
test/compress: check IM buffer too small
This patch adds new tests for verification of the "internal QAT IM buffer too small" case handling. These unit tests aren't specific to the QAT PMD only - th
test/compress: check IM buffer too small
This patch adds new tests for verification of the "internal QAT IM buffer too small" case handling. These unit tests aren't specific to the QAT PMD only - they pass or skip on other PMDs like ISAL and ZLIB (depending on particular PMD capabilities).
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Fiona Trahe <[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 |
|
| #
6bbc5a92 |
| 07-Nov-2019 |
Artur Trybula <[email protected]> |
test/compress: refactor unit tests
Core engine refactoring (test_deflate_comp_decomp function). Smaller specialized functions created.
Signed-off-by: Artur Trybula <[email protected]> Acked-
test/compress: refactor unit tests
Core engine refactoring (test_deflate_comp_decomp function). Smaller specialized functions created.
Signed-off-by: Artur Trybula <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Acked-by: Shally Verma <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
2437fbbc |
| 16-Oct-2019 |
Artur Trybula <[email protected]> |
test/compress: add stateless overflow recovery case
Added unit test to check out-of-space recoverable feature.
Signed-off-by: Artur Trybula <[email protected]> Acked-by: Fiona Trahe <fiona.t
test/compress: add stateless overflow recovery case
Added unit test to check out-of-space recoverable feature.
Signed-off-by: Artur Trybula <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
| #
3fc3996f |
| 24-Sep-2019 |
Adam Dybkowski <[email protected]> |
test/compress: add external buffer case
Adds a new test to verify external buffer in mbuf APIs. Initialize fields in test_data_params structures by name for better readability.
Signed-off-by: Adam
test/compress: add external buffer case
Adds a new test to verify external buffer in mbuf APIs. Initialize fields in test_data_params structures by name for better readability.
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
| #
07b810c5 |
| 20-Sep-2019 |
Adam Dybkowski <[email protected]> |
test/compress: add stateful decompression
This patch adds two new tests that cover the stateful decompression feature.
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Fiona Trah
test/compress: add stateful decompression
This patch adds two new tests that cover the stateful decompression feature.
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
| #
52d719d8 |
| 19-Aug-2019 |
Adam Dybkowski <[email protected]> |
test/compress: rework error checks
This patch fixes the return value of the test_deflate_comp_decomp function on capabilities retrieval error to be -ENOTSUP.
It also fixes passing of the test_defla
test/compress: rework error checks
This patch fixes the return value of the test_deflate_comp_decomp function on capabilities retrieval error to be -ENOTSUP.
It also fixes passing of the test_deflate_comp_decomp function's return value to the upper level (as the test suite function return value).
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Artur Trybula <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2 |
|
| #
98af2eca |
| 23-Jul-2019 |
Adam Dybkowski <[email protected]> |
test/compress: fix some checks
CID 340857: Null pointer dereferences (NULL_RETURNS) CID 340856: (CONSTANT_EXPRESSION_RESULT)
Coverity issue: 340856, 340857 Fixes: 3be12ea52ad8 ("test/compress: impr
test/compress: fix some checks
CID 340857: Null pointer dereferences (NULL_RETURNS) CID 340856: (CONSTANT_EXPRESSION_RESULT)
Coverity issue: 340856, 340857 Fixes: 3be12ea52ad8 ("test/compress: improve debug trace setup") Cc: [email protected]
Signed-off-by: Adam Dybkowski <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc1 |
|
| #
324781da |
| 05-Jul-2019 |
Fiona Trahe <[email protected]> |
test/compress: clarify out-of-space error messages
Use ERR rather than INFO to warn that it's a negative test else the errors are seen but the warning to expect them isn't. Also add comment to make
test/compress: clarify out-of-space error messages
Use ERR rather than INFO to warn that it's a negative test else the errors are seen but the warning to expect them isn't. Also add comment to make it easier to follow code.
Signed-off-by: Fiona Trahe <[email protected]> Acked-by: Adam Dybkowski <[email protected]>
show more ...
|
| #
e0f4a0ed |
| 15-Jun-2019 |
David Marchand <[email protected]> |
test: skip tests when missing requirements
Let's mark as skipped the tests when they are missing some requirements like a number of used cores or specific hardware availability, like compress, crypt
test: skip tests when missing requirements
Let's mark as skipped the tests when they are missing some requirements like a number of used cores or specific hardware availability, like compress, crypto or eventdev devices.
Signed-off-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
890028e2 |
| 19-Apr-2019 |
Bruce Richardson <[email protected]> |
test/compress: fix missing include
Build of test_compressdev.c fails on FreeBSD due to the missing include of unistd.h, to provide the function usleep.
Fixes: b06aa643cac4 ("test/compress: add init
test/compress: fix missing include
Build of test_compressdev.c fails on FreeBSD due to the missing include of unistd.h, to provide the function usleep.
Fixes: b06aa643cac4 ("test/compress: add initial unit tests") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
0e7d6518 |
| 19-Apr-2019 |
Fiona Trahe <[email protected]> |
test/compress: fix build
Fixed the compilation error:
app/test/test_compressdev.c:1949:11: note: previous definition of 'i' was here app/test/test_compressdev.c:1992:2: error: 'for' loop initial
test/compress: fix build
Fixed the compilation error:
app/test/test_compressdev.c:1949:11: note: previous definition of 'i' was here app/test/test_compressdev.c:1992:2: error: 'for' loop initial declarations are only allowed in C99 mode app/test/test_compressdev.c:1992:2: note: use option -std=c99 or -std=gnu99 to compile your code app/test/test_compressdev.c:1996:19: warning: assignment from incompatible pointer type [enabled by default]
Fixes: 355b02eedc65 ("test/compress: add max mbuf size test case")
Signed-off-by: Tomasz Jozwiak <[email protected]> Signed-off-by: Fiona Trahe <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
9df7ffd1 |
| 02-Apr-2019 |
Tomasz Jozwiak <[email protected]> |
test/compress: add max mbuf size test case
This patch adds new test case in which max. size of chain mbufs has been used to compress random data dynamically.
Signed-off-by: Tomasz Jozwiak <tomaszx.
test/compress: add max mbuf size test case
This patch adds new test case in which max. size of chain mbufs has been used to compress random data dynamically.
Signed-off-by: Tomasz Jozwiak <[email protected]> Acked-by: Tomasz Cel <[email protected]>
show more ...
|
| #
f9acaf84 |
| 03-Apr-2019 |
Bruce Richardson <[email protected]> |
replace snprintf with strlcpy without adding extra include
For files that already have rte_string_fns.h included in them, we can do a straight replacement of snprintf(..."%s",...) with strlcpy. The
replace snprintf with strlcpy without adding extra include
For files that already have rte_string_fns.h included in them, we can do a straight replacement of snprintf(..."%s",...) with strlcpy. The changes in this patch were auto-generated via command:
spatch --sp-file devtools/cocci/strlcpy-with-header.cocci --dir . --in-place
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
1fd0fa25 |
| 25-Feb-2019 |
Bruce Richardson <[email protected]> |
test/compress: fix missing header include
usleep() is defined in unistd.h, which is missing from include list in test_compressdev.c, causing compiler errors on FreeBSD.
Fixes: b06aa643cac4 ("test/c
test/compress: fix missing header include
usleep() is defined in unistd.h, which is missing from include list in test_compressdev.c, causing compiler errors on FreeBSD.
Fixes: b06aa643cac4 ("test/compress: add initial unit tests") Cc: [email protected]
Signed-off-by: Bruce Richardson <[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 ...
|