> -----Original Message----- > From: users <[email protected]> On Behalf Of Anjum, Sohail > Sent: Thursday, March 4, 2021 7:15 AM > To: [email protected] > Subject: Re: [dpdk-users] qat is not working with dpdk > > Hello everyone I am trying to run dpdk-test-crypto-perf with sha1-hmac and > sha2-256-hamc. > > But whenever I run this command > {./x86_64-native-linuxapp-gcc/build/app/test-crypto-perf/dpdk-test-cryptoperf > --socket-mem 2048,0 --legacy-mem -w 0000:02:01.0 -w 0000:02:01.1 -w > 0000:02:01.2 -w 0000:02:01.3 -l 4,5,13,6,14 -n 4 -- --buffer-sz > 64,128,256,512,1024,2048 --optype cipher-then-auth --ptest throughput -auth- > key-sz 64 --cipher-key-sz 16 --devtype* crypto_qat* --cipher-iv-sz 16 > - > -auth-op generate --burst-sz 32 --total-ops 30000000 --silent --digest-sz > 20 --auth-algo sha1-hmac --cipher-algo aes-cbc --cipher-op encrypt } I get > this > error message()USER1 Failed to initialise requested crypto device type) and I > don't know how to solve this problem. Need your suggestions. I don't have any > idea how to initialise a crypto device. > However I already have qat installed in my Pc and service is in the start > mode. > > On Thu, Mar 4, 2021 at 2:11 PM Anjum, Sohail <[email protected]> > wrote: > > > > > Hello everyone I am trying to run dpdk-test-crypto-perf with sha1-hmac > > and sha2-256-hamc. > > > > But whenever I run this command I get this error message and I don't > > know how to solve this problem. Need your suggestions. I don't have > > any idea how to initialise a crypto device. However I already have qat > > installed in my Pc and service is in the start mode.
Are all devices you have specified bound to vfio-pci (eventually igb-uio) according to "Bind to the vfio-pci driver" section in Doc/guides/cryptodevs/qat.rst? Do you see any additional informations like: "Number of needed queue pairs is higher than the maximum number of queue pairs per device." Or "No crypto devices type crypto_qat available"? It is usually shown over this line: "# Crypto Performance Application Options:'" > > > > -- > > *Regards*, > > > > *Sohail Anjum* > > > > *EECS Department.* > > *National Chiao Tung University, Hsinchu, Taiwan* > > > > > > -- > *Regards*, > > *Sohail Anjum* > > *EECS Department.* > *National Chiao Tung University, Hsinchu, Taiwan*
