[dpdk-dev] Port stats zero when using MLX5 DPDK driver
shahafs at mellanox.com
Thu Jan 12 08:34:21 CET 2017
From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
Sent: Wednesday, January 11, 2017 3:47 PM
To: Shahaf Shuler <shahafs at mellanox.com>
Cc: dev at dpdk.org; george.dit at 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.
> 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.
More information about the dev