From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v5] net/virtio: fix rxq intr config fails using vfio-pci Date: Thu, 9 Nov 2017 10:08:48 +0100 Message-ID: References: <20171109044607.3327-1-zhiyong.yang@intel.com> <20171109085519.62567-1-zhiyong.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org, jianfeng.tan@intel.com, yliu@fridaylinux.org To: Zhiyong Yang , dev@dpdk.org Return-path: In-Reply-To: <20171109085519.62567-1-zhiyong.yang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > +}; > +