[dpdk-users] dpdk interfaces counters

Shyam Shrivastav shrivastav.shyam at gmail.com
Wed Aug 30 11:24:22 CEST 2017


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 at semihalf.com>
wrote:

> Hey,
> Have a look at rte_eth_stats_get():
> http://dpdk.org/doc/api/rte__ethdev_8h.html#a97567472450b31ef53950fb2ef472
> 98b
>
> Andriy
>
> On Wed, Aug 30, 2017 at 8:23 AM, Pragash Vijayaragavan <pxv3620 at 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 at rit.edu
> > ph : 585 764 4662
>
>
>
> --
> Andriy Berestovskyy
>


More information about the users mailing list