Module Name:    src
Committed By:   msaitoh
Date:           Wed Oct 30 07:27:51 UTC 2019

Modified Files:
        src/sys/dev/pci/ixgbe: ixgbe.h

Log Message:
G.C. (if_ipackets)


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/ixgbe/ixgbe.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixgbe.h
diff -u src/sys/dev/pci/ixgbe/ixgbe.h:1.58 src/sys/dev/pci/ixgbe/ixgbe.h:1.59
--- src/sys/dev/pci/ixgbe/ixgbe.h:1.58	Fri Sep 13 07:55:07 2019
+++ src/sys/dev/pci/ixgbe/ixgbe.h	Wed Oct 30 07:27:51 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.58 2019/09/13 07:55:07 msaitoh Exp $ */
+/* $NetBSD: ixgbe.h,v 1.59 2019/10/30 07:27:51 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -645,7 +645,6 @@ struct adapter {
 
 /* Stats macros */
 #if __FreeBSD_version >= 1100036
-#define IXGBE_SET_IPACKETS(sc, count)    (sc)->ipackets = (count)
 #define IXGBE_SET_IERRORS(sc, count)     (sc)->ierrors = (count)
 #define IXGBE_SET_OPACKETS(sc, count)    (sc)->opackets = (count)
 #define IXGBE_SET_OERRORS(sc, count)     (sc)->oerrors = (count)
@@ -656,7 +655,6 @@ struct adapter {
 #define IXGBE_SET_OMCASTS(sc, count)     (sc)->omcasts = (count)
 #define IXGBE_SET_IQDROPS(sc, count)     (sc)->iqdrops = (count)
 #else
-#define IXGBE_SET_IPACKETS(sc, count)    (sc)->ifp->if_ipackets = (count)
 #define IXGBE_SET_IERRORS(sc, count)     (sc)->ifp->if_ierrors = (count)
 #define IXGBE_SET_OPACKETS(sc, count)    (sc)->ifp->if_opackets = (count)
 #define IXGBE_SET_OERRORS(sc, count)     (sc)->ifp->if_oerrors = (count)

Reply via email to