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

From: Florian Fainelli
Date: Thu Apr 23 2020 - 18:46:45 EST




On 4/23/2020 3:44 PM, Doug Berger wrote:
> 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>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Thanks for catching that!
--
Florian