1 .. SPDX-License-Identifier: BSD-3-Clause
2 Copyright(c) 2018 Intel Corporation.
4 ISA-L Compression Poll Mode Driver
5 ==================================
7 The ISA-L PMD (**librte_pmd_isal_comp**) provides poll mode compression &
8 decompression driver support for utilizing Intel ISA-L library,
9 which implements the deflate algorithm for both compression and decompression
14 ISA-L PMD has support for:
16 Compression/Decompression algorithm:
32 * Chained mbufs are not supported, for future release.
34 * Compressdev level 0, no compression, is not supported. ISA-L level 0 used for fixed huffman codes.
36 * Checksums are not supported, for future release.
41 * To build DPDK with Intel's ISA-L library, the user is required to download the library from `<https://github.com/01org/isa-l>`_.
43 * Once downloaded, the user needs to build the library, the ISA-L autotools are usually sufficient::
48 * make can be used to install the library on their system, before building DPDK::
53 * To build with meson, the **libisal.pc** file, must be copied into "pkgconfig",
54 e.g. /usr/lib/pkgconfig or /usr/lib64/pkgconfig depending on your system,
55 for meson to find the ISA-L library. The **libisal.pc** is located in library sources::
57 cp isal/libisal.pc /usr/lib/pkgconfig/
63 In order to enable this virtual compression PMD, user must:
65 * Set ``CONFIG_RTE_LIBRTE_PMD_ISAL=y`` in config/common_base.
67 To use the PMD in an application, user must:
69 * Call ``rte_vdev_init("compress_isal")`` within the application.
71 * Use ``--vdev="compress_isal"`` in the EAL options, which will call ``rte_vdev_init()`` internally.
73 The following parameter (optional) can be provided in the previous two calls:
75 * ``socket_id:`` Specify the socket where the memory for the device is going to be allocated
76 (by default, socket_id will be the socket where the core that is creating the PMD is running on).