Re: [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets

From: Vladimir Oltean
Date: Tue Jun 28 2022 - 06:21:16 EST


On Tue, Jun 28, 2022 at 10:51:55AM +0200, 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>
> ---

I think this is a reasonable thing to do.

Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>