diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-06-28 13:39:03 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-08-08 09:54:40 +0300 |
commit | 0fdb4448957a28ed8dc79c84125536aeb3b28d34 (patch) | |
tree | 896d6074974572a21eb26acaac9dede5fa28c929 /platform/linux-dpdk | |
parent | 76b0ae0d175e261e64c4be0972c3c19846e46b08 (diff) |
Port 5db00aaa7 "linux-gen: packet: dummy implementation of TX completion poll"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'platform/linux-dpdk')
-rw-r--r-- | platform/linux-dpdk/odp_packet.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/linux-dpdk/odp_packet.c b/platform/linux-dpdk/odp_packet.c index 3a084e3b1..d802a4303 100644 --- a/platform/linux-dpdk/odp_packet.c +++ b/platform/linux-dpdk/odp_packet.c @@ -1801,6 +1801,14 @@ void *odp_packet_tx_compl_user_ptr(odp_packet_tx_compl_t tx_compl) return (void *)(uintptr_t)data->user_ptr; } +int odp_packet_tx_compl_done(odp_pktio_t pktio, uint32_t compl_id) +{ + (void)pktio; + (void)compl_id; + + return -1; +} + odp_packet_reass_status_t odp_packet_reass_status(odp_packet_t pkt) { (void)pkt; |