Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci/ixgbe G.C. (if_ipackets)



details:   https://anonhg.NetBSD.org/src/rev/0b55c03300e0
branches:  trunk
changeset: 966448:0b55c03300e0
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Oct 30 07:27:51 2019 +0000

description:
G.C. (if_ipackets)

diffstat:

 sys/dev/pci/ixgbe/ixgbe.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r e074a5b333f8 -r 0b55c03300e0 sys/dev/pci/ixgbe/ixgbe.h
--- a/sys/dev/pci/ixgbe/ixgbe.h Wed Oct 30 07:26:28 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.h Wed Oct 30 07:27:51 2019 +0000
@@ -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 @@
 
 /* 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 @@
 #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)



Home | Main Index | Thread Index | Old Index