diff options
| author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-06-28 10:51:55 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-29 20:19:05 -0700 |
| commit | 961d6c70d886ecc057f6e501db5879feb55db3b3 (patch) | |
| tree | c5d8a31a4873c1057ea6b37471ccc970705e2381 /tools/perf/scripts/python/libxed.py | |
| parent | c4748ff6566b77d236052375747576009a1af1f7 (diff) | |
| download | linux-961d6c70d886ecc057f6e501db5879feb55db3b3.tar.gz linux-961d6c70d886ecc057f6e501db5879feb55db3b3.zip | |
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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
