Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2017 12:33:15 +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-11@freebsd.org
Subject:   svn commit: r322142 - stable/11/sys/dev/mlx5
Message-ID:  <201708071233.v77CXFjF085921@repo.freebsd.org>

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



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