[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-08 Thread Tahhan, Maryam
yy y > y > xenvirt y y n n n n n > n nnn n > n > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] >

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-07 Thread Thomas Monjalon
2016-11-02 10:21, Morten Br?rup: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2016-08-26 18:08, Wei Dai: > > > > /** > > > > * A structure used to retrieve statistics for an Ethernet port. > > > > + * Not all statistics fields in struct rte_eth_stats are supported > > >

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-03 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Thursday, November 3, 2016 3:01 AM > > On 02/11/2016 17:07, Mcnamara, John wrote: > [..] > > Perhaps we could an API that returns a struct, or otherwise, that > > indicated what stats are

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-03 Thread Remy Horton
On 02/11/2016 17:07, Mcnamara, John wrote: [..] > Perhaps we could an API that returns a struct, or otherwise, that > indicated what stats are returned by a PMD. An application that > required stats could call it once to establish what stats were > available. It would have to be done in some way

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-02 Thread Morten Brørup
al Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Tuesday, October 4, 2016 5:35 PM > > To: Dai, Wei ; Mcnamara, John > > > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] ethdev: fix statistics desc

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-02 Thread Mcnamara, John
> -Original Message- > From: Dai, Wei > Sent: Wednesday, November 2, 2016 8:29 AM > To: Thomas Monjalon ; Mcnamara, John > ; Ananyev, Konstantin > ; Wu, Jingjing ; > Zhang, Helin ; Dai, Wei ; > Curran, Greg > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev]

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-11-02 Thread Dai, Wei
n nnn n n > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, October 4, 2016 5:35 PM > To: Dai, Wei ; Mcnamara, John > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATC

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-10-04 Thread Thomas Monjalon
2016-08-26 18:08, Wei Dai: > /** > * A structure used to retrieve statistics for an Ethernet port. > + * Not all statistics fields in struct rte_eth_stats are supported > + * by any type of network interface card (NIC). If any statistics > + * field is not supported, its value is 0 . > */ >

[dpdk-dev] [PATCH] ethdev: fix statistics description

2016-08-26 Thread Wei Dai
Add comments to describe that not all statistics fields in struct rte_eth_stats are supported by any type of network interface card. If any statistics field is not supported, its value is 0. Fixes: af75078fece3 ("first public release") Signed-off-by: Wei Dai --- lib/librte_ether/rte_ethdev.h |