The ZLIB PMD (librte_pmd_zlib) provides poll mode compression & decompression driver based on SW zlib library,
ZLIB PMD has support for:
Compression/Decompression algorithm:
Huffman code type:
Window size support:
To build DPDK with ZLIB library, the user is required to download the libz library.
Use following command for installation.
sudo yum install zlib-devel
sudo apt-get install zlib1g-dev
Once downloaded, the user needs to build the library.
To build from sources download zlib sources from http://zlib.net/ and do following before building DPDK:
make
sudo make install
In order to enable this virtual compression PMD, user must:
To use the PMD in an application, user must:
The following parameter (optional) can be provided in the previous two calls: