Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BKlis
Beginner
2,088 Views

How to poll cpaCyRsaDecrypt operations?

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
9 Replies
CarlosAM_INTEL
Moderator
54 Views

Hello meresurmisesir,

Thank you for contacting Intel Embedded Community.

Could you please let us know the Intel device related to this consultation?

Thanks in advance for your clarification.

Best Regards,

Carlos A.

BKlis
Beginner
54 Views

Hello,

The Packing List id: Intel QuickAssist Adapter 8950-SCCP, IQA89501G1P5

Info from hardware query:

CarlosAM_INTEL
Moderator
54 Views

Hello meresurmisesir,

Thanks for your reply.

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-i... How Intel(R) QuickAssist Technology Accelerates Deep Packet Inspections and other Network Function Use Cases.

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

Best Regards,

Carlos_A.

BKlis
Beginner
54 Views

Hello,

 

No, the information is not useful to me as both links in your reply seem to be broken. Is the Software Networking Forum part of this "Embedded Community" site? I see only the following forums.

 

/community/en/hottopics Moderator Top Picks

/community/en/hardware Hardware

/community/en/software Software & Bios

/community/en/applications Market Applications

I was originally pointed to this site from representative in my area.

CarlosAM_INTEL
Moderator
54 Views

Hello meresurmisesir,

Thanks for your reply.

Could you please try again the mentioned links in order to verify that we have provided the proper ones?

https://software.intel.com/en-us/forums/networking Networking

https://software.intel.com/en-us/blogs/2014/12/12/how-intel-quickassist-technology-accelerates-deep-... How Intel® QuickAssist Technology Accelerates Deep Packet Inspections and other Network Function Use Cases | Intel® Deve…

Thanks again for your help to solve this inconvenience.

Best Regards,

Carlos A.

BKlis
Beginner
54 Views

IE, Safari, and Chrome are all reporting:

jive

Oops, the page can't be found

Perhaps I do not have the correct account permissions to access those pages.

CarlosAM_INTEL
Moderator
54 Views

Hello meresurmisesir,

Thanks for your update.

You are correct, because you have a Basic 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 us know and we will expedite the review of your application.

Best Regards,

Carlos A.

BKlis
Beginner
54 Views

Hello,

I've submitted the application.

Thanks

CarlosAM_INTEL
Moderator
54 Views

Hello meresurmisesir,

Thanks for your reply.

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.