Re: [PATCH V2 19/19] vdpa: introduce virtio pci driver

2021-01-03 Thread Jason Wang
On 2020/12/4 下午11:20, Stefano Garzarella wrote: +#define VP_VDPA_QUEUE_MAX 256 +#define VP_VDPA_DRIVER_NAME "vp_vdpa" + +struct vp_vring { +    void __iomem *notify; +    char msix_name[256]; Can we use a macro for the msix_name size, since we use 256 in multiple places? Yes, will switch

Re: [PATCH V2 19/19] vdpa: introduce virtio pci driver

2020-12-06 Thread Jason Wang
On 2020/12/5 上午1:12, Randy Dunlap wrote: On 12/4/20 7:20 AM, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 12:03:53PM +0800, Jason Wang wrote: This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for

Re: [PATCH V2 19/19] vdpa: introduce virtio pci driver

2020-12-04 Thread Randy Dunlap
On 12/4/20 7:20 AM, Stefano Garzarella wrote: > On Fri, Dec 04, 2020 at 12:03:53PM +0800, Jason Wang wrote: >> This patch introduce a vDPA driver for virtio-pci device. It bridges >> the virtio-pci control command to the vDPA bus. This will be used for >> features prototyping and testing. >> >>

Re: [PATCH V2 19/19] vdpa: introduce virtio pci driver

2020-12-04 Thread Stefano Garzarella
On Fri, Dec 04, 2020 at 12:03:53PM +0800, Jason Wang wrote: This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for features prototyping and testing. Note that get/restore virtqueue state is not supported which

[PATCH V2 19/19] vdpa: introduce virtio pci driver

2020-12-03 Thread Jason Wang
This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for features prototyping and testing. Note that get/restore virtqueue state is not supported which needs extension on the virtio specification. Signed-off-by: