From: Andriy Berestovskyy <aber@semihalf.com>
To: Shyam Shrivastav <shrivastav.shyam@gmail.com>
Cc: pxv3620@rit.edu, users <users@dpdk.org>,
Minseok Kwon <mxkvcs@rit.edu>,
Shailesh Vajpayee <srv6224@rit.edu>
Subject: Re: [dpdk-users] dpdk interfaces counters
Date: Wed, 30 Aug 2017 11:59:19 +0200 [thread overview]
Message-ID: <CAOysbxrwNfqBA4QAxkYQ_iped-aJYvGVKyN4ZRMOCaDF46AbeQ@mail.gmail.com> (raw)
In-Reply-To: <CAGSp03nEynAyBoKgBL_5i_SVRd88abpC1LgbP+9_bW0v7yk+RQ@mail.gmail.com>
rte_eth_stats_get() works fine by default.
Andriy
On Wed, Aug 30, 2017 at 11:24 AM, Shyam Shrivastav
<shrivastav.shyam@gmail.com> wrote:
> Also port stats need to be enabled in common config
>
> common_base:CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
> common_base:CONFIG_RTE_LIBRTE_JOBSTATS=y
> common_base:CONFIG_RTE_LIBRTE_LATENCY_STATS=y
> common_base:CONFIG_RTE_SCHED_COLLECT_STATS=n
> common_base:CONFIG_RTE_PORT_STATS_COLLECT=n
> common_base:CONFIG_RTE_TABLE_STATS_COLLECT=n
> common_base:CONFIG_RTE_PIPELINE_STATS_COLLECT=n
> common_base:CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
>
>
> On Wed, Aug 30, 2017 at 2:49 PM, Andriy Berestovskyy <aber@semihalf.com>
> wrote:
>>
>> Hey,
>> Have a look at rte_eth_stats_get():
>>
>> http://dpdk.org/doc/api/rte__ethdev_8h.html#a97567472450b31ef53950fb2ef47298b
>>
>> Andriy
>>
>> On Wed, Aug 30, 2017 at 8:23 AM, Pragash Vijayaragavan <pxv3620@rit.edu>
>> wrote:
>> > Hi,
>> >
>> > I have 2 NICs connected to dpdk, I send traffic from 1 and receive on
>> > the
>> > other.
>> >
>> > Is there anyway how i can see the interface counters of these NICs to
>> > check
>> > whether my packets are received.
>> >
>> > Thanks,
>> >
>> > Pragash Vijayaragavan
>> > Grad Student at Rochester Institute of Technology
>> > email : pxv3620@rit.edu
>> > ph : 585 764 4662
>>
>>
>>
>> --
>> Andriy Berestovskyy
>
>
--
Andriy Berestovskyy
next prev parent reply other threads:[~2017-08-30 9:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 6:23 Pragash Vijayaragavan
2017-08-30 6:32 ` Muhammad Zain-ul-Abideen
2017-08-30 9:19 ` Andriy Berestovskyy
2017-08-30 9:24 ` Shyam Shrivastav
2017-08-30 9:59 ` Andriy Berestovskyy [this message]
2017-08-30 10:21 ` Shyam Shrivastav
2017-08-30 22:10 ` Pragash Vijayaragavan
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=CAOysbxrwNfqBA4QAxkYQ_iped-aJYvGVKyN4ZRMOCaDF46AbeQ@mail.gmail.com \
--to=aber@semihalf.com \
--cc=mxkvcs@rit.edu \
--cc=pxv3620@rit.edu \
--cc=shrivastav.shyam@gmail.com \
--cc=srv6224@rit.edu \
--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).