Author: hselasky
Date: Thu May 16 16:39:37 2019
New Revision: 347783
URL: https://svnweb.freebsd.org/changeset/base/347783

Log:
  MFC r347318:
  Make command timeout way shorter in mlx5core.
  
  The command timeout is terribly long, whole two hours. Make it 60s so if
  things do go wrong, the user gets feedback in relatively short time, so
  they can take corrective actions and/or investigate using tools and such.
  
  Linux commit:
  6b6c07bdcdc97ccac2596063bfc32a5faddfe884
  
  Sponsored by: Mellanox Technologies

Modified:
  stable/12/sys/dev/mlx5/driver.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/mlx5/driver.h
==============================================================================
--- stable/12/sys/dev/mlx5/driver.h     Thu May 16 16:39:02 2019        
(r347782)
+++ stable/12/sys/dev/mlx5/driver.h     Thu May 16 16:39:37 2019        
(r347783)
@@ -55,7 +55,7 @@ enum {
 };
 
 enum {
-       MLX5_CMD_TIMEOUT_MSEC   = 8 * 60 * 1000,
+       MLX5_CMD_TIMEOUT_MSEC   = 60 * 1000,
        MLX5_CMD_WQ_MAX_NAME    = 32,
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to