RTE_COMP_DECOMPRESS_XFORM(3)

✨ rte_comp_decompress_xform ✨

okay bestie, welcome to the Library Functions Manual for rte_comp_decompress_xform πŸ’– this is lowkey the setup-struct you fill in when you wanna decompress stuff with DPDK, so let's get into it, no cap 🫢


🌸 NAME 🌸

rte_comp_decompress_xform β€” the struct that holds all your setup data for decompression, she's iconic, she's doing the most πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_comp.h>

πŸ¦‹ Data Fields

  • enum rte_comp_algorithm algo
  • enum rte_comp_checksum_type chksum
  • uint8_t window_size
  • union { ... } β€” containing:
    • struct rte_comp_inflate_params inflate
    • struct rte_comp_lz4_params lz4
  • enum rte_comp_hash_algorithm hash_algo

πŸ’œ Detailed Description πŸ’œ

Setup Data for decompression. that's it, that's the vibe, she's the whole starting point fr fr ✨

Definition at line 333 of file rte_comp.h.

πŸ”₯ Field Documentation πŸ”₯

🌈 enum rte_comp_algorithm algo

Algorithm to use for decompression. pick your girl, choose wisely bestie πŸ‘‘

Definition at line 334 of file rte_comp.h.

🌈 enum rte_comp_checksum_type chksum

Type of checksum to generate on the decompressed data. yes ma'am, we're checksumming the decompressed output, keep up πŸ’–

Definition at line 336 of file rte_comp.h.

🌈 uint8_t window_size

Base two log value of sliding window which was used to generate compressed data. so like, logβ‚‚ of the window, not the window itself, don't get it twisted 😭

If window size can't be supported by the PMD then setup of stream or private_xform should fail. like, it's gonna fall over, that's the intended behaviour, not a bug 🫢

Definition at line 338 of file rte_comp.h.

🌈 struct rte_comp_inflate_params inflate

Parameters specific to the deflate algorithm. all the deflate-only deets live here 🌸

Definition at line 344 of file rte_comp.h.

🌈 struct rte_comp_lz4_params lz4

Parameters specific to the LZ4 algorithm. and here's where the LZ4-only deets hang out, they're roommates not twins πŸ’…

Definition at line 346 of file rte_comp.h.

🌈 union { ... }

Algorithm specific parameters. it's giving union, so it's one or the other, not both, choose your fighter ✨

🌈 enum rte_comp_hash_algorithm hash_algo

Hash algorithm to be used with decompress operation. Hash is always done on plaintext. always. on the plaintext, periodt πŸ’€

Definition at line 349 of file rte_comp.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so nobody hand-wrote this, the robot did it, and honestly? she ate πŸ€–πŸ’–


k that's the whole page bestie, go forth and decompress responsibly πŸ§šβ€β™€οΈπŸ’œ this was DPDK, Version 25.11.3 β€” mwah, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from