Module Name: src
Committed By: msaitoh
Date: Wed Feb 5 10:07:47 UTC 2020
Modified Files:
src/sys/dev/pci/ixgbe: ixv.c
Log Message:
Modify note in ixv_update_stats(). VF doesn't count errors by hardware.
To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/sys/dev/pci/ixgbe/ixv.c
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/ixv.c
diff -u src/sys/dev/pci/ixgbe/ixv.c:1.145 src/sys/dev/pci/ixgbe/ixv.c:1.146
--- src/sys/dev/pci/ixgbe/ixv.c:1.145 Tue Feb 4 05:44:15 2020
+++ src/sys/dev/pci/ixgbe/ixv.c Wed Feb 5 10:07:47 2020
@@ -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 @@ ixv_update_stats(struct adapter *adapter
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 */
/************************************************************************