| DPDK
    18.11.11
    | 
#include <rte_comp.h>
| Data Fields | |
| enum rte_comp_algorithm | algo | 
| union { | |
| struct rte_comp_deflate_params deflate | |
| }; | |
| int | level | 
| uint8_t | window_size | 
| enum rte_comp_checksum_type | chksum | 
| enum rte_comp_hash_algorithm | hash_algo | 
Setup Data for compression
Definition at line 219 of file rte_comp.h.
| enum rte_comp_algorithm algo | 
Algorithm to use for compress operation
Definition at line 220 of file rte_comp.h.
| struct rte_comp_deflate_params deflate | 
Parameters specific to the deflate algorithm
Definition at line 223 of file rte_comp.h.
| union { ... } | 
Algorithm specific parameters
| int level | 
Compression level
Definition at line 226 of file rte_comp.h.
| 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 228 of file rte_comp.h.
| enum rte_comp_checksum_type chksum | 
Type of checksum to generate on the uncompressed data
Definition at line 233 of file rte_comp.h.
| enum rte_comp_hash_algorithm hash_algo | 
Hash algorithm to be used with compress operation. Hash is always done on plaintext.
Definition at line 235 of file rte_comp.h.
 1.8.9.1
 1.8.9.1