DPDK usage discussions
 help / color / mirror / Atom feed
From: "Sridhar.V.Iyer" <sridhariyer@versa-networks.com>
To: users@dpdk.org
Subject: [dpdk-users] e1000 port stats
Date: Wed, 18 Nov 2015 18:11:36 -0800	[thread overview]
Message-ID: <ED54FCC3-DE2C-4D5E-9B73-37B338EB768D@versa-networks.com> (raw)

Hi,

In DPDK/lib/librte_pmd_e1000/em_ethdev.c:889 (eth_em_stats_get), for some reason, ibytes and obytes are not getting update, ipackets/opackets seem to be fine (kvm using e1000)

(gdb) p *rte_stats
$3 = {ipackets = 228635, opackets = 350, ibytes = 0, obytes = 0, imissed = 0, ibadcrc = 0, ibadlen = 0, ierrors = 0, oerrors = 0, imcasts = 0, rx_nombuf = 0, igoodpkts = 0,
  fdirmatch = 0, fdirmiss = 0, tx_pause_xon = 0, rx_pause_xon = 0, tx_pause_xoff = 0, rx_pause_xoff = 0, q_ipackets = {0 <repeats 16 times>}, q_opackets = {0 <repeats 16 times>},
  q_ibytes = {0 <repeats 16 times>}, q_obytes = {0 <repeats 16 times>}, q_errors = {0 <repeats 16 times>}, ilbpackets = 0, olbpackets = 0, ilbbytes = 0, olbbytes = 0, hw_stats = {
    crcerrs = 0, illerrc = 0, errbc = 0, mpc = {0, 0, 0, 0, 0, 0, 0, 0}, mlfc = 0, mrfc = 0, rlec = 0, lxontxc = 0, lxonrxc = 0, lxofftxc = 0, lxoffrxc = 0, pxontxc = {0, 0, 0, 0,
      0, 0, 0, 0}, pxonrxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxofftxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxoffrxc = {0, 0, 0, 0, 0, 0, 0, 0}, pxon2offc = {0, 0, 0, 0, 0, 0, 0, 0}, prc64 = 0,
    prc127 = 0, prc255 = 0, prc511 = 0, prc1023 = 0, prc1522 = 0, bprc = 0, mprc = 0, gprc = 0, gorc = 0, gptc = 0, gotc = 0, ruc = 0, rfc = 0, roc = 0, rjc = 0, mngprc = 0,
    mngptc = 0, tor = 0, tpr = 0, tpt = 0, ptc64 = 0, ptc127 = 0, ptc255 = 0, ptc511 = 0, ptc1023 = 0, ptc1522 = 0, mptc = 0, bptc = 0, mspdc = 0, xec = 0, otxdropcnt = 0,
    orxdropcnt = 0}}

This works fine on esxi guests using e1000.

I'm using dpdk 1.7. Any pointers would be great.

Regards,
Sridhar.V.Iyer








 <http://www.versa-networks.com/> <http://www.versa-networks.com/>

             reply	other threads:[~2015-11-19  2:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19  2:11 Sridhar.V.Iyer [this message]
2015-11-30 12:18 Van Haaren, Harry
2015-11-30 21:06 ` Sridhar.V.Iyer
2015-12-08 10:54   ` Van Haaren, Harry
2015-12-08 18:52     ` Sridhar.V.Iyer
2015-12-10  0:12       ` Sridhar.V.Iyer

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=ED54FCC3-DE2C-4D5E-9B73-37B338EB768D@versa-networks.com \
    --to=sridhariyer@versa-networks.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).