Re: [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets
From: Florian Fainelli
Date: Tue Jun 28 2022 - 10:48:24 EST
On 6/28/2022 1:51 AM, Oleksij Rempel wrote:
This switch is calculating tx/rx_bytes for all packets including pause.
So, include rx/tx_pause counter to rx/tx_packets to make tx/rx_bytes fit
to rx/tx_packets.
Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Might have been worth a comment above to explain why the pause frame
counting is appropriate, or we can always go back to git log. Thanks!
--
Florian