From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by dpdk.org (Postfix) with ESMTP id 10A105689 for ; Tue, 5 Jul 2016 14:03:53 +0200 (CEST) Received: by mail-vk0-f42.google.com with SMTP id c2so261514803vkg.1 for ; Tue, 05 Jul 2016 05:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinite-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qVwbZo5pYgsfMU6PTBU+xPDegdCPs5ncoWKw+NxMfPw=; b=1mMQ9xoWZ11RolSO3m/LW79lrgmN2NX5qRnnUNqftTB2ioBEcg7Rp+Y2Mkb+Ez0XeE 1PrdXzO4h2XRnjv4VITdIsS/Y1CMOvNRtOaP49glKyxIcCv30r76YBmleIOzkHVBejbG D/Xxk2Dy5lnF0jhTGCLq9tFK6T8XeGeQXw20Tqj5DyITHviT7HXYYPfRcB7CEO0kJ1jW bPHEVR+hNn4KnhOHul5VVinbDfkzLtIrmzFXZWiOXRh3l5Il9edoUM1B6Hi25kdrIBsM qWPP03z8p/9oTCh8DP+TnzsqxvAXijk/hsTI1FwzPvsDnUDFXLGr8RY1LnxaZ2L1DYTy UG/w== 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:from:date :message-id:subject:to:cc; bh=qVwbZo5pYgsfMU6PTBU+xPDegdCPs5ncoWKw+NxMfPw=; b=YW6ydTZRafrDzUaYZNGKIrq0ibkNNyy8EpvrOuoPU94TkwvCBBvwSW6LJwjKV3EqJo YJ6boWWw31ubtPVq89FMMFOlSZeBYdbvS5FczwmHi6Og2OI2QgtUGfD3lHM4EnqcUi9e iqEtKSGxY+87tohDRQnZp+pbxjFBRYvJXYj8bgP7AU9L6NAwJqsMETlI/WyOsX8IfipC rxQgqweRj0z02LIVAm4wKlRqGg88clu9UrcpKaW88t/4OpsE4BKbvFSzqq7505bjKQ/t 6Ro9eU4xcVn1pubvNjwDScAxXEEvKo2wPfoNyze58NJPHyQnyjyFSBYzmQucX6Yet8oO aWdg== X-Gm-Message-State: ALyK8tIamc4/2E9iuykvTr4gfuZjaFVmGhY5TGwPn8cVQZ4fO/lRWMdzTA0kU2XyfHgnzYQ8sNGEnGji1ubLMw== X-Received: by 10.31.164.129 with SMTP id n123mr7533934vke.21.1467720232549; Tue, 05 Jul 2016 05:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.4.2 with HTTP; Tue, 5 Jul 2016 05:03:52 -0700 (PDT) In-Reply-To: References: From: Jay Rolette Date: Tue, 5 Jul 2016 07:03:52 -0500 Message-ID: To: Bill Bonaparte Cc: DPDK Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Help: How to read packet statistics from device registers via dpdk PMD? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 12:03:53 -0000 On Tue, Jul 5, 2016 at 2:35 AM, Bill Bonaparte wrote: > Hi: > I am a new fish, I have tried my best to find answer about my question on > web, but I failed. so > I come here to ask for your help. the below is my question: > > I found that dpdk provides a api rte_eth_stats_get to read packet > statistics about the interface, includes total input/output > unicast/multicast/brodcast packets/bytes. but the api does not work on > VMxnet interface (which is a virtual interface in VMware machine). > Probably something in your app or environment rather than in the API itself. We run rte_eth_stats_get() against interfaces in VMware Fusion, VirtualBox and real hardware and they all work generally. Need some info before anyone can help you much: * What version of DPDK are you running? * What OS are you running on? * Output from "dpdk_nic_bind.py --status"? Jay