Hi Matan, On 3/16/20 4:12 PM, Matan Azrad wrote: > The vDPA device offloads all the datapath of the vhost device to the HW > device. > > In order to expose to the user traffic information this patch introduce > new API to get traffic statistics per virtio queue. > > The statistics are taken directly from the vDPA driver managing the HW > device.
Shouldn't the stats be collected from the PF like for "legacy" SR-IOV via the sysfs? Something like: /sys/class/net/<PF name>/device/sriov/<VF ID>/stats/ Regards, Maxime