DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shahaf Shuler <shahafs@mellanox.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"george.dit@gmail.com" <george.dit@gmail.com>
Subject: Re: [dpdk-dev] Port stats zero when using MLX5 DPDK driver
Date: Thu, 12 Jan 2017 07:34:21 +0000	[thread overview]
Message-ID: <AM4PR05MB15053827D5FD163025DC31BAC3790@AM4PR05MB1505.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <1660469.qnTIcQ9A6p@xps13>



--Shahaf


-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] 
Sent: Wednesday, January 11, 2017 3:47 PM
To: Shahaf Shuler <shahafs@mellanox.com>
Cc: dev@dpdk.org; george.dit@gmail.com
Subject: Re: [dpdk-dev] Port stats zero when using MLX5 DPDK driver

> > On Mon, Jan 9, 2017 at 2:32 PM, Shahaf Shuler wrote:
> > It is not support on Mellanox PMD to read the primary process 
> > counters 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.
[Shahaf Shuler] there is a patch we are pushing which will enable to read the xstats from a secondary process:
[PATCH] net/mlx5: support extended statistics


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.
[Shahaf Shuler] DPDK secondary process much conflict with Mellanox Arch. we will put this task on our plans.



Thanks


> If you wish to read statistics of a running process you can use ethtool –S <device_name>.
> It will provide you the statistics of the port.
> Note that those statistics count the number of bytes/packet which were 
> received/sent by the port. This number may not be equal to the number 
> of packet/bytes which were send/received on the PMD.


      reply	other threads:[~2017-01-12  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-08 13:38 george.dit
2017-01-09 13:32 ` Shahaf Shuler
2017-01-09 14:44   ` george.dit
2017-01-10  8:43     ` Shahaf Shuler
2017-01-11 13:46       ` Thomas Monjalon
2017-01-12  7:34         ` Shahaf Shuler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM4PR05MB15053827D5FD163025DC31BAC3790@AM4PR05MB1505.eurprd05.prod.outlook.com \
    --to=shahafs@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=george.dit@gmail.com \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).