rte_compressdev(3)
π rte_compressdev π
okay bestie, welcome to section 3 of the Library Functions Manual β this is rte_compressdev(3), and it's giving "data structure reveal" energy β¨ it's a DPDK thing, it lives in the compressdev world, and we're about to read every single line of it together. no skimming, no skipping, we're doing this properly π«Ά
πΈ NAME πΈ
rte_compressdev
that's it. that's the name. short, iconic, knows exactly who she is π
β¨ SYNOPSIS β¨
#include <rte_compressdev_internal.h>
π Data Fields π
here's the whole cast, in order, no one gets cut:
compressdev_dequeue_pkt_burst_t dequeue_burstcompressdev_enqueue_pkt_burst_t enqueue_burststruct rte_compressdev_data * datastruct rte_compressdev_ops * dev_opsuint64_t feature_flagsstruct rte_device * device__extension__ uint8_t attached: 1
look at that little : 1 on the end of attached β a bitfield that said "i only need ONE bit, thanks" and honestly? boundaries. we love her π
π¦ DESCRIPTION π¦
so what IS this thing? it's the data structure associated with each comp device. plain and simple, that's the whole vibe. one of these per compression device, holding all the good stuff together.
Definition at line 72 of file rte_compressdev_internal.h. π
π FIELD DOCUMENTATION π
this is the part where we meet everybody one by one. group photo, then individual portraits, because every field deserves their moment π
π« compressdev_dequeue_pkt_burst_t dequeue_burst
Pointer to PMD receive function.
Definition at line 73 of file rte_compressdev_internal.h. π
π« compressdev_enqueue_pkt_burst_t enqueue_burst
Pointer to PMD transmit function.
Definition at line 75 of file rte_compressdev_internal.h. π
π« struct rte_compressdev_data* data
Pointer to device data.
Definition at line 78 of file rte_compressdev_internal.h. π
π« struct rte_compressdev_ops* dev_ops
Functions exported by PMD.
Definition at line 80 of file rte_compressdev_internal.h. π
π« uint64_t feature_flags
Supported features.
Definition at line 82 of file rte_compressdev_internal.h. π
π« struct rte_device* device
Backing device.
Definition at line 84 of file rte_compressdev_internal.h. π
π« __extension__ uint8_t attached
Flag indicating the device is attached.
Definition at line 88 of file rte_compressdev_internal.h. π
see how the line numbers jump around? 73, 75, 78, 80, 82, 84β¦ and then a big leap to 88? that's just the source file living its life, we don't question it π
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code.
not a human hand-writing this at 3am β it's a machine, doing its little doc-generation thing, and honestly it ate π₯
and that's the whole page, bestie!! π this was DPDK, Version 25.11.3, living inside rte_compressdev(3) β compressed-device data structure lore, documented and delivered fresh πΈ go forth, read your headers, and remember: every field matters, no cap πβ¨π¦
π¦ 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