libvirt/src/openvz
Michal Privoznik d86fd2402e virNetDevTapInterfaceStats: Allow caller to not swap the statistics
https://bugzilla.redhat.com/show_bug.cgi?id=1497410

The comment in virNetDevTapInterfaceStats() implementation for
Linux states that packets transmitted by domain are received by
the host and vice versa. Well, this is true but not for all types
of interfaces. For instance, for macvtaps when TAP device is
hooked right onto a physical device any packet that domain sends
looks also like a packet sent to the host. Therefore, we should
allow caller to chose if the stats returned should be straight
copy or swapped.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2017-10-05 09:16:05 +02:00
..
openvz_conf.c Init host cache info in drivers 2017-05-09 13:12:40 +02:00
openvz_conf.h openvz: Ditch openvzGetNodeCPUs 2017-03-27 13:13:29 +02:00
openvz_driver.c virNetDevTapInterfaceStats: Allow caller to not swap the statistics 2017-10-05 09:16:05 +02:00
openvz_driver.h add migration support for OpenVZ driver 2014-09-15 15:01:35 +02:00
openvz_util.c Make tests independant of system page size 2015-02-02 20:27:43 +00:00
openvz_util.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00