Date: Thu, 24 Aug 2017 09:55:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Message-ID: <bug-220198-2472-N6RLONbeLL@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220198-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-220198-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaho@elam.kais.kyoto-u.ac.j | |p --- Comment #3 from Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp> --- (In reply to commit-hook from comment #1) I think the bug is fixed by this commit, but it is not a good way. 1. Every driver using iflib should set IFCAP_HWSTATS flag within the driver. For example, in the em(4) driver, add IFCAP_HWSTATS flag into #define EM_CAPS and #define IGB_CAPS lines of if_em.c. 2. The IFCAP_FLAGS in iflib.c seems to hold flags which can be changed by a ioctl function. Who want to set or unset the IFCAP_HWSTATS flag by a function? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220198-2472-N6RLONbeLL>