[ovs-discuss] Swapping tap device stats

Jesse Gross jesse at nicira.com
Mon Aug 10 23:38:28 UTC 2009


Ben Pfaff wrote:
>> Normally when we display port stats, transmit is for data leaving the
>> switch and receive is for data entering the switch.  These stats come
>> directly from the interface.  However, for tap devices the reverse is
>> actually reported, since from the kernel's perspective the tap device
>> is acting like the machine connected to the switch, not the switch
>> itself.
>>
>> Unless anyone objects, I'd like to swap receive and transmit stats so
>> that they match the other interfaces.
>>     
>
> Where do you want to swap them?
>   

In the tap netdev.




More information about the discuss mailing list