Thanks you for contacting the Intel Embedded Community.
The information that may help you is stated in the Intel(R) QuickAssist Technology Performance Optimization Guide.
Please let us know if this information is useful to you.
Thanks for your response. i'd like to ask you some questions.
I used the profiling tool and I found that the qaeCryptoMemV2P takes up most of the resource.
1. May I use the zero copy mode to avoiding it?
2. Can I use zero copy in synchronous mode for aes-128-cbc?
(The document mention that the zero copy only support in async mode for aes-128-hmac-sha1)
3. Could you give me some example about using zero cpoy mode?
Thanks for your reply.
In fact, it is definitely a cost associated with offloading the crypto to QAT hardware. You can really see the cost with smaller packet sizes. One thing we note is you are not using the asynchronous access to openssl. With async we can see much better performance. The data we measured and the commands used to obtain them are the following:
The details related to zero copy are stated in the Application Note included with the libcrypto package that can be found at the following web site:
There are few limitations when zero-copy mode is used. Please refer to the info stated in section 1.2.2 for additional details.
By the way, could you please give us detailed description of what you are attempting to accomplish?
Thanks in advance for your reply with the requested information.