|
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 |
|
| #
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 |
|
| #
daa02b5c |
| 15-Oct-2021 |
Olivier Matz <[email protected]> |
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Sign
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Signed-off-by: Olivier Matz <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Somnath Kotur <[email protected]>
show more ...
|
| #
59c6646e |
| 10-Aug-2021 |
Akhil Goyal <[email protected]> |
test/crypto: remove illegal PMD header include
rte_cryptodev_pmd.h is an interface between driver and library and it is mentioned in the file that application cannot use it directly. Hence, removing
test/crypto: remove illegal PMD header include
rte_cryptodev_pmd.h is an interface between driver and library and it is mentioned in the file that application cannot use it directly. Hence, removing the include.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Matan Azrad <[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 |
|
| #
da74df7d |
| 12-May-2021 |
Ciara Power <[email protected]> |
test/crypto: move test suite parameters to header file
The testsuite params struct and ut functions are now in the cryptodev test header file. This will allow them be used outside of the cryptodev_t
test/crypto: move test suite parameters to header file
The testsuite params struct and ut functions are now in the cryptodev test header file. This will allow them be used outside of the cryptodev_test.c file. They will be used in a subsequent patch by the blockcipher test.
As a result of this change, slight renaming changes were necessary for ipsec and asym tests, to avoid a clash in names.
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 ...
|
|
Revision tags: v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
8dda080a |
| 25-Jan-2021 |
Gagandeep Singh <[email protected]> |
test/ipsec: fix result code for not supported
During SA creation, if the required algorithm is not supported, drivers can return ENOTSUP. But in most of the IPsec test cases, if the SA creation does
test/ipsec: fix result code for not supported
During SA creation, if the required algorithm is not supported, drivers can return ENOTSUP. But in most of the IPsec test cases, if the SA creation does not success, it just returns TEST_FAILED.
This patch fixes this issue by returning the actual return values from the driver to the application, so that it can make decisions whether the test case is passed, failed or unsupported.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Gagandeep Singh <[email protected]> Acked-by: Akhil Goyal <[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 |
|
| #
e30b2833 |
| 18-Oct-2020 |
Akhil Goyal <[email protected]> |
security: update session create API
The API ``rte_security_session_create`` takes only single mempool for session and session private data. So the application need to create mempool for twice the nu
security: update session create API
The API ``rte_security_session_create`` takes only single mempool for session and session private data. So the application need to create mempool for twice the number of sessions needed and will also lead to wastage of memory as session private data need more memory compared to session. Hence the API is modified to take two mempool pointers - one for session and one for private data. This is very similar to crypto based session create APIs.
Signed-off-by: Akhil Goyal <[email protected]> Reviewed-by: Lukasz Wojciechowski <[email protected]> Tested-by: Lukasz Wojciechowski <[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, v20.05-rc1 |
|
| #
40a49a89 |
| 20-Mar-2020 |
Ruifeng Wang <[email protected]> |
test/ipsec: fix crash in session destroy
Segfault was observed when running ipsec unit test:
+ TestCase [10] : test_ipsec_replay_inb_repeat_null_null_wrapper succeeded + TestCa
test/ipsec: fix crash in session destroy
Segfault was observed when running ipsec unit test:
+ TestCase [10] : test_ipsec_replay_inb_repeat_null_null_wrapper succeeded + TestCase [11] : test_ipsec_replay_inb_inside_burst_null_null_wrapper succeeded + TestCase [12] : test_ipsec_crypto_inb_burst_2sa_null_null_wrapper succeeded + TestCase [13] : test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper succeeded Segmentation fault
Data corruption happens due to incorrect destroy of session. Security session needs process different from crypto session.
Destroy corresponding sessions according to different security actions.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Gavin Hu <[email protected]> Tested-by: Konstantin Ananyev <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4 |
|
| #
e162f1a7 |
| 19-Feb-2020 |
Thomas Monjalon <[email protected]> |
test/ipsec: fix a typo in function name
The name of the static function check_cryptodev_capablity() is fixed for the word "capability". There is no functional change.
The same typo is fixed in a co
test/ipsec: fix a typo in function name
The name of the static function check_cryptodev_capablity() is fixed for the word "capability". There is no functional change.
The same typo is fixed in a comment in ip_fragmentation example.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
0f56ca1a |
| 06-Nov-2019 |
Hemant Agrawal <[email protected]> |
ipsec: remove redundant replay window size
The rte_security lib has introduced replay_win_sz, so it can be removed from the rte_ipsec lib.
The relevant tests, app are also update to reflect the usa
ipsec: remove redundant replay window size
The rte_security lib has introduced replay_win_sz, so it can be removed from the rte_ipsec lib.
The relevant tests, app are also update to reflect the usages.
Note that esn and anti-replay fileds were earlier used only for ipsec library, they were enabling the libipsec by default. With this change esn and anti-replay setting will not automatically enabled libipsec.
Signed-off-by: Hemant Agrawal <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
7dde68cf |
| 27-Sep-2019 |
David Marchand <[email protected]> |
net: add missing rte prefix for ESP tail
This structure has been missed during the big rework.
Fixes: 5ef254676752 ("net: add rte prefix to ESP structure") Cc: [email protected]
Signed-off-by: David
net: add missing rte prefix for ESP tail
This structure has been missed during the big rework.
Fixes: 5ef254676752 ("net: add rte prefix to ESP structure") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
00f846ca |
| 28-Jun-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: fix destroy SA
Call rte_cryptodev_sym_session_clear() function.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Bernard Iremonger <bern
test/ipsec: fix destroy SA
Call rte_cryptodev_sym_session_clear() function.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
74f44dd8 |
| 28-Jun-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: fix tear down
Set freed cop pointers to NULL Set other freed pointers to NULL instead of 0
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-
test/ipsec: fix tear down
Set freed cop pointers to NULL Set other freed pointers to NULL instead of 0
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
3feaf412 |
| 07-Jun-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: improve debug in group tests
Add dump_grp_pkt() function. Dump invalid mbuf data in case of error in group tests 12 and 13.
Signed-off-by: Bernard Iremonger <[email protected]
test/ipsec: improve debug in group tests
Add dump_grp_pkt() function. Dump invalid mbuf data in case of error in group tests 12 and 13.
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
fd42108e |
| 07-Jun-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: add extra test configuration
Add extra test configuration for BURST_SIZE packets
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Konstantin Ananyev <konstantin.
test/ipsec: add extra test configuration
Add extra test configuration for BURST_SIZE packets
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
9ab6ff97 |
| 07-Jun-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: fix log messages
Error log messages after the create_sa() function calls were using the wrong function name. The function name is replaced with create_sa.
Fixes: 05fe65eb66b2 ("test/ips
test/ipsec: fix log messages
Error log messages after the create_sa() function calls were using the wrong function name. The function name is replaced with create_sa.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Cc: [email protected]
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
c9030ae3 |
| 25-Jun-2019 |
Anoob Joseph <[email protected]> |
cryptodev: add feature flags to disable
Adding a new field, ff_disable, to allow applications to control the features enabled on the crypto device. This would allow for efficient usage of HW/SW offl
cryptodev: add feature flags to disable
Adding a new field, ff_disable, to allow applications to control the features enabled on the crypto device. This would allow for efficient usage of HW/SW offloads.
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[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 ...
|
| #
0c9da755 |
| 29-May-2019 |
David Marchand <[email protected]> |
net: replace IPv4/v6 constants with uppercase name
Since we change these macros, we might as well avoid triggering complaints from checkpatch because of mixed case.
old=RTE_IPv4 new=RTE_IPV4 git gr
net: replace IPv4/v6 constants with uppercase name
Since we change these macros, we might as well avoid triggering complaints from checkpatch because of mixed case.
old=RTE_IPv4 new=RTE_IPV4 git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
old=RTE_ETHER_TYPE_IPv4 new=RTE_ETHER_TYPE_IPV4 git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
old=RTE_ETHER_TYPE_IPv6 new=RTE_ETHER_TYPE_IPV6 git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Olivier Matz <[email protected]>
show more ...
|
| #
24ac604e |
| 21-May-2019 |
Olivier Matz <[email protected]> |
net: add rte prefix to IP defines
Add 'RTE_' prefix to defines: - rename IPv4( as RTE_IPv4(. - rename IPV4_MAX_PKT_LEN as RTE_IPV4_MAX_PKT_LEN. - rename IPV4_HDR_IHL_MASK as RTE_IPV4_HDR_IHL_MASK. -
net: add rte prefix to IP defines
Add 'RTE_' prefix to defines: - rename IPv4( as RTE_IPv4(. - rename IPV4_MAX_PKT_LEN as RTE_IPV4_MAX_PKT_LEN. - rename IPV4_HDR_IHL_MASK as RTE_IPV4_HDR_IHL_MASK. - rename IPV4_IHL_MULTIPLIER as RTE_IPV4_IHL_MULTIPLIER. - rename IPV4_HDR_DF_SHIFT as RTE_IPV4_HDR_DF_SHIFT. - rename IPV4_HDR_MF_SHIFT as RTE_IPV4_HDR_MF_SHIFT. - rename IPV4_HDR_FO_SHIFT as RTE_IPV4_HDR_FO_SHIFT. - rename IPV4_HDR_DF_FLAG as RTE_IPV4_HDR_DF_FLAG. - rename IPV4_HDR_MF_FLAG as RTE_IPV4_HDR_MF_FLAG. - rename IPV4_HDR_OFFSET_MASK as RTE_IPV4_HDR_OFFSET_MASK. - rename IPV4_HDR_OFFSET_UNITS as RTE_IPV4_HDR_OFFSET_UNITS. - rename IPV4_ANY as RTE_IPV4_ANY. - rename IPV4_LOOPBACK as RTE_IPV4_LOOPBACK. - rename IPV4_BROADCAST as RTE_IPV4_BROADCAST. - rename IPV4_ALLHOSTS_GROUP as RTE_IPV4_ALLHOSTS_GROUP. - rename IPV4_ALLRTRS_GROUP as RTE_IPV4_ALLRTRS_GROUP. - rename IPV4_MAX_LOCAL_GROUP as RTE_IPV4_MAX_LOCAL_GROUP. - rename IPV4_MIN_MCAST as RTE_IPV4_MIN_MCAST. - rename IPV4_MAX_MCAST as RTE_IPV4_MAX_MCAST. - rename IS_IPV4_MCAST as RTE_IS_IPV4_MCAST. - rename IPV6_HDR_FL_SHIFT as RTE_IPV6_HDR_FL_SHIFT. - rename IPV6_HDR_TC_SHIFT as RTE_IPV6_HDR_TC_SHIFT. - rename IPV6_HDR_FL_MASK as RTE_IPV6_HDR_FL_MASK. - rename IPV6_HDR_TC_MASK as RTE_IPV6_HDR_TC_MASK.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
a7c528e5 |
| 21-May-2019 |
Olivier Matz <[email protected]> |
net: add rte prefix to IP structure
Add 'rte_' prefix to structures: - rename struct ipv4_hdr as struct rte_ipv4_hdr. - rename struct ipv6_hdr as struct rte_ipv6_hdr.
Signed-off-by: Olivier Matz <o
net: add rte prefix to IP structure
Add 'rte_' prefix to structures: - rename struct ipv4_hdr as struct rte_ipv4_hdr. - rename struct ipv6_hdr as struct rte_ipv6_hdr.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
5ef25467 |
| 21-May-2019 |
Olivier Matz <[email protected]> |
net: add rte prefix to ESP structure
Add 'rte_' prefix to structures: - rename struct esp_hdr as struct rte_esp_hdr.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemmin
net: add rte prefix to ESP structure
Add 'rte_' prefix to structures: - rename struct esp_hdr as struct rte_esp_hdr.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
2cb4a0d4 |
| 12-Apr-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: fix logic around dequeue burst
Added crypto_dequeue_burst() function to call rte_crypto_dequeue_burst() in a loop with a delay to ensure that all the packets are dequeued from the crypt
test/ipsec: fix logic around dequeue burst
Added crypto_dequeue_burst() function to call rte_crypto_dequeue_burst() in a loop with a delay to ensure that all the packets are dequeued from the crypto device.
Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup") Cc: [email protected]
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
63774c02 |
| 04-Apr-2019 |
Bernard Iremonger <[email protected]> |
test/ipsec: fix initialisation
Fix xform initialisation. Fix testsuite_setup. Remove unused variables.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Fixes: 59d7353b0df0 ("test/ipsec
test/ipsec: fix initialisation
Fix xform initialisation. Fix testsuite_setup. Remove unused variables.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup") Cc: [email protected]
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Konstantin Ananyev <[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 ...
|