diff options
author | Jian Shen <[email protected]> | 2018-01-05 18:18:11 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-08 14:06:18 -0500 |
commit | b875cc379de4cb4bcc7e189998667286baf916b8 (patch) | |
tree | 7f245cf71131c722acafc07e9fae38720195b2de /tools/perf/scripts/python/check-perf-trace.py | |
parent | c5f654805c9b145f035e06551c5c3dcf3d8db652 (diff) |
net: hns3: Mask the packet statistics query when NIC is down
Update the HNS3_NIC_STATE_DOWN bit when NIC state changes.
When NIC is down, mask the packet statistics for querying
with ifconfig command. It's a common practice.
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions