rte_compressdev_config(3)

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

πŸ’… rte_compressdev_config(3)

okay so bestie, this is a page from the Library Functions Manual for DPDK, and it's all about rte_compressdev_config β€” the struct you use to tell a compress device how you want it set up. it's giving "fill out this form before your device can slay" energy. let's get into it ✨


✨ NAME ✨

rte_compressdev_config β€” literally the compress device configuration struct, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

#include <rte_compressdev.h>

πŸ¦‹ Data Fields πŸ¦‹

int socket_id
uint16_t nb_queue_pairs
uint16_t max_nb_priv_xforms
uint16_t max_nb_streams

like, those are the four fields, and yes you need to know all of them, no skipping πŸ‘‘


πŸ’– Detailed Description πŸ’–

so rte_compressdev_config is the Compress device configuration structure. that's it, that's the whole description β€” it's a struct, it configures a compress device, main character energy fr fr.

small but important detail: the definition lives at line 185 of the file rte_compressdev.h β€” noted, memorized, screenshot taken πŸ“Έ

🧚 Field Documentation 🧚

πŸ’œ int socket_id

the socket on which to allocate resources. so like, where the memory party happens πŸ—ΊοΈ

definition at line 186 of file rte_compressdev.h.

🌈 uint16_t nb_queue_pairs

the total number of queue pairs to configure on a device. all of them, counted, accounted for πŸ’…

definition at line 188 of file rte_compressdev.h.

⭐ uint16_t max_nb_priv_xforms

the max number of private_xforms which will be created on the device. it's a max, bestie β€” plan accordingly πŸ™ˆ

definition at line 190 of file rte_compressdev.h.

πŸ“ uint16_t max_nb_streams

the max number of streams which will be created on the device. again β€” max, so don't be out here rounding up 😭

definition at line 192 of file rte_compressdev.h.


πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for DPDK from the source code. so nobody hand-wrote this, the robots did it, and honestly? they ate 🫢


πŸ’€ also real quick β€” the fields are all literally just numbers and an int, no tricks, no hidden gotchas listed on this page. what you see is what you get, no cap.

and that's the whole page! πŸ¦‹ this beauty shipped with DPDK Version 26.03.0, from the source/version footer of the original rte_compressdev_config(3) page. mwah, bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from