[dpdk-dev] [PATCH v5] net/virtio: fix rxq intr config fails using vfio-pci

Maxime Coquelin maxime.coquelin at redhat.com
Thu Nov 9 10:08:48 CET 2017



On 11/09/2017 09:55 AM, Zhiyong Yang wrote:
> diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h
> index 36d452c06..28e9af6c7 100644
> --- a/drivers/net/virtio/virtio_pci.h
> +++ b/drivers/net/virtio/virtio_pci.h
> @@ -314,6 +314,12 @@ struct virtio_net_config {
>   /* The alignment to use between consumer and producer parts of vring. */
>   #define VIRTIO_PCI_VRING_ALIGN 4096
>   
> +enum VIRTIO_MSIX_STATUS {
Please change VIRTIO_MSIX_STATUS to lowercase.
Other than that, this is what I had in mind.

Thanks!
Maxime
> +	VIRTIO_MSIX_NONE = 0,
> +	VIRTIO_MSIX_DISABLED = 1,
> +	VIRTIO_MSIX_ENABLED = 2
> +};
> +


More information about the dev mailing list