Skip to content
Commit ed56c519 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

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: default avatarSaeed Mahameed <saeedm@mellanox.com>
Reviewed-by: default avatarEran Ben Elisha <eranbe@mellanox.com>
parent 2ad9ecdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment