dpdk-cryptodev: improve cryptodev cache ring implementation 46/39346/2
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Thu, 6 Jul 2023 23:02:57 +0000 (23:02 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Fri, 18 Aug 2023 15:20:02 +0000 (15:20 +0000)
commit45e8a672f02f5937d218b0b82eca28db15b76694
treeae05a26b9fba990841c104f6da14520435bec84a
parent03e1d559f912513e1bc2ffc615b7833471afc790
dpdk-cryptodev: improve cryptodev cache ring implementation

Sw ring is renamed to the cache ring. This name better reflects the
puropse of this ring. We've introduced push/pop functions, as well as
other utility functions which remove code repetition. Error handlig
is improved: previously in case of an error all frame elements were
marked as bad, now only these for which errors occured have the error
status set.
Unnecessary stats counters have been removed.

Type: improvement
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I2fd42a529ac84ce5ad260611d6b35a861d441c79
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