Author: hselasky
Date: Mon Sep 14 14:24:54 2020
New Revision: 365719
URL: https://svnweb.freebsd.org/changeset/base/365719

Log:
  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

Modified:
  head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c

Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c    Mon Sep 14 12:22:19 2020        
(r365718)
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c    Mon Sep 14 14:24:54 2020        
(r365719)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to