svn commit: r347318 - head/sys/dev/mlx5

Hans Petter Selasky hselasky at FreeBSD.org
Wed May 8 11:07:01 UTC 2019


Author: hselasky
Date: Wed May  8 11:07:00 2019
New Revision: 347318
URL: https://svnweb.freebsd.org/changeset/base/347318

Log:
  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
  
  MFC after:	3 days
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/dev/mlx5/driver.h

Modified: head/sys/dev/mlx5/driver.h
==============================================================================
--- head/sys/dev/mlx5/driver.h	Wed May  8 11:06:42 2019	(r347317)
+++ head/sys/dev/mlx5/driver.h	Wed May  8 11:07:00 2019	(r347318)
@@ -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,
 };
 


More information about the svn-src-head mailing list