commit | c3d64ad4fea66d07e878b248b803ccd12c45e18c | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Oct 10 09:16:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 10 13:18:33 2017 -0700 |
tree | c3a39816968e33eda8c6a31cb95fbe591c369843 | |
parent | 3668bb8da197f90c2e9cb71e89da6fa629ff8450 [diff] |
nfp: fix ethtool stats gather retry The while loop fetching 64 bit ethtool statistics may have to retry multiple times, it shouldn't modify the outside state. Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>