| #
a6699a6e |
| 21-Apr-2022 |
Vladimir Medvedkin <[email protected]> |
test/table: fix buffer overflow on lpm entry
This patch fixes stack buffer overflow reported by ASan.
Bugzilla ID: 820 Fixes: 5205954791cb ("app/test: packet framework unit tests") Cc: stable@dpdk.
test/table: fix buffer overflow on lpm entry
This patch fixes stack buffer overflow reported by ASan.
Bugzilla ID: 820 Fixes: 5205954791cb ("app/test: packet framework unit tests") Cc: [email protected]
Signed-off-by: Vladimir Medvedkin <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
3c60274c |
| 26-Jan-2022 |
Jie Zhou <[email protected]> |
test: skip unsupported tests on Windows
Skip tests which are not yet supported for Windows: - The libraries that tests depend on are not enabled on Windows yet - The tests can compile but with issue
test: skip unsupported tests on Windows
Skip tests which are not yet supported for Windows: - The libraries that tests depend on are not enabled on Windows yet - The tests can compile but with issue still under investigation * test_func_reentrancy: Windows EAL has no protection against repeated calls. * test_lcores: Execution enters an infinite loops, requires investigation. * test_rcu_qsbr_perf: Execution hangs on Windows, requires investigation.
Signed-off-by: Jie Zhou <[email protected]> Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
|
Revision tags: 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 |
|
| #
33c12ac5 |
| 17-May-2021 |
Ferruh Yigit <[email protected]> |
test/table: fix build with GCC 11
Build error: ../app/test/test_table_tables.c: In function ‘test_table_stub’: ../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out of the b
test/table: fix build with GCC 11
Build error: ../app/test/test_table_tables.c: In function ‘test_table_stub’: ../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds] memset((uint8_t *)mbuf + sizeof(struct rte_mbuf) + 32, 0, 32); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:151:25: note: in expansion of macro ‘PREPARE_PACKET’ 151 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~
'key' points to mbuf header + 32 bytes, and memset clears next 32 bytes of 'key', so overall there needs to be 64 bytes after mbuf header. Adding a mbuf size check before memset.
The original code has an assumption that mbuf data buffer follows mbuf header, this patch accepts same assumption.
Bugzilla ID: 677 Fixes: 5205954791cb ("app/test: packet framework unit tests") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: 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, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4 |
|
| #
6f3f0acd |
| 31-Jul-2019 |
Stephen Hemminger <[email protected]> |
remove extra blank lines at end of files
There should not be blank lines at end of files.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <bruce.richardson@
remove extra blank lines at end of files
There should not be blank lines at end of files.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc3 |
|
| #
168fd260 |
| 29-Jul-2019 |
Michael Santana <[email protected]> |
test/table: decrease memory requirement
This patch reduces the memory footprint of tables for the unit test. Lower memory footprint means the test now passes when trying to allocate the tables. This
test/table: decrease memory requirement
This patch reduces the memory footprint of tables for the unit test. Lower memory footprint means the test now passes when trying to allocate the tables. This patch is mainly to make table_autotest pass in CI.
Signed-off-by: Michael Santana <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: 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 |
|
| #
4cf75ea8 |
| 22-Sep-2016 |
Guruprasad Rao <[email protected]> |
app/test: add cuckoo hash table
This patch includes cuckoo hash table for testing all the APIs The cuckoo hash is added for both test_table_tables and test_table_combined cases. The testing is compl
app/test: add cuckoo hash table
This patch includes cuckoo hash table for testing all the APIs The cuckoo hash is added for both test_table_tables and test_table_combined cases. The testing is completed and the results are OK.
Signed-off-by: Sankar Chokkalingam <[email protected]> Signed-off-by: Guruprasad Rao <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v16.07, v16.07-rc5, v16.07-rc4, v16.07-rc3, v16.07-rc2, v16.07-rc1, v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1 |
|
| #
f1f72618 |
| 09-Mar-2016 |
Michal Kobylinski <[email protected]> |
lpm: add a new config structure for IPv4
A new rte_lpm_config structure is used so LPM library will allocate exactly the amount of memory which is necessary to hold application’s rules.
Signed-off-
lpm: add a new config structure for IPv4
A new rte_lpm_config structure is used so LPM library will allocate exactly the amount of memory which is necessary to hold application’s rules.
Signed-off-by: Michal Kobylinski <[email protected]> Acked-by: David Hunt <[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 |
|
| #
fc6bcc6f |
| 28-Oct-2015 |
Fan Zhang <[email protected]> |
table: add key mask to 8 and 16-byte hash parameters
This patch relates to ABI change proposed for librte_table. The key_mask parameter is added for 8-byte and 16-byte key extendible bucket and LRU
table: add key mask to 8 and 16-byte hash parameters
This patch relates to ABI change proposed for librte_table. The key_mask parameter is added for 8-byte and 16-byte key extendible bucket and LRU tables.The release notes is updated and the deprecation notice is removed.
Signed-off-by: Fan Zhang <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
ba92d511 |
| 11-Sep-2015 |
Fan Zhang <[email protected]> |
port: move metadata offset reference at mbuf head
This patch relates to ABI change proposed for librte_port. Macros to access the packet meta-data stored within the packet buffer has been adjusted t
port: move metadata offset reference at mbuf head
This patch relates to ABI change proposed for librte_port. Macros to access the packet meta-data stored within the packet buffer has been adjusted to cover the packet mbuf structure.
The LIBABIVER number is incremented.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
5aaf45e0 |
| 17-Sep-2015 |
Jasvinder Singh <[email protected]> |
apps: add name to LPM parameters
LPM table and pipeline apps have been modified to include name parameter of the lpm table.
Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cris
apps: add name to LPM parameters
LPM table and pipeline apps have been modified to include name parameter of the lpm table.
Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v2.1.0 |
|
| #
1060e03b |
| 17-Aug-2015 |
Pablo de Lara <[email protected]> |
app/test: initialize table parameters
In table_autotest, the structures containing the parameters to create the tables were not initialized, and therefore, some checks could fail and so the unit tes
app/test: initialize table parameters
In table_autotest, the structures containing the parameters to create the tables were not initialized, and therefore, some checks could fail and so the unit test.
Also, due to this initialization, one of the tests that was checking if the table was improperly initialized has been removed, as it is not needed anymore (duplicated)
Signed-off-by: Pablo de Lara <[email protected]>
show more ...
|
| #
80ef54b2 |
| 12-Aug-2015 |
Maciej Gajdzica <[email protected]> |
app/test: fix table alignment check
In commit: 1129992baa61d72c5 checking for offset alignment was removed. Unit tests wasn't updated to reflect that change. This patch changes checks with unaligned
app/test: fix table alignment check
In commit: 1129992baa61d72c5 checking for offset alignment was removed. Unit tests wasn't updated to reflect that change. This patch changes checks with unaligned offsets to make tests pass.
Fixes: 1129992baa61 ("port: fix unaligned access to metadata")
Signed-off-by: Maciej Gajdzica <[email protected]> Acked-by: Daniel Mrzyglod <[email protected]>
show more ...
|
|
Revision tags: 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, v2.0.0-rc1, 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 |
|
| #
7822c43a |
| 18-Aug-2014 |
David Marchand <[email protected]> |
app/test: only build what has been selected in config
Avoid building tests if their counterparts are not selected in config. This has the nice side effect of fixing build errors when disabling parts
app/test: only build what has been selected in config
Avoid building tests if their counterparts are not selected in config. This has the nice side effect of fixing build errors when disabling parts of the dpdk.
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 |
|
| #
52059547 |
| 04-Jun-2014 |
Cristian Dumitrescu <[email protected]> |
app/test: packet framework unit tests
Unit tests for Packet Framework libraries.
Signed-off-by: Cristian Dumitrescu <[email protected]> Tested-by: Waterman Cao <[email protected]>
app/test: packet framework unit tests
Unit tests for Packet Framework libraries.
Signed-off-by: Cristian Dumitrescu <[email protected]> Tested-by: Waterman Cao <[email protected]> Acked-by: Pablo de Lara Guarch <[email protected]> Acked by: Ivan Boule <[email protected]>
show more ...
|