diff options
| author | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-24 04:26:09 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-06-29 00:44:38 +0300 |
| commit | ed56c5193ad89d1097cdbdc87abeb062e03a06eb (patch) | |
| tree | 74a2f39e78a6f18399097c9ceee25f1b316e4a3d /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 2ad9ecdbe7d482867000d3da7cbccc63689a7f70 (diff) | |
| download | linux-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/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
