From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Port stats zero when using MLX5 DPDK driver Date: Wed, 11 Jan 2017 14:46:42 +0100 Message-ID: <1660469.qnTIcQ9A6p@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, george.dit@gmail.com To: Shahaf Shuler Return-path: Received: from mail-wj0-f176.google.com (mail-wj0-f176.google.com [209.85.210.176]) by dpdk.org (Postfix) with ESMTP id ECCE7F60E for ; Wed, 11 Jan 2017 14:46:38 +0100 (CET) Received: by mail-wj0-f176.google.com with SMTP id kq3so56791249wjc.0 for ; Wed, 11 Jan 2017 05:46:38 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > On Mon, Jan 9, 2017 at 2:32 PM, Shahaf Shuler wrote: > > It is not support on Mellanox PMD to read the primary process count= ers > > from a secondary process. It is a pity that such a basic feature is not supported. We should try to have this kind of feature better supported across every drivers. 2017-01-10 08:43, Shahaf Shuler: > supporting this functionality is not on the plans. Please could you re-consider the plans? It should not be so difficult to give access to the stats from a secondary process. Thanks > If you wish to read statistics of a running process you can use ethto= ol =E2=80=93S . > It will provide you the statistics of the port. > Note that those statistics count the number of bytes/packet which wer= e=20 > received/sent by the port. This number may not be equal to the number= > of packet/bytes which were send/received on the PMD.