Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2017 12:34:34 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r322143 - stable/10/sys/dev/mlx5
Message-ID:  <201708071234.v77CYYdb086017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708071234.v77CYYdb086017>