mbox series

[SRU,F,0/1] UBUNTU: SAUCE: pka: Handle ring open scenario when rings are busy

Message ID 1613579607-16458-1-git-send-email-mahantesh@nvidia.com
Headers show
Series UBUNTU: SAUCE: pka: Handle ring open scenario when rings are busy | expand

Message

Mahantesh Salimath Feb. 17, 2021, 4:33 p.m. UTC
BugLink: https://bugs.launchpad.net/chelmsford/+bug/1911931

SRU Justification:

[Impact]
* Kernel traces are seen at startup on Bluefield platforms (by Mellanox/Nvidia) due to applications using public key accelerator (PKA) hardware simultaneously.

[Fix]
* Allow synchronized usage of PKA hardware resources "pka: Handle ring open scenario when rings are busy"

[Test Case]
* Trigger multiple processes/applications to use PKA HW simultaneously, this can be done via OpenSSL. Run the OpenSSL speed test with multiple processes using 'pka' engine. Ex: openssl speed -multi 2 -engine pka rsa512
* Note: On Bluefield platforms the OpenSSL dynamic engine (-engine pka, in the above example) is loaded by default.

[Other]
* Note: Unit of PKA HW available for application usage is called a ring.

Comments

Stefan Bader Feb. 19, 2021, 8:13 a.m. UTC | #1
On 17.02.21 17:33, Mahantesh Salimath wrote:
> BugLink: https://bugs.launchpad.net/chelmsford/+bug/1911931
> 
> SRU Justification:
> 
> [Impact]
> * Kernel traces are seen at startup on Bluefield platforms (by Mellanox/Nvidia) due to applications using public key accelerator (PKA) hardware simultaneously.
> 
> [Fix]
> * Allow synchronized usage of PKA hardware resources "pka: Handle ring open scenario when rings are busy"
> 
> [Test Case]
> * Trigger multiple processes/applications to use PKA HW simultaneously, this can be done via OpenSSL. Run the OpenSSL speed test with multiple processes using 'pka' engine. Ex: openssl speed -multi 2 -engine pka rsa512
> * Note: On Bluefield platforms the OpenSSL dynamic engine (-engine pka, in the above example) is loaded by default.
> 
> [Other]
> * Note: Unit of PKA HW available for application usage is called a ring.
> 

Same reasons as before.