All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Vyal <dmitryvyal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: John Lange <JLange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org>,
	"dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: dropped packet count
Date: Wed, 09 Oct 2013 11:35:55 +0400	[thread overview]
Message-ID: <5255075B.9040505@gmail.com> (raw)
In-Reply-To: <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org>

Hi John,

take a look at  void rte_eth_stats_get(uint8_t /port_id/, struct 
rte_eth_stats <http://dpdk.org/doc/api/structrte__eth__stats.html> 
*/stats);/
http://dpdk.org/doc/api/rte__ethdev_8h.html#aac7b274a66c959f827a0750eaf22a5cb

The structure it fills has a member q_errors which seems to be what 
you're looking for.

Regards,
Dmitry

On 10/09/2013 12:38 AM, John Lange wrote:
> Greetings,
>
> Is there a standard way of retrieving the dropped packet count for a particular port/queue in the DPDK?   If no way is currently defined, could this please be added in a future version?
>
> Thanks!

  parent reply	other threads:[~2013-10-09  7:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 20:38 dropped packet count John Lange
     [not found] ` <CE79C97F.26077%jlange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org>
2013-10-09  7:35   ` Dmitry Vyal [this message]
     [not found]     ` <5255075B.9040505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-09 16:01       ` John Lange
2013-10-09 16:02       ` John Lange

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=5255075B.9040505@gmail.com \
    --to=dmitryvyal-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=JLange-9Ux+Sa23uCBWk0Htik3J/w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.