summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>2017-12-01 21:37:23 -0800
committerDavid S. Miller <davem@davemloft.net>2017-12-05 11:29:36 -0500
commit42d779ffc186f6dd26271fc60a7417cb51aca93e (patch)
tree4e2df733055fba982da3e8552845db0a58ae2d69 /net
parente599ea1410c3a2f55716f9c309587235cca32025 (diff)
downloadlinux-42d779ffc186f6dd26271fc60a7417cb51aca93e.tar.bz2
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 'net')
0 files changed, 0 insertions, 0 deletions