xref: /dpdk/doc/guides/compressdevs/qat_comp.rst (revision e4373bf1b3f51715bf66e87c0134e2c217e4612c)
1..  SPDX-License-Identifier: BSD-3-Clause
2    Copyright(c) 2018 Intel Corporation.
3
4Intel(R) QuickAssist (QAT) Compression Poll Mode Driver
5=======================================================
6
7The QAT compression PMD provides poll mode compression & decompression driver
8support for the following hardware accelerator devices:
9
10* ``Intel QuickAssist Technology C62x``
11* ``Intel QuickAssist Technology C3xxx``
12* ``Intel QuickAssist Technology DH895x``
13
14
15Features
16--------
17
18QAT compression PMD has support for:
19
20Compression/Decompression algorithm:
21
22    * DEFLATE - using Fixed and Dynamic Huffman encoding
23
24Window size support:
25
26    * 32K
27
28Checksum generation:
29
30    * CRC32, Adler and combined checksum
31
32Stateful operation:
33
34    * Decompression only
35
36Limitations
37-----------
38
39* Compressdev level 0, no compression, is not supported.
40* Queue-pairs are thread-safe on Intel CPUs but Queues are not (that is, within a single
41  queue-pair all enqueues to the TX queue must be done from one thread and all dequeues
42  from the RX queue must be done from one thread, but enqueues and dequeues may be done
43  in different threads.)
44* No BSD support as BSD QAT kernel driver not available.
45* When using Deflate dynamic huffman encoding for compression, the input size (op.src.length)
46  must be < CONFIG_RTE_PMD_QAT_COMP_IM_BUFFER_SIZE from the config file,
47  see :ref:`building_qat_config` for more details.
48* Stateful compression is not supported.
49
50
51Installation
52------------
53
54The QAT compression PMD is built by default with a standard DPDK build.
55
56It depends on a QAT kernel driver, see :ref:`building_qat`.
57