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

net/mlx5e: Use non-delayed work for update stats



Convert mlx5e update stats work to a normal work structure, since it is
never used delayed.

Add a helper function to queue update stats work on demand which checks
for some conditions and reduce code duplication to have a better
abstraction.

Fixes: ed56c519 ("net/mlx5e: Update NIC HW stats on demand only")
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 519a0bf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment