DPDK  18.05.1
Data Fields
rte_event_timer Struct Reference

#include <rte_event_timer_adapter.h>

Data Fields

struct rte_event ev
enum rte_event_timer_state state
uint64_t timeout_ticks
uint64_t impl_opaque [2]
uint8_t user_meta [0]

Detailed Description

Warning
EXPERIMENTAL: this structure may change without prior notice

The generic rte_event_timer structure to hold the event timer attributes for arm and cancel operations.

Definition at line 551 of file rte_event_timer_adapter.h.

Field Documentation

struct rte_event ev

Expiry event attributes. On successful event timer timeout, the following attributes will be used to inject the expiry event to the eventdev:

  • event_queue_id: Targeted event queue id for expiry events.
  • event_priority: Event priority of the event expiry event in the event queue relative to other events.
  • sched_type: Scheduling type of the expiry event.
  • flow_id: Flow id of the expiry event.
  • op: RTE_EVENT_OP_NEW
  • event_type: RTE_EVENT_TYPE_TIMER

Definition at line 552 of file rte_event_timer_adapter.h.

State of the event timer.

Definition at line 565 of file rte_event_timer_adapter.h.

uint64_t timeout_ticks

Expiry timer ticks expressed in number of timer_ticks_ns from now.

See Also
struct rte_event_timer_adapter_info::adapter_conf::timer_tick_ns

Definition at line 568 of file rte_event_timer_adapter.h.

uint64_t impl_opaque[2]

Implementation-specific opaque data. An event timer adapter implementation use this field to hold implementation specific values to share between the arm and cancel operations. The application should not modify this field.

Definition at line 573 of file rte_event_timer_adapter.h.

uint8_t user_meta[0]

Memory to store user specific metadata. The event timer adapter implementation should not modify this area.

Definition at line 579 of file rte_event_timer_adapter.h.


The documentation for this struct was generated from the following file: