summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2012-02-13 15:20:09 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-13 20:45:04 -0500
commitb546e46f5c9f19a921d6f62db80f2e9371bc0558 (patch)
tree363edfa3698ed62ec6e9028d760ff9f7282b3f9f /tools/perf/scripts/python
parent3906969189a409e590a51b18c86a92d0506c9372 (diff)
tg3: Fix stats while interface is down
If the tg3 interface is down, the driver will return ethtool stats uninitialized. This patch zeroes out the destination stat buffer in such a case. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions