svn commit: r312875 - head/sys/dev/mlx5
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jan 27 10:20:39 UTC 2017
Author: hselasky
Date: Fri Jan 27 10:20:38 2017
New Revision: 312875
URL: https://svnweb.freebsd.org/changeset/base/312875
Log:
Make fw_pages statistics counter 64-bit to avoid overflow.
MFC after: 1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/dev/mlx5/driver.h
Modified: head/sys/dev/mlx5/driver.h
==============================================================================
--- head/sys/dev/mlx5/driver.h Fri Jan 27 10:06:20 2017 (r312874)
+++ head/sys/dev/mlx5/driver.h Fri Jan 27 10:20:38 2017 (r312875)
@@ -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