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 4E4AA2BAF for ; Wed, 30 Aug 2017 12:21:43 +0200 (CEST) Received: by mail-qk0-f176.google.com with SMTP id p67so25964271qkd.2 for ; Wed, 30 Aug 2017 03:21:43 -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=VcW3vbqTJ582iBUdZ8kkESpzqYAKCfGbhRZaT3ugIzc=; b=soSALjoOjGeWIbMw1D13Hu2v3pwuai/d/QeKQlllWjC+AgNpAvm4lO1/49ZqsipseB GSJjLX7Bp+dDO99uoOUcilbW+q6bCl+G4BwdFIoX4QUyZTEhGd3rjgF0OiQ8SdD8v7kF IL9wR+X4PMxOJCt5L+lw8SsZizcGtcQXbsrOG7DKvcEO34Nvt0VqAhlyEihAFZVqmvng NHPbokgzzQvq4i+r4enQfP3kcdHPkXbbKNOKCSdt/LMounUcmzI561EZHa2H+Th7/K1a kqrlEcVxs87MfxBgLSeNnjpHJefBF0DvO14FxV5dULVND6CMcXdyTq68xW0f/QO8T4t7 39Rw== 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=VcW3vbqTJ582iBUdZ8kkESpzqYAKCfGbhRZaT3ugIzc=; b=U+zdAgf9OObdweAYEXPurBB+L6nkufxY6G3FXF97yd9wSO+q/e0oZkK4D7RCEHZ4yN 9YlgGATpcZjZj43QDIsFjD4F4aECpvdqhokp2prr2wGWqeMeogJmxw+p/ATVftm5IKim MKOQgBCzvRncWCddkRQjzecvY2RjHM3DSSadqV4OekLpiyZpqUF96UxsjrnnCB29h7Do WYfM+GI3ku4c33neepnOoEu08oUnVV3IyLXUF+8vaN3+OB0PwBd5YKFBr+IuaGpmvTPW vxM6xs/wovC8HWwf6+7pWa9267dYuflTjjM1ViBgJ6MuAtifHGp7vwDp0zXdK6hJ5Ibu Mpng== X-Gm-Message-State: AHYfb5h5ob8E/t/TRdbD36fZ4284tP7AT9Q70wZzGuETNc1DIOnTFry/ M5z/atUaMQzNkaPFE93YL06fzeVkxA== X-Received: by 10.55.156.71 with SMTP id f68mr10290401qke.302.1504088502594; Wed, 30 Aug 2017 03:21:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.68 with HTTP; Wed, 30 Aug 2017 03:21:42 -0700 (PDT) In-Reply-To: References: From: Shyam Shrivastav Date: Wed, 30 Aug 2017 15:51:42 +0530 Message-ID: To: Andriy Berestovskyy Cc: pxv3620@rit.edu, users , Minseok Kwon , Shailesh Vajpayee Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] dpdk interfaces counters 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: Wed, 30 Aug 2017 10:21:43 -0000 Yes rte_eth_stats_get() work by default, CONFIG_RTE_PORT_STATS_COLLECT enables port stats in librte_port layer .. On Wed, Aug 30, 2017 at 3:29 PM, Andriy Berestovskyy wrote: > rte_eth_stats_get() works fine by default. > > Andriy > > On Wed, Aug 30, 2017 at 11:24 AM, Shyam Shrivastav > wrote: > > Also port stats need to be enabled in common config > > > > common_base:CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n > > common_base:CONFIG_RTE_LIBRTE_JOBSTATS=y > > common_base:CONFIG_RTE_LIBRTE_LATENCY_STATS=y > > common_base:CONFIG_RTE_SCHED_COLLECT_STATS=n > > common_base:CONFIG_RTE_PORT_STATS_COLLECT=n > > common_base:CONFIG_RTE_TABLE_STATS_COLLECT=n > > common_base:CONFIG_RTE_PIPELINE_STATS_COLLECT=n > > common_base:CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n > > > > > > On Wed, Aug 30, 2017 at 2:49 PM, Andriy Berestovskyy > > wrote: > >> > >> Hey, > >> Have a look at rte_eth_stats_get(): > >> > >> http://dpdk.org/doc/api/rte__ethdev_8h.html# > a97567472450b31ef53950fb2ef47298b > >> > >> Andriy > >> > >> On Wed, Aug 30, 2017 at 8:23 AM, Pragash Vijayaragavan > > >> wrote: > >> > Hi, > >> > > >> > I have 2 NICs connected to dpdk, I send traffic from 1 and receive on > >> > the > >> > other. > >> > > >> > Is there anyway how i can see the interface counters of these NICs to > >> > check > >> > whether my packets are received. > >> > > >> > Thanks, > >> > > >> > Pragash Vijayaragavan > >> > Grad Student at Rochester Institute of Technology > >> > email : pxv3620@rit.edu > >> > ph : 585 764 4662 > >> > >> > >> > >> -- > >> Andriy Berestovskyy > > > > > > > > -- > Andriy Berestovskyy >