DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Run-to-completion or Pipe-line for QAT PMD in DPDK
@ 2019-01-17 23:00 Changchun Zhang
  2019-01-18 13:13 ` Trahe, Fiona
  0 siblings, 1 reply; 10+ messages in thread
From: Changchun Zhang @ 2019-01-17 23:00 UTC (permalink / raw)
  To: users

Hi,

 

I have user question on using the QAT device in the DPDK. 

In the real design, after calling enqueuer_burst() on the specified queue pair at one of the lcore, usually which one is usually done?

1.     should we do run-to-completion to call dequeuer_burst() waiting for the device finishing the crypto operation, 

2.     or should we do pipe-line, in which we return right after enqueuer_burst() and release the CPU. And call dequeuer_burst() on other thread function?

Option 1 is more like synchronous and can be seen on all the DPDK crypto examples, while option 2 is asynchronous which I have never seen in any reference design if I missed anything.

 

Thanks,

Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-01-18 18:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 23:00 [dpdk-users] Run-to-completion or Pipe-line for QAT PMD in DPDK Changchun Zhang
2019-01-18 13:13 ` Trahe, Fiona
2019-01-18 14:29   ` Pathak, Pravin
2019-01-18 15:44     ` Changchun Zhang
2019-01-18 16:26       ` Trahe, Fiona
2019-01-18 16:41         ` Changchun Zhang
2019-01-18 16:57           ` Trahe, Fiona
2019-01-18 17:55             ` Changchun Zhang
2019-01-18 18:20               ` Trahe, Fiona
2019-01-18 18:52                 ` Changchun Zhang

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).