Re: [PATCH net] net: bcmgenet: correct per TX/RX ring statistics

From: David Miller
Date: Thu Apr 23 2020 - 19:02:55 EST


From: Doug Berger <opendmb@xxxxxxxxx>
Date: Thu, 23 Apr 2020 15:44:17 -0700

> The change to track net_device_stats per ring to better support SMP
> missed updating the rx_dropped member.
>
> The ndo_get_stats method is also needed to combine the results for
> ethtool statistics (-S) before filling in the ethtool structure.
>
> Fixes: 37a30b435b92 ("net: bcmgenet: Track per TX/RX rings statistics")
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>

Applied and queued up for -stable, thanks.