diff options
author | 2017-12-01 21:37:23 -0800 | |
---|---|---|
committer | 2017-12-05 11:29:36 -0500 | |
commit | 42d779ffc186f6dd26271fc60a7417cb51aca93e (patch) | |
tree | 4e2df733055fba982da3e8552845db0a58ae2d69 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "tcp: must block bh in __inet_twsk_hashdance()" (diff) | |
download | linux-dev-42d779ffc186f6dd26271fc60a7417cb51aca93e.tar.xz linux-dev-42d779ffc186f6dd26271fc60a7417cb51aca93e.zip |
nfp: fix port stats for mac representors
Previously we swapped the tx_packets, tx_bytes and tx_dropped counters
with rx_packets, rx_bytes and rx_dropped counters, respectively. This
behaviour is correct and expected for VF representors but it should not
be swapped for physical port mac representors.
Fixes: eadfa4c3be99 ("nfp: add stats and xmit helpers for representors")
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions