svn commit: r322143 - stable/10/sys/dev/mlx5

Hans Petter Selasky hselasky at FreeBSD.org
Mon Aug 7 12:34:35 UTC 2017


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

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

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

Modified: stable/10/sys/dev/mlx5/driver.h
==============================================================================
--- stable/10/sys/dev/mlx5/driver.h	Mon Aug  7 12:33:15 2017	(r322142)
+++ stable/10/sys/dev/mlx5/driver.h	Mon Aug  7 12:34:34 2017	(r322143)
@@ -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-all mailing list