dpdk-cryptodev: enq/deq scheme rework 19/39019/3
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Fri, 9 Jun 2023 15:08:54 +0000 (15:08 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Mon, 19 Jun 2023 18:12:09 +0000 (18:12 +0000)
commitf0c67adfb27f6a6a37ccea7e359a416ecdf01825
treea755f1eb82b6346aeb194126262c28175326c1a2
parent30ecfa8ceb884771ba4e3f1da6da8fc07efa6c17
dpdk-cryptodev: enq/deq scheme rework

This rework tries to address issues found on SPR QAT, for traffic
reaching max possible throughoutput for single QAT PF packet drops were
observed.
Fix changes enq/deq scheme by utilizing software ring in enq call from
VNET but enq and deq to QAT happens only in deq callback function what
should enable better utlization of hardware resources.

Type: improvement
Signed-off-by: Dastin Wilski <dastin.wilski@gmail.com>
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I2e8c473d20a269fd5e93f0c8d1f8c8aa193712bd
src/plugins/dpdk/cryptodev/cryptodev.c
src/plugins/dpdk/cryptodev/cryptodev.h
src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
src/plugins/dpdk/cryptodev/cryptodev_raw_data_path.c