rte_compressdev_global(3)

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

πŸ’… rte_compressdev_global(3) β€” Library Functions Manual πŸ’…

okay so bestie, welcome to the rte_compressdev_global page 🫢 this one lives in the Library Functions Manual, and it's honestly a whole vibe β€” it's the global struct situation that keeps track of all your allocated comp devices. Let's get into it ✨


✨ NAME ✨

rte_compressdev_global β€” the icon, the main character, the global struct πŸ’«


🌸 SYNOPSIS 🌸

#include <rte_compressdev_pmd.h>

πŸŽ€ Data Fields πŸŽ€

  • struct rte_compressdev * devs β€” the array full of device info, like the group chat roster for your devices πŸ“±
  • struct rte_compressdev_data * data [RTE_COMPRESS_MAX_DEVS] β€” the device private data, one slot per device, up to RTE_COMPRESS_MAX_DEVS of them πŸ“
  • uint8_t nb_devs β€” literally just how many devices you found πŸ‘€
  • uint8_t max_devs β€” the ceiling, the limit, the max number of devices πŸ”₯

πŸ’œ Detailed Description πŸ’œ

So this is the global structure used for maintaining state of allocated comp devices β€” that's the whole job, no cap. It's your one-stop state-keeper for every comp device that's been allocated.

fr fr, this is defined at line 45 of rte_compressdev_pmd.h β€” that's the source of truth, iykyk πŸ’…

πŸ¦‹ Field Documentation πŸ¦‹

🌈 struct rte_compressdev* devs

Device information array β€” all the device deets live here πŸ’–

Defined at line 46 of rte_compressdev_pmd.h.


⭐ struct rte_compressdev_data* data[RTE_COMPRESS_MAX_DEVS]

Device private data β€” the behind-the-scenes info, one per device, indexed up to RTE_COMPRESS_MAX_DEVS πŸ™ˆ

Defined at line 47 of rte_compressdev_pmd.h.


🧚 uint8_t nb_devs

Number of devices found β€” the headcount, the attendance sheet πŸ“‹

Defined at line 49 of rte_compressdev_pmd.h.


πŸ‘‘ uint8_t max_devs

Max number of devices β€” the absolute limit, the capacity, the "do not exceed" energy πŸ’€

Defined at line 50 of rte_compressdev_pmd.h.


🫢 Author 🫢

Generated automatically by Doxygen for DPDK from the source code. so yes, a robot wrote this, and it ate πŸ€–βœ¨


heads up bestie, this page is part of DPDK, Version 26.03.0, and it's auto-generated from the source β€” so go treat the source code like the real MVP πŸ’– mwah, bye πŸŽ€πŸ’…
πŸ“¦ where this page comes from