Re: [libvirt] [PATCH 5/7] virNetDevTapInterfaceStats: Allow caller to not swap the statistics

2017-10-05 Thread Michal Privoznik
On 10/05/2017 12:38 AM, John Ferlan wrote: > > > On 10/02/2017 11:05 AM, Michal Privoznik wrote: >> 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 ho

Re: [libvirt] [PATCH 5/7] virNetDevTapInterfaceStats: Allow caller to not swap the statistics

2017-10-04 Thread John Ferlan
On 10/02/2017 11:05 AM, Michal Privoznik wrote: > 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

[libvirt] [PATCH 5/7] virNetDevTapInterfaceStats: Allow caller to not swap the statistics

2017-10-02 Thread Michal Privoznik
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 de