instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OpenDataPlane__odp__1311 | OpenDataPlane/odp | 1,311 | defect | 8df0b533aa205412b8e314553966bc47d40e3aad | fe5b7323be20d9200ecb50b0c5be1500b3339303 | [PATCH v12] api: ipsec: add destination queue capability | In some ODP implementations, plain queues might be using software
primitives such as a simple ring and the ODP IPsec hardware
can enqueue completion events only into schedule queues.
Introducing capability queue_type_sched and queue_type_plain
which define the queue types that can be the destination of the
IPsec e... | diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 2030b19e802..e888468a594 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -335,6 +335,28 @@ typedef struct odp_ipsec_capability_t {
*/
uint32_t max_cls_cos;
+ /**
+ * Scheduled destination queue support... | 1 | 1 | 0 | [{"id": "G0", "claim": "The \"This defines...\" sentences in the new capability field documentation add nothing to what is already said and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1312 | OpenDataPlane/odp | 1,312 | defect | e37c49f5c6ec3443ae1f9e835775a761a8ceaa48 | 52a463b2bc26f3c5106dbe51a5e9ab554946894c | [PATCH v4] linux-gen: scheduler: prepare dynamic load balance | Add number of threads and queues per spread statistics as preparation for dynamic spread load balancing. | diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c
index 148bf11d5dc..5fc2e4017ac 100644
--- a/test/performance/odp_sched_perf.c
+++ b/test/performance/odp_sched_perf.c
@@ -33,7 +33,7 @@ typedef struct test_options_t {
uint32_t num_dummy;
uint32_t num_event;
uint32_t num_sched;
- u... | 1 | 1 | 0 | [{"id": "G0", "claim": "The error messages in parse_options of odp_sched_perf.c could be modified to use ODPH_ERR() instead of printf().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1316 | OpenDataPlane/odp | 1,316 | defect | ad4fa462b9301936541ab5efac06ae19976225d9 | 2e4454ad4a3fbbbc9c1e568c4a6b0f0fe2f5689a | [PATCH v6] api: pktio: add implementation specific extra statistics counters | Add new functions for reading ODP implementation specific custom packet IO
statistics counters.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
V2:
- Removed mention of `odp_pktio_stats_reset()`. PR #1288 will extend `odp_pktio_stats_reset()` documentation.
V4:
- Added implementation and validation tests
... | diff --git a/include/odp/api/abi-default/packet_io.h b/include/odp/api/abi-default/packet_io.h
index d545b7074b0..74b9abef28c 100644
--- a/include/odp/api/abi-default/packet_io.h
+++ b/include/odp/api/abi-default/packet_io.h
@@ -53,6 +53,8 @@ typedef struct odp_pktout_queue_t {
#define ODP_PKTIN_NO_WAIT 0
+#define... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test should check that the second odp_pktio_extra_stats() call returns the same value as the earlier probe call (num_stats).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pktio_param setup at the top of pktio_test_extra_... | null |
OpenDataPlane__odp__1324 | OpenDataPlane/odp | 1,324 | defect | d0def8ae0e184ae5596bc6bcd30b90c83ae49452 | 2b05cb10fa38d7aa14a1ff962a5bc06cb4e977e9 | [PATCH v4] api: ipsec: add ICV length in SA configuration parameters | AES-GCM and AES-CCM, as used with IPsec, support more than one ICV length but the current API supports only single, unspecified ICV length for each algorithm.
This PR clarifies what the default ICV lenght is and makes it possible to configure non-default ICV lengths.
Minimal linux-gen implemenation (no new ICV le... | diff --git a/helper/include/odp/helper/ipsec.h b/helper/include/odp/helper/ipsec.h
index 66bed539978..ec80e8ef612 100644
--- a/helper/include/odp/helper/ipsec.h
+++ b/helper/include/odp/helper/ipsec.h
@@ -1,4 +1,5 @@
/* Copyright (c) 2014-2018, Linaro Limited
+ * Copyright (c) 2021, Nokia
* All rights reserved.
*
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The @param documentation for auth_alg of odph_ipsec_auth_icv_len_default misspells \"Authentication\" as \"Autentication\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After the new ICV-length con... | null |
OpenDataPlane__odp__1325 | OpenDataPlane/odp | 1,325 | defect | 78c818549a8bb03026b0dafb03605d606a1e9a84 | 4c538bef9e887ba19b9ef673a6634fc32e3b513f | [PATCH v11] api: tm: add node stats capability and query API |
api: tm: add node stats capability and query API
Add capability to advertise capability of nodes at a given level
to provide statistics.
Also add a new API to query for packet sent count in green, yellow
and red color and packet drop count stats, along with corresponding
octet count statistics. TM node stats... | diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index 699d0bb265c..c70186e881c 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -189,6 +189,47 @@ extern "C" {
* tree/hierarchy of nodes.
*/
+/**
+ * TM node stats capability
+ */
+t... | 17 | 16 | 4 | [{"id": "G0", "claim": "The doc heading above odp_tm_node_stats_capability_t should read 'TM node statistics capabilities' to make the statistics capability documentation uniform.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new statistics s... | null |
OpenDataPlane__odp__1334 | OpenDataPlane/odp | 1,334 | defect | 6824ce31f6fadc88130cb182015cb6c8229605fb | 3db05114948fca1ad451966c984b53638d7aba1a | [PATCH v8] api:tm: add missing capabilities and egress specific capability API | commit df6ce5a7a00d0fc61690fedba0001fa0139345f2
Author: Nithin Dabilpuram <ndabilpuram@marvell.com>
Date: Mon Jun 7 18:45:39 2021 +0530
api: tm: deprecate tm capabilities API
Deprecate odp_tm_capabilities() API as odp_tm_egress_capabilities()
provides similar functionality with additional inp... | diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index 699d0bb265c..81da0f617c5 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -248,6 +248,10 @@ typedef struct {
* When true the min_weight and max_weight fields above specify
* th... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new egress-specific capability API should return a single capability structure for an egress instead of an array of records, and since it is a new API this could be done right from the start.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
OpenDataPlane__odp__1348 | OpenDataPlane/odp | 1,348 | defect | 6f0ff9d9ca6a2e1e9e81aa068d86deda79046888 | d285fab9e55f8c499c8bf894cdf2b9798420c5d5 | [PATCH v5] api: packet: add odp_packet_reass_info() for reassembly details | Intoroduce odp_packet_reass_info() that provides information on
a completed reassemly. The number of fragments that were reassembled
is useful for statistics and the IP length of the longest fragment
is useful for path MTU handling purposes if reassembly offload if used
for forwarded traffic.
Signed-off-by: Jann... | diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h
index 2285a857d00..e8f3cbc4a02 100644
--- a/include/odp/api/spec/packet.h
+++ b/include/odp/api/spec/packet.h
@@ -179,6 +179,20 @@ odp_event_t odp_packet_to_event(odp_packet_t pkt);
void odp_packet_to_event_multi(const odp_packet_t pkt[], odp_e... | 2 | 2 | 1 | [{"id": "G0", "claim": "Leave the max_ip_len field out of the new odp_packet_reass_info_t structure for now and add it later only if applications need it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typos in the commit message description when... | null |
OpenDataPlane__odp__1349 | OpenDataPlane/odp | 1,349 | defect | 28266184f52a7b12bb32256270896e08ca87eaba | 4a8dbf46b0354f93cd2ef2032bf953b3d565a777 | [PATCH v3] api: ipsec: provide original ESP/AH packet length in IPsec packet result | Provide the original ESP/AH packet length before inbound IPsec processing
in odp_ipsec_packet_result_t. An application may use it for statistics
purposes.
This can be useful since post-IPsec reassemly offload makes it difficult
to deduce the original octet count that went into the creation of the
result packet. ... | diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 3441d83c928..cb2b3a55df2 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -1532,6 +1532,17 @@ typedef struct odp_ipsec_packet_result_t {
uint32_t len;
} outer_hdr;
+ /** Total IP length of the original E... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new CU_ASSERT in verify_in would make result.orig_ip_len mandatory for non-sync inbound operations, although the API text makes the field optional (zero value means the length information is not available).", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduc... | null |
OpenDataPlane__odp__1353 | OpenDataPlane/odp | 1,353 | defect | d9aaba1b356856713023775534ac34cb34e5dac8 | bf2d09425cb69ada448a74b026831638ab1f40a4 | [PATCH v2] validation: ipsec: fix reassembly vector population | Move the test vectors to source file and declare them as extern in
header file to avoid the creation of multiple instances of test vectors
Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Reviewed-by: Anoob Joseph <anoobj@marvell.com> | diff --git a/test/validation/api/ipsec/Makefile.am b/test/validation/api/ipsec/Makefile.am
index 8417a57765c..1a29d687d1b 100644
--- a/test/validation/api/ipsec/Makefile.am
+++ b/test/validation/api/ipsec/Makefile.am
@@ -7,7 +7,8 @@ libtestipsec_la_SOURCES = \
ipsec_test_in.c \
ipsec_test_out.c \
ipsec.h \
- ipse... | 3 | 3 | 0 | [{"id": "G0", "claim": "The first line of the new file test/validation/api/ipsec/reass_test_vectors.c has an extra leading space before the copyright comment.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new file test/validation/api/ipsec/... | null |
OpenDataPlane__odp__1355 | OpenDataPlane/odp | 1,355 | defect | c6095324293f12b2f7d2b255be166fd145301af8 | 19065b331e992dbd2c5b4df2fcbd9d8ce8225978 | [PATCH v7] helper: threads: parameter initialization functions and new thread parameters | This series adds new helper API functions odph_thread_common_param_init() and odph_thread_param_init(), and two new thread creation parameters.
v2:
- Revert the change to odph_odpthreads_create() functionality.
- Add to stack_size parameter documentation that it's ignored by odph_odpthreads_create().
- Test the n... | diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index ebac378a6a8..2c36fce0e97 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -683,8 +683,8 @@ int main(int argc, char *argv[])
/* Create and init worker threads */
memset(thread_t... | 10 | 10 | 6 | [{"id": "G0", "claim": "Making the deprecated odph_odpthreads_create() read thr_params->stack_size is a backward incompatible change, since callers may not have memzeroed the parameter struct and so may pass an uninitialized stack_size.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
OpenDataPlane__odp__1358 | OpenDataPlane/odp | 1,358 | defect | 7025d9960b4fd988de9b6631dce0829ba4eed238 | d79a4458045940258d140eac302b736467f838a5 | [PATCH v2] linux-gen: improve queue debug print | Print queue group and spread as part of debug print calls. Align queue priority value on schedule and queue debug print calls. | diff --git a/example/debug/odp_debug.c b/example/debug/odp_debug.c
index 8b1ef52bacf..5c0beef693e 100644
--- a/example/debug/odp_debug.c
+++ b/example/debug/odp_debug.c
@@ -243,52 +243,65 @@ static int pool_debug(void)
static int queue_debug(void)
{
- odp_queue_t queue;
odp_queue_param_t param;
const char *name... | 3 | 3 | 0 | [{"id": "G0", "claim": "To limit the visibility of the new SCHED_ID defines, the unnecessary odp_schedule_if.h include could be removed from odp_buffer_internal.h (adding the includes its removal reveals are missing from odp_traffic_mngr.c and odp_ipsec.c) and _ODP prefixes could be added to the defines.", "category": ... | null |
OpenDataPlane__odp__1369 | OpenDataPlane/odp | 1,369 | defect | 28266184f52a7b12bb32256270896e08ca87eaba | 3b9587f5dca041b87a2319a16ca4a7aa3125e8be | [PATCH v6] helper: cli: don't create the server thread | Add odph_cli_run() and remove odph_cli_start().
Don't create a thread in the CLI helper. Instead, the caller may
create a thread and call odph_cli_run() to run the CLI.
v2:
- Update implementation.
v3:
- Helper API: Minor rewording of odph_cli_run() and odph_cli_stop() descriptions.
- odph_cli_stop(): Wait... | diff --git a/example/cli/odp_cli.c b/example/cli/odp_cli.c
index 597d01812b4..a840772e4e3 100644
--- a/example/cli/odp_cli.c
+++ b/example/cli/odp_cli.c
@@ -96,6 +96,17 @@ static void my_cmd(int argc, char *argv[])
odph_cli_log("argv[%d]: %s\n", i, argv[i]);
}
+static int cli_server(void *arg ODP_UNUSED)
+{
+ /* ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The example should be rebased on top of PR 1355 and use the new thread param init functions it adds instead of memset-based initialization.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should be rebased... | null |
OpenDataPlane__odp__1381 | OpenDataPlane/odp | 1,381 | defect | e108b53c8d3138151257bebfd918305cc7479b73 | 4ad5e24e3b471ed67e3f9b5fb6f4ce74e1235217 | [PATCH v5] api: shm: introduce flags capability and ODP_SHM_NO_HP flag | V2:
- Removed `odp_shm_addr_pa()` API
- `ODP_SHM_NO_HP` documentation clarification
- State that some flag combinations may not be supported
V3:
- Rebase | diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc
index ecaf7002280..eaff6867e3c 100644
--- a/doc/users-guide/users-guide.adoc
+++ b/doc/users-guide/users-guide.adoc
@@ -940,15 +940,6 @@ to other ODP instances running on the same OS.
Other ODP instances willing to see this exported memor... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ODP_SHM_NO_HP flag documentation should mention that the flag cannot be combined with ODP_SHM_HP.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1388 | OpenDataPlane/odp | 1,388 | defect | da72b9fbbec5bc68a6dbedfcead2742d3c63c00e | 6c120b12012b6207e95680142c48ce3761b6f8a5 | [PATCH v2] validation: ipsec: update orig IP len to cover reassembly cases | In case of successful reassembly tests, the original IP length
would be the aggregate of IP lengths of all individual fragments. Update
the test framework to have a field 'orig_ip_len' to be able to cover
cases when expected len differs from that of the input test packet
available with 'ipsec_test_part'.
Signed-... | diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c
index 5453bb8f6cd..d458c257f6d 100644
--- a/test/validation/api/ipsec/ipsec.c
+++ b/test/validation/api/ipsec/ipsec.c
@@ -949,7 +949,12 @@ static void verify_in(const ipsec_test_part *part,
CU_ASSERT_EQUAL(IPSEC_SA_CTX,
odp_i... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new comment's text has typos/grammar issues and should read \"In case of complete reassembly, the original IP length is the sum of IP lengths of the ESP packets that contained the individual fragments.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
OpenDataPlane__odp__1390 | OpenDataPlane/odp | 1,390 | defect | da72b9fbbec5bc68a6dbedfcead2742d3c63c00e | 6219b0dc67ccd5decbad9b63f60c07be3317e757 | [PATCH v4] api: stash: add type specific put/get functions | The new functions are safer to use compared to the generic versions due to strict typing and the implementation may be
more optimized.
New functions:
- `odp_stash_put_u32()`
- `odp_stash_get_u32()`
- `odp_stash_put_u64()`
- `odp_stash_get_u64()`
- `odp_stash_put_ptr()`
- `odp_stash_get_ptr()`
V2:
- Squash... | diff --git a/include/odp/api/spec/stash.h b/include/odp/api/spec/stash.h
index 42b3bd9d7cd..d57ce51a0db 100644
--- a/include/odp/api/spec/stash.h
+++ b/include/odp/api/spec/stash.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2020, Nokia
+/* Copyright (c) 2020-2021, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc sentence for odp_stash_put_u64 should read \"The stash must have been created with 'obj_size' of 8.\" instead of \"with 'obj_size' 8.\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OpenDataPlane__odp__1402 | OpenDataPlane/odp | 1,402 | defect | 69f27643ec2287875048314d7975f0de4bcbbfa4 | ad0e99a6e6c229641000701b2a122b4bad4aa5c1 | [PATCH v6] validation: crypto: add more aes-xcbc-mac test vectors | Current AES-XCBC-MAC test vectors appear to come from RFC 3566.
Add a comments about the source and add the test vectors that
were not yet included.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> | diff --git a/test/validation/api/crypto/test_vectors.h b/test/validation/api/crypto/test_vectors.h
index c377a5e0a4b..ed370109686 100644
--- a/test/validation/api/crypto/test_vectors.h
+++ b/test/validation/api/crypto/test_vectors.h
@@ -2353,7 +2353,31 @@ static crypto_test_reference_t hmac_sha512_reference[] = {
}
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The truncated 96-bit AES-XCBC test vectors duplicate the full vectors; consider comparing against the same vector with a truncated MAC instead of duplicating it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The AES-XCBC... | null |
OpenDataPlane__odp__1416 | OpenDataPlane/odp | 1,416 | defect | be8f4864beb7b41758454bfcab607d288ff08d4d | e39e94e5e89489416b3f066212ec817328fb21c9 | [PATCH v4] api: add packet vectors to ipsec and clarify packet vector API | The first API patch tweaks the existing pktin packet vector spec so that when packet vectors are enabled, plain packet events will not be generated by the pktin. The second API patch adds packet vector support to packet completion events in the IPsec API.
This PR also adds more default value checks for the pktio rel... | diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 6e28e7fb4cc..a9587af5883 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -364,6 +364,9 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
+ /** Support for retur... | 2 | 2 | 1 | [{"id": "G0", "claim": "Having the packet vector configuration in odp_ipsec_config_t will conflict with the configuration in odp_pktin_queue_param_t for inline IPsec, and the reviewer thinks odp_pktin_queue_param_t together with odp_pktio_config_t::inbound_ipsec should suffice for inline vector support.", "category": "... | null |
OpenDataPlane__odp__1417 | OpenDataPlane/odp | 1,417 | defect | be8f4864beb7b41758454bfcab607d288ff08d4d | b04e7b7999c3ad9d09e305a9d8bf570826492748 | [PATCH v3] api: pool: add odp_pool_print_all() function | Add new odp_pool_print_all() function for printing implementation defined
information about all created pools to the ODP log. The information is
intended to be used for debugging.
V2:
- Implementation optimization (Petri) | diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h
index 6314b827c9a..6ebfafe052c 100644
--- a/include/odp/api/spec/pool.h
+++ b/include/odp/api/spec/pool.h
@@ -104,6 +104,14 @@ int odp_pool_info(odp_pool_t pool, odp_pool_info_t *info);
*/
void odp_pool_print(odp_pool_t pool);
+/**
+ * Print de... | 1 | 1 | 0 | [{"id": "G0", "claim": "For simpler code between lock() and unlock(), seg_len could be read always (with the other pool fields) and buf_len then set based on type after unlock().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1419 | OpenDataPlane/odp | 1,419 | defect | 6cf786da281398b159d36229e4e742e05572f40e | 018085cb48c1e289e75b7e1a4510fe6660dd5647 | [PATCH v5] linux-gen: random: implement crypto random and true random data on x86 | ```
linux-gen: random: implement crypto random and true random data on x86
Implement crypto random data using rdrand, and true random data using
rdseed, via compiler builtin functions.
Add architecture-specific file for crypto random and true random
functions.
Signed-off-by: ... | diff --git a/include/odp/api/spec/random.h b/include/odp/api/spec/random.h
index 80f71c473d0..3cd2972490e 100644
--- a/include/odp/api/spec/random.h
+++ b/include/odp/api/spec/random.h
@@ -18,6 +18,8 @@
extern "C" {
#endif
+#include <odp/api/std_types.h>
+
/** @defgroup odp_random ODP RANDOM
* Random number gen... | 4 | 4 | 2 | [{"id": "G0", "claim": "A test should be added that checks the hardware can generate a true random number within a reasonable period of time, since ODP_RANDOM_TRUE otherwise has no validation coverage.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ODP_... | null |
OpenDataPlane__odp__1430 | OpenDataPlane/odp | 1,430 | defect | 75cc9278ffbd2385feb772f5a70e9b5b4485c0bf | b33dcb400c029dda44887be9a71ead177d4caa07 | [PATCH v5] api: timer: add timer pool param init | Add timer pool parameter init function which replaces memset(0) as param init. This allows adding new parameters with non-zero default values. | diff --git a/include/Makefile.am b/include/Makefile.am
index de9d898b60b..1820228a3eb 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -60,6 +60,7 @@ odpapiinclude_HEADERS = \
odp/api/ticketlock.h \
odp/api/time.h \
odp/api/timer.h \
+ odp/api/timer_types.h \
odp/api/traffic_mngr.h \
odp/api/vers... | 1 | 1 | 0 | [{"id": "G0", "claim": "The four low-level includes (std_types.h, abi/event.h, abi/pool.h, abi/queue_types.h) added to the new include/odp/api/timer_types.h should be dropped from that level, keeping the required includes maintained in the headers where they are actually required.", "category": "maintainability", "verd... | null |
OpenDataPlane__odp__1437 | OpenDataPlane/odp | 1,437 | defect | bf8ab154ee22f17f72789bba9022f22ec39b8e74 | e890cde6a8bb83fbe9865cf7551bae4d8c0034bd | [PATCH v5] test: performance: add lock performance test | ```
Test lock performance by measuring the time it takes to do a number of
rounds, where a round is a set of counter and lock operations specific
to the lock type. At the end, the resulting counter values are
compared against expected values.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
```
v2:
- ... | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index 2a90beabba6..7952530a3ae 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -8,6 +8,7 @@ odp_crc
odp_crypto
odp_ipsec
odp_l2fwd
+odp_lock_perf
odp_mem_perf
odp_packet_gen
odp_pktio_ordered
diff --git a/test/per... | 4 | 4 | 2 | [{"id": "G0", "claim": "The volatile qualifier on the lock-protected counter fields should be removed, since the counters are read/written while holding the lock.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The num_round option should be uint... | null |
OpenDataPlane__odp__1449 | OpenDataPlane/odp | 1,449 | defect | b85a8e5d7eda492c8a7d9f3d972362651116ecbd | c31683950c25f78e81ceeb112a570a8f5f8191bf | [PATCH v7] random data improvements and tests | ```
linux-gen: random: improve ODP_RANDOM_BASIC data and random test data
Improve the quality of data generated by and the speed of
odp_random_test_data() and _odp_random_std_data() (used when OpenSSL
random is not enabled).
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
vali... | diff --git a/include/odp/api/spec/random.h b/include/odp/api/spec/random.h
index 3cd2972490e..f6c2b8fe4db 100644
--- a/include/odp/api/spec/random.h
+++ b/include/odp/api/spec/random.h
@@ -85,7 +85,7 @@ int32_t odp_random_data(uint8_t *buf, uint32_t len, odp_random_kind_t kind);
* For testing purposes it is often use... | 7 | 5 | 1 | [{"id": "G0", "claim": "The hand-rolled alignment handling in _random_data() could be replaced with memcpy(), which would handle alignment issues and result in less code.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The file-scope variable alpha... | null |
OpenDataPlane__odp__1454 | OpenDataPlane/odp | 1,454 | defect | d24bf289a0bc957ab79f84079a80fce7db9c6acf | 41939797e2dd3b85db818e1006bc3653ffb5c127 | [PATCH v7] api: crypto: deprecate IV data in session parameters | Reusing the same initialization vector (IV) with the same key is almost always wrong and results in weakened security. Therefore the ability of specifying IV in crypto session creation and reusing it in multiple crypto operations is of questionable value. It complicates both the API and implementations and may encourag... | diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index d3e3c9a0708..0002067f474 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -1,4 +1,5 @@
/* Copyright (c) 2014-2018, Linaro Limited
+ * Copyright (c) 2021, Nokia
* All rights reserved.
*
* SPDX-License... | 3 | 2 | 0 | [{"id": "G0", "claim": "The title of the patch 'validation: crypto: use the new way of setting crypto IVs' contains a typo and should be fixed.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "Asked whether this PR will be split into multiple PRs to al... | null |
OpenDataPlane__odp__1481 | OpenDataPlane/odp | 1,481 | defect | d78b66cfcaf25753a948a7cc0759b55e9dfbed56 | 16d20594b4ee567dec765703fa3593c5ea666da0 | [PATCH v7] test: performance: ipsec: introduce burst processing | Introduce an option to prepare and submit multiple packets for IPsec
processing.
ODP allows multi APIs with packet alloc, free & IPsec processing. Usage
of these APIs would help in improving performance with burst cases. New
option '--burst' or '-b' can be used to enable burst processing. When
specified without ... | diff --git a/test/performance/odp_ipsec.c b/test/performance/odp_ipsec.c
index ee3e062b79d..b5cdb222b29 100644
--- a/test/performance/odp_ipsec.c
+++ b/test/performance/odp_ipsec.c
@@ -22,7 +22,7 @@
/** @def POOL_NUM_PKT
* Number of packets in the pool
*/
-#define POOL_NUM_PKT 64
+#define POOL_NUM_PKT 4096
st... | 10 | 9 | 4 | [{"id": "G0", "claim": "Maybe burst_size would be a better name than burst_sz in all places where burst_sz is used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ret may be negative when odp_packet_free_sp(pkt, ret) is called, so this should be... | null |
OpenDataPlane__odp__1484 | OpenDataPlane/odp | 1,484 | defect | 1f16b9f0106d7f98a445c351ad407aa0248086f7 | 5fdbf500f54e52e7b1dfa82ace9c22081f3ebdc8 | [PATCH v3] Speed up make check | Many tests run unnecessarily long during make check, especially on slower platforms. Often just a small number of iterations or short test time is sufficient for checking that things work and longer run time just wastes cycles without much benefit.
Reduce the run time of various tests for which it was easy to do. | diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index d22c9a7dfd1..8c908bdd39f 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -187,6 +187,9 @@ static inline void print_cls_statistics(appl_args_t *args)
infinite = 1;
for (; time... | 4 | 2 | 0 | [{"id": "G0", "claim": "The fflush(stdout) call in the classifier's statistics loop could be moved to just before the shutdown_sig check instead of sitting at the top of the loop.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added TESTSCRIPTS ... | null |
OpenDataPlane__odp__1494 | OpenDataPlane/odp | 1,494 | defect | de062f76ee98ec2382d9aa38ce1714fbfe6bb561 | 61ae4714e45a4e0b440405b2590e8e13f67bcd01 | [PATCH v8] linux-gen: pktio: implement tx completion event | Implement event completion for transmitted and dropped packets.
v2:
- address Petri's and Matias' comments
v5:
- rebase
- address Petri's comments
v6:
- address Petri's comments
v8:
- rebase
- address Matias' comment
- add reviewed-by tags | diff --git a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
index 9fd8a0cedff..66451ce497e 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_inline... | 5 | 5 | 1 | [{"id": "G0", "claim": "The packet header struct should be kept compact: the tx_compl_mode enum field is not needed (tx_compl flag(s) in output flags should be enough) and dst_queue could be reused for TX completion.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
OpenDataPlane__odp__1499 | OpenDataPlane/odp | 1,499 | defect | 5ffd8cce12c02903ca2a0ec128d78640eef9340d | f99185ab40a9319917da496fa216b942638ec570 | [PATCH v13] api: cls: add cos action and cos specific counters | Add an action parameter to CoS parameters (odp_cls_cos_param_t). Action may be to accept or drop the packet classified to the CoS.
Add CoS specific statistics counters (odp_cls_cos_stats_t) and matching capabilities (in odp_cls_stats_capability_t). Statistics counters can be read with odp_cls_cos_stats().
Branche... | diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h
index 63396369275..3ea1cfee0a5 100644
--- a/include/odp/api/spec/classification.h
+++ b/include/odp/api/spec/classification.h
@@ -34,9 +34,7 @@ extern "C" {
/**
* @def ODP_COS_INVALID
- * This value is returned from odp_cls_... | 4 | 4 | 1 | [{"id": "G0", "claim": "If an implementation has a limited number of CoS that can have stats enabled, the API gives an application no way to learn that it is out of stats resources; the reviewer asks for a new odp_cls_cos_create() return value or a capability for this.", "category": "design", "verdict": "supported", "p... | null |
OpenDataPlane__odp__1508 | OpenDataPlane/odp | 1,508 | defect | cfe6116eab8671140123e04e0425adb0e1ba2c99 | cffba5f7e012463930d9fd9639fe6d239fc9ffd8 | [PATCH v4] crypto: bit mode related fixes and improvements | An ODP implementation can support each algorithm variant in bit mode or byte mode. The supported mode is indicated in cipher and auth capabilities.
This PR includes several bit mode related fixes and improvements:
- Remove assumptions on the supported mode for each algorithm from the crypto validation tests and m... | diff --git a/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c
index ecfc806b058..ad643c3841f 100644
--- a/test/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/validation/api/crypto/odp_crypto_test_inp.c
@@ -565,10 +565,9 @@ static void alg_test_execute(const alg... | 3 | 3 | 0 | [{"id": "G0", "claim": "The booleans added by the pull request should be named in question form, e.g. `bit_mode` -> `is_bit_mode` and `length_is_in_bits` -> `is_len_in_bits`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copyright year in t... | null |
OpenDataPlane__odp__1520 | OpenDataPlane/odp | 1,520 | defect | 346e832be152187bd757e0d369ba9177e14db02a | 1ad9daf8aeb73d9bdb226ab51db35d1d3408847f | [PATCH v4] api: tm: split tm queue and node threshold capabilities | V3:
- Added validation tests for TM queue threshold | diff --git a/include/odp/api/abi-default/traffic_mngr.h b/include/odp/api/abi-default/traffic_mngr.h
index 06dc6c3c79a..78985313df0 100644
--- a/include/odp/api/abi-default/traffic_mngr.h
+++ b/include/odp/api/abi-default/traffic_mngr.h
@@ -76,11 +76,6 @@ extern "C" {
*/
#define ODP_TM_MAX_TM_NODE_FANIN (4 * 1024)
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the speculative '(typically ingress based)' remark from the odp_tm_enq() documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the bit sizes from the packet-metadata note in the odp_tm_enq() documentat... | null |
OpenDataPlane__odp__1522 | OpenDataPlane/odp | 1,522 | defect | 4eee6de8422a9ac05e86d94a6923f434aac15b5b | fc83539ccd4a4bb3b9ed9ae76ba6b2a46cb6f4bf | [PATCH v10] api: crypto: deprecate odp_crypto_operation() | Depracate odp_crypto_operation() and the associated data structures and the completion event.
The odp_crypto_operation() function is a bit problematic since it can be synchronous or asynchronous on per-packet basis without application having control on it. Uncontrolled sync versus async behaviour can have adverse ef... | diff --git a/include/odp/api/abi-default/event_types.h b/include/odp/api/abi-default/event_types.h
index e5b9f7621b0..fc685cfd9c5 100644
--- a/include/odp/api/abi-default/event_types.h
+++ b/include/odp/api/abi-default/event_types.h
@@ -13,6 +13,7 @@ extern "C" {
#endif
#include <stdint.h>
+#include <odp/api/deprec... | 2 | 2 | 0 | [{"id": "G0", "claim": "The bare \"@deprecated\" tags added to the crypto.h deprecation docs should have text following them, since Doxygen documentation looks nicer that way.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compl_queue document... | null |
OpenDataPlane__odp__1583 | OpenDataPlane/odp | 1,583 | defect | c0a065c59217497093e758f3792c46619d4de6f4 | 47cf77456e5d364472bde6b9de5cb31733bc1ef5 | [PATCH v5] api: tm: add rate limit mode in shapers | Make it possible to do rate limiting instead of rate shaping in TM nodes
and queues. Introduce a mode parameter in shaper profile to select between
rate shaping and rate limiting. Add capability flags that tell if rate
limiting is supported.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> | diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index e10f6e9e20c..8747194b6c0 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -268,7 +268,7 @@ typedef struct {
*/
uint32_t min_burst_packets;
- /** Maximum allowed value fand odp... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new doc comment for ODP_TM_SHAPER_RATE_LIMIT says packets become available \"from the source of when\" the downstream node accepts packets, where it should read \"or when\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1585 | OpenDataPlane/odp | 1,585 | defect | 13d89b5068aec8746713b22e0efec21bf774d3bc | 038929f17f7fc6c891932f7dc37c3a7661241b33 | [PATCH v6] Speed up make check | Make time validation test and timer_accuracy example complete faster to speed up make check | diff --git a/test/validation/api/time/time.c b/test/validation/api/time/time.c
index 4974dcb5d31..8b4c7c6cac5 100644
--- a/test/validation/api/time/time.c
+++ b/test/validation/api/time/time.c
@@ -1,4 +1,5 @@
/* Copyright (c) 2015-2018, Linaro Limited
+ * Copyright (c) 2019-2022, Nokia
* All rights reserved.
*
*... | 2 | 2 | 0 | [{"id": "G0", "claim": "The variable named `second` no longer holds a second (it holds WAIT_TIME), so it should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The commit message of the time monotony patch contains the typo \"accucary... | null |
OpenDataPlane__odp__1597 | OpenDataPlane/odp | 1,597 | defect | 93a0e150682111a87c1c59fb677ef50a694cdc1f | 80755276a76b7a2c61a5ddbead264fb1051f3f22 | [PATCH v3] test: cunit: fix cunit asserts for multithreaded test apps | CUnit is not thread-safe and not aware of process mode, which causes
problems when CUnit assertions are used in multithreaded tests:
- Updating the recorded assert failures has data races
- Assertion failures in other than the main process are lost
- The longjmp performed at fatal assertion fail... | diff --git a/test/common/odp_cunit_common.c b/test/common/odp_cunit_common.c
index c6e03dab282..276c39d47dc 100644
--- a/test/common/odp_cunit_common.c
+++ b/test/common/odp_cunit_common.c
@@ -1,14 +1,17 @@
/* Copyright (c) 2014-2018, Linaro Limited
- * Copyright (c) 2019, Nokia
+ * Copyright (c) 2019, 2021-2022, Noki... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new static function should not carry the ODP prefix; rename it (e.g. init_thread(), similar to run_thread()).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1601 | OpenDataPlane/odp | 1,601 | defect | 27c4310add4994e56881e9daea831f0e5089b85b | 38802baaccbca7ddcba2fb71ab4ddb0eabbe886d | [PATCH v5] validation: init: create binary for init_test_param_init test | At present, test binary for init_test_param_init is not created.
This patch creates it appropriately from init_main.c.
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> | diff --git a/test/validation/api/init/Makefile.am b/test/validation/api/init/Makefile.am
index 479e3a71b08..1ddf1dd0da7 100644
--- a/test/validation/api/init/Makefile.am
+++ b/test/validation/api/init/Makefile.am
@@ -3,7 +3,8 @@ include ../Makefile.inc
# Keep init test cases in separate binaries. Some implementations ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new init_test_param_init binary should be added to the init folder's .gitignore and to the TESTS list of test/validation/api/Makefile.am.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenDataPlane__odp__1640 | OpenDataPlane/odp | 1,640 | defect | 3b5cec3c4eaa4731f49d6cd83aa185aefd3dbb8d | 52ecbbebe5f2fd4be30b57f1f1a7219b476f4d57 | [PATCH v7] test: performance: add IPsec performance tester | `odp_ipsecfwd` is a simple IPsec performance testing utility to profile
ODP IPsec implementation performance.
Tester supports running IPsec processing in multiple workers and in a
few different queue setups. Packets are forwarded according to passed
forwarding configuration.
v4:
- Review comments addressed
-... | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index 6a891a1465b..22abea846fc 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -8,6 +8,7 @@ odp_crc
odp_crypto
odp_dma_perf
odp_ipsec
+odp_ipsecfwd
odp_l2fwd
odp_lock_perf
odp_mem_perf
diff --git a/test/performanc... | 21 | 19 | 7 | [{"id": "G0", "claim": "After IPsec processing l2_ptr is not guaranteed to be valid and packets are not guaranteed contiguous, so the code must write the full Ethernet header (including ethertype) after truncating or extending the head and check wherever packet-data pointers are used.", "category": "correctness", "verd... | null |
OpenDataPlane__odp__1660 | OpenDataPlane/odp | 1,660 | defect | 7fc151473b9a1327d1b07b0074fed260ae7ebc48 | 4b48448f901df64a15c9eb036f093fcd00c36a28 | [PATCH v10] api: pool: user area in buffer, timeout and vector events | Packets have already user area for storing user specific metadata, which is preserved while packet is modified or stored into a queue, etc. Introduce user area to other event types (that are allocated from a pool) as well. | diff --git a/include/odp/api/spec/pool_types.h b/include/odp/api/spec/pool_types.h
index e8026c642e5..b76bec09e30 100644
--- a/include/odp/api/spec/pool_types.h
+++ b/include/odp/api/spec/pool_types.h
@@ -250,10 +250,7 @@ typedef struct odp_pool_capability_t {
* memory size for the pool. */
uint32_t max_seg_len;... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pool_types.h uarea_size spec text should not present the 0 default as forced but be reworded (e.g. \"Minimum user area size in bytes\") so the parameter stays settable to any value via odp_pool_param_init() and implementations stay free to round the size up.", "category": "documentation", "v... | null |
OpenDataPlane__odp__1662 | OpenDataPlane/odp | 1,662 | defect | 017bdcdb4a100c32583ddaf99ace7997d73b1510 | 194b9a773d5a473f67ac93663068cb87e39cde25 | [PATCH v3] linux-gen: cls: fix cos hash-queue handling | Fix a few bugs related to class-of-service hash-queues:
- In `odp_cls_cos_create()`, use the passed queue parameters as per
the specification instead of local parameters and always set
`queue_group` flag based on number of queues.
- Destroy class-of-service hash-queues in `odp_cos_destroy()`.
- Whe... | diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c
index 01083073e6b..26254aae1c4 100644
--- a/platform/linux-generic/odp_classification.c
+++ b/platform/linux-generic/odp_classification.c
@@ -1,5 +1,5 @@
/* Copyright (c) 2014-2018, Linaro Limited
- * Copyright (c) 2... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hash-queue names created in odp_cls_cos_create should use the implementation-internal `_odp_` prefix instead of `odp-cos-hq-`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newline in print_queue_ident could be folded int... | null |
OpenDataPlane__odp__1665 | OpenDataPlane/odp | 1,665 | defect | 7fc151473b9a1327d1b07b0074fed260ae7ebc48 | 5c64e29f86d85309db22d58531260a1ed234a430 | [PATCH v16] api: crypto: clarify current API and add new "operation types" | Note on the commits (v11):
The first five commits belong to PR 1743 but temporarily appear here. They will disappear as soon as they get merged to master and this PR then gets rebased.
----
This PR has the following patches:
- api: crypto: clarify that input packet is fully copied to output packet
- n... | diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index b45731e1b0d..765e3d2653b 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -55,7 +55,7 @@ typedef enum {
} odp_crypto_op_mode_t;
/**
- * Crypto API operation type
+ * Crypto API operation
*/
typedef e... | 1 | 1 | 1 | [{"id": "G1", "claim": "The pull request should introduce unit tests for the new crypto operation types (the reviewer asks whether there are such plans).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenDataPlane__odp__1666 | OpenDataPlane/odp | 1,666 | defect | ad262f8699ca72dd13e4e215fe87fc6d660972b4 | dabd250d925bfd6be62beff54a73e0df2a9c203f | [PATCH v4] example: check pktio promisc mode status before enabling it | Some pktio devices may not support changing promisc mode but have it
permanently enabled. | diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index f74017246f2..7cab9bad68e 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -273,7 +273,7 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool)
exit(EXIT_FAILURE);
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The failed-promiscuous-mode error print in example/switch/odp_switch.c could include the name of the failing pktio.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1675 | OpenDataPlane/odp | 1,675 | defect | fd5988f0a23228f6fa00e086148dc15311a257d1 | 7d35d600d87b3526917d2878586a13547f20cd62 | [PATCH v3] packet parsing bugfix and validation test improvement | linux-gen: packet: fix odp_packet_parse() with nonzero offset
validation: packet: test packet parsing more with nonzero offset
| diff --git a/platform/linux-generic/include/odp_parse_internal.h b/platform/linux-generic/include/odp_parse_internal.h
index c467abbcdbc..8b3fb480b94 100644
--- a/platform/linux-generic/include/odp_parse_internal.h
+++ b/platform/linux-generic/include/odp_parse_internal.h
@@ -59,10 +59,13 @@ uint16_t _odp_parse_eth(pac... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commit message should fix the typo \"appears to exceeds\" to \"appears to exceed\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OpenDataPlane__odp__1706 | OpenDataPlane/odp | 1,706 | defect | 568bbdc2dfb8b768beb1a1130fa65f4a2cc6b74d | 32b35a3b124e4422fa492bc875f9373af98a8b03 | [PATCH v7] api: memory usage debug info | Adds new system and SHM API functions which can be used to monitor/debug ODP instance memory usage.
v2: updated documentation of odp_shm_reserve() operation without flags (3rd commit)
v3: added system meminfo implementation and test
v4: added odp_shm_segment_info() implementation and test
v6: Moved IOVA/PA_INVALI... | diff --git a/include/odp/api/spec/shared_memory.h b/include/odp/api/spec/shared_memory.h
index d1955db2662..b406dd6a381 100644
--- a/include/odp/api/spec/shared_memory.h
+++ b/include/odp/api/spec/shared_memory.h
@@ -40,8 +40,6 @@ extern "C" {
* Maximum shared memory block name length in chars including null char
*... | 2 | 1 | 1 | [{"id": "G0", "claim": "The odp_shm_reserve() documentation's default-shareability wording (sharing with ODP processes forked after the reserve call) needs checking and correcting, since implementations such as Marvell's do not support forking from an ODP process.", "category": "documentation", "verdict": "supported", ... | null |
OpenDataPlane__odp__1755 | OpenDataPlane/odp | 1,755 | defect | 02496026906cb05b5955e7bf1ab5bb82849bcd2f | f24b34f58e47d353c02e9c41b57c881b3bbc6f20 | [PATCH v5] api: cls: clarify destroy order | Clarify the order in which CoSes, PMRs, pools and queues should be destroyed. Allow default CoS to be removed. Allow CoS pool to be set to ODP_POOL_INVALID.
| diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h
index 0c4294a6a19..8f8a993db25 100644
--- a/include/odp/api/spec/classification.h
+++ b/include/odp/api/spec/classification.h
@@ -750,6 +750,10 @@ odp_queue_t odp_cls_hash_result(odp_cos_t cos, odp_packet_t packet);
/**
* Disc... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new odp_cos_destroy() documentation should also mention that the CoS must not be in use as the destination CoS of any IPsec SA.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G7", "claim": "The sentence 'unless overridden by subsequen... | null |
OpenDataPlane__odp__1758 | OpenDataPlane/odp | 1,758 | defect | 579d8105776ea23f097fdb894a50759b6055b8b4 | 566675b3dcb3cbc8ef933cc0a6bc373cda468a26 | [PATCH v5] validation: add common packet metadata functions and use them in crypto validation | test: common: add reusable functions for checking packet metadata
Add a common test library for setting and saving packet metadata
and for comparing saved metadata. The functions can be used by
different test modules that need to check that packet metadata
has not changed during some operation und... | diff --git a/test/Makefile.inc b/test/Makefile.inc
index 5764ac9b4e5..cc6a33df57f 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -6,6 +6,7 @@ LIBODP = $(LIB)/libodphelper.la $(LIB)/lib$(ODP_LIB_NAME).la
LIBCUNIT_COMMON = $(COMMON_DIR)/libcunit_common.la
LIBCPUMASK_COMMON = $(COMMON_DIR)/libcpumask_common... | 3 | 1 | 0 | [{"id": "G0", "claim": "The comment in test_packet_set_md() misspells \"flags\" as \"flahs\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test helper could also set the packet input with odp_packet_input_set(pkt, ODP_PKTIO_INVALID).", "cate... | null |
OpenDataPlane__odp__1766 | OpenDataPlane/odp | 1,766 | defect | 30930db550a640df1a25847c7623e5ecfe670b9b | 113d17e211f974f7d851a3939a452f30514bbfe1 | [PATCH v3] fix a couple of cases of uninitialized data | Fix a couple of cases where potentially uninitialized data in shm blocks are being used. These problems were revealed by filling all shm blocks with 0xaa.
v2:
- Initialize IP header fields before checksum.
v3:
- Rebase.
- Add review tags.
| diff --git a/test/validation/api/pktio/pktio.c b/test/validation/api/pktio/pktio.c
index 446411b22d7..fbb68ed6b74 100644
--- a/test/validation/api/pktio/pktio.c
+++ b/test/validation/api/pktio/pktio.c
@@ -301,6 +301,8 @@ static void pktio_init_packet_eth_ipv4(odp_packet_t pkt, uint8_t proto)
ip->id = odp_cpu_to_be_16... | 1 | 1 | 1 | [{"id": "G0", "claim": "In pktio_init_packet_eth_ipv4, the added ip->frag_offset and ip->tos writes should be placed before odph_ipv4_csum_update(pkt) so the checksum is calculated over the updated field values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenDataPlane__odp__1771 | OpenDataPlane/odp | 1,771 | defect | 1b92a6a21d5cb851b2663652898ba972894810d3 | 1a84fdb728564e4540470b3c927ded3d700b2ae5 | [PATCH v7] api: crypto: misc changes, deprecations and removal of deprecated pieces | API changes in this PR:
api: crypto: change IV and AAD pointers to pointers to constants
api: crypto: clarify that algorithm order is ignored with null algorithms
api: crypto: clarify when cipher and auth ranges are ignored
api: crypto: deprecate old session creation error names
api: crypto: simplify operation s... | diff --git a/example/ipsec_crypto/odp_ipsec.c b/example/ipsec_crypto/odp_ipsec.c
index 565d85a3fd8..d2d22448b0f 100644
--- a/example/ipsec_crypto/odp_ipsec.c
+++ b/example/ipsec_crypto/odp_ipsec.c
@@ -715,12 +715,9 @@ pkt_disposition_e do_ipsec_in_finish(odp_packet_t pkt,
odp_crypto_result(&result, pkt);
/* Check... | 3 | 2 | 0 | [{"id": "G0", "claim": "Consider renumbering ODP_EVENT_IPSEC_STATUS from 5 to 4 so that removing ODP_EVENT_CRYPTO_COMPL does not leave a hole in the event type enum.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Make odp_crypto_result() return the operati... | null |
OpenDataPlane__odp__1790 | OpenDataPlane/odp | 1,790 | defect | 5cd29ee83a51eb558ec9389f57b8bb8b845720a5 | e5c5cd5e9972b9c6d084d92bfd993698c33d4659 | [PATCH v9] test: ipsecfwd: utilize libconfig | This patchset adds `libconfig` support to `odp_ipsecfwd`. Tester is now configured with a single libconfig-syntax configuration file, in which SAs and forwarding is to be configured. Most of the configuration passed with `odp_ipsec_sa_param_t` can be set via this new file.
v3:
- Janne's comments
- Swapped to use `... | diff --git a/test/performance/odp_ipsecfwd.c b/test/performance/odp_ipsecfwd.c
index 6098fd9649e..67291ae371d 100644
--- a/test/performance/odp_ipsecfwd.c
+++ b/test/performance/odp_ipsecfwd.c
@@ -19,10 +19,12 @@
#include <odp_api.h>
#include <odp/helper/odph_api.h>
+#include <libconfig.h>
#define PROG_NAME "odp... | 4 | 4 | 1 | [{"id": "G0", "claim": "The memset of the SA crypto parameters in init_config is unnecessary and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Integer config values should be read into an int and assigned to the SA parameter ... | null |
OpenDataPlane__odp__1801 | OpenDataPlane/odp | 1,801 | defect | b90da27fefb3f12454f07fa1020c2003ad55dc5e | 36e80eff122024f55025b68a6669aa68c7add6b5 | [PATCH v2] test: bench_timer: new performance test for timer API | Added new benchmark test for call latency of (small) functions in timer API. | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index b86699c914d..087a163d804 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -5,6 +5,7 @@ odp_atomic_perf
odp_bench_buffer
odp_bench_misc
odp_bench_packet
+odp_bench_timer
odp_cpu_bench
odp_crc
odp_crypto
diff -... | 3 | 3 | 2 | [{"id": "G0", "claim": "In the new bench_timer test, the timeout array gbl_args->t1[] should also be initialized (as the other fields are) rather than left uninitialized.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For consistency, a separate out... | null |
OpenDataPlane__odp__1810 | OpenDataPlane/odp | 1,810 | defect | fc0442c2100d5967af4170d08004846e38906b67 | 350420c7944defc1679fc8c706c6925b36f9aca3 | [PATCH v7] api: timer: add tick sample function | Added a new function that samples tick value of multiple timer pools simultaneously. This helps application to calculate tick offset between timer pools with minimum error.
v3: Fixed comments, rebased
v4: Fixed comment
v6: Rebased | diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h
index 7982e391b37..f09aad82754 100644
--- a/include/odp/api/spec/timer.h
+++ b/include/odp/api/spec/timer.h
@@ -185,6 +185,27 @@ uint64_t odp_timer_ns_to_tick(odp_timer_pool_t timer_pool, uint64_t ns);
*/
uint64_t odp_timer_current_tick(odp_tim... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new doc comment should say \"tick values\" (plural) instead of \"tick value\", in both the heading and the first line.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In timer_pool_sample_ticks_run() the explicit \"tp_pa... | null |
OpenDataPlane__odp__1813 | OpenDataPlane/odp | 1,813 | defect | a0da0182cc48ed4859b0a12dc668e1edfe73b9d1 | e37c01d25c783ee4d81f3dce742c3b5337ac1838 | [PATCH v8] api: pool: add new function for reading only selected statistics | Add new function `odp_pool_stats_selected()` for reading only selected pool
statistic(s). This can minimize function overhead compared to original
`odp_pool_stats()` function, which always returns all enabled counters.
Also, relax `odp_pool_stats()` specification to allow implementations to have some
delay until ... | diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h
index a72dcd3af0b..02d8c5d8611 100644
--- a/include/odp/api/spec/pool.h
+++ b/include/odp/api/spec/pool.h
@@ -1,5 +1,5 @@
/* Copyright (c) 2015-2018, Linaro Limited
- * Copyright (c) 2020-2022, Nokia
+ * Copyright (c) 2020-2023, Nokia
* All right... | 4 | 3 | 2 | [{"id": "G0", "claim": "The word \"handle\" can be dropped from the new function's summary line, which could simply read \"Get selected pool statistics\" (and from the odp_pool_stats()/odp_pool_stats_reset() summary lines too).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
OpenDataPlane__odp__1818 | OpenDataPlane/odp | 1,818 | defect | 554283317b9683071b4943c60da8bc6d319335fb | fc435ec45c67392d6c05d11e0b5d4d37ded2324f | [PATCH v11] api: pktout: poll mode tx completion and don't free option | New TX completion mode and request for packet output to not free a packet after transmit.
v4: Changed packet free flag to odp_packet_free_ctrl_t enumeration. It allows e.g. later addition of opposite command to free packet, when the default operation is not to free.
v5: Added implementation and tests
v6: Fixed com... | diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h
index 51c7a8e46e8..3719a19bec2 100644
--- a/include/odp/api/spec/packet.h
+++ b/include/odp/api/spec/packet.h
@@ -2054,19 +2054,21 @@ void odp_packet_aging_tmo_set(odp_packet_t pkt, uint64_t tmo_ns);
uint64_t odp_packet_aging_tmo(odp_packet_t p... | 6 | 6 | 2 | [{"id": "G0", "claim": "The doc comment for the packet free control flag says \"provides means to inverts the default configuration option\" and the grammar should be corrected to \"invert\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copy... | null |
OpenDataPlane__odp__1824 | OpenDataPlane/odp | 1,824 | defect | 4ca65d1f8e3e5032f6b367935067e55ba415d75a | 604f4899f5826c4850743decd2190573e6bb89c5 | [PATCH v4] api: timer: clarify periodic timer capa | Clarify how periodic timer capability call updates capa fields, and fractional number format of base frequency.
v2: Fixed comments. Added "api: timer: base frequency support may be limited"
v3: Rebased
v4: Added review tag | diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h
index 7982e391b37..9a451c57716 100644
--- a/include/odp/api/spec/timer.h
+++ b/include/odp/api/spec/timer.h
@@ -75,11 +75,14 @@ int odp_timer_res_capability(odp_timer_clk_src_t clk_src,
* frequency multiplier and the minimum timeout resolution. ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The odp_timer_res_capability() documentation should read 'in the following ways' (plural) and 'when timer supports' instead of 'when timer capability supports'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the odp_time... | null |
OpenDataPlane__odp__1836 | OpenDataPlane/odp | 1,836 | defect | d6059228fedfc3d5b6a263afa50207c90daf318e | b3650088e6b4e825465b957405cd2280f6df7039 | [PATCH v10] api: crypto: copy the ranges of null algorithms in OOP op type & change bit mode semantics | Allow non-zero-length cipher and auth ranges for the null cipher and auth algoriths in the OOP operation type. Copy the ranges to the output packet as with non-null algorithms. Allow implementations to not fully support non-zero-length ranges by explicitly mentioning that a crypto operation with such a range may fail i... | diff --git a/include/odp/api/spec/crypto_types.h b/include/odp/api/spec/crypto_types.h
index 46d9ae3f752..bb336fa67a2 100644
--- a/include/odp/api/spec/crypto_types.h
+++ b/include/odp/api/spec/crypto_types.h
@@ -560,6 +560,30 @@ typedef struct odp_crypto_session_param_t {
*/
odp_crypto_op_type_t op_type;
+ /** ... | 6 | 4 | 0 | [{"id": "G0", "claim": "The two new 'Note' paragraphs in the cipher and auth bit-mode capability docs start a sentence with lowercase 'using'; it should be capitalized to 'Using'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "A commit message in ... | null |
OpenDataPlane__odp__1856 | OpenDataPlane/odp | 1,856 | defect | af1a174d919465bf262a0dc5c91edaa1d3688fc1 | 4755f2d05a9b0368679dba5ca1fd62fc0b966faf | [PATCH v5] api: sync: new memory barriers | Added data synchronizing memory barriers that are stronger than the current barriers, and can be used also when accessing memory mapped device registers.
v4: rebased | diff --git a/include/odp/api/spec/sync.h b/include/odp/api/spec/sync.h
index 0b75ffaee21..b290a261c52 100644
--- a/include/odp/api/spec/sync.h
+++ b/include/odp/api/spec/sync.h
@@ -1,7 +1,7 @@
-/* Copyright (c) 2013-2018, Linaro Limited
- * All rights reserved.
+/* SPDX-License-Identifier: BSD-3-Clause
*
- * SPDX-Lic... | 8 | 8 | 0 | [{"id": "G0", "claim": "The new file copyright header should follow the SPDX format '/* SPDX-License-Identifier: BSD-3-Clause' followed directly by 'Copyright (c) <YEAR> <COPYRIGHT HOLDER>' lines.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
OpenDataPlane__odp__1857 | OpenDataPlane/odp | 1,857 | defect | af1a174d919465bf262a0dc5c91edaa1d3688fc1 | dca855d42dc00a11b23c43069cf8daf327e4cdeb | [PATCH v6] api: pool: add user area initialization parameters | This patchset adds possibility to initialize event user areas at pool creation time. Additionally, a user area persistence capability is added to signal if an implementation is able to maintain user area contents across event frees and allocations.
v2:
- Petri's comments
v3:
- Petri's comments
v5:
- Rebase... | diff --git a/include/odp/api/spec/dma_types.h b/include/odp/api/spec/dma_types.h
index 26350e99821..517c7c3a683 100644
--- a/include/odp/api/spec/dma_types.h
+++ b/include/odp/api/spec/dma_types.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2021-2022, Nokia
+/* Copyright (c) 2021-2023, Nokia
* All rights reserved.
*
* SPDX... | 6 | 6 | 2 | [{"id": "G0", "claim": "The @param size documentation of the user area init function says 'Use area size' where it should say 'User area size'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @param args documentation could describe the argumen... | null |
OpenDataPlane__odp__1873 | OpenDataPlane/odp | 1,873 | defect | 1106a1de2d578a7b0638c10017fcf80ecd168864 | 9fe972766eb2c7afcb648a9cc16a485f73dda700 | [PATCH v5] test: performance: add DMA performance tester with packet I/O | `odp_dmafwd` is a simple tester to compare packet forwarding throughput when received packets are first copied either with software memory copy or with DMA offload and then echoed back to sender.
v2:
- Matias' comments
v3:
- Refactored packet forwarding
v4:
- Rebased
- Added a separate copy pool also for S... | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index 087a163d804..dfaef699c73 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -9,6 +9,7 @@ odp_bench_timer
odp_cpu_bench
odp_crc
odp_crypto
+odp_dmafwd
odp_dma_perf
odp_ipsec
odp_ipsecfwd
diff --git a/test/perfor... | 6 | 6 | 1 | [{"id": "G0", "claim": "The application should also be run in the CI (e.g. via a run script like test/performance/odp_l2fwd_run.sh).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For CI testing it would be helpful to have an option for selecting the ap... | null |
OpenDataPlane__odp__1886 | OpenDataPlane/odp | 1,886 | defect | 75b3528a3245138bb8387dfd1e39e3a04d96e3cc | 5ff86fa42ef24ba3eba209bfd9d7b2da647a3b02 | [PATCH v5] helper: add new macros for min/max comparison operations | Add new ODPH_MIN() and ODPH_MAX() helper macros.
V2:
- Added `ODPH_ARRAY_SIZE()` macro
V3:
- Rebase
- Added `ODPH_ABS()` macro spec, implementation, and tests | diff --git a/helper/Makefile.am b/helper/Makefile.am
index 458a99f9249..6e1ce583f19 100644
--- a/helper/Makefile.am
+++ b/helper/Makefile.am
@@ -23,6 +23,7 @@ helperinclude_HEADERS = \
include/odp/helper/igmp.h\
include/odp/helper/ip.h\
include/odp/helper/ipsec.h\
+ include/odp/helper/macros.h\
i... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test application's main should be declared `int main(void)` instead of `int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED)` since it takes no arguments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new h... | null |
OpenDataPlane__odp__1895 | OpenDataPlane/odp | 1,895 | defect | 65e4d3f3c4b5be8d6339a43f63b3dfe2c17c0f35 | 2cd299814dad93b412ad50246cb07be69d2faff4 | [PATCH v5] linux-gen: pktio: implement TX completion poll mode | This patchset implements poll mode for packet TX completion. Poll mode is useful in cases where overhead from scheduling and event handling is not desired.
v3:
- Matias' comments
v4:
- Rebased
- Fixed required additional internal SHM block count
v5:
- Rebased
- Added reviewed-by tag | diff --git a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
index 5186efed0e6..eb20ca7d770 100644
--- a/platform/linux-generic/include/odp/api/plat/packet_inline_types.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_inline... | 6 | 5 | 2 | [{"id": "G0", "claim": "The added tx_compl_id field in odp_packet_hdr_t could be moved after tx_aging_ns to avoid a 2-byte hole in the struct.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CONFIG_INTERNAL_SHM_BLOCKS should be incremented accordingl... | null |
OpenDataPlane__odp__1897 | OpenDataPlane/odp | 1,897 | defect | 67f75685e200c5125e9c66195ad9a5d45ce9a65a | 0e32f796921641c2524fb7ed98c75d7a32cb1551 | [PATCH v4] linux-gen: pool: fix odp_pool_ext_capability() return value | According to the specification, odp_pool_ext_capability() should set
'max_pools' to zero and return success if a valid but unsupported pool type
is used.
Add tests to validate that odp_pool_ext_capability() works according to the
specification when unsupported pool type is used.
| diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index e7b2398de17..521a4eb5a56 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -1856,8 +1856,21 @@ int odp_pool_ext_capability(odp_pool_type_t type, odp_pool_ext_capability_t *cap
{
odp_pool_s... | 2 | 2 | 1 | [{"id": "G0", "claim": "The _ODP_ERR message for an invalid pool type could print the erroneous type value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "It would be safer to memset(0) the whole capability struct for unsupported pool types inst... | null |
OpenDataPlane__odp__1898 | OpenDataPlane/odp | 1,898 | defect | 67f75685e200c5125e9c66195ad9a5d45ce9a65a | da62a8286a17bed5451b9582370650eba6947d8f | [PATCH v8] test: performance: add stash perf test | Add stash perf test case to benchmark stash performance. | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index dfaef699c73..18b7a4230ad 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -26,5 +26,6 @@ odp_sched_latency
odp_sched_perf
odp_sched_pktio
odp_scheduling
+odp_stash_perf
odp_stress
odp_timer_perf
diff --git a/t... | 16 | 16 | 6 | [{"id": "G0", "claim": "The file header should use the project's short SPDX-first copyright format, with the ARM copyright line added, exactly one space before BSD-3-Clause and no commas.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test sho... | null |
OpenDataPlane__odp__1904 | OpenDataPlane/odp | 1,904 | defect | 73297c10e36ce1dff747b0d617d61616e27efd5e | a1b98116e931b284af342605b1e266d3082d1891 | [PATCH v3] test: packet_gen: add don't free packet output option | Modify packet_gen to support don't free. Implement don't free option to linux-gen DPDK pktio to test that application works. | diff --git a/test/performance/odp_packet_gen.c b/test/performance/odp_packet_gen.c
index 85b0c740b13..5f5ad2e9cd4 100644
--- a/test/performance/odp_packet_gen.c
+++ b/test/performance/odp_packet_gen.c
@@ -22,6 +22,8 @@
#include <odp/helper/odph_api.h>
#define MAX_PKTIOS 32
+/* Maximum number of packet length... | 2 | 2 | 0 | [{"id": "G0", "claim": "The commit message contains the typo 'modifing'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G7", "claim": "The file's copyright year (2020-2022) can be updated.", "category": "documentation", "verdict": "supported", "priority": "P3", ... | null |
OpenDataPlane__odp__1906 | OpenDataPlane/odp | 1,906 | defect | 1a2b3352790bec6e533e70bf2ee8bedf6d590ee0 | b05edd24a3259dd6fb87f5d4166789e882b173e1 | [PATCH v4] test: dmafwd: implement DMA poll mode | This patchset implements DMA poll mode support to `odp_dmafwd`.
Additionally, a few improvements related to pool cache and element count configuration are introduced which may improve performance when DMA copy scenarios are used.
v2:
- Matias' comments
v3:
- Refactored stash capability checking
v4:
- Add... | diff --git a/test/performance/odp_dmafwd.c b/test/performance/odp_dmafwd.c
index 20fac979007..e04f5da2a00 100644
--- a/test/performance/odp_dmafwd.c
+++ b/test/performance/odp_dmafwd.c
@@ -45,7 +45,8 @@ enum {
#define MAX_WORKERS (ODP_THREAD_COUNT_MAX - 1)
#define MAX_PKTIO_INDEXES 1024U
-#define MIN(a, b) (((a) <... | 1 | 1 | 0 | [{"id": "G0", "claim": "The usage print could be updated to reflect that `-C` is now the maximum cache size for all test pools (and cache).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1910 | OpenDataPlane/odp | 1,910 | defect | abcdc5e261254eddac149cd45aef2c2a45b59cfe | f82114a92efe5580f90d7ad2139b0b3cba774d37 | [PATCH v6] API: Crypto API additions | api: crypto: clarify packet ordering of async crypto ops
api: crypto: add null_crypto crypto op flag for skipping crypto
api: crypto: allow both basic and out-of-place ops in one session
| diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index 1feb4dba6ac..3110bb4af65 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -296,6 +296,17 @@ int odp_crypto_op(const odp_packet_t pkt_in[],
* All arrays should be of num_pkt size, except that pkt_out param... | 2 | 2 | 0 | [{"id": "G0", "claim": "The crypto API documentation says \"between session\" where it should say \"between sessions\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new odp_crypto_op() documentation misspells \"conceptual\" as \"conceptial... | null |
OpenDataPlane__odp__1926 | OpenDataPlane/odp | 1,926 | defect | e5542043d029835416808e904423ff4805845bbf | 6f57d1e6d1cecb29573214b0a2d11fcf6ea4ad8b | [PATCH v2] test: bench_pktio_sp: add new test for creating pmr rules | Add new test case 'cls_create_pmr', which creates a selected number ('-p') of PMRs.
bench_tm_func_record() saves now also the number of measurements, which makes the usage more flexible. Optional precondition check function 'cond' was added to bench_tm_info_t to enable skipping unsupported tests. | diff --git a/test/performance/bench_common.c b/test/performance/bench_common.c
index 710b5a005b8..5a948c9c76f 100644
--- a/test/performance/bench_common.c
+++ b/test/performance/bench_common.c
@@ -170,6 +170,8 @@ void bench_tm_func_record(odp_time_t t2, odp_time_t t1, bench_tm_result_t *res,
if (odp_time_cmp(diff, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The same `if (cos_created != num_cos)` clause is written twice (once for the error print, once for the goto) and should not be duplicated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since queue/CoS destroys are not re... | null |
OpenDataPlane__odp__1930 | OpenDataPlane/odp | 1,930 | defect | 35c01fe5dcdc4461a38b38b459e6d3b0d3f853fd | 95720c406d658ca2b59dd611cdd9df48ab744014 | [PATCH v2] validation: crypto: reduce duplicate testing in different op modes | Run time consuming algorithm combination tests only once, in async-sched, async-plain or sync mode (in that preference order) instead of in all the three modes, unless FULL_TEST is requested. We assume that the actual crypto implementation being tested is the same in all the three modes so test coverage should not suff... | diff --git a/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c
index d49a8d002eb..2587825ede1 100644
--- a/test/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/validation/api/crypto/odp_crypto_test_inp.c
@@ -1303,6 +1303,11 @@ static void test_combo_variants(odp_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new field and helper could be named for scope (e.g. `partial_test`) instead of speed (`quick_test`), including the new function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__1939 | OpenDataPlane/odp | 1,939 | defect | 14915c20de199e2cda397b157cbba8a86c105d04 | 9646c8234290825855270a1e5ed176f4035e09fd | [PATCH v3] helper: test: harmonize main function signatures | Use ODP_UNUSED for intentionally unused variables of functions. Thereby, harmonizing the main function signatures across multiple files. | diff --git a/example/ipfragreass/odp_ipfragreass.c b/example/ipfragreass/odp_ipfragreass.c
index db5779915a2..55c76d7cc6b 100644
--- a/example/ipfragreass/odp_ipfragreass.c
+++ b/example/ipfragreass/odp_ipfragreass.c
@@ -228,7 +228,7 @@ static int run_worker(void *arg ODP_UNUSED)
/**
* ODP fragmentation and reassemb... | 1 | 1 | 1 | [{"id": "G0", "claim": "platform/linux-generic/dumpconfig/dumpconfig.c uses the newly added main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) signature without including odp_api.h, which is causing the CI failures; since the application doesn't use any ODP APIs, it may be simpler to cast the variables to void instead.... | null |
OpenDataPlane__odp__1949 | OpenDataPlane/odp | 1,949 | defect | bfa73fb940f6ddd7c4176a9d42216afe5623de08 | cdf5efa2865f4910114c7e7b7f648e3bcefa7422 | [PATCH v6] api/helper/linux-gen: remove deprecated items | Remove roughly a year old or older deprecated items.
v2:
- Matias' comments
- Fixed checkpatch issue
- Re-introduced `odp_timer_set_t` typedef
v3:
- Added reviewed-by tags
v4:
- Further cleanup due to removal of `odp_cos_with_l2_priority()` and `odp_cos_with_l3_qos()`
v5:
- Rebased | diff --git a/helper/include/odp/helper/threads.h b/helper/include/odp/helper/threads.h
index 358543c8543..00840cd5d66 100644
--- a/helper/include/odp/helper/threads.h
+++ b/helper/include/odp/helper/threads.h
@@ -21,7 +21,6 @@
extern "C" {
#endif
-#include <odp/helper/deprecated.h>
#include <odp_api.h>
#include... | 4 | 4 | 1 | [{"id": "G0", "claim": "The users guide still mentions odp_cos_with_l2_priority(), which this pull request removes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The odph_odpthreads_create() function is still mentioned in the odph_thread_create()... | null |
OpenDataPlane__odp__1958 | OpenDataPlane/odp | 1,958 | defect | 4549b265e299fca093dbba5be2d108d77735eecf | 2183e7085c11828e9b368f8506b4d41210079485 | [PATCH v6] api: timer: only inactive timers can be freed | Remove possibility to free a timer that is running. When timer free call returns, the timer handle cannot be referenced any more. Expiration and event delivery of an already destroyed timer is an error prone corner case. | diff --git a/example/debug/odp_debug.c b/example/debug/odp_debug.c
index 6683e46b48e..1f31079a9c8 100644
--- a/example/debug/odp_debug.c
+++ b/example/debug/odp_debug.c
@@ -380,6 +380,7 @@ static int timer_debug(void)
uint64_t tick;
uint64_t max_tmo = ODP_TIME_SEC_IN_NS;
uint64_t res = 100 * ODP_TIME_MSEC_IN_... | 4 | 2 | 0 | [{"id": "G0", "claim": "The new odp_timer_free API documentation should say \"periodic timer\" rather than \"period timer\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added sentence \"In normal conditions, the call should always succeed t... | null |
OpenDataPlane__odp__1964 | OpenDataPlane/odp | 1,964 | defect | 28249252309e60bf954f5da06de112c676a313fd | 5b7e4f25b04a01d3c3beaed22069cc90d2cd108b | [PATCH v8] fix issues reported by GCC address sanitizer | Enable address sanitizer and fix bugs found by it. | diff --git a/configure.ac b/configure.ac
index 8459553b447..107a0d8b24d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -233,7 +233,20 @@ if test "x$abi_compat" = "xno" ; then
fi
fi
AM_CONDITIONAL(ODP_ABI_COMPAT, [test "x$ODP_ABI_COMPAT" = "x1"])
-
+##################################################################... | 7 | 7 | 1 | [{"id": "G0", "claim": "The --enable-asan help string could be shortened to e.g. 'enable address sanitizer (-fsanitize=address)' and newlines added before and after the block for consistent style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
OpenDataPlane__odp__1980 | OpenDataPlane/odp | 1,980 | defect | bedae84d86942adbf9b1a5ec7de20c5bdeba117a | 0cb0196907b6686bc0459e4129fefa1f081a292a | [PATCH v6] Speed up testing slightly | Make 'make check' run slightly faster by speeding up various tests and other programs run during 'make check'.
Performance tests and examples are run in 'make check' just to see that they do not crash otherwise directly fail, so there is no use in running them for more than just a brief time. | diff --git a/test/validation/api/pktio/lso.c b/test/validation/api/pktio/lso.c
index 3e033ee8b3f..2f1dd1be638 100644
--- a/test/validation/api/pktio/lso.c
+++ b/test/validation/api/pktio/lso.c
@@ -689,9 +689,9 @@ static void lso_send_custom_eth(const uint8_t *test_packet, uint32_t pkt_len, ui
ODPH_DBG("\n Sent p... | 4 | 3 | 1 | [{"id": "G0", "claim": "For better maintainability, the exact wait time could be dropped from the comment in lso.c.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G7", "claim": "Some of the changed files seem worthy of a year bump in their copyright notice.", ... | null |
OpenDataPlane__odp__2006 | OpenDataPlane/odp | 2,006 | defect | 132cfb7f3d6cdac60ba3a9f7d5fca1d580e8e157 | 6ea3a559550b510ed0a218d68f1b67c9805523b9 | [PATCH v2] build: add -wshadow compiler check | Enables compiler warnings (-Wshadow=local) when a local variable
shadows another local variable or parameter.
For example:
for (int i = 0; i < N; ++i) {
...
for (int i = 0; i < M; ++i) {
...
}
} | diff --git a/platform/linux-generic/include/odp_macros_internal.h b/platform/linux-generic/include/odp_macros_internal.h
index abf017aec74..35bb8592429 100644
--- a/platform/linux-generic/include/odp_macros_internal.h
+++ b/platform/linux-generic/include/odp_macros_internal.h
@@ -26,19 +26,33 @@ extern "C" {
#define... | 2 | 2 | 0 | [{"id": "G0", "claim": "The copyright year in platform/linux-generic/include/odp_macros_internal.h can be updated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested ternary in _ODP_MIN3 could save one comparison in some cases by writing it... | null |
OpenDataPlane__odp__2026 | OpenDataPlane/odp | 2,026 | defect | 564de214ac7f0f7d29aa319e060c24215b7df9a5 | 328a611dc1b09fd2c8a1f9179d2d88a1692c94a5 | [PATCH v3] test: miscellaneous: add dynamic worker tester | `odp_dyn_workers` is a simple dynamic worker tester and can be used to verify ability of an implementation to dynamically add and remove workers from one ODP application to another. Acts as a frontend and forks ODP applications based on configuration.
v2:
- Rebased
- Removed accidental sleeping in workers
- Added... | diff --git a/test/miscellaneous/.gitignore b/test/miscellaneous/.gitignore
index 6069e336d0a..74fb9b3ca35 100644
--- a/test/miscellaneous/.gitignore
+++ b/test/miscellaneous/.gitignore
@@ -1,3 +1,4 @@
+odp_dyn_workers
odp_api_from_cpp
odp_api_headers
*.trs
diff --git a/test/miscellaneous/Makefile.am b/test/miscellan... | 4 | 3 | 1 | [{"id": "G0", "claim": "The worker loop could busy-loop, or offer an option to enable/disable busy looping, instead of sleeping, to make monitoring worker CPU assignments easier (e.g. with top).", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For an ... | null |
OpenDataPlane__odp__2031 | OpenDataPlane/odp | 2,031 | defect | fc30c3e11f9d719df43973554d26143c453d1e71 | 9286e74474529237887b0d62d69bb5cf33fa5686 | [PATCH v4] test: dyn_workers: add CI integration | Add new option to execute tester in non-interactive mode. A pattern of additions, removals and delays can be passed to the tester which then executes the commands sequentially. New test script utilizing the new mode is added to be run as part of `make check`.
Additionally, existing logic is refactored slightly to du... | diff --git a/test/miscellaneous/.gitignore b/test/miscellaneous/.gitignore
index 6069e336d0a..74fb9b3ca35 100644
--- a/test/miscellaneous/.gitignore
+++ b/test/miscellaneous/.gitignore
@@ -1,3 +1,4 @@
+odp_dyn_workers
odp_api_from_cpp
odp_api_headers
*.trs
diff --git a/test/miscellaneous/Makefile.am b/test/miscellan... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new file's copyright header should use the project's format: `# SPDX-License-Identifier: BSD-3-Clause` / `# Copyright (c) 2024 Nokia` / `#`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__2050 | OpenDataPlane/odp | 2,050 | defect | 8204a056762d5ef4736974cd7797d6f5a09bfa20 | 2db2483d5dc5db1358791de6d56176d39db42de4 | [PATCH v6] helper: threads: add new join function | Add new join function which is similar to the existing `odph_thread_join()` but optionally outputs results of joined threads and interrupts only if the actual join operation fails for some thread.
v3:
- Rebased
- Switched to utilize new `odph_thread_join_res()` in cases where result of the join operation was check... | diff --git a/helper/include/odp/helper/threads.h b/helper/include/odp/helper/threads.h
index c18a46e8a27..cb910d9d096 100644
--- a/helper/include/odp/helper/threads.h
+++ b/helper/include/odp/helper/threads.h
@@ -191,6 +191,33 @@ typedef struct {
} odph_thread_common_param_t;
+/** Thread join result type */
+typed... | 12 | 10 | 5 | [{"id": "G0", "claim": "The new result type should be named `odph_thread_join_result_t` for consistency with the other `*_result_t` API types.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment 'Thread join result type' should drop t... | null |
OpenDataPlane__odp__2056 | OpenDataPlane/odp | 2,056 | defect | bc854b8eab342247da1f927a870f68a3774a10d5 | fd26d09aa58a4cc864d15fd99fb1a8f000b65b49 | [PATCH v4] API: add new crypto algorithms | Add new crypto algorithms in the API. This PR does not add real validation tests for the algorithms but just makes the validation test aware of the new algorithms. | diff --git a/include/odp/api/spec/crypto_types.h b/include/odp/api/spec/crypto_types.h
index 579022762a8..3ed4ea0efcc 100644
--- a/include/odp/api/spec/crypto_types.h
+++ b/include/odp/api/spec/crypto_types.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2014-2018 Linaro Limited
- * Copyri... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the SM4-GMAC documentation the cipher algorithm is misspelled as \"ODP_CIPHER_ALG NULL\" instead of \"ODP_CIPHER_ALG_NULL\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OpenDataPlane__odp__2060 | OpenDataPlane/odp | 2,060 | defect | 2e3d6572b1c9e20363fd85f5c8ee0dc80c1b05a9 | 23c8b384c61d9b97b96cf4ba81f15667c12ae535 | [PATCH v8] api: cpu: instruction cache prefetch | v6: rebase, add icache prefetch options to icache_perf test to demonstrate usage of the new API
v7: rebase, add review tag
v8: rebase, add review tag | diff --git a/include/odp/api/spec/cpu.h b/include/odp/api/spec/cpu.h
index 63f313ef3f3..2ab0dbda276 100644
--- a/include/odp/api/spec/cpu.h
+++ b/include/odp/api/spec/cpu.h
@@ -269,6 +269,15 @@ void odp_prefetch_strm_l1(const void *addr);
*/
void odp_prefetch_store_strm_l1(const void *addr);
+/**
+ * Prefetch into... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new documentation could say 'code' instead of 'application code' in the prefetch hint.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @param doc line should use two whitespaces instead of three for consistency.", "c... | null |
OpenDataPlane__odp__2062 | OpenDataPlane/odp | 2,062 | defect | e7d08b520c6e62dae9fb824a6cded13d75890e8e | cfe103e2b98578b21a315d1b94cd9419ca057392 | [PATCH v3] linux-gen: cls: implement odp_cls_hash_result() | Implement `odp_cls_hash_result()` function utilizing the existing hashing machinery used in packet classification.
v2:
- Matias' comments
v3:
- Added reviewed-by tags | diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c
index 83a676ce51c..a16e54bb628 100644
--- a/platform/linux-generic/odp_classification.c
+++ b/platform/linux-generic/odp_classification.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 201... | 2 | 2 | 0 | [{"id": "G0", "claim": "odp_cls_hash_result() should use the accessor functions packet_first_seg_len() and packet_len() instead of hdr->seg_len and hdr->frame_len, since the file is also used by odp-dpdk.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
OpenDataPlane__odp__2094 | OpenDataPlane/odp | 2,094 | defect | c8b1bdc3fef24922cff5c14e28c2b6d345284bbe | c6638619b79ecf866091631998ef9c6ea280edde | [PATCH v7] api: ml: add 16-bit integer type conversion APIs | Added APIs to support quantization of int16_t and uint16_t data types. Added implementation for linux-generic platform and API validation test cases.
odp_ml_fp32_to_uint16
odp_ml_fp32_from_uint16
odp_ml_fp32_to_int16
odp_ml_fp32_from_int16 | diff --git a/include/odp/api/spec/ml_quantize.h b/include/odp/api/spec/ml_quantize.h
index 25565ef27ae..75d196460af 100644
--- a/include/odp/api/spec/ml_quantize.h
+++ b/include/odp/api/spec/ml_quantize.h
@@ -90,6 +90,74 @@ void odp_ml_fp32_to_int8(int8_t *dst_i8, const float *src_fp32, uint32_t num, fl
void odp_ml_fp... | 6 | 6 | 0 | [{"id": "G0", "claim": "Marvell's copyright line can be added to all the files this pull request modifies.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In platform/linux-generic/odp_ml_quantize.c the return value type should be kept on the same ... | null |
OpenDataPlane__odp__2099 | OpenDataPlane/odp | 2,099 | defect | d926872828761996ecf9628f39b1bae7bc07b644 | 74b07787af965b5ef363c9a586d0b665b16c6c75 | [PATCH v9] api: atomic: add atomic bit set and clear functions | Add functions to atomically set and clear bits in 32-bit and 64-bit variables.
v2:
- Comments addressed
v3:
- Comments addressed
v4:
- Added reviewed-by tags
v6:
- Comments addressed
v8:
- Rebased | diff --git a/include/odp/api/spec/atomic.h b/include/odp/api/spec/atomic.h
index 3a098ead17b..75d929bc85c 100644
--- a/include/odp/api/spec/atomic.h
+++ b/include/odp/api/spec/atomic.h
@@ -218,6 +218,42 @@ int odp_atomic_cas_u32(odp_atomic_u32_t *atom, uint32_t *old_val, uint32_t new_v
*/
uint32_t odp_atomic_xchg_u3... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new u64 atomic bit set/clear helpers should be implemented with the ATOMIC_OP macro like the adjacent functions, because the load-then-cas implementation expands to two or more spinlocked sections instead of taking the spinlock once.", "category": "performance", "verdict": "supported", "prio... | null |
OpenDataPlane__odp__2117 | OpenDataPlane/odp | 2,117 | defect | 1979ccd5dfb7cc51573851a0b9e141b3d02ad62e | b89806dbee1953e256d756bb36368b3aac041bc1 | [PATCH v10] api: add custom LSO operation for setting flag bits | - add ODP_LSO_WRITE_BITS operation
- add ODP_LSO_ADD_SHIFTED_PAYLOAD_OFFSET operation
| diff --git a/include/odp/api/spec/packet_io_types.h b/include/odp/api/spec/packet_io_types.h
index 9e56e087aa3..9f50883b937 100644
--- a/include/odp/api/spec/packet_io_types.h
+++ b/include/odp/api/spec/packet_io_types.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2018 Linaro Limite... | 2 | 2 | 0 | [{"id": "G0", "claim": "The API text of the proposed add-shifted-offset operation mis-describes the shift semantics: the shift is applied to the cumulative payload offset, so the segmentation guarantee should say that segment boundaries are at payload offsets divisible by 1<<shift.", "category": "documentation", "verdi... | null |
OpenDataPlane__odp__2137 | OpenDataPlane/odp | 2,137 | defect | 31cbc844da8852d17a0ceee86f999f788c7dbf9c | 59627669e0c56bd4356790a850b7756bb916e4fa | [PATCH v3] validation: cls: use correct L4 proto for the PMR used | The test code goes through the trouble of checking classification capabilities when deciding whether to use UDP or TCP port matching rules in tests but then always uses UDP test packets anyway. Tests are thus broken is only TCP port matching is supported despite all the capability checking.
Fix the problem by select... | diff --git a/test/validation/api/classification/odp_classification_common.c b/test/validation/api/classification/odp_classification_common.c
index b767a758207..7bededb5e0b 100644
--- a/test/validation/api/classification/odp_classification_common.c
+++ b/test/validation/api/classification/odp_classification_common.c
@@ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The commit message contains a typo: \"Tests are thus broken _is_ only\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If odp_cls_capability() fails in find_first_supported_proto(), the conditions below test potentially un... | null |
OpenDataPlane__odp__2141 | OpenDataPlane/odp | 2,141 | defect | e783afe547fd6b75ffba83a94e378fbe1794c2fd | 9ab8e921498fa475401244722173fe32afbbb431 | [PATCH v7] api: pktio: lso: improve the specification of IPv4 and TCP LSO | Change the DF flag handling in TCP segmentation offload and improve the description in general:
- Specify that the DF flag of the IP header is to be preserved as it was in the original packet and not cleared as the current spec says.
- Specify that TCP segmentation should be done in a way that complies with the T... | diff --git a/include/odp/api/spec/packet_io_types.h b/include/odp/api/spec/packet_io_types.h
index 9e56e087aa3..5c67b1cf56c 100644
--- a/include/odp/api/spec/packet_io_types.h
+++ b/include/odp/api/spec/packet_io_types.h
@@ -794,22 +794,99 @@ typedef enum odp_lso_protocol_t {
/** LSO performs IPv4 fragmentation.
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Since the spec forbids attempting LSO on IP fragments, the TCP_IPV4 text could refer to the DF flag rather than \"non-atomic IPv4 datagrams\" when stating that unique IPv4 identification field values are generated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope":... | null |
OpenDataPlane__odp__2166 | OpenDataPlane/odp | 2,166 | defect | 6c3ff3558708f248e574fafd6d3eab40b48c4595 | f4f166c0f0e3f395a7070b3658d38e24fac40898 | [PATCH v6] test: performance: add timer stress test | `odp_timer_stress` is a tool for benchmarking timer related handling performance in different scenarios. Tester currently supports modes for single-shot (with and without cancelling) and periodic timers.
Both single-shot and periodic timers are configured based on the passed 'resolution' parameter so that both shoul... | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index 879a32d19b4..7929ad9b81e 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -34,3 +34,4 @@ odp_stash_perf
odp_stress
odp_timer_accuracy
odp_timer_perf
+odp_timer_stress
diff --git a/test/performance/Makefile.am b/... | 7 | 6 | 2 | [{"id": "G0", "claim": "The file's copyright header can now be updated from 2024 to 2025.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `long_index` variable is not required.", "category": "maintainability", "verdict": "supported", "priority"... | null |
OpenDataPlane__odp__2169 | OpenDataPlane/odp | 2,169 | defect | 6c3ff3558708f248e574fafd6d3eab40b48c4595 | e35f10660e382a168d1d1f7925d5a313940e0adf | [PATCH v2] test: stress: add timer mode option | Fixes timer bug and adds new option into stress test. The option is used to select between shared and worker thread private timer pools. | diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index f850499658e..fbaa9ee8eca 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -354,7 +354,7 @@ static void odp_timer_pool_del(timer_pool_t *tp)
odp_spinlock_lock(&tp->lock);
- if (!odp... | 3 | 3 | 1 | [{"id": "G0", "claim": "The help text for timer mode 1 should read \"Private timer pool(s) with...\" instead of \"Private timer pool with relative timers\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In shared group mode a timeout event may st... | null |
OpenDataPlane__odp__2178 | OpenDataPlane/odp | 2,178 | defect | c0cc3a6dfdfbd3d0a9dbc5c695b8a1689737cd8b | 4e1e1b6c4f12825c3c63212efcb978f249c1f8b7 | [PATCH v7] helper: macros: add new utility macros | Add two new utility macros:
- `ODPH_ROUNDUP_DIV()` for dividing two numbers rounded up to the
closest integer
- `ODPH_ROUNDUP_ALIGN()` for rounding up a value to a given alignment
v2:
- Matias' comments
v4:
- Rebased
- Macro test improvement
v5:
- Added reviewed-by tags
v6:
- Rebased
- Ad... | diff --git a/helper/include/odp/helper/macros.h b/helper/include/odp/helper/macros.h
index 1623f17e7c7..caaf20f82e3 100644
--- a/helper/include/odp/helper/macros.h
+++ b/helper/include/odp/helper/macros.h
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(C) 2023 Nokia
+ * Copyright(C) 2023-2025 No... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new division macro should be named ODPH_DIV_ROUNDUP() instead of ODPH_ROUNDUP_DIV(), with its arguments named dividend and divisor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The round-up-to-alignment macro could be named ... | null |
OpenDataPlane__odp__2192 | OpenDataPlane/odp | 2,192 | defect | c0f199a0852cbb5733e95219a1e5e4ad6d606c5c | c40e859a9e0d7e33d5d48c4784777d01cc75a64b | [PATCH v5] api: timer: add timer pool priority | Add new timer pool parameter odp_timer_pool_param_t.priority and related capabilities.
V2:
- Note that lower priority timers may get delayed due to higher priority timer processing
V3:
- Fixed Petri's comments
- Added validation tests
- Added parameter check in the implementation
V4:
- Added reviewed/acke... | diff --git a/include/odp/api/spec/timer_types.h b/include/odp/api/spec/timer_types.h
index 666e77b1008..fd5a82c6d29 100644
--- a/include/odp/api/spec/timer_types.h
+++ b/include/odp/api/spec/timer_types.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2018 Linaro Limited
- * Copyright ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The field documentation heading should read \"Timer pool priority\" instead of \"Pool priority\" to avoid terminology mix-up with timeout pools.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sentence \"than timers from... | null |
OpenDataPlane__odp__2196 | OpenDataPlane/odp | 2,196 | defect | c0f199a0852cbb5733e95219a1e5e4ad6d606c5c | 27eff16bbbc871bce45ced508066a2f38d426a90 | [PATCH v7] api: add event aggregator enqueue profile to CLS and a new queue enqueuing function | This is based on PR 2187 even though the code is not included here.
This PR adds a new queue enqueuing function that can be used for passing start-of-vector and end-of-vector hints to an event aggregator (if the queue is, in fact, an event aggregator). This PR also adds a new classifier CoS parameter to select aggre... | diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h
index 2186c0bffe5..95bba6ebc7f 100644
--- a/include/odp/api/spec/classification.h
+++ b/include/odp/api/spec/classification.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2014-2018 Linaro Limited
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The odp_cls_aggr_capability_t field documentation should mention the corresponding profile types (e.g. ODP_AEP_TYPE_IPV4_FRAG) so readers can find the feature's documentation in the other file, without using @see.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ... | null |
OpenDataPlane__odp__2198 | OpenDataPlane/odp | 2,198 | defect | 2b3951fda03746432518a99ff8f7e8d4bf1ab130 | fd661d6f9df1f447c8e40800c9c8db1ec902c0df | [PATCH v6] api: ml: add quantization parameters to input and output info | Add quantization parameters to input and output info. Implementation may optionally provide these parameters, if they are available for a given model.
Continues #2182.
v2:
- Petri's comments
- Added reviewed-by tag
v3:
- Added platform validation testing
v4:
- Added reviewed-by tag
v5:
- Added revie... | diff --git a/include/odp/api/spec/ml_types.h b/include/odp/api/spec/ml_types.h
index c91b4903661..d45b0818302 100644
--- a/include/odp/api/spec/ml_types.h
+++ b/include/odp/api/spec/ml_types.h
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2021-2023 Nokia
+ * Copyright (c) 2021-2025 Nokia
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment on odp_ml_quant_info_t.common should be reworded from \"Quantization parameters common to all input / output data\" to \"Quantization parameters common to all data values of an input / output\" to make clear the parameters are common to all data values of one input (output), not ... | null |
OpenDataPlane__odp__2208 | OpenDataPlane/odp | 2,208 | defect | 63af38423de9a5124d3e4455c85a64c67cc0bf33 | 3f77936b1f3e9b67cb8af57965497bd3020f7867 | [PATCH v11] api: sched: enable additional global and group level configurability | Application can now add additional global and group level scheduler configuration to signal maximum number of groups and priorities that need to be supported. These enable potential further resource optimizations.
Previous version with less granular configurability in #2189.
v4:
- Rebased
- Added implementation... | diff --git a/include/odp/api/spec/schedule.h b/include/odp/api/spec/schedule.h
index a44af6c1446..0ef57ebed5d 100644
--- a/include/odp/api/spec/schedule.h
+++ b/include/odp/api/spec/schedule.h
@@ -223,10 +223,14 @@ void odp_schedule_prefetch(int num);
/**
* Maximum scheduling priority level
*
- * This is the maxim... | 4 | 4 | 0 | [{"id": "G0", "claim": "The API text does not explain what the group specific default priority is or what significance it has in the API, so API documentation improvement is needed somewhere.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ODP_... | null |
OpenDataPlane__odp__2216 | OpenDataPlane/odp | 2,216 | defect | d6f3fda3c58322fcda78023ab734bbe79e258076 | bf9315f85c7d0c766be56c2db2ae0bff02266b9d | [PATCH v4] test: common: normalize export result headers | Some applications export results with headers in form "Function name", and others in form "function name".
To normalize the format of exports, all headers should begin with a lower case letter. Lower case letters should be preferred for the entire header, but measurement units can be left capitalized when appropriate.... | diff --git a/test/performance/odp_bench_buffer.c b/test/performance/odp_bench_buffer.c
index 0952a20857f..31eb5bb9405 100644
--- a/test/performance/odp_bench_buffer.c
+++ b/test/performance/odp_bench_buffer.c
@@ -681,8 +681,8 @@ static int bench_buffer_export(void *data)
int ret = 0;
if (test_common_write("%s", g... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test_common_write() documentation and its included example should also be updated to reflect this change to lower-case export header style.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__2217 | OpenDataPlane/odp | 2,217 | defect | 88dbb4015c3c613213b8bbaef8c738dbdbb50cb7 | 1fa8181528329311226839116fa49d52e5d4cc5b | [PATCH v7] api: event: add event type metadata to event vectors | Change odp_event_vector_type() to not return the type of events actually stored in the event vector but the event type stored in event vector metadata and add odp_event_vector_type_set() to set the event type. Specify that event aggregators set the event type according to the event types they put in the event vector an... | diff --git a/include/odp/api/spec/event_vector.h b/include/odp/api/spec/event_vector.h
index 80c60b6e6f1..d01da7cc261 100644
--- a/include/odp/api/spec/event_vector.h
+++ b/include/odp/api/spec/event_vector.h
@@ -88,7 +88,10 @@ void odp_event_vector_free(odp_event_vector_t evv);
* The event_tbl points to the event ve... | 2 | 1 | 0 | [{"id": "G0", "claim": "The event vector type field should also be initialized in init_event_hdr() at pool initialization instead of relying on ODP_EVENT_ANY happening to be zero.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "odp_event_vector.c sho... | null |
OpenDataPlane__odp__2220 | OpenDataPlane/odp | 2,220 | defect | 88dbb4015c3c613213b8bbaef8c738dbdbb50cb7 | c47292b660b306b2371c6eae44176395f7038f91 | [PATCH v3] validation: cls: misc minor improvements | Reduce code duplication, add missing default value checks and speed up the test. | diff --git a/test/validation/api/classification/odp_classification_basic.c b/test/validation/api/classification/odp_classification_basic.c
index 50ca5d1d88b..dcebebcd2b1 100644
--- a/test/validation/api/classification/odp_classification_basic.c
+++ b/test/validation/api/classification/odp_classification_basic.c
@@ -14,... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new helper `enqueue_pkt()` should be named e.g. `send_packet()` since it uses direct output queues.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The shortened 0.1 s receive timeout deviates from the 1 s timeout comm... | null |
OpenDataPlane__odp__2234 | OpenDataPlane/odp | 2,234 | defect | caa5bdbd1204eb0cf6ae1acadc39604d6a132b20 | 74f5e552206e4f3c625c91738d4ef4317dd536e1 | [PATCH v2] Speed up tests | Speed up test run by shortening or removing several wait times. | diff --git a/platform/linux-generic/test/validation/api/pktio/pktio_run_tap.sh b/platform/linux-generic/test/validation/api/pktio/pktio_run_tap.sh
index 0fd08134e59..0f58c1a20cf 100755
--- a/platform/linux-generic/test/validation/api/pktio/pktio_run_tap.sh
+++ b/platform/linux-generic/test/validation/api/pktio/pktio_ru... | 2 | 1 | 0 | [{"id": "G0", "claim": "The commit touching pktio_run_tap.sh should have its commit subject line reordered to the `linux-gen: test: ...` form.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The l2fwd, l2fwd_perf and sched_pktio test applications... | null |
OpenDataPlane__odp__2237 | OpenDataPlane/odp | 2,237 | defect | b6a0fe39afb8796ade2f69a5189b765c1e626373 | 8ca460f0ab47076146932450d0a927f1dd137060 | [PATCH v9] test: add configurable wait time for pktio links to become active | Adds wait time options to test applications, allowing tests to wait for network interfaces to establish links before proceeding with testing.
Changes include:
- Create a common header file "test_common_perf.h" for perf helpers and include functions for link wait and link info print
- Replace the link wait in odp_p... | diff --git a/test/performance/odp_sched_pktio.c b/test/performance/odp_sched_pktio.c
index 035571b4fb8..3975dece1f7 100644
--- a/test/performance/odp_sched_pktio.c
+++ b/test/performance/odp_sched_pktio.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2018 Linaro Limited
+ * Copyright (c) 2... | 5 | 5 | 1 | [{"id": "G0", "claim": "The new wait option should be exposed only as a long option (no short opt) and the option should be named --wait_link, with a #define/enum value above 255 and a switch case for it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "st... | null |
OpenDataPlane__odp__2238 | OpenDataPlane/odp | 2,238 | defect | e878f19d1bc21726435ad5164b43c364c11e7952 | 5ed8fb1d40348bdbdc84391202d7c988c7107545 | [PATCH v5] api: ml: add support for engine id | In devices with multiple ML engines, support should be enabled to get the number of engines supported by device and options to select the engine ID to be used while configuring and loading a model. This patch adds new API to get the number of engines supported by the platform.
Added new API odp_ml_engine_capability ... | diff --git a/example/sysinfo/odp_sysinfo.c b/example/sysinfo/odp_sysinfo.c
index f3c8c1ec21b..3a264d004eb 100644
--- a/example/sysinfo/odp_sysinfo.c
+++ b/example/sysinfo/odp_sysinfo.c
@@ -874,7 +874,7 @@ int main(int argc, char **argv)
odp_ipsec_capability_t ipsec_capa;
odp_schedule_capability_t schedule_capa;
o... | 6 | 6 | 3 | [{"id": "G0", "claim": "The odp_ml_capability() documentation misspells the new function as `odp_ml_eng_capability()`; it should read `odp_ml_engine_capability()`.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The odp_ml_model_param_t.engine_id d... | null |
OpenDataPlane__odp__2253 | OpenDataPlane/odp | 2,253 | defect | 56e7abd1513e624fa5c569bb932136acbfbb7c0d | b7da8036c6e314885600964059150170b73cbcd1 | [PATCH v3] validation: sched: add test for scheduling group functionality | Add new validation test for verifying scheduling group functionality.
- Each worker has its own private schedule group and scheduled queue.
- Source queue of scheduled events is verified to be from the workers' private schedule group.
Minor changes to odp_cunit_common.h
- Correct comment regarding odp_cunit_th... | diff --git a/test/common/odp_cunit_common.h b/test/common/odp_cunit_common.h
index 8a5053589ed..1eca552c936 100644
--- a/test/common/odp_cunit_common.h
+++ b/test/common/odp_cunit_common.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2014-2018 Linaro Limited
- * Copyright (c) 2020-2022 No... | 7 | 7 | 2 | [{"id": "G0", "claim": "The test should use the already existing file-scope `globals` variable directly instead of looking it up through shm and shuttling it in a `thread_args_t`, which is unnecessary for this test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
OpenDataPlane__odp__2254 | OpenDataPlane/odp | 2,254 | defect | a2b500854c8bf90b37ee71709f95c0e2bd2b2ce0 | 3296a9551a09a8ea95828b27d3459782242c8ac9 | [PATCH v3] test: bench_buffer: add new mode option | Add new option to control measurement mode. Two modes are provided, one for throughput and one for latency. Throughput mode keeps track of average execution times and is basically the current operation mode of the tester. Latency mode utilizes the bench tm suite and additionally tracks function minimum and maximum exec... | diff --git a/test/common/bench_common.c b/test/common/bench_common.c
index 1ba365e6274..5d89a2c7542 100644
--- a/test/common/bench_common.c
+++ b/test/common/bench_common.c
@@ -22,7 +22,7 @@ void bench_suite_init(bench_suite_t *suite)
odp_atomic_init_u32(&suite->exit_worker, 0);
}
-void bench_run_indef(bench_info_... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new bench_tm_stamp_t struct, which only wraps an anonymous union of odp_time_t and uint64_t, could be simply a union.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copyright header of test/common/bench_common.h can be upd... | null |
OpenDataPlane__odp__2260 | OpenDataPlane/odp | 2,260 | defect | f79aa0a90983a9272332c2aa3aa3a0c6b0d8999a | 2073b5f3cab1e52852d8b471b13ccf2c81ebe7d0 | [PATCH v3] test: performance: add new queue microbenchmark | Add new `odp_bench_queue` microbenchmark for testing out execution times of queue and related functions.
v2:
- Rebased
- Matias' comments
v3:
- Rebased
- Added reviewed-by tag | diff --git a/test/performance/.gitignore b/test/performance/.gitignore
index 9838d887685..57da15561e7 100644
--- a/test/performance/.gitignore
+++ b/test/performance/.gitignore
@@ -7,6 +7,7 @@ odp_bench_event_vector
odp_bench_misc
odp_bench_packet
odp_bench_pktio_sp
+odp_bench_queue
odp_bench_timer
odp_cpu_bench
... | 7 | 5 | 3 | [{"id": "G0", "claim": "The cache size option is quite unnecessary for this application and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Enqueue should never fail; test functions could sum odp_queue_enq() return values and use that a... | null |
OpenDataPlane__odp__2262 | OpenDataPlane/odp | 2,262 | defect | f79aa0a90983a9272332c2aa3aa3a0c6b0d8999a | 0269b478920c465b3930ed75d68e63ff8576ae7f | [PATCH v3] api: barrier: clarify thread barrier reuse | Explicitly state that a memory barrier can be reused without initializing it again.
Make it clear that no more than N threads may be inside odp_barrier_wait() for a barrier of N threads. Without this requirement, an application could e.g. wait a barrier in thread 1 and thread 2, and, when thread 2 returns from the b... | diff --git a/include/odp/api/spec/barrier.h b/include/odp/api/spec/barrier.h
index e83d46c350d..9a97d594df8 100644
--- a/include/odp/api/spec/barrier.h
+++ b/include/odp/api/spec/barrier.h
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2018 Linaro Limited
+ * Copyright (c) 2025 Nokia
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The typos in the newly added barrier.h documentation (\"simultaenously\", \"initiazed\") should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A blank line should be added to separate the one-line description ... | null |
OpenDataPlane__odp__2264 | OpenDataPlane/odp | 2,264 | defect | f79aa0a90983a9272332c2aa3aa3a0c6b0d8999a | f7617d6f94e02013fd30b488adf007ff85cff03b | [PATCH v2] Fix odp_packet_trunc_tail() with more than 2 segments | Fix odp_packet_trunc_tail() to set packet tailroom after trucation to the tailroom of the last remaining segment, not the first one.
Add one validation test case for this specific case.
| diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c
index 114d1172e90..d03c643a130 100644
--- a/platform/linux-generic/odp_packet.c
+++ b/platform/linux-generic/odp_packet.c
@@ -584,7 +584,7 @@ static inline odp_packet_hdr_t *free_segments(odp_packet_hdr_t *pkt_hdr,
pkt_hdr->seg_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commit message contains the typo 'more that' where it should say 'more than'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OpenDataPlane__odp__2273 | OpenDataPlane/odp | 2,273 | defect | 1ec7d3f03d5fd87df9cb3a0354ac68bdee3623e5 | 8b1a2221bdadc435b6cd3c9b3599d3f25caf844c | [PATCH v4] Fix packet references in loop and dpdk pktios and improve testing | Fix sending of packet references in loop pktio and in dpdk pktio with zero copy enabled. Improve also testing of pktios with packets that have references.
| diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c
index 35447a4c9a6..fbc4c3aff23 100644
--- a/platform/linux-generic/pktio/dpdk.c
+++ b/platform/linux-generic/pktio/dpdk.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016-2018 Linaro Limited
- * Copyri... | 5 | 2 | 0 | [{"id": "G0", "claim": "The hidden copy of referenced packets in loopback_send() may mess with pool dimensioning; alternatively the copy could use the currently unused packet I/O pool.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "send_packets() and send_... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.