[dpdk-dev] [PATCH] ether: fix incorrect stats query for lowest xstat id

2018-02-06 Thread Bruce Richardson
When querying either the name or the value of a stat using the xstats APIs, a check is done to see if the regular stats API or the xstats APIs for the driver need to be used. However, the id of the stat requested is checked to see if it is greater than the number of basic stats, rather than checkin

Re: [dpdk-dev] [PATCH] ether: fix incorrect stats query for lowest xstat id

2018-02-06 Thread Ferruh Yigit
On 2/6/2018 4:06 PM, Bruce Richardson wrote: > When querying either the name or the value of a stat using the xstats > APIs, a check is done to see if the regular stats API or the xstats APIs > for the driver need to be used. However, the id of the stat requested is > checked to see if it is greate

Re: [dpdk-dev] [PATCH] ether: fix incorrect stats query for lowest xstat id

2018-02-06 Thread Thomas Monjalon
06/02/2018 17:06, Bruce Richardson: > When querying either the name or the value of a stat using the xstats > APIs, a check is done to see if the regular stats API or the xstats APIs > for the driver need to be used. However, the id of the stat requested is > checked to see if it is greater than th