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

qat_mem non root access

BDeni
Beginner
1,971 Views

I building QAT1.6 driver and openssl-async. All working fine, but as root.

I have tried:

chmod g=rw /dev/icp_*

chgrp ${GROUP} /dev/icp_*

chmod g=rw /dev/qat_mem

chgrp ${GROUP} /dev/qat_mem

but getting the following error:

 

mmap: 11 Resource temporarily unavailable: Resource temporarily unavailable

crypto_alloc_from_slab error, create_slab failed - memory allocation error

 

How do i allow non-root access to qat_mem?

0 Kudos
5 Replies
CarlosAM_INTEL
Moderator
723 Views

Hello Bobik,

Thank you for contacting Intel Embedded Community.

In order to help you in the best way possible, could you please tell us the part numbers of the Intel devices related to this consultation?

Thanks in advance for your collaboration.

Best Regards,

Carlos_A.

0 Kudos
BDeni
Beginner
723 Views

Silicom PE2iSCO3 chipset DH8955CL

driver version: L.2.5.0-80

openssl patch version: 0.4.9-009

0 Kudos
CarlosAM_INTEL
Moderator
723 Views

Hello Bobik,

Thanks for your update.

We would like to help you, but you need to contact the manufacturer of the mentioned Crypto Compression PCI E G3 Server Adapter to receive the further help because they have all the information related to their products.

In order to help you, as a reference please address your problem by filling the form that you can find at the following web site:

 

http://www.silicom-usa.com/contactus.aspx?Item=693&Product=270&ln=en Contact Us

 

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

Best Regards,

Carlos_A.

0 Kudos
BDeni
Beginner
723 Views

And what is the difference between qat_mem and qae_mem? Which driver is recommended to use? I did not find this in the documentation.

0 Kudos
CarlosAM_INTEL
Moderator
723 Views

Hello Bobik,

Thanks for your reply.

The qae_mem information that may help you can be found as a reference in section 3.2.7 specifically at the Resolution field, on page 26 of the http://www.intel.com/content/dam/www/public/us/en/documents/release-notes/quickassist-technology-software-release-notes.pdf Intel(R) QuickAssist Technology Software Package Release Notes Version: QATmux.L.1.1.0-60; also in section 5.16 specifically at the step 7, on page 64 of the https://01.org/sites/default/files/page/330753-003_cck_pg.pdf Intel(R) Communications Chipset 8900 to 8920 Series Software Programmer's Guide.

We hope that this information is useful to you.

Best Regards,

Carlos_A.

0 Kudos
Reply