summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2022-06-28 10:51:55 +0200
committerJakub Kicinski <kuba@kernel.org>2022-06-29 20:19:05 -0700
commit961d6c70d886ecc057f6e501db5879feb55db3b3 (patch)
treec5d8a31a4873c1057ea6b37471ccc970705e2381 /drivers/net/dsa/microchip/ksz_common.h
parentc4748ff6566b77d236052375747576009a1af1f7 (diff)
downloadlinux-961d6c70d886ecc057f6e501db5879feb55db3b3.tar.bz2
net: dsa: microchip: count pause packets together will all other packets
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. Link: https://lore.kernel.org/all/20220624220317.ckhx6z7cmzegvoqi@skbuf/ Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
0 files changed, 0 insertions, 0 deletions