[Bug 213439] ifOutOctets are always zero for Xen xn interfaces

2016-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

Mark Linimon  changed:

   What|Removed |Added

 CC|freebsd-am...@freebsd.org   |
   Assignee|freebsd-bugs@FreeBSD.org|freebsd-...@freebsd.org
   Keywords||patch

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


[Bug 213439] ifOutOctets are always zero for Xen xn interfaces

2016-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

Andrey V. Elsukov  changed:

   What|Removed |Added

 CC||a...@freebsd.org

--- Comment #1 from Andrey V. Elsukov  ---
Created attachment 175694
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175694=edit
Proposed patch (untested)

Hi,

can you test this patch?

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


[Bug 213439] ifOutOctets are always zero for Xen xn interfaces

2016-10-13 Thread bugzilla-noreply
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-bugs@FreeBSD.org
  Reporter: trond.endres...@ximalas.info
CC: freebsd-am...@freebsd.org
CC: freebsd-am...@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 the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"