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 Modify note in ixv_update_stats(). VF does...



details:   https://anonhg.NetBSD.org/src/rev/82b1ee8ff417
branches:  trunk
changeset: 969031:82b1ee8ff417
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Feb 05 10:07:47 2020 +0000

description:
Modify note in ixv_update_stats(). VF doesn't count errors by hardware.

diffstat:

 sys/dev/pci/ixgbe/ixv.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (24 lines):

diff -r 2ff43b7f1722 -r 82b1ee8ff417 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c   Wed Feb 05 09:59:50 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c   Wed Feb 05 10:07:47 2020 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.145 2020/02/04 05:44:15 thorpej Exp $*/
+/*$NetBSD: ixv.c,v 1.146 2020/02/05 10:07:47 msaitoh Exp $*/
 
 /******************************************************************************
 
@@ -2401,12 +2401,8 @@
            stats->vfgotc);
        UPDATE_STAT_32(IXGBE_VFMPRC, stats->last_vfmprc, stats->vfmprc);
 
-       /* Fill out the OS statistics structure */
-       /*
-        * NetBSD: Don't override if_{i|o}{packets|bytes|mcasts} with
-        * adapter->stats counters. It's required to make ifconfig -z
-        * (SOICZIFDATA) work.
-        */
+       /* VF doesn't count errors by hardware */
+
 } /* ixv_update_stats */
 
 /************************************************************************



Home | Main Index | Thread Index | Old Index