From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by dpdk.org (Postfix) with ESMTP id E532437A4 for ; Tue, 5 Jul 2016 09:35:06 +0200 (CEST) Received: by mail-io0-f175.google.com with SMTP id f30so167098512ioj.2 for ; Tue, 05 Jul 2016 00:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=tQblltXJXVzSFXvoY23rTtYOCuqrWvOQgwT5ihWG56c=; b=YpZz0Q4qExk44qExsCJ1uuegU7nNLlYDlU4GYdzPZDffjMVSVuTK+3RulkKhQzwUlW d7pGSag7R6CoXKeDtd7EganZh1Tzq1kQBr/RFIz++vw8y12zmUMTUgCI47uc4z+jLu7v +FxbIjXoKNO5Hvf+tpAiIcq3ZTd8icygXm2oPNV6Pm6FZDzOv+ddlSpef1JOoXUT2oJ9 0n875MMDxORHcVoKpO6QwpsqGvLyQLjfUWbT0TVPfSuyIlnx93DM5u1MjbwZzAZaT7P4 LS+/VD4IdGxqVPDMeYBIc41CO8MGe9/SmwzuvXsl5EIK5Zw2dXmQpo/d/yhsqVVaQxUL CMLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tQblltXJXVzSFXvoY23rTtYOCuqrWvOQgwT5ihWG56c=; b=WEkQj55jIVZ8qQfTiM9ta0WYMpLF+JnOrbMgYdioVK+e5TkfubTk6aheazgotUO3MX B2SacI+SKOsDMsQRaHk6tN7cnErdtcmg7tc2OrRCoeqc7aNv75Uf5jt1uVb3HzJu4mCQ nERXnWutyw9kP2iDIMLA6N7jyIgwSgaqz3MnJYKkZnDIP1AHrdHwgnbHsjRyUJz36XYP oKdq92A4ExsVURL1xMT0wxkqO9K+G5SvS4BcKllkKZI219XtH/7KBzIwB5NeFRJIMS3q dSpvwXb5gw1PvNPEkcif0AOUYyoU6tto7a9e3RhQS1wpEkpSjBgTDBCr3R3yoSEO29E3 N9xQ== X-Gm-Message-State: ALyK8tLrypqgV6n+Wz5BA/0V5oiapT+Bp/pio4nWgQ13DQWnpMjqONqaSKzm8zQ3VDOLG+VHbDo72v6LzW3OlQ== X-Received: by 10.107.133.101 with SMTP id h98mr11397424iod.16.1467704106209; Tue, 05 Jul 2016 00:35:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.5 with HTTP; Tue, 5 Jul 2016 00:35:05 -0700 (PDT) From: Bill Bonaparte Date: Tue, 5 Jul 2016 15:35:05 +0800 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 07:35:07 -0000 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). I am not sure if this api works for the real interface. who has more information about this, and why it does not work on virtual machine ? Appreciate any comments and reply.