From: Bill Bonaparte <programme110@gmail.com>
To: Jay Rolette <rolette@infinite.io>
Cc: DPDK <dev@dpdk.org>
Subject: Re: [dpdk-dev] Help: How to read packet statistics from device registers via dpdk PMD?
Date: Thu, 7 Jul 2016 13:52:45 +0800 [thread overview]
Message-ID: <CAO8FX+QbhW2Ed4vW_dsCyG1LYoeBOzweJf1hc99BAVaSgj+44g@mail.gmail.com> (raw)
In-Reply-To: <CADNuJVr4HZKDY_Y9QWmg_b-FFaRJe8TEpsx1ucLi=rXC-49K2Q@mail.gmail.com>
I am so happy to get your reply.
My dpdk version is 2.1,and the OS is centOS 7。
the following is the output from "dpdk_nic_bind.py --status":
[root@APV35 ~]# dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver
============================================
0000:04:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=
0000:0b:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=
0000:13:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=
0000:1b:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:03:00.0 'VMXNET3 Ethernet Controller' if=ens160 drv=vmxnet3
unused=igb_uio *Active*
Other network devices
=====================
<none>
I tried it on the physical mathine, it still does not work. the OS is
centOS 7, too.
[root@AN ~]# dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver
============================================
0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=
0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=
0000:03:00.0 'I350 Gigabit Backplane Connection' drv=igb_uio unused=
0000:03:00.1 'I350 Gigabit Backplane Connection' drv=igb_uio unused=
0000:03:00.2 'I350 Gigabit Backplane Connection' drv=igb_uio unused=
0000:03:00.3 'I350 Gigabit Backplane Connection' drv=igb_uio unused=
0000:07:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:07:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:07:00.2 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:07:00.3 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:09:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:09:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:09:00.2 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:09:00.3 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:0c:00.0 'Device 0011' drv=igb_uio unused=
0000:0f:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:0f:00.0 'I350 Gigabit Network Connection' if=enp15s0f0 drv=igb
unused=igb_uio *Active*
Other network devices
=====================
<none>
On Tue, Jul 5, 2016 at 8:03 PM, Jay Rolette <rolette@infinite.io> wrote:
>
> On Tue, Jul 5, 2016 at 2:35 AM, Bill Bonaparte <programme110@gmail.com>
> wrote:
>
>> 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).
>>
>
> Probably something in your app or environment rather than in the API
> itself. We run rte_eth_stats_get() against interfaces in VMware Fusion,
> VirtualBox and real hardware and they all work generally.
>
> Need some info before anyone can help you much:
>
> * What version of DPDK are you running?
> * What OS are you running on?
> * Output from "dpdk_nic_bind.py --status"?
>
> Jay
>
next prev parent reply other threads:[~2016-07-07 5:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 7:35 Bill Bonaparte
2016-07-05 12:03 ` Jay Rolette
2016-07-07 5:52 ` Bill Bonaparte [this message]
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+QbhW2Ed4vW_dsCyG1LYoeBOzweJf1hc99BAVaSgj+44g@mail.gmail.com \
--to=programme110@gmail.com \
--cc=dev@dpdk.org \
--cc=rolette@infinite.io \
/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).