svn commit: r322142 - stable/11/sys/dev/mlx5

Hans Petter Selasky hselasky at FreeBSD.org
Mon Aug 7 12:33:16 UTC 2017


Author: hselasky
Date: Mon Aug  7 12:33:15 2017
New Revision: 322142
URL: https://svnweb.freebsd.org/changeset/base/322142

Log:
  MFC r312875:
  Make fw_pages statistics counter 64-bit to avoid overflow.
  
  Sponsored by:	Mellanox Technologies

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

Modified: stable/11/sys/dev/mlx5/driver.h
==============================================================================
--- stable/11/sys/dev/mlx5/driver.h	Mon Aug  7 12:29:41 2017	(r322141)
+++ stable/11/sys/dev/mlx5/driver.h	Mon Aug  7 12:33:15 2017	(r322142)
@@ -518,7 +518,7 @@ struct mlx5_priv {
 	/* pages stuff */
 	struct workqueue_struct *pg_wq;
 	struct rb_root		page_root;
-	int			fw_pages;
+	s64			fw_pages;
 	atomic_t		reg_pages;
 	struct list_head	free_list;
 


More information about the svn-src-stable-11 mailing list