[dpdk-users] query regarding crypto device initialization
rajeshisbest at yahoo.co.in
Sun Dec 11 06:28:12 CET 2016
I am using intel atom processor c2000 based box which has in built qat crypto hardware device. I am trying to use/register/activate this device by using DPDK crypto libraries.following are the different operations i have performed.1) installed intel qat libraries and built the same.2) executed "insmod qaeMrv.ko"3) started qat service using "service qat_serivice start"4) download dpdk 16.04 package and built with qat pmd enabled.5) now trying to run sample application l2fwd-crypto as mentioned below.
./build/l2fwd-crypto -c 0x3 -n 4 -d ../../x86_64-native-linuxapp-gcc/lib/librte_pmd_qat.so -- -p 0x3 --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_CBC --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --auth_op GENERATE --auth_algo AES_GCM --auth_key 10:11:12:13:14:15:16:17:18:19:1a:1b:1c:1d:1e:1f...................... (some debugs ..........)Checking link status..................................done Port 0 Link Up - speed 1000 Mbps - full-duplex Lcore 0: RX port 0 No crypto devices availableEAL: Error - exiting with code: 1 Cause: Failed to initialize crypto devicesfinally result as mentioned above, not able to initialize crypto device. seems crypto device is not registered with dpdk libraries.i hope i missed something. please let me know what to be done to initialize the crytpo device.
More information about the users