From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 4BDB62A5F for ; Thu, 2 Jun 2016 09:10:21 +0200 (CEST) Received: by mail-pf0-f172.google.com with SMTP id g64so28011594pfb.2 for ; Thu, 02 Jun 2016 00:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=2VHDS5Kj+TqHqAbwFjOEofSyhqrN5OuwPQtu8JrOIRo=; b=sk7CzcnWveCwXFHZ4yDAKTzQNfxlAoJES11EK7JFdXtk2FZ1U7mDxOlppGnc0/CWvf pbOi1qFF42h29rBJEg70JnR5he5UkIDQ8IqiicW4N3h7SGJMblvZmpbIE8PMQhjwdyZ9 7Kvi7UfOquHoi7chqOjy8yaNiLJ4Vfta3VSVL6A/x0wqOmsSCNK0KBmxBY0KdoBgeVV2 TcDp8/3oDw9a+zsDN2JK80A25lIoo8ar1evU7hhPT84h9xIpWa3HpBx/Ct7CXJzZrARk aBBbfZKrjz6zl6/1BJVdMNrNCTBScDlaVf4n6pPNr7+JMc2B/vkEQoH8RHjle5b54JdE Lyzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=2VHDS5Kj+TqHqAbwFjOEofSyhqrN5OuwPQtu8JrOIRo=; b=EDorXEyQ/Y5rcomsS94HCp2VkNbcvyLlsNBhLWXAuPmcv+zIiGJBa3d+Gyy3IoPpE9 d9VXzaCNzmQttVUW5DOEbc6tXxeuIPL+qPJymDsRzrLKAuRx0WqiR35+dLvqBgb3e1ix PrngWT/uhhpgkSnPzyyfxNjD9QINIiBFnIH6qZVaXuXt6d80ECGDT3z0by5QxCCwRoMV Y2eHXgt39zgr2ekpGtQhrY0g0tdrIZi39L+c0kS6d8NLlVT5QLkJgswlfrF685nGAGXx kw2qTmitoJxB/43jmgYeluJaIOVnqvK61Uot1vyLmae3ENJKKjn97dVaWkHTxNZbEPOA 3XRg== X-Gm-Message-State: ALyK8tJyhyvynjV//5dZ+GobzYEdic9xWmT/+GTwecEaEchKc/8t4lgDAlSXFsE7jcf1ZaBSNCtf0qEV9pqJ1g== MIME-Version: 1.0 X-Received: by 10.98.2.74 with SMTP id 71mr1697796pfc.49.1464851420564; Thu, 02 Jun 2016 00:10:20 -0700 (PDT) Received: by 10.66.222.39 with HTTP; Thu, 2 Jun 2016 00:10:20 -0700 (PDT) In-Reply-To: References: <014B49F6-8810-4975-8CE5-967B4299B14E@intel.com> <68349471-4A9C-46EB-90EA-3FF67C28F0F5@intel.com> <9D6F629A-2B3E-4E44-8ED3-83C231C421A0@intel.com> Date: Thu, 2 Jun 2016 12:40:20 +0530 Message-ID: From: SAKTHIVEL ANAND S To: "Wiles, Keith" , users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] memory tracker in PMD level X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 07:10:21 -0000 Hello KW can u please tell me how ti enable a particular debugs, and build the image. In this case i just need to build with this debug msgs. #define RTE_LOGTYPE_MEMPOOL 0x00000008 << debugs Thanks Sakthivel S OM On Wed, Jun 1, 2016 at 12:31 PM, SAKTHIVEL ANAND S wrote: > Thanks for the inputs KW. I try to check mempool status. > > -Sakthivel S OM > > On Tue, May 31, 2016 at 8:42 PM, Wiles, Keith > wrote: > >> 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 >> >Date: Tuesday, May 31, 2016 at 10:05 AM >> >To: Keith Wiles >> >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 >> wrote: >> >Ok thanks. >> > >> > >> >On Tue, May 31, 2016 at 8:19 PM, Wiles, Keith >> wrote: >> > >> >From: SAKTHIVEL ANAND S >> >Date: Tuesday, May 31, 2016 at 9:45 AM >> >To: Keith Wiles >> >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 >> 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 >> > >> > >> > >> > >> > >> >> >> >> > > > -- > Thanks > Sakthivel S OM > > -- Thanks Sakthivel S OM