Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci rxipsum and rxtusum are not interru...



details:   https://anonhg.NetBSD.org/src/rev/f5d5e5bf63a6
branches:  trunk
changeset: 318874:f5d5e5bf63a6
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue May 08 07:59:56 2018 +0000
description:
rxipsum and rxtusum are not interrupt counter, so use EVCNT_TYPE_MISC
instead of EVCNT_TYPE_INTR.

diffstat:

 sys/dev/pci/if_wm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 180f0e51510b -r f5d5e5bf63a6 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Tue May 08 07:02:07 2018 +0000
+++ b/sys/dev/pci/if_wm.c       Tue May 08 07:59:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.576 2018/04/23 01:35:25 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.577 2018/05/08 07:59:56 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.576 2018/04/23 01:35:25 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.577 2018/05/08 07:59:56 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -6508,8 +6508,8 @@
                WM_Q_INTR_EVCNT_ATTACH(rxq, rxintr, rxq, i, xname);
                WM_Q_INTR_EVCNT_ATTACH(rxq, rxdefer, rxq, i, xname);
 
-               WM_Q_INTR_EVCNT_ATTACH(rxq, rxipsum, rxq, i, xname);
-               WM_Q_INTR_EVCNT_ATTACH(rxq, rxtusum, rxq, i, xname);
+               WM_Q_MISC_EVCNT_ATTACH(rxq, rxipsum, rxq, i, xname);
+               WM_Q_MISC_EVCNT_ATTACH(rxq, rxtusum, rxq, i, xname);
 #endif /* WM_EVENT_COUNTERS */
 
                rx_done++;



Home | Main Index | Thread Index | Old Index