Does AES-GCM-128 Hardware Crypto accessible in DPDK

Hi Everyone,

I tried out AES-GCM Decrypt on Bluefield-3 with Crypto-enabled. And it works fine.

However, I have all of my code written in DPDK. Is there any way to access hardware-crypto in DPDK?

Thank you,
Tuan.

Hi tuan

Please check :
https://doc.dpdk.org/guides/cryptodevs/mlx5.html

Thank you
Meng, Shi

1 Like

I ran into issue when trying to query the crypto operational mode. Do you know how can I fix it? Thank you!

root@bf:/home/ubuntu# mlxreg -d /dev/mst/mt41692_pciconf0 --reg_name CRYPTO_OPERATIONAL --get

Sending access register...

-E- Failed to send access register: ICMD error 0x3: ICMD operational error, Please check icmd.ctrl.status field