rte_compressdev_global(3)
๐ NAME ๐
rte_compressdev_global โ bestie, this is the struct that keeps the whole compression-device situation from falling apart ๐ซถ
(it lives in the Library Functions Manual, which is giving very much "section 3, we're fancy here")
โจ SYNOPSIS โจ
#include <rte_compressdev_pmd.h>
๐ Data Fields ๐
struct rte_compressdev * devsstruct rte_compressdev_data * data [RTE_COMPRESS_MAX_DEVS]uint8_t nb_devsuint8_t max_devs
๐ธ Detailed Description ๐ธ
Okay so picture this: this is the global structure that holds down the whole state of your allocated compress devices. Like, all the bookkeeping for every compressed device you've got going on, living in one struct. Main character energy, honestly ๐
Fr fr, it's defined at line 45 of the file rte_compressdev_pmd.h. Noted, remembered, slaying.
๐ฆ Field Documentation ๐ฆ
โญ struct rte_compressdev* devs
Device information array โ your little roster of devices, all lined up ๐
Defined at line 46 of rte_compressdev_pmd.h.
๐ struct rte_compressdev_data* data[RTE_COMPRESS_MAX_DEVS]
Device private data โ the personal, private business of each device. iykyk ๐
Defined at line 47 of rte_compressdev_pmd.h.
๐ uint8_t nb_devs
Number of devices found โ a headcount, basically ๐งฎ
Defined at line 49 of rte_compressdev_pmd.h.
๐ uint8_t max_devs
Max number of devices โ the ceiling, the limit, the "we're full bestie" number ๐ช
Defined at line 50 of rte_compressdev_pmd.h.
๐ Author ๐
Generated automatically by Doxygen for DPDK, straight from the source code. Not a human typing this out, just the machine doing its lil thing ๐คโจ
Also lowkey: RTE_COMPRESS_MAX_DEVS is doing a LOT of heavy lifting in that array size. Respect it ๐ญ
Signing off, bestie: this was DPDK, Version 25.11.3, and yes, rte_compressdev_global(3) is exactly the kind of struct you screenshot and send to the group chat ๐ bye now, drink water ๐ธ
๐ฆ 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