diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-07-08 09:07:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 09:07:13 +0300 |
commit | 6c7ac017886e2f1f63a27871254326d7cd1b48d1 (patch) | |
tree | a89fd543bacd9483642ebc27517ff59577ba55ad /platform/linux-generic/odp_queue_basic.c | |
parent | 3a7a24023021f5959dd2f00fe83cf2635bf25c2d (diff) | |
parent | 75b2e7ed219c2f087b7068c4e8b708d475c9026a (diff) |
Merge ODP v1.30.0.0v1.30.0.0_DPDK_19.11
Merge ODP linux-generic v1.30.0.0 into ODP-DPDK.
Diffstat (limited to 'platform/linux-generic/odp_queue_basic.c')
-rw-r--r-- | platform/linux-generic/odp_queue_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_queue_basic.c b/platform/linux-generic/odp_queue_basic.c index 8dc10467a..428022ec8 100644 --- a/platform/linux-generic/odp_queue_basic.c +++ b/platform/linux-generic/odp_queue_basic.c @@ -180,7 +180,7 @@ static int queue_init_global(void) queue_capa(&capa, 0); ODP_DBG("... done.\n"); - ODP_DBG(" queue_entry_t size %u\n", sizeof(queue_entry_t)); + ODP_DBG(" queue_entry_t size %zu\n", sizeof(queue_entry_t)); ODP_DBG(" max num queues %u\n", capa.max_queues); ODP_DBG(" max queue size %u\n", capa.plain.max_size); ODP_DBG(" max num lockfree %u\n", capa.plain.lockfree.max_num); @@ -740,7 +740,7 @@ static void queue_print(odp_queue_t handle) if (!odp_pktio_info(queue->s.pktout.pktio, &pktio_info)) ODP_PRINT(" pktout %s\n", pktio_info.name); } - ODP_PRINT(" timers %" PRIu32 "\n", + ODP_PRINT(" timers %" PRIu64 "\n", odp_atomic_load_u64(&queue->s.num_timers)); ODP_PRINT(" status %s\n", queue->s.status == QUEUE_STATUS_READY ? "ready" : |