[dpdk-dev] [dpdk-users] memory tracker in PMD level

Wiles, Keith keith.wiles at intel.com
Tue May 31 17:12:47 CEST 2016


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 at gmail.com>
>Date: Tuesday, May 31, 2016 at 10:05 AM
>To: Keith Wiles <keith.wiles at 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 at gmail.com> wrote:
>Ok thanks.
>
>
>On Tue, May 31, 2016 at 8:19 PM, Wiles, Keith <keith.wiles at intel.com> wrote:
>
>From: SAKTHIVEL ANAND S <anand.sa88 at gmail.com>
>Date: Tuesday, May 31, 2016 at 9:45 AM
>To: Keith Wiles <keith.wiles at 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 at 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
>
>
>
>
>





More information about the dev mailing list