Messages in this thread | | | Date | Tue, 28 Jun 2022 13:20:41 +0300 | From | Vladimir Oltean <> | Subject | Re: [PATCH net-next v2 4/4] net: dsa: microchip: count pause packets together will all other packets |
| |
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@pengutronix.de> > ---
I think this is a reasonable thing to do.
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
| |