* [dpdk-users] qat is not working with dpdk @ 2021-03-04 6:11 Anjum, Sohail 2021-03-04 6:14 ` Anjum, Sohail 0 siblings, 1 reply; 3+ messages in thread From: Anjum, Sohail @ 2021-03-04 6:11 UTC (permalink / raw) To: users 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. -- *Regards*, *Sohail Anjum* *EECS Department.* *National Chiao Tung University, Hsinchu, Taiwan* ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] qat is not working with dpdk 2021-03-04 6:11 [dpdk-users] qat is not working with dpdk Anjum, Sohail @ 2021-03-04 6:14 ` Anjum, Sohail 2021-03-04 7:38 ` Kusztal, ArkadiuszX 0 siblings, 1 reply; 3+ messages in thread From: Anjum, Sohail @ 2021-03-04 6:14 UTC (permalink / raw) To: users 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 <sohail.eic06g@nctu.edu.tw> 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. > > -- > *Regards*, > > *Sohail Anjum* > > *EECS Department.* > *National Chiao Tung University, Hsinchu, Taiwan* > > -- *Regards*, *Sohail Anjum* *EECS Department.* *National Chiao Tung University, Hsinchu, Taiwan* ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] qat is not working with dpdk 2021-03-04 6:14 ` Anjum, Sohail @ 2021-03-04 7:38 ` Kusztal, ArkadiuszX 0 siblings, 0 replies; 3+ messages in thread From: Kusztal, ArkadiuszX @ 2021-03-04 7:38 UTC (permalink / raw) To: Anjum, Sohail, users > -----Original Message----- > From: users <users-bounces@dpdk.org> On Behalf Of Anjum, Sohail > Sent: Thursday, March 4, 2021 7:15 AM > To: users@dpdk.org > 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 <sohail.eic06g@nctu.edu.tw> > 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* ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-04 7:38 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-03-04 6:11 [dpdk-users] qat is not working with dpdk Anjum, Sohail 2021-03-04 6:14 ` Anjum, Sohail 2021-03-04 7:38 ` Kusztal, ArkadiuszX
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).