logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_comp_compress_xform

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                      rte_comp_compress_xform(3)

Detailed Description

       Setup Data for compression

       Definition at line 285 of file rte_comp.h.

Field Documentation

enumrte_comp_algorithmalgo
       Algorithm to use for compress operation

       Definition at line 286 of file rte_comp.h.

   structrte_comp_deflate_paramsdeflate
       Parameters specific to the deflate algorithm

       Definition at line 289 of file rte_comp.h.

   structrte_comp_lz4_paramslz4
       Parameters specific to the LZ4 algorithm

       Definition at line 291 of file rte_comp.h.

   union{...}
       Algorithm specific parameters

   intlevel
       Compression level

       Definition at line 294 of file rte_comp.h.

   uint8_twindow_size
       Base two log value of sliding window to be used. If window size can't be supported by the PMD then it may
       fall back to a smaller size. This is likely to result in a worse compression ratio.

       Definition at line 296 of file rte_comp.h.

   enumrte_comp_checksum_typechksum
       Type of checksum to generate on the uncompressed data

       Definition at line 301 of file rte_comp.h.

   enumrte_comp_hash_algorithmhash_algo
       Hash algorithm to be used with compress operation. Hash is always done on plaintext.

       Definition at line 303 of file rte_comp.h.

Name

       rte_comp_compress_xform

Synopsis

       #include <rte_comp.h>

   DataFields
       enum rte_comp_algorithmalgo
       union {
          struct rte_comp_deflate_paramsdeflate
          struct rte_comp_lz4_paramslz4
       };
       int level
       uint8_t window_size
       enum rte_comp_checksum_typechksum
       enum rte_comp_hash_algorithmhash_algo

See Also