diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-12-22 12:31:26 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-01-15 08:18:37 +0200 |
commit | e12448b636378b0a517aa73e2c04c3c5ec0f6901 (patch) | |
tree | ad0ba02811625d3da6e9b5754348071ad77bbc6a /platform/linux-dpdk/include | |
parent | 3bb2c8e0e7e1a5ef7f7677648d504a1c976dfef5 (diff) |
Port 1a437e6a0 "linux-gen: pktio: support transmitting packet vectors using odp_queue_enq()"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/include')
-rw-r--r-- | platform/linux-dpdk/include/odp_packet_io_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_packet_io_internal.h b/platform/linux-dpdk/include/odp_packet_io_internal.h index 5c7a26b43..a8fc81f21 100644 --- a/platform/linux-dpdk/include/odp_packet_io_internal.h +++ b/platform/linux-dpdk/include/odp_packet_io_internal.h @@ -85,6 +85,7 @@ struct pktio_entry { /* Statistics counters used outside drivers */ struct { odp_atomic_u64_t in_discards; + odp_atomic_u64_t out_discards; } stats_extra; /* Latest Tx timestamp */ odp_atomic_u64_t tx_ts; |