rte_devargs(3)
π rte_devargs β the manual, but make it make sense π
okay bestie, sit down, hydrate, because today we're reading rte_devargs(3) from the Library Functions Manual and honestly? it's giving "struct with lore." let's go π
β¨ NAME β¨
rte_devargs β no cap, that's the whole name π
πΈ SYNOPSIS πΈ
#include <rte_devargs.h>
π«Ά Public Member Functions
RTE_TAILQ_ENTRY (rte_devargs) nextβ the next one in the list, periodt β¨
π¦ Data Fields
enum rte_devtype typeenum rte_dev_policy policychar name [RTE_DEV_NAME_MAX_LEN]struct rte_bus * busstruct rte_class * clsconst char * bus_strconst char * cls_strchar * data
π Detailed Description π
so likeβ¦ this is the Structure that stores a device given by the user with its arguments. literally the vibe container for your device config π«β¨
A user device is a physical or a virtual device given by the user to the DPDK application at startup through command line arguments. yes bestie, you picked it, you passed it in, and this struct remembers it π
The structure stores the configuration of the device, its PCI identifier if it's a PCI device or the driver name if it's a virtual device. iconic behaviour, honestly π
fyi: Definition at line 72 of file rte_devargs.h. π
π Member Function Documentation π
β RTE_TAILQ_ENTRY (rte_devargs )
Next in list. that's it, that's the function. short queen, we respect her π
π Field Documentation π
πΈ enum rte_devtype type
Type of device. what kind of creature are we dealing with π₯
Definition at line 76 of file rte_devargs.h.
πΈ enum rte_dev_policy policy
Device policy. the rules of engagement, iykyk π
Definition at line 78 of file rte_devargs.h.
πΈ char name[RTE_DEV_NAME_MAX_LEN]
Name of the device. her government name π
Definition at line 80 of file rte_devargs.h.
πΈ const char* args
legacy name. she's old money, still valid, still here, still thriving π
Definition at line 82 of file rte_devargs.h.
πΈ const char* drv_str
driver-related part of device string. the driver crumbs πβ¨
Definition at line 83 of file rte_devargs.h.
πΈ struct rte_bus* bus
bus handle. grab it, hold it, love it π
Definition at line 85 of file rte_devargs.h.
πΈ struct rte_class* cls
class handle. yes bestie, the other handle π
Definition at line 86 of file rte_devargs.h.
πΈ const char* bus_str
bus-related part of device string. bus-flavoured substring, slay ππ«
Definition at line 87 of file rte_devargs.h.
πΈ const char* cls_str
class-related part of device string. class-flavoured substring, equally slay π
Definition at line 88 of file rte_devargs.h.
πΈ char* data
raw string including bus, class and driver parts. the whole thing, unfiltered, main character energy π₯π
Definition at line 89 of file rte_devargs.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human writing this, just a robot doing its little robot thing π€π
and that's the whole page, bestie!! this one's from DPDK Version 25.11.3, page rte_devargs(3) β go forth and configure your devices, you gorgeous genius π¦πβ¨ periodt.
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms