logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                              rte_event_timer(3)

Detailed Description

       The generic rte_event_timerstructuretoholdtheeventtimerattributesforarmandcanceloperations.

       Definition at line 476 of file rte_event_timer_adapter.h.

Field Documentation

structrte_eventev
       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_ttimeout_ticks
       Expiry timer ticks expressed in number of timer_ticks_ns from now.

       Seealso
           struct rte_event_timer_adapter_info::adapter_conf::timer_tick_ns

       Definition at line 490 of file rte_event_timer_adapter.h.

   uint64_timpl_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.

   enumrte_event_timer_statestate
       State of the event timer.

       Definition at line 501 of file rte_event_timer_adapter.h.

   uint8_tuser_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.

Name

       rte_event_timer

Synopsis

       #include <rte_event_timer_adapter.h>

   DataFields
       struct rte_eventev
       uint64_t timeout_ticks
       uint64_t impl_opaque [2]
       enum rte_event_timer_statestate
       uint8_t user_meta []

See Also