https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

            Bug ID: 213439
           Summary: ifOutOctets are always zero for Xen xn interfaces
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-b...@freebsd.org
          Reporter: trond.endres...@ximalas.info
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Virtualization platform is XenServer 7.0.0.

The XenServer guest is:
root@[WITHHELD]:~ # uname -a
FreeBSD [WITHHELD].fig.ol.no 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #1
r306639: Mon Oct  3 17:36:35 CEST 2016    
root@[WITHHELD]:/usr/obj/usr/src/sys/XENGUEST  amd64

The kernel configuration file is available at
http://ximalas.info/~trond/create-zfs/canmount/XENGUEST-amd64-stable-11

Just for comparison, here's lo0:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.1
IF-MIB::ifDescr.1 = STRING: lo0
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.1
IF-MIB::ifInOctets.1 = Counter32: 190342
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.1
IF-MIB::ifOutOctets.1 = Counter32: 190491

This is for xn0:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2
IF-MIB::ifDescr.2 = STRING: xn0
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 1799356094
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 0

This is for xn1:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3
IF-MIB::ifDescr.3 = STRING: xn1
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3
IF-MIB::ifInOctets.3 = Counter32: 2647317261
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 0

In the latter two cases ifOutOctets are always zero, but not for the lo0 case.

Is this a bug in the xn driver?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to