DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bill Bonaparte <programme110@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Help: How to read packet statistics from device registers via dpdk PMD?
Date: Tue, 5 Jul 2016 15:35:05 +0800	[thread overview]
Message-ID: <CAO8FX+QkHpFxPdc8wgRFbj-3gfg-BZ4UHzYFW8xiVsPcfyRqcQ@mail.gmail.com> (raw)

Hi:
I am a new fish, I have tried my best to find answer about my question on
web, but I failed. so
I come here to ask for your help. the below is my question:

I found that dpdk provides a api rte_eth_stats_get to read packet
statistics about the interface, includes total input/output
unicast/multicast/brodcast packets/bytes. but the api does not work on
VMxnet interface (which is a virtual interface in VMware machine).

I am not sure if this api works for the real interface.
who has more information about this, and why it does not work on virtual
machine ?

Appreciate any comments and reply.

             reply	other threads:[~2016-07-05  7:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05  7:35 Bill Bonaparte [this message]
2016-07-05 12:03 ` Jay Rolette
2016-07-07  5:52   ` Bill Bonaparte
2016-07-07 12:19     ` Jay Rolette
2016-07-12 12:00       ` Bill Bonaparte

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=CAO8FX+QkHpFxPdc8wgRFbj-3gfg-BZ4UHzYFW8xiVsPcfyRqcQ@mail.gmail.com \
    --to=programme110@gmail.com \
    --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).