From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by dpdk.org (Postfix) with ESMTP id 4D06A1B7DD for ; Fri, 9 Feb 2018 13:24:28 +0100 (CET) Received: by mail-qt0-f176.google.com with SMTP id z10so10261032qti.5 for ; Fri, 09 Feb 2018 04:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lecnvH7uxxPuQHA9/vy0eKP7ZngMaidkLkY40WH9Eho=; b=BF2fWknguMHi7YXnkWuGigw2xGMytNPrJuVVpNY/PQsjD/lMo4PxK6Mtcf7yvmB64F VTnw35A39hdRN+msAF7C9IH2AUfz01x4Pt2iR38dlqd/LojyA7h/fVHnGcwoCqtSNEZ9 rShHjaWZk8N0LrIPG59O5CIN6H3vYNHo7zi8SAnHtloK7vsd7O1Mvu8Qn/fhHR4cJoTd 5rLLqoX+W+rH3xr3Ru0DgK5xSMZP6Q0OyrwRdi4mjEx1e8xvi3/qvcTYlHt13gINCQ5g Y6gS1nqCB2m1sZdFRZnaHjpk7mbX1pSx+fVuhPq0yMdYusEdoR125KUJ3zl3XkF7CW79 5sHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lecnvH7uxxPuQHA9/vy0eKP7ZngMaidkLkY40WH9Eho=; b=Nj3BL5HSV3FtyLUfhPWMKH2cx3J6/k5ahbZtPpQQeixm86jTkmyH+Wrgz4T/WflVOq qRMvI7JqEWLuKI23SiV8eMZaEd3kQatSSw/XuXAemE07wNFX0Oj5E8iCeQIAyX+zP9Yu D7gnKNZmq/9bezgaQS+BybB1TRaoLxYJCRU5dvEQbb5hrBfBKvENMWwzDIQsI2/tQqUE yZICEI9yTXWRN4zAYmxg8/AhqgaP+spbRRvl9cGGZhfRmOzBSAhfQJHGbsm2NgobJcn4 cE0OhhyJXDaDwNtm9eOzi5I+mVoQccxq6wli9udCBh07dvU5PJNsnEpqMbTRgnhXEhwf MPPg== X-Gm-Message-State: APf1xPBjV3ssLdY4VNbkU4wV8KuV9QQDOysTkqQRRbZAj2p9mIhcD/tu gkAvVhavT8Ewi1GT7h03UG1wtPDtxUQu6B87J9M= X-Google-Smtp-Source: AH8x225lU7vSkQq0IFd30CDYGSEnz7oKK8eATyzmLRY+Bpeb5eIWrc+dxtzvB6x01CqjHv6wMWrYjV1CvW0r9EHdje0= X-Received: by 10.200.7.65 with SMTP id k1mr1898929qth.155.1518179067608; Fri, 09 Feb 2018 04:24:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.162.3 with HTTP; Fri, 9 Feb 2018 04:24:27 -0800 (PST) In-Reply-To: <243287365.13423.1518099064235.JavaMail.root@127.0.0.1> References: <243287365.13423.1518099064235.JavaMail.root@127.0.0.1> From: sharanya k Date: Fri, 9 Feb 2018 17:54:27 +0530 Message-ID: To: Heena Sirwani Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Enabling stats in pipeline applications X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2018 12:24:28 -0000 Hi, I made sure that all the stats are enabled in the .config file. I did what you mentioned. Still, I stuck with the same problem(statistics isn't coming). Can you please let me know if I have to do some other steps to get my statistics in my ip pipeline application. Thanks, Sharanya On Thu, Feb 8, 2018 at 7:41 PM, Heena Sirwani wrote: > > > > I had a similar issue. The problem turned out to be in configs. > Make sure the configuration changes are made in the target in > $RTE_SDK/$RTE_TARGET/.config. > Either edit that config file for build local configs or remake target > configuration by > > make config T=$RTE_TARGET > > -- Original Message -- > > From: sharanya k [ksharanya.97@gmail.com] > To: [users@dpdk.org] > Date: Thu 08 February 2018 [6:45:13 PM] > Subject: [dpdk-users] Enabling stats in pipeline applications > > > Hi, > I am running an ip pipeline application in dpdk version 17.08.1 > (stable). I can see the packets getting received and send through > Wireshark. But, I couldn't get the statistics in the pipeline app > using the following command. > > pipeline> p 1 stats port in 0 > Pipeline 1 - stats for input port 0: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > pipeline> p 2 stats port in 0 > Pipeline 2 - stats for input port 0: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > pipeline> p 2 stats port out 0 > Pipeline 2 - stats for output port 0: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > > I even enabled the following flags in dpdk/config/common_base and > recompiled. > CONFIG_RTE_*_STATS_COLLECT=y > Still its not working. > > Can you please help me to rectify this? > > Regards, > Sharanya