- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After going thru the QATLib documentation and sample code, started to work on the testing App. There is a question regarding to data compression:
- Under synchronous mode and non-concurrent compression, when the function cpaDcNSCompressData() is executed, it always receives CPA_STATUS_RETRY error code. Compress will work after retry / resubmit the request. Wondered why a RETRY error code is returned in the beginning.
- How to diagnose this issue properly? Has no clue at this stage.
The compression function of each data block is executed repeatedly in serial until all data blocks are compressed. Source code of the test program is uploaded for reference.
QAT Driver is QAT20.L.1.1.40-00018; OS is Ubuntu 20.04; HW is Xeon 5416S (2S Server).
Regards,
Otto
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Otto,
There could be other similar scenarios but most of the time The Intel® QuickAssist Technology API returns a CPA_STATUS_RETRY when the ring becomes full.
You may refer to the following documentation for further information: https://www.intel.com/content/www/us/en/content-details/709201/intel-quickassist-technology-api-reference-manual-combined-cryptographic-and-compression.html, section 1.4.116 Function cpaDcNsCompressData
I hope this helps.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to get / examine the status of the ring?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi OttoChow,
I am still checking on this but for now I can tell you that we have a mmtool/ring_dump that I am going to be sharing with you but I cant really tell if this is what you are looking for.
Please check and let me know.
Thanks,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi OttoChow,
Have you had the opportunity to review the mmtool/ring_dump tool I supplied you with?
I sent it to you via email.
Thanks,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi OttoChow,
Do you require any further assistance?
If not, I will go ahead and close the internal ticket that was opened for this matter.
Please inform me accordingly.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi OttoChow,,
I am concluding the internal case I opened for this matter. Please don't hesitate to initiate a new thread if you require further help.
Thanks,
Ronny G

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page