DPDK patches and discussions
 help / color / mirror / Atom feed
From: Srinivasreddy R <srinivasreddy4390@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] [discuss]emulated e1000 device with qemu is not showing nic stats correctly
Date: Fri, 6 Feb 2015 20:48:51 +0530	[thread overview]
Message-ID: <CAJP4VWjks6KN4MRhoMMYYUxBqMEt6iXqHxUQFPoOOjuzm-fMxw@mail.gmail.com> (raw)

Hi ,

I have emulated  virtual e1000  device  using qemu  .

I have binded to igb_uio . and run PacketGen  .

Now I am able to receive and transmit packets on the device .

But PacketGen is not showing  Tx/Rx  Rate .

I have put  printed  struct rte_eth_stats after fetching nic stats . except
tx, rx packet count all the other  fields are zeroes .

I am facing the same issue with my dpdk application .



Is it a bug / known issue  ? . I have used dpdk1.7.

Have any faced it earlier .


qemu:

qemu-system-x86_64   -device e1000  ..



on the VM :


# lspci

00.03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet
Controller (rev 03)



my dpdk app eal_inti  :



EAL: core 1 is ready  (tid=2b7fe700)

EAL: PCI device 0000.00.03.0 on NUMA socket -1

EAL: probe driver: 8086:100e rte_em_pmd

EAL: PCI memory mapped at 0x7f602c96e000



dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver

====================================

0000:00:03:0 '82540EM Gigabit Ethernet controller' drv=igb_uio unused=





Thanks

Srinivas.

                 reply	other threads:[~2015-02-06 15:18 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=CAJP4VWjks6KN4MRhoMMYYUxBqMEt6iXqHxUQFPoOOjuzm-fMxw@mail.gmail.com \
    --to=srinivasreddy4390@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).