Poll statistics more frequently in mlx5en(4).

This makes traffic steering algorithms more accurate.

MFC after:	1 week
Submitted by:	gallatin @
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2020-09-14 14:24:54 +00:00
parent 2ccf8a827c
commit 39b0f9c389
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365719

View File

@ -1073,7 +1073,7 @@ mlx5e_update_stats(void *arg)
queue_work(priv->wq, &priv->update_stats_work);
callout_reset(&priv->watchdog, hz, &mlx5e_update_stats, priv);
callout_reset(&priv->watchdog, hz / 4, &mlx5e_update_stats, priv);
}
static void