Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns

QuickAssist: polling RSA operations

BKlis
Beginner
1,730 Views

Hello,

Hardware is Intel QuickAssist Adapter 8950-SCCP.

 

I am working on a user space application that requires asynchronous RSA operations. I believe I have the option between receiving an interrupt callback or polling for completion of the operation. I'd like to use the polling method to avoid the context switching of the interrupt callback.

I do observe that by toggling the "Cy0IsPolled =" between 1 and 0 in the /etc/dh895xcc_qa_dev0.conf I can influence whether icp_sal_CyPollInstance returns a CPA_STATUS_SUCCESS when the operation is complete, so that looks good.

 

However, I am finding that I always must include a valid callback to the second parameter (psRsaDecryptCb) of cpaCyRsaDecrypt in order to use that API asynchronously and that callback is always invoked regardless of the "Cy0IsPolled" value in the configuration file.

 

What is the correct configuration to work in a polling-only mode so I don't get the callback?

0 Kudos
2 Replies
CarlosAM_INTEL
Moderator
375 Views

Hello meresurmisesir,

Thank you for contacting Intel Embedded Community.

In order to help you please address your questions to the https://software.intel.com/en-us/forums/networking Software Networking Forum, where you be connected with a representative in your area, which could possibly help with your questions. Please review as reference the /software.intel.com/en-us/blogs/2014/12/12/how-intel-quickassist-technology-accelerates-deep-packet-inspections-and-other How Intel(R) QuickAssist Technology Accelerates Deep Packet Inspections and other Network Function Use Cases. It is important to let you know that the cited Forum and document are classified as Intel confidential which requires a CDNA between your company and Intel as well as a Privileged EDC account. To request an upgrade from your Basic EDC account to a Privileged account, go to http://www.intel.com/content/www/us/en/embedded/embedded-design-centersupport.html http://www.intel.com/content/www/us/en/embedded/embedded-design-centersupport.html and click on "Manage Your Intel Profile" found in the "Manage Your Account" section of the page. From there you can request an upgrade. After you submit the application, please let me know and I will expedite the review of your application.

Please let us know if this information is useful to you.

Best Regards,

Carlos A.

0 Kudos
CarlosAM_INTEL
Moderator
375 Views

Hello meresurmisesir,

We want to inform you that you should have access to the suggested sites because your account has been upgraded.

Please let us know if this information is useful to you.

Best Regards,

Carlos_A.

0 Kudos
Reply