DPDK  24.03.0
Data Fields
rte_comp_compress_xform Struct Reference

#include <rte_comp.h>

Data Fields

enum rte_comp_algorithm algo
 
union {
   struct rte_comp_deflate_params   deflate
 
   struct rte_comp_lz4_params   lz4
 
}; 
 
int level
 
uint8_t window_size
 
enum rte_comp_checksum_type chksum
 
enum rte_comp_hash_algorithm hash_algo
 

Detailed Description

Setup Data for compression

Definition at line 285 of file rte_comp.h.

Field Documentation

◆ algo

enum rte_comp_algorithm algo

Algorithm to use for compress operation

Definition at line 286 of file rte_comp.h.

◆ deflate

struct rte_comp_deflate_params deflate

Parameters specific to the deflate algorithm

Definition at line 289 of file rte_comp.h.

◆ lz4

struct rte_comp_lz4_params lz4

Parameters specific to the LZ4 algorithm

Definition at line 291 of file rte_comp.h.

◆ @69

union { ... }

Algorithm specific parameters

◆ level

int level

Compression level

Definition at line 294 of file rte_comp.h.

◆ window_size

uint8_t window_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.

◆ chksum

Type of checksum to generate on the uncompressed data

Definition at line 301 of file rte_comp.h.

◆ hash_algo

enum rte_comp_hash_algorithm hash_algo

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

Definition at line 303 of file rte_comp.h.


The documentation for this struct was generated from the following file: