On Tue,  8 Oct 2024 08:59:56 -0700
Stephen Hemminger <[email protected]> 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, return the correct size.
> 
> Bugzilla ID: 1560
> Fixes: 8b433d04adc9 ("net/ngbe: support device xstats")
> Cc: [email protected]
> 
> Signed-off-by: Stephen Hemminger <[email protected]>

This needs to be tested on this hardware before merging.

Reply via email to