summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-05-23 18:26:09 -0700
committerSaeed Mahameed <saeedm@mellanox.com>2018-06-28 14:44:38 -0700
commited56c5193ad89d1097cdbdc87abeb062e03a06eb (patch)
tree74a2f39e78a6f18399097c9ceee25f1b316e4a3d /lib/debugobjects.c
parent2ad9ecdbe7d482867000d3da7cbccc63689a7f70 (diff)
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions