From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 179B9A00E6 for ; Mon, 2 Sep 2019 08:17:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D56821C1D0; Mon, 2 Sep 2019 08:17:20 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id AA7A11C1D0; Mon, 2 Sep 2019 08:17:18 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Sep 2019 23:17:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,457,1559545200"; d="scan'208";a="183230878" Received: from dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.71]) by fmsmga007.fm.intel.com with ESMTP; 01 Sep 2019 23:17:14 -0700 Date: Mon, 2 Sep 2019 14:14:48 +0800 From: Tiwei Bie To: Maxime Coquelin Cc: zhihong.wang@intel.com, amorenoz@redhat.com, xiao.w.wang@intel.com, dev@dpdk.org, jfreimann@redhat.com, stable@dpdk.org Message-ID: <20190902061448.GC11681@___> References: <20190829080000.20806-1-maxime.coquelin@redhat.com> <20190829080000.20806-5-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190829080000.20806-5-maxime.coquelin@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-stable] [PATCH 04/15] net/virtio: add virtio PCI subsystem device ID declaration X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Aug 29, 2019 at 09:59:49AM +0200, Maxime Coquelin wrote: > The Virtio PCI susbsytem IDs need to be specified to > prevent it to probe IFC vDPA VFs. > > Signed-off-by: Maxime Coquelin > --- > drivers/net/virtio/virtio_pci.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h > index a38cb45ad..56f89a454 100644 > --- a/drivers/net/virtio/virtio_pci.h > +++ b/drivers/net/virtio/virtio_pci.h > @@ -19,6 +19,7 @@ struct virtnet_ctl; > #define VIRTIO_PCI_VENDORID 0x1AF4 > #define VIRTIO_PCI_LEGACY_DEVICEID_NET 0x1000 > #define VIRTIO_PCI_MODERN_DEVICEID_NET 0x1041 > +#define VIRTIO_PCI_SUBSY_DEVICEID_NET 0x1100 0x1100 is the subsystem device ID used by QEMU. Maybe naming it VIRTIO_PCI_SUBSYS_DEVICEID_QEMU is better? Regards, Tiwei > > /* VirtIO ABI version, this must match exactly. */ > #define VIRTIO_PCI_ABI_VERSION 0 > -- > 2.21.0 >