EV_FALLBACK(3)
π NAME π
okay so bestie, welcome to the rte_event_vector_adapter_conf page β it lives in the Library Functions Manual and it's literally the struct that holds your vector adapter configuration. that's the whole vibe. π
β¨ SYNOPSIS β¨
pull it in like this, no cap:
#include <rte_event_vector_adapter.h>
π§ Data Fields
uint8_t event_dev_iduint32_t socket_idstruct rte_event evstruct rte_event ev_fallbackuint16_t vector_szuint64_t vector_timeout_nsstruct rte_mempool * vector_mp
πΈ DETAILED DESCRIPTION πΈ
it's giving vector adapter configuration structure, periodt. that's it, that's the whole thing.
π Definition at line 136 of file rte_event_vector_adapter.h. (iykyk, go look at it)
π¦ FIELD DOCUMENTATION π¦
π uint8_t event_dev_id
the event device identifier β which eventdev you're talking to, basically. your main character device.
π Definition at line 137 of file rte_event_vector_adapter.h.
π uint32_t socket_id
the identifier of the socket that memory for the adapter gets allocated from. yes, that socket. pick your fave π
π Definition at line 139 of file rte_event_vector_adapter.h.
π struct rte_event ev
okay so when work gets queued, the values from these event fields are the ones that get used β literally these six, no extras:
queue_id: the targeted event queue ID for the vector event.event_priority: the event priority of the vector event in the event queue, relative to other events.sched_type: the scheduling type for events coming from this vector adapter.event_type: the event type for the vector event.sub_event_type: the sub event type for the vector event.flow_id: the flow ID for the vectors that the vector adapter enqueues to the event queue.
π Definition at line 141 of file rte_event_vector_adapter.h.
π«Ά struct rte_event ev_fallback
this one is the β¨emojiβ¨ backup plan β when aggregation fails and a single event gets enqueued, these fields' values are what get used:
event_type: the event type for the single event.sub_event_type: the sub event type for the single event.flow_id: the flow ID for the single event.
and the other fields? they're taken from rte_event_vector_adapter_conf::ev. don't forget that part, bestie, it matters.
π Definition at line 154 of file rte_event_vector_adapter.h.
π₯ uint16_t vector_sz
the maximum number of enqueued work items that get combined to form a vector. lowkey important: it should be within the vectorization limits of the adapter.
See also
rte_event_vector_adapter_info::min_vector_szrte_event_vector_adapter_info::max_vector_sz
π Definition at line 164 of file rte_event_vector_adapter.h.
β uint64_t vector_timeout_ns
the maximum number of nanoseconds to wait for receiving work. again, it should be within the vectorization limits of the adapter β don't go rogue.
See also
rte_event_vector_adapter_info::min_vector_nsrte_event_vector_adapter_info::max_vector_ns
π Definition at line 171 of file rte_event_vector_adapter.h.
π struct rte_mempool* vector_mp
the mempool that should be used for allocating the rte_event_vector container. that's the one. π
See also
rte_event_vector_pool_create
π Definition at line 178 of file rte_event_vector_adapter.h.
π AUTHOR π
generated automatically by Doxygen for DPDK, straight from the source code. not a human, not a vibe, just Doxygen doing its thing.
okay that's the whole page, bestie, you ate that π«Ά this was DPDK, Version 26.03.0, and the page is rte_event_...dapter_conf(3) β go forth and configure those vector adapters, mwah ππΈ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms