|
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, 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, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2 |
|
| #
71bdd8a1 |
| 24-Jan-2020 |
Pavan Nikhilesh <[email protected]> |
app: use common macro RTE_DIM
Use RTE_DIM macro to calculate array size.
Suggested-by: David Marchand <[email protected]> Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by:
app: use common macro RTE_DIM
Use RTE_DIM macro to calculate array size.
Suggested-by: David Marchand <[email protected]> Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: 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, 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, v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1 |
|
| #
891ef4d9 |
| 19-Feb-2016 |
Didier Pallard <[email protected]> |
app/test: fix CRC hash values
Add some small key lengths (below 4 bytes), and fix odd key lengths expected returned values for CRC computation to match real CRC values.
Fixes: 6298d2c55ae8 ("app/te
app/test: fix CRC hash values
Add some small key lengths (below 4 bytes), and fix odd key lengths expected returned values for CRC computation to match real CRC values.
Fixes: 6298d2c55ae8 ("app/test: add new functional tests for hash functions")
Signed-off-by: Didier Pallard <[email protected]> Acked-by: Pablo de Lara <[email protected]>
show more ...
|
|
Revision tags: v2.2.0, v2.2.0-rc4, v2.2.0-rc3, v2.2.0-rc2, v2.2.0-rc1 |
|
| #
0f201fe9 |
| 04-Sep-2015 |
Pablo de Lara <[email protected]> |
hash: remove deprecated function and macros
The function rte_jhash2() was renamed rte_jhash_32b and macros RTE_HASH_KEY_LENGTH_MAX and RTE_HASH_BUCKET_ENTRIES_MAX were tagged as deprecated, so they
hash: remove deprecated function and macros
The function rte_jhash2() was renamed rte_jhash_32b and macros RTE_HASH_KEY_LENGTH_MAX and RTE_HASH_BUCKET_ENTRIES_MAX were tagged as deprecated, so they can be removed in 2.2.
RTE_HASH_KEY_LENGTH is replaced in unit tests by an internal macro for the memory allocation of all keys used.
The library version number is incremented.
Signed-off-by: Pablo de Lara <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v2.1.0, v2.1.0-rc4, v2.1.0-rc3, v2.1.0-rc2, v2.1.0-rc1 |
|
| #
7621d6a8 |
| 22-Jun-2015 |
Cyril Chemparathy <[email protected]> |
eal: add and use unaligned integer types
On machines that are strict on pointer alignment, current code breaks on GCC's -Wcast-align checks on casts from narrower to wider types. This patch introduc
eal: add and use unaligned integer types
On machines that are strict on pointer alignment, current code breaks on GCC's -Wcast-align checks on casts from narrower to wider types. This patch introduces new unaligned_uint(16|32|64)_t types, which correctly retain alignment in such cases. Strict alignment architectures will need to define CONFIG_RTE_ARCH_STRICT_ALIGN in order to effect these new types.
Signed-off-by: Cyril Chemparathy <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
| #
f3d94900 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: verify more jhash functions
Added new test that verifies that rte_jhash_1words, rte_jhash_2words and rte_jhash_3words return the same values as rte_jhash.
Note that this patch has been ad
app/test: verify more jhash functions
Added new test that verifies that rte_jhash_1words, rte_jhash_2words and rte_jhash_3words return the same values as rte_jhash.
Note that this patch has been added after the update of the jhash function because these 3 functions did not return the same values as rte_jhash before
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
7530c9ee |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
hash: rename a jhash function
Changed name to something more meaningful, and mark rte_jhash2 as deprecated.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson
hash: rename a jhash function
Changed name to something more meaningful, and mark rte_jhash2 as deprecated.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
f1237c33 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
hash: update jhash function with the latest available
Jenkins hash function was developed originally in 1996, and was integrated in first versions of DPDK. The function has been improved in 2006, ac
hash: update jhash function with the latest available
Jenkins hash function was developed originally in 1996, and was integrated in first versions of DPDK. The function has been improved in 2006, achieving up to 35% better performance, compared to the original one.
This patch integrates that code into the rte_jhash library. It also updates the precalculated hash values in the unit test, as the code now returns different values (expected).
A final note has been added in release notes for stating the changes made.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
6298d2c5 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: add new functional tests for hash functions
In order to make sure that the hash functions are returning the correct values, new tests have been added:
- First test compares precalculated
app/test: add new functional tests for hash functions
In order to make sure that the hash functions are returning the correct values, new tests have been added:
- First test compares precalculated hash values with values calculated from the existing hash functions. - Second test compares values returned from rte_jhash2 and rte_jhash, expecting same return (only for multiple of 4 bytes keys)
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
5c2b9d94 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: change order of loops in hash function tests
In order to see more clearly the performance difference between different hash functions, order of the loops have been changed, so it iterates
app/test: change order of loops in hash function tests
In order to see more clearly the performance difference between different hash functions, order of the loops have been changed, so it iterates first through initial values, then key sizes and then the hash functions.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
5d96e946 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: update hash key size range and initial values
Previous key sizes used for testing did not have much purpose. This patch substitutes them with some more meaninful (standard multiple of 2 ke
app/test: update hash key size range and initial values
Previous key sizes used for testing did not have much purpose. This patch substitutes them with some more meaninful (standard multiple of 2 key sizes, plus IPv4/v6 tuple and others)
Also an arbitrary initial value has been added to increase the test coverage, and RTE_DIM macro is used to iterate the loops.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
4072a35a |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: improve accuracy on hash measurements
Cycles per hash calculation were measured per single operation. It is much more accurate to run several iterations between measurements and divide by
app/test: improve accuracy on hash measurements
Cycles per hash calculation were measured per single operation. It is much more accurate to run several iterations between measurements and divide by number of iterations.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
4de41856 |
| 10-Jun-2015 |
Pablo de Lara <[email protected]> |
app/test: move hash performance tests to separate file
This patch moves hash function performance tests to a separate file, so user can check performance of the existing hash functions quicker, with
app/test: move hash performance tests to separate file
This patch moves hash function performance tests to a separate file, so user can check performance of the existing hash functions quicker, without having to run all the other hash operation performance tests, which takes some time.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|