DPDK usage discussions
 help / color / mirror / Atom feed
From: Changchun Zhang <changchun.zhang@oracle.com>
To: users@dpdk.org
Subject: [dpdk-users] Run-to-completion or Pipe-line for QAT PMD in DPDK
Date: Thu, 17 Jan 2019 15:00:51 -0800 (PST)	[thread overview]
Message-ID: <03fd164b-112b-4e44-a5b0-15c6e3703662@default> (raw)

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

             reply	other threads:[~2019-01-17 23:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 23:00 Changchun Zhang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03fd164b-112b-4e44-a5b0-15c6e3703662@default \
    --to=changchun.zhang@oracle.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).