DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] dpdk interfaces counters
@ 2017-08-30  6:23 Pragash Vijayaragavan
  2017-08-30  6:32 ` Muhammad Zain-ul-Abideen
  2017-08-30  9:19 ` Andriy Berestovskyy
  0 siblings, 2 replies; 7+ messages in thread
From: Pragash Vijayaragavan @ 2017-08-30  6:23 UTC (permalink / raw)
  To: users; +Cc: Minseok Kwon, Shailesh Vajpayee

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30  6:23 [dpdk-users] dpdk interfaces counters Pragash Vijayaragavan
@ 2017-08-30  6:32 ` Muhammad Zain-ul-Abideen
  2017-08-30  9:19 ` Andriy Berestovskyy
  1 sibling, 0 replies; 7+ messages in thread
From: Muhammad Zain-ul-Abideen @ 2017-08-30  6:32 UTC (permalink / raw)
  To: pxv3620; +Cc: users, Minseok Kwon, Shailesh Vajpayee

On Wed, Aug 30, 2017 at 11: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.
>
Which application you are using, if you are using l2fwd it shows the
stats. But these stats need to be managed by application
> Thanks,
>
> Pragash Vijayaragavan
> Grad Student at Rochester Institute of Technology
> email : pxv3620@rit.edu
> ph : 585 764 4662

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30  6:23 [dpdk-users] dpdk interfaces counters 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
  1 sibling, 1 reply; 7+ messages in thread
From: Andriy Berestovskyy @ 2017-08-30  9:19 UTC (permalink / raw)
  To: pxv3620; +Cc: users, Minseok Kwon, Shailesh Vajpayee

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30  9:19 ` Andriy Berestovskyy
@ 2017-08-30  9:24   ` Shyam Shrivastav
  2017-08-30  9:59     ` Andriy Berestovskyy
  0 siblings, 1 reply; 7+ messages in thread
From: Shyam Shrivastav @ 2017-08-30  9:24 UTC (permalink / raw)
  To: Andriy Berestovskyy; +Cc: pxv3620, users, Minseok Kwon, Shailesh Vajpayee

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#a97567472450b31ef53950fb2ef472
> 98b
>
> 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
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30  9:24   ` Shyam Shrivastav
@ 2017-08-30  9:59     ` Andriy Berestovskyy
  2017-08-30 10:21       ` Shyam Shrivastav
  0 siblings, 1 reply; 7+ messages in thread
From: Andriy Berestovskyy @ 2017-08-30  9:59 UTC (permalink / raw)
  To: Shyam Shrivastav; +Cc: pxv3620, users, Minseok Kwon, Shailesh Vajpayee

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30  9:59     ` Andriy Berestovskyy
@ 2017-08-30 10:21       ` Shyam Shrivastav
  2017-08-30 22:10         ` Pragash Vijayaragavan
  0 siblings, 1 reply; 7+ messages in thread
From: Shyam Shrivastav @ 2017-08-30 10:21 UTC (permalink / raw)
  To: Andriy Berestovskyy; +Cc: pxv3620, users, Minseok Kwon, Shailesh Vajpayee

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@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@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
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-users] dpdk interfaces counters
  2017-08-30 10:21       ` Shyam Shrivastav
@ 2017-08-30 22:10         ` Pragash Vijayaragavan
  0 siblings, 0 replies; 7+ messages in thread
From: Pragash Vijayaragavan @ 2017-08-30 22:10 UTC (permalink / raw)
  To: Shyam Shrivastav
  Cc: Andriy Berestovskyy, users, Minseok Kwon, Shailesh Vajpayee

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@rit.edu
ph : 585 764 4662


On Wed, Aug 30, 2017 at 6:21 AM, Shyam Shrivastav <
shrivastav.shyam@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@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@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#a97567472450b31e
>> f53950fb2ef47298b
>> >>
>> >> 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
>>
>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-30 22:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30  6:23 [dpdk-users] dpdk interfaces counters 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
2017-08-30 10:21       ` Shyam Shrivastav
2017-08-30 22:10         ` Pragash Vijayaragavan

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).