Is CAAM by default enable?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is CAAM by default enable?

1,104 Views
deven_solanki
Contributor III

Hi, 

I am new to imx processor.I am working on imx7d sabresd board, and I am using linux-4.1.15 .Right now I am exploring Hardware Acceleration in CAAM. I refer many article and I also test by loading cryptodev.ko module and then openssl command(link :Cryptography Users Guide - Texas Instruments Wiki ). I am getting difference in CPU usage.

That is fine. But my question is , When hardware acceleration is used by processor?, Like by default when we connect over network at that time, or we need to set anything for that? or only if we insert cryptodev module then only it is used hardware acceleration? 

Kindly clear my doubt.

Thanks in advance.

0 Kudos
2 Replies

640 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may be needed to install CAAM driver / module. The CAAM drivers are accelerated through

the CryptoDev interface.

# modprobe cryptodev

Regards,

Yuri.

640 Views
igorpadykov
NXP Employee
NXP Employee

Hi DEVEN

please refer to Chapter 50 CAAM attached Linux Manual

in particular sect.50.6 Driver Configuration.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------