[virtio-dev] [PATCH V2 1/2] virtio-pci: introduce virtio structure PCI Extended Capability

2022-01-11 Thread Jason Wang
We're already out of the configuration space if there's a device that supports all kinds of the virtio structure via PCI capability. This prevents us from adding new capabilities in the future. So the patch adds the support for virtio structure via PCI Extended Capability via the vendor specific

[virtio-dev] [PATCH V2 2/2] virtio-pci: add PASID configuration extended capability

2022-01-11 Thread Jason Wang
This patch tries to add PASID configuration structure. It is used for assigning PASID to virtqueue then the device use PASID TLP prefix for the PCI transactions like DMA. The goal is to isolate e.g DMA at subdevice level which could be used for things like: - direct queue assignment to userspace

[virtio-dev] [PATCH V2 0/2] virito-pci: PASID support

2022-01-11 Thread Jason Wang
Hi All: This series tries to add PASID support for virtio-pci to allow the virtqueue to use PASID TLP prefix for PCI transactions. This will be useful for future work like, queue assignment, virtqueue virtualization and presenting multiple vDPA devices with a single PCI device. Since we're short

[virtio-dev] Re: [PATCH v8] virtio-net: support device stats

2022-01-11 Thread Cornelia Huck
On Tue, Jan 11 2022, Xuan Zhuo wrote: > This patch allows the driver to obtain some statistics from the device. > > In the back-end implementation, we can count a lot of such information, > which can be used for debugging and judging the running status of the > back-end. We hope to directly

[virtio-dev] Re: [PATCH v8] virtio-net: support device stats

2022-01-11 Thread Xuan Zhuo
On Tue, 11 Jan 2022 15:52:20 +0100, Cornelia Huck wrote: > On Tue, Jan 11 2022, Xuan Zhuo wrote: > > > This patch allows the driver to obtain some statistics from the device. > > > > In the back-end implementation, we can count a lot of such information, > > which can be used for debugging and