DPDK usage discussions
 help / color / mirror / Atom feed
From: Meng Wang <meng.w.wang@oracle.com>
To: users@dpdk.org
Subject: [dpdk-users] [Crypto-QAT] queue pairs per QAT device
Date: Mon, 13 May 2019 14:47:22 -0400	[thread overview]
Message-ID: <100a5208-2fde-ab32-c8e1-22964acce5fe@oracle.com> (raw)

Hi,

I'm trying to understand how queue pairs get setup on QAT. I have 
created one VF for each lcore. From qat code it seems support up to 2 
qps per device/VF, one for each direction. Then I found that each queue 
pair has its own qat_queue rx/tx.

/* Maximum number of qps on a device for any service type */
#define ADF_MAX_QPS_ON_ANY_SERVICE    2
#define ADF_RING_DIR_TX            0
#define ADF_RING_DIR_RX            1

How does the direction of qp correlate to direction of qat_queue? Is one 
queue pair sufficient to transmit packet between QAT and application per 
core?

Thanks,
Meng


             reply	other threads:[~2019-05-13 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-13 18:47 Meng Wang [this message]
2019-05-14 17:04 ` Trahe, Fiona

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=100a5208-2fde-ab32-c8e1-22964acce5fe@oracle.com \
    --to=meng.w.wang@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).