DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [dpdk-users] memory tracker in PMD level
       [not found]           ` <68349471-4A9C-46EB-90EA-3FF67C28F0F5@intel.com>
@ 2016-05-31 15:12             ` Wiles, Keith
  0 siblings, 0 replies; only message in thread
From: Wiles, Keith @ 2016-05-31 15:12 UTC (permalink / raw)
  To: SAKTHIVEL ANAND S, dev

Resend to the list for others to view.

Regards,
Keith



>Please do not send HTML based text to the list only plain text emails.
>
>Regards,
>Keith
>
>
>From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
>Date: Tuesday, May 31, 2016 at 10:05 AM
>To: Keith Wiles <keith.wiles@intel.com>
>Subject: Re: [dpdk-users] memory tracker in PMD level
>
>it looks it prints tx and rx counts in terms of number of packets and related status(error type of that droped packetr). but actually i need mbuf status which is associated with that interface. tx and rx cound is secondary part for me.. i would like to check memory leak if any, in my code.
>
KW: All TX count drops are handled by the applications as that number of packets placed on the TX ring is returned in the tx_burst call not in the PMD. On the RX side if the mbufs are not available to attach to the data then you can look at the mempool stats, but that is about it.
>
>On Tue, May 31, 2016 at 8:29 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> wrote:
>Ok thanks.
>
>
>On Tue, May 31, 2016 at 8:19 PM, Wiles, Keith <keith.wiles@intel.com> wrote:
>
>From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
>Date: Tuesday, May 31, 2016 at 9:45 AM
>To: Keith Wiles <keith.wiles@intel.com>
>Subject: Re: [dpdk-users] memory tracker in PMD level
>
>Hi
>
>so what is the api , should i call to print those on .. is it like 
>i40e_dev_stats_get()  ??
>
>Please have a look at the Docs in the area of rte_eth_stats_get() https://readthedocs.org/projects/dpdk/
>
>Thanks
>
>
>On Tue, May 31, 2016 at 8:12 PM, Wiles, Keith <keith.wiles@intel.com> wrote:
>
>>Hi
>>
>>How can we track the packet drops in the PMD level, when receiving rings is
>>full or by some other means.
>>
>>Lets assume my processing speed is less than receiving line rate so PMD
>>rings are over run and incoming packets are getting dropped. how should i
>>track this issue(status of mbufs and dropping packets counts in PMD). Is
>>there any APIs or any tool available? is libtrace will help here?
>
>In most/all of the PMD drivers the stats will give you dropped packets at the wire.
>
>>
>>any help would be much appreciated.
>>
>>--
>>Thanks
>>Sakthivel S OM
>>
>
>
>
>
>
>--
>Thanks
>Sakthivel S OM
>
>
>
>
>
>
>-- 
>Thanks
>Sakthivel S OM
>
>
>
>-- 
>Thanks
>Sakthivel S OM
>
>
>
>
>




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-31 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAOP5GAxgAt2B7W_H1QSHomO44Cn1drnpJQu50rWAifLzSAxDjA@mail.gmail.com>
     [not found] ` <FAF7C8D1-D0FF-44E8-AE09-E44614F14321@intel.com>
     [not found]   ` <CAOP5GAzAsGvZfiU=iScotEvj-uDL_9stuPZ5a1JN8rjXXv9Tug@mail.gmail.com>
     [not found]     ` <014B49F6-8810-4975-8CE5-967B4299B14E@intel.com>
     [not found]       ` <CAOP5GAzTGWefN6PSK+Ff7k_Aa2da4+3gCuu420BPKY56VvBXpg@mail.gmail.com>
     [not found]         ` <CAOP5GAxCp-4z2crmCxtKTGTWe-90==M_Fia92riNzxrCrL8iEQ@mail.gmail.com>
     [not found]           ` <68349471-4A9C-46EB-90EA-3FF67C28F0F5@intel.com>
2016-05-31 15:12             ` [dpdk-dev] [dpdk-users] memory tracker in PMD level Wiles, Keith

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