Thread (39 messages) 39 messages, 6 authors, 2020-07-13

Re: [dpdk-dev] [PATCH] crypto/qat: add data-path APIs

From: Jerin Jacob <hidden>
Date: 2020-06-26 06:55:55

On Fri, Jun 12, 2020 at 8:10 PM Fan Zhang [off-list ref] wrote:
This patch adds data-path APIs to QAT symmetric dirver to support
raw data as input.

For applications/libraries that want to benefit from the data-path
encryption acceleration provided by QAT but not necessarily depends
on DPDK data-path structures (such as VPP), some performance
degradation is unavoidable to convert between their specific data
structure and DPDK cryptodev operation as well as mbufs.

This patch takes advantage of existing QAT implementations to form
symmetric data-path enqueue and dequeue APIs that support raw data
as input so that they can have wider usability towards those
applications/libraries without performance drop caused by the data
structure conversions. In the meantime the less performance-sensitive
cryptodev device and session management remains intact so that DPDK
cryptodev remains to be unified control path library for QAT.

Signed-off-by: Fan Zhang <redacted>
Signed-off-by: Piotr Bronowski <redacted>
---
+ Techboard,

I think, this problem is not specific to QAT nor the crypto subsystem.
If we are planning to expose the PMD specific descriptors, It would good to get
general agreement from everyone. Probably we can/need to extend ethdev
PMDs as well based on the need.

If we are taking this path, at minimum, we need a generic control path
API with cryptodev,
to query such capability. (Probably API to register descriptor and
query supported descriptor as PMD
can support multiple descriptors)
+       SYMLINK-y-include += qat_sym_frame.h
I think, the exposed file name should be rte_pmd_qat_sym_frame.h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help