diff options
Diffstat (limited to 'platform/linux-generic/include/odp_packet_io_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_packet_io_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 6b03051..60aca1c 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -19,6 +19,7 @@ extern "C" { #endif #include <odp/spinlock.h> +#include <odp/ticketlock.h> #include <odp_packet_socket.h> #include <odp_classification_datamodel.h> #include <odp_align_internal.h> @@ -38,7 +39,7 @@ typedef struct { struct pktio_entry { const struct pktio_if_ops *ops; /**< Implementation specific methods */ - odp_spinlock_t lock; /**< entry spinlock */ + odp_ticketlock_t lock; /**< entry ticketlock */ int taken; /**< is entry taken(1) or free(0) */ int cls_enabled; /**< is classifier enabled */ odp_pktio_t handle; /**< pktio handle */ |