aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_cpu_bench.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2024-06-05 13:51:39 +0300
committerGitHub <noreply@github.com>2024-06-05 13:51:39 +0300
commit616034b9c9c789923f7ebe7f1c6d014c4ce8a5d2 (patch)
treedd1b579c93404d2d98b78944bbdf8313ec499bee /test/performance/odp_cpu_bench.c
parent8063101c4fac56e16c5a2bb9843f2fd9c5acbfd7 (diff)
parent87913e636da621d47a8d3bc91fbe131abc09c294 (diff)
Merge ODP linux-generic v1.45.0.0 into linux-dpdk.
Diffstat (limited to 'test/performance/odp_cpu_bench.c')
-rw-r--r--test/performance/odp_cpu_bench.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/performance/odp_cpu_bench.c b/test/performance/odp_cpu_bench.c
index 39eff620d..674015d8a 100644
--- a/test/performance/odp_cpu_bench.c
+++ b/test/performance/odp_cpu_bench.c
@@ -1,7 +1,5 @@
-/* Copyright (c) 2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2018 Linaro Limited
*/
/**
@@ -192,7 +190,7 @@ static void sig_handler(int signo ODP_UNUSED)
static inline void init_packet(odp_packet_t pkt, uint32_t seq, uint16_t group)
{
- uint32_t *payload;
+ odp_una_u32_t *payload;
test_hdr_t *hdr;
odp_packet_parse_param_t param;
@@ -224,7 +222,7 @@ static inline odp_queue_t work_on_event(odp_event_t event)
odph_udphdr_t *udp_hdr;
test_hdr_t *hdr;
lookup_entry_t *lookup_entry;
- uint32_t *payload;
+ odp_una_u32_t *payload;
uint32_t crc;
uint32_t pkt_len;
uint8_t *data;