diff options
| author | Jack Morgenstein <[email protected]> | 2013-06-25 12:09:30 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-25 16:29:38 -0700 |
| commit | 6123db2ec529f1d1865298388e129a6aad2fae17 (patch) | |
| tree | f6f6cbb7824d5b05a548cced4ef8173fe407d6cd /tools/perf/scripts/python | |
| parent | 8850494a33cc67bbf31d2e3ce630d0f4e14efa56 (diff) | |
net/mlx4_en: Do not query stats when device port is down
There are no counters allocated to the eth device when the port is down, so
this query is meaningless at that time.
It also leads to querying incorrect counters (since the counter_index is not
valid when the device port is down).
Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions