[dpdk-users] dpdk interfaces counters

Pragash Vijayaragavan pxv3620 at rit.edu
Thu Aug 31 00:10:13 CEST 2017


Thanks for the inputs.

We use MoonGen to generate traffic. We will let you know if we face more
issues.

Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620 at rit.edu
ph : 585 764 4662


On Wed, Aug 30, 2017 at 6:21 AM, Shyam Shrivastav <
shrivastav.shyam at gmail.com> wrote:

> Yes rte_eth_stats_get() work by default, CONFIG_RTE_PORT_STATS_COLLECT
> enables port stats in librte_port layer ..
>
> On Wed, Aug 30, 2017 at 3:29 PM, Andriy Berestovskyy <aber at semihalf.com>
> wrote:
>
>> rte_eth_stats_get() works fine by default.
>>
>> Andriy
>>
>> On Wed, Aug 30, 2017 at 11:24 AM, Shyam Shrivastav
>> <shrivastav.shyam at 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 at semihalf.com
>> >
>> > wrote:
>> >>
>> >> Hey,
>> >> Have a look at rte_eth_stats_get():
>> >>
>> >> http://dpdk.org/doc/api/rte__ethdev_8h.html#a97567472450b31e
>> f53950fb2ef47298b
>> >>
>> >> 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
>> >
>> >
>>
>>
>>
>> --
>> Andriy Berestovskyy
>>
>
>


More information about the users mailing list