Is CAAM by default enable?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is CAAM by default enable?

1,665 次查看
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 项奖励
回复
2 回复数

1,201 次查看
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.

1,201 次查看
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!
-----------------------------------------------------------------------------------------------------------------------