mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
src: Document virDomainInterfaceStats() limitation
For unmanaged ethernet <interface/>, it is user's responsibility to set up the interface. And as such it can be just anything. Therefore, it's (almost) impossible for the virDomainInterfaceStats() API to tell whether RX/TX values need to be swapped or copied verbatim into the return structure. Document this limitation. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
@@ -2012,7 +2012,8 @@ interface stats are only available for interfaces that have a
|
||||
physical source interface. This does not include, for example, a
|
||||
'user' interface type since it is a virtual LAN with NAT to the
|
||||
outside world. *interface-device* can be the interface target by
|
||||
name or MAC address.
|
||||
name or MAC address. Please note, for an unmanaged *ethernet*
|
||||
type returned stats might have RX/TX swapped.
|
||||
|
||||
|
||||
domiftune
|
||||
|
||||
Reference in New Issue
Block a user