rte_devargs(3)

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

πŸ’– rte_devargs

okay so bestie, this is the rte_devargs page from the Library Functions Manual β€” it's giving β€œthe little device diary struct” energy, and yes, we're reading the whole thing. 🫢

✨ NAME ✨

rte_devargs β€” the struct that stores a device the user handed in, arguments and all. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_devargs.h>

🌈 Public Member Functions

  • RTE_TAILQ_ENTRY (rte_devargs) next β€” next in the list. Literally the linked-list handhold. 🫢

πŸŽ€ Data Fields

  • enum rte_devtype type
  • enum rte_dev_policy policy
  • char name [RTE_DEV_NAME_MAX_LEN]
  • struct rte_bus * bus
  • struct rte_class * cls
  • const char * bus_str
  • const char * cls_str
  • char * data

πŸ’œ Detailed Description πŸ’œ

This is the structure that stores a device given by the user with its arguments. πŸ₯°

A user device is a physical or a virtual device given by the user to the DPDK application at startup through command line arguments. fr fr.

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. No cap.

Definition at line 72 of file rte_devargs.h.

🧚 Member Function Documentation 🧚

πŸ’« RTE_TAILQ_ENTRY (rte_devargs )

  • Next in list. That's the whole vibe here. ✨

🌸 Field Documentation 🌸

  • enum rte_devtype type β€” type of device. Definition at line 76 of file rte_devargs.h.
  • enum rte_dev_policy policy β€” device policy. Definition at line 78 of file rte_devargs.h.
  • char name[RTE_DEV_NAME_MAX_LEN] β€” name of the device. Definition at line 80 of file rte_devargs.h.
  • const char* args β€” legacy name. Definition at line 82 of file rte_devargs.h.
  • const char* drv_str β€” driver-related part of device string. Definition at line 83 of file rte_devargs.h.
  • struct rte_bus* bus β€” bus handle. Definition at line 85 of file rte_devargs.h.
  • struct rte_class* cls β€” class handle. Definition at line 86 of file rte_devargs.h.
  • const char* bus_str β€” bus-related part of device string. Definition at line 87 of file rte_devargs.h.
  • const char* cls_str β€” class-related part of device string. Definition at line 88 of file rte_devargs.h.
  • char* data β€” raw string including bus, class and driver parts. Definition at line 89 of file rte_devargs.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. πŸ’–


mwah πŸ’‹ that's the whole page, bestie. The footer gives DPDK as the source, Version 26.03.0, and the page tag rte_devargs(3) β€” no date line is printed, so I'm not inventing one πŸ’…. πŸŽ€βœ¨

πŸ“¦ where this page comes from