From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by dpdk.org (Postfix) with ESMTP id 5EBB19E3; Fri, 21 Apr 2017 08:32:45 +0200 (CEST) Received: by mail-qk0-f176.google.com with SMTP id d80so2361qke.3; Thu, 20 Apr 2017 23:32:45 -0700 (PDT) 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=SrvC2Nk5aqlBTm2K+Vi0Q7oFVbEllgA/GpzBhtBvac0=; b=HlPZntgfTpgSX9zVF2DWn8YD5J4eHqZLmUnZ82rLQP4WaH85PGhW9EoJAlhyD70qmv BV0Xz0H2XSfZ8oj4SmvHLt3cgxc35fINud1/NduRDktLoSse28vlMKLzK39QlLplZKD6 KFyQtzl0yWbGUtbxivVCofFB3dHXgSP0WAwmMdiW/oHXKPnnm8GkY6HW90JssHfoTOA/ XDNtE7PXtu9x71E1fLh3sIHYklphMvQDw57GGs7+0s/KnC7JMWkGYB0xC5VAJkyhXVQs tIHdQQRLmOL/CBKpNu7+C/St2qfaBXmggmmfoTWHe2srWfnYBP2KKBWUOh+R/pr0Af4U 8sWQ== 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=SrvC2Nk5aqlBTm2K+Vi0Q7oFVbEllgA/GpzBhtBvac0=; b=Z9JuGAJ5o9d8V2KCBQBaCx2v8ulHZH3HzJwo0xtiabd1J4HM6QZXC+TYpAO2ybWKTp TEKAoAapWVn5GDJrMZ607mYn+fCQ50J1k61/plG5XzLhujAiS8Cn1W5yBMO/Renf700R 0Sv4UTeSyuJQurMa8nAfpy1oJcMDqfkHvMmEPjciVSATG+goQRSxl5sNL+QrRZqGuLxB naw0D4K2Yqt9zcQtbsJHt/aRgyFSQOUb+QoLjEz+2S6PPNU/AUW8QKDiSqo8oNcvQtcm PAttKOuC/EUZ4auelUE9oKYiON+ebO8dfYUPbt1HCMY3J3bYfFRNnuYHb6JzpYEzN6kb Sb7A== X-Gm-Message-State: AN3rC/4AY8xnTYAtFFeGpyCqMkvZT9loxfCnjgWXT9H6MnTHRG/SAYq3 6YyG1AXNxm6GfsRh38vHW1axKC1Scw== X-Received: by 10.55.140.134 with SMTP id o128mr10877028qkd.283.1492756364521; Thu, 20 Apr 2017 23:32:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.172.78 with HTTP; Thu, 20 Apr 2017 23:32:44 -0700 (PDT) In-Reply-To: References: From: Shyam Shrivastav Date: Fri, 21 Apr 2017 12:02:44 +0530 Message-ID: To: Nidhia Varghese Cc: dev@dpdk.org, users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [dpdk-dev] Printing statistics on running passthrough pipeline in ip_pipeline application 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, 21 Apr 2017 06:32:45 -0000 Enable flags in dpdk/config/common_base and recompile CONFIG_RTE_*_STATS_COLLECT=y {* for PIPELINE,PORT,TABLE ...} On Fri, Apr 21, 2017 at 11:58 AM, Nidhia Varghese < nidhiavarghese93@gmail.com> wrote: > Hi, > > I am running ip_pipeline application using ip_pipeline.cfg file. How can I > see the statistics of the packets that is being sent and received from this > pipeline? > > I tried running as shown below: > > pipeline> p 1 port in 0 enable > pipeline> p 1 port in 1 enable > pipeline> p 1 stats port in 1 > Pipeline 1 - stats for input port 1: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > 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 1 stats port out 0 > Pipeline 1 - stats for output port 0: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > pipeline> p 1 stats port out 1 > Pipeline 1 - stats for output port 1: > Pkts in: 0 > Pkts dropped by AH: 0 > Pkts dropped by other: 0 > > I can see the packet being received and forwarded using wireshark. But not > able to see in the statistics. Isn't this the right command to use? > > Thanks for your reply and help. > > Regards, > Nidhia Varghese >