ADAPTER_ID(3)
πΈ NAME πΈ
hii bestie, welcome to the Library Functions Manual π ngl this page is short but it's iconic in its own little way.
rte_event_vector_adapter β the vector adapter structure β¨ lowkey the main-character struct that holds together everything an event vector adapter needs to function.
π SYNOPSIS π
okay so first things first, you gotta pull in the header:
#include <rte_event_vector_adapter.h>
π Data Fields π
these are the fields living inside the struct, in order, no cap:
rte_event_vector_adapter_enqueue_t enqueuestruct rte_event_vector_adapter_data * dataconst struct event_vector_adapter_ops * opsuint32_t adapter_iduint8_t used: 1
π¦ DESCRIPTION π¦
So what even is this thing? It's the Vector adapter structure π«Ά literally the whole vibe of the page.
π Definition at line228of filerte_event_vector_adapter.h.
π FIELD DOCUMENTATION π
time for the meet-the-fields segment, bestie β every single one, we're not skipping anybody π
β rte_event_vector_adapter_enqueue_t enqueue
Pointer to driver enqueue function. yeah, it's the hookup that actually pushes stuff out π
π Definition at line229of filerte_event_vector_adapter.h.
π struct rte_event_vector_adapter_data* data
Pointer to the adapter data. all the actual goods live behind this pointer π
π Definition at line231of filerte_event_vector_adapter.h.
π§ const struct event_vector_adapter_ops* ops
Functions exported by adapter driver. the driver's little bag of tricks β¨
π Definition at line233of filerte_event_vector_adapter.h.
π uint32_t adapter_id
Identifier of the adapter instance. so you can tell your adapters apart, fr fr π
π Definition at line236of filerte_event_vector_adapter.h.
πΈ uint8_t used
Flag to indicate that this adapter is being used. a whole 1 bit of "yes bestie I'm taken" energy π
π Definition at line238of filerte_event_vector_adapter.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its thing π€π
aaaand that's the page! mwah π this was brought to you by DPDK, Version 26.03.0 β see you in the next one, bestie π«Άπ
π¦ 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