---
name: "rte_event_timer"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_event_timer"
---

# rte\_event\_timer(3)

## NAME

rte\_event\_timer

## SYNOPSIS

`#include <rte_event_timer_adapter.h>`

### Data Fields

struct **rte\_event** **ev**\
 uint64\_t **timeout\_ticks**\
 uint64\_t **impl\_opaque** \[2\]\
 enum **rte\_event\_timer\_state** **state**\
 uint8\_t **user\_meta** \[\]\

## Detailed Description

The generic **rte\_event\_timer structure to hold the event timer attributes for arm and cancel operations.**

**Definition at line 476 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 477 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 490 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 495 of file rte\_event\_timer\_adapter.h.**

### enum rte\_event\_timer\_state state

**State of the event timer.**

**Definition at line 501 of file rte\_event\_timer\_adapter.h.**

### uint8\_t user\_meta\[\]

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

**Definition at line 503 of file rte\_event\_timer\_adapter.h.**

## Author

**Generated automatically by Doxygen for DPDK from the source code.**
