From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8AF1B42FBD; Thu, 3 Aug 2023 04:01:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61CF0406BA; Thu, 3 Aug 2023 04:01:01 +0200 (CEST) Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by mails.dpdk.org (Postfix) with ESMTP id 191F6406B8 for ; Thu, 3 Aug 2023 04:00:58 +0200 (CEST) X-QQ-mid: bizesmtp74t1691028033tz5qb8bl Received: from LAPTOP96V0OHHN ( [183.81.182.182]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 03 Aug 2023 10:00:32 +0800 (CST) X-QQ-SSF: 00400000000000D0F000000A0000000 X-QQ-FEAT: xM1xA6aW59GumsY3pEi4juHUuF1XS9zdRdnk6F2qJ2KVFuir5V6PEz/ypOKQB h3sFCuqA/HzB59P6bUsC0NsRllxLGimi8uok5YSMeEBmWHqPkpFzeiJ6qxPIrPwo9olaT8f Dk9LVvMvMZLBu/o/dNZOu6QdmPFEyQMLlFqjMMqnhAcOLSIPUkofcZdswdw+YqNXX3fs5G6 26xpB3Qntop4d1kWSDM+FU/FT70YV2nAD5s65BvMEYzhZEwDSf6HPnWEK2+UcrRtNcuUqp3 8fbmM9twD1m2c2qQwIGNft1CYBKjR2z3Ao1ge44vCFu9mWnB+wP/R2YoTlqewfRMOVrIh2B c4U+PVonp3oEVqSgniSH7i8JXm2RyPJ7bXfOp4qvE5N3rOQ25M= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 1107173423653216846 From: "11" To: "'Stephen Hemminger'" Cc: "'Anatoly Burakov'" , , , References: <20230802081106.2340406-1-caowenbo@mucse.com> <20230802081106.2340406-3-caowenbo@mucse.com> <20230802090632.7932ad8e@hermes.local> In-Reply-To: <20230802090632.7932ad8e@hermes.local> Subject: RE: [PATCH v2 2/8] net/rnp: add ethdev probe and remove Date: Thu, 3 Aug 2023 10:00:32 +0800 Message-ID: <2DE5280DE8FC4A74+00ef01d9c5ae$4a080040$de1800c0$@mucse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHlFHEU5qaXLLOEBoQYNo08TPBbuwKJ0S6ZAO2Y9SuvpXLPkA== Content-Language: zh-cn X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:mucse.com:qybglogicsvrgz:qybglogicsvrgz5a-0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hello Stephen, Thanks for your comment. For vfio-pci mode we can support it, but when multiple rerun dpdk-app, In rte_eal_init the logical of vfio will reset pcie. The firmware will be core-dump for read pcie Configuration Space, when = the pcie is in reset state. This bug is resolving and testing, so that this code just support = igb_uio. Until the test has been finished, I will add vfio-pci ability. Do I need add this ability of vfio in this patch ? Regards Wenbo -----Original Message----- From: Stephen Hemminger =20 Sent: 2023=C4=EA8=D4=C23=C8=D5 0:07 To: Wenbo Cao Cc: Anatoly Burakov ; dev@dpdk.org; ferruh.yigit@intel.com; andrew.rybchenko@oktetlabs.ru Subject: Re: [PATCH v2 2/8] net/rnp: add ethdev probe and remove On Wed, 2 Aug 2023 08:11:00 +0000 Wenbo Cao wrote: > +RTE_PMD_REGISTER_PCI(net_rnp, rte_rnp_pmd);=20 > +RTE_PMD_REGISTER_PCI_TABLE(net_rnp, pci_id_rnp_map);=20 > +RTE_PMD_REGISTER_KMOD_DEP(net_txgbe, "igb_uio | uio_pci_generic"); Will this driver work with VFIO? Vfio is preferred over igb_uio.