summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-05-24 04:26:09 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-06-29 00:44:38 +0300
commited56c5193ad89d1097cdbdc87abeb062e03a06eb (patch)
tree74a2f39e78a6f18399097c9ceee25f1b316e4a3d /tools/perf/scripts/python/net_dropmonitor.py
parent2ad9ecdbe7d482867000d3da7cbccc63689a7f70 (diff)
downloadlinux-ed56c5193ad89d1097cdbdc87abeb062e03a06eb.tar.xz
net/mlx5e: Update NIC HW stats on demand only
Disable periodic stats update background thread and update stats in background on demand when ndo_get_stats is called. Having a background thread running in the driver all the time is bad for power consumption and normally a user space daemon will query the stats once every specific interval, so ideally the background thread and its interval can be done in user space.. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions