From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f170.google.com (mail-wj0-f170.google.com [209.85.210.170]) by dpdk.org (Postfix) with ESMTP id C9B57152A for ; Mon, 9 Jan 2017 15:44:55 +0100 (CET) Received: by mail-wj0-f170.google.com with SMTP id kq3so20609100wjc.0 for ; Mon, 09 Jan 2017 06:44:55 -0800 (PST) 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=rUlsPBfaA9/GgCV+2QGC5y/qjAHw4xDGs+oC6E6yeFM=; b=tbAEDGZL9n2a6cZTZBtIF7k4ecV6ykqLedbW9cvorhL6K3TufXlku7oUD1+oQg39py wmUMIxJ3lE0aNTF3f6PPNvECnOADzj+B43xZc9ZriTOTYIZ3SrXuARh0JijceMucpl1M SVObhHVW3+QFo5Ngn65vhtKnWDsUStBTu9wdKhr0t8sSPuSk7LgdNX9KrwdKDu638FDK GkBzE6ijNaVTlTT7e5LjVB4Ar7YfrX0jXsUWq0mTur16s8sX6H6xIQBAO+YMQ2dGiGr7 u7svSBax/KaOGoPHbM8zrJHAd6To952pzEWBpBDR6jZTR2G+x50v9QURtO5Lns08E09Z T32g== 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=rUlsPBfaA9/GgCV+2QGC5y/qjAHw4xDGs+oC6E6yeFM=; b=eV1xaXjVmLHId1mBcaubnaFZgIeaeV/8fdGX7GFbj+FHVhqU4yBO6iUHz6CityQ+it ckcK57P8zijnOj6rBh3sy7h7YwMDqwGIwi3LyUNoaUKwgV6l7IRs8NoLhOK8BX317DOj aQHjH4bMQSuWf9cna2kH9kJLr8Jhe5i8Xoz+mv49CyOFb9y2JoDR+N/cC0k3JzyFVKiN S/OVcBTL5VMcW4g8A7s9wtkeeLF9qPOk+7HlU/5GutdCVUdb+lAA0wKrVYtIqDMJLthQ l1uPFU0JeUuKe4TumHkhi5l3w9WlUY03ZqcyDGnDxZq4dC6vmnsWLtuMc/bEv1IhrqOA d73w== X-Gm-Message-State: AIkVDXLJlMQqeEFlq0FhcvTZyYWe9iJVFKFmcv5Tmp7tAL/Q8UR5UuR3zKVs3WEMgeuAvJUijX5WngM1z/ImJQ== X-Received: by 10.194.27.168 with SMTP id u8mr6990546wjg.153.1483973095561; Mon, 09 Jan 2017 06:44:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.137.205 with HTTP; Mon, 9 Jan 2017 06:44:54 -0800 (PST) In-Reply-To: References: From: george.dit@gmail.com Date: Mon, 9 Jan 2017 15:44:54 +0100 Message-ID: To: Shahaf Shuler Cc: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Port stats zero when using MLX5 DPDK driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 14:44:55 -0000 Hi Shahaf, Thanks for the clarification! Is there a plan for this functionality to be provided (soon)? (or any technical limitation that stands in this way) Thanks and best regards, Georgios On Mon, Jan 9, 2017 at 2:32 PM, Shahaf Shuler wrote: > Hi Georgios, > > It is not support on Mellanox PMD to read the primary process counters > from a secondary process. > > > --Shahaf > > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of george.dit@gmail.com > Sent: Sunday, January 8, 2017 3:38 PM > To: dev@dpdk.org > Subject: [dpdk-dev] Port stats zero when using MLX5 DPDK driver > > Hi, > > I have a simple setup with a machine that contains a dual port 10 GbE > Intel 82599ES NIC and another dual port 100 GbE Mellanox ConnectX-4 NIC. > The Intel ports are 0 and 1, while the Mellanox ones are 2 and 3. > > I properly compiled DPDK 16.11 and test-pmd works just fine for all 4 > ports. > Then, I ran a simple primary application that forwards packets from 0 <--> > 1 and 2 <--> 3 and started dpdk-procinfo -- --stats (or --xstats) as a > secondary monitoring process, while sending some traffic to all 4 ports. > The problem I see is that the statistics reported by the Mellanox NICs are > always zero (Intel ports report just fine). > > What is the reason behind this behavior? Is there a bug in the driver > (maybe recently fixed by DPDK 17.02 rc?) or is it simply a lack of this > functionality? > > Thanks and best regards, > > -- > Georgios Katsikas > Ph.D. Student and Research Assistant > Network Systems Lab (NSL) > > > > *E-Mail:* george .dit@gmail.com > *Web Site:* http://www.di.uoa.gr/~katsikas/ < > http://people.networks.imdea.org/~george_katsikas/index.html> > -- Georgios Katsikas Ph.D. Student and Research Assistant Network Systems Lab (NSL) *E-Mail:* george .dit@gmail.com *Web Site:* http://www.di.uoa.gr/~katsikas/