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 BE6C2A10DA for ; Fri, 2 Aug 2019 10:09:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8D6F1C222; Fri, 2 Aug 2019 10:09:42 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 69CBB1C202 for ; Fri, 2 Aug 2019 10:09:41 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7286UJl133450 for ; Fri, 2 Aug 2019 04:09:40 -0400 Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.75]) by mx0a-001b2d01.pphosted.com with ESMTP id 2u4gfmaed0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 02 Aug 2019 04:09:40 -0400 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Fri, 2 Aug 2019 08:09:39 -0000 Received: from us1a3-smtp01.a3.dal06.isc4sb.com (10.106.154.95) by smtp.notes.na.collabserv.com (10.106.227.123) with smtp.notes.na.collabserv.com ESMTP; Fri, 2 Aug 2019 08:09:35 -0000 Received: from us1a3-mail157.a3.dal06.isc4sb.com ([10.146.71.179]) by us1a3-smtp01.a3.dal06.isc4sb.com with ESMTP id 2019080208093523-233267 ; Fri, 2 Aug 2019 08:09:35 +0000 In-Reply-To: From: "Takeshi T Yoshimura" To: David Marchand Cc: dev , David Christensen , anatoly.burakov@intel.com Date: Fri, 2 Aug 2019 08:09:35 +0000 MIME-Version: 1.0 Sensitivity: Importance: Normal X-Priority: 3 (Normal) References: , <20190731033523.2482-1-tyos@jp.ibm.com> X-Mailer: IBM iNotes ($HaikuForm 1054) | IBM Domino Build SCN1812108_20180501T0841_FP55 May 22, 2019 at 11:09 X-LLNOutbound: False X-Disclaimed: 62459 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 x-cbid: 19080208-3815-0000-0000-00000C587A93 X-IBM-SpamModules-Scores: BY=0.294011; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.40962; ST=0; TS=0; UL=0; ISC=; MB=0.000009 X-IBM-SpamModules-Versions: BY=3.00011537; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000287; SDB=6.01240917; UDB=6.00654409; IPR=6.01022348; BA=6.00006362; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00028005; XFM=3.00000015; UTC=2019-08-02 08:09:39 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2019-08-01 18:15:44 - 6.00010236 x-cbparentid: 19080208-3816-0000-0000-00001125DCFB Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-02_04:, , signatures=0 X-Proofpoint-Spam-Reason: safe Subject: Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in ppc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----David Marchand wrote: ----- >To: Takeshi T Yoshimura >From: David Marchand >Date: 08/01/2019 06:47PM >Cc: dev , David Christensen >Subject: [EXTERNAL] Re: [dpdk-dev] [PATCH] eal: forcing IOVA as PA in >ppc > >On Thu, Aug 1, 2019 at 10:46 AM Takeshi T Yoshimura >wrote: >> >> > - Are the (below) devices bound to vfio-pci or any other kmod at >this point of the init? >> >> Yes, vfio-pci is bound to 0030:01:00.0 in the log. >> >> > - Is the spdk=5Fnvme driver loaded at this point? >> >> No, spdk just attempts to initialize dpdk at this point. >> After the initialization finishes, spdk probes the nvme driver. > >Do you mean that spdk registers its drivers after rte=5Feal=5Finit() has >returned? > >Nothing should prevent from registering the drivers them before >calling rte=5Feal=5Finit(), did you try this? >If the drivers are in the form of shared libraries (.so files), did >you try to load them using the -d eal option? > > >--=20 >David Marchand > > SPDK apps have to call rte=5Feal=5Finit() before registering drivers, since the driver allocates DMA memory. Do I have to change existing apps and spdk core to workaround this issue to= use new versions of dpdk?