DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ali Volkan Atli <Volkan.Atli@argela.com.tr>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] How to get the number of used descriptors for vHost-users
Date: Thu, 18 Aug 2016 13:37:59 +0000	[thread overview]
Message-ID: <2b8170da42434e858bc5036b2639c3ac@MX2.argela.com.tr> (raw)


Hi all

Is there a function -like rte_eth_rx_queue_count()- to get the number of used (or free) descriptors in a vHost RX/TX's queue? I used rte_vhost_avail_entries() but I'm not sure it is correct way.

Thanks in advance.

- Volkan

                 reply	other threads:[~2016-08-18 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2b8170da42434e858bc5036b2639c3ac@MX2.argela.com.tr \
    --to=volkan.atli@argela.com.tr \
    --cc=dev@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).