rte_event_timer(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ“› NAME

rte_event_timer β€” bestie, this is the Library Functions Manual page for the generic event timer struct, and it's literally the place where the arm and cancel timer attributes live. πŸ’…

πŸ› οΈ 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 🌸

Okay so rte_event_timer is the generic structure that holds the event timer attributes you need for arm and cancel operations. That's the whole vibe. ✨

The source code says: Definition at line 476 of file rte_event_timer_adapter.h.

πŸ” Field Documentation πŸ”

πŸŽ€ struct rte_event ev

These are the expiry event attributes, bestie. When the event timer times out successfully, the following attributes get used to inject the expiry event into the eventdev:

  • event_queue_id: the targeted event queue id for expiry events.
  • event_priority: the priority of the event expiry event in the event queue, relative to other events.
  • sched_type: the scheduling type of the expiry event.
  • flow_id: the 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. The event timer adapter implementation uses this field to hold implementation-specific values that it shares 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

The state of the event timer. Simple as that, no cap.

Definition at line 501 of file rte_event_timer_adapter.h.

πŸ“ uint8_t user_meta[]

Memory for storing 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 πŸ‘‘

This page was generated automatically by Doxygen for DPDK from the source code. Iconic behavior, honestly. 🫢


πŸ’– okay that's the whole page, bestie β€” brought to you by DPDK Version 26.03.0, and the footer has no date to report, so we're out. periodt. πŸŽ€

πŸ“¦ where this page comes from