[dpdk-dev] [PATCH] [RFC] vhost: inroduce operation to get vDPA queue stats
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Apr 9 16:34:23 CEST 2020
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
More information about the dev
mailing list