RE: [RFC 2/5] net/ngbe: fix query handling in xstats_get

2024-12-25 Thread Zaiyu Wang
> > Cc: Zaiyu Wang > > > -Original Message- > > From: Stephen Hemminger > > Sent: Thursday, December 5, 2024 6:19 AM > > To: dev@dpdk.org > > Cc: jiawe...@trustnetic.com > > Subject: Re: [RFC 2/5] net/ngbe: fix query handling in xstats_g

RE: [RFC 2/5] net/ngbe: fix query handling in xstats_get

2024-12-25 Thread Jiawen Wu
Cc: Zaiyu Wang > -Original Message- > From: Stephen Hemminger > Sent: Thursday, December 5, 2024 6:19 AM > To: dev@dpdk.org > Cc: jiawe...@trustnetic.com > Subject: Re: [RFC 2/5] net/ngbe: fix query handling in xstats_get > > On Tue, 8 Oct 2024 08:59:56 -

Re: [RFC 2/5] net/ngbe: fix query handling in xstats_get

2024-12-04 Thread Stephen Hemminger
On Tue, 8 Oct 2024 08:59:56 -0700 Stephen Hemminger wrote: > The xstats_get function in this driver did not act the same > as other drivers when queried. The correct check is to look > at the requested number of stats and compare it to the available > stats and if the request is too small, retur

[RFC 2/5] net/ngbe: fix query handling in xstats_get

2024-10-08 Thread Stephen Hemminger
The xstats_get function in this driver did not act the same as other drivers when queried. The correct check is to look at the requested number of stats and compare it to the available stats and if the request is too small, return the correct size. Bugzilla ID: 1560 Fixes: 8b433d04adc9 ("net/ngbe: