rte_compressdev_global(3)
π 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 toRTE_COMPRESS_MAX_DEVSof 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
- 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