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 0CA23A10DA for ; Thu, 1 Aug 2019 07:04:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59E8F1C136; Thu, 1 Aug 2019 07:04:54 +0200 (CEST) Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) by dpdk.org (Postfix) with ESMTP id 21E461C0C8 for ; Thu, 1 Aug 2019 07:04:53 +0200 (CEST) Received: by mail-vk1-f178.google.com with SMTP id 9so14296261vkw.4 for ; Wed, 31 Jul 2019 22:04:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JzzZ9TESqlpay0Spdivxpkz7ASNGsIeb698D4LSJzPQ=; b=EB1C5/K+RVSLgVVvLQM5aW2/DaqXBbSFcDl62W68+xaS8w5Wx9k239h2hR5NttoP+m o3EvSZeQZD2l2U5Adj8ObB0gDx/8+nCBxnsCJgm2vR7TX8M5fCbQfgJCflj/JSSYVIsp 5ySF2vB+06i+q2taabsDvAw5c3NXi+VtFk4FXgPh6J91mSM17ooIRyhbiTfjCuSfx80C 6cZuObUweaAkqPYoGgEJ9gfIqDj0LRBRW0CK3r7P0N3f0FL2ENFDbcQNIyDfJBAfIjb+ k/ReL1+klUg+x4icEaCg4YF4ibf6X6dARejjdi9yfP+DW/Kf9HHtAWtFpV0eSbn1LxAf OPjw== X-Gm-Message-State: APjAAAVlZwMkDIe98XEJYP9W0QJwXBz22/RCCyp9gfu9eXMozPpEn77l X+CD0ylEMbGdz6MPs39BjjpjAhCzIgoRqx9tO7S8JQ== X-Google-Smtp-Source: APXvYqzUuneghNjqUNvTSYvkJ4Jm0i4+E6OFYmxtUJ1m8hcXn7I0xQWz8boxfwdANz4h8dbPMG36n3NoEKCCLshzzDM= X-Received: by 2002:a1f:c18e:: with SMTP id r136mr6597409vkf.53.1564635892514; Wed, 31 Jul 2019 22:04:52 -0700 (PDT) MIME-Version: 1.0 References: <20190731033523.2482-1-tyos@jp.ibm.com> <5bb4f727-b07e-5f52-de0e-f5552cb6420a@linux.vnet.ibm.com> In-Reply-To: From: David Marchand Date: Thu, 1 Aug 2019 07:04:41 +0200 Message-ID: To: David Christensen Cc: Takeshi T Yoshimura , Maxime Coquelin , dev , "Burakov, Anatoly" Content-Type: text/plain; charset="UTF-8" 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" On Wed, Jul 31, 2019 at 11:20 PM David Christensen wrote: > > >> Here's the output from my Power 9 system running 19.08-RC2 (I'm not > >> using VFIO since I have an MLX5 adapter). > >> > >> sudo -E LD_LIBRARY_PATH=/home/davec/src/dpdk/build/lib > >> /home/davec/src/dpdk/build/app/testpmd --log-level lib.\*:debug -w > >> 0000:01:00.0 -w 0000:01:00.1 -l 4,8-79 -n 4 -- --rxq=32 --rxd=1024 > >> --txq=32 --txd=4096 --nb-cores=64 -i -a --numa --forward-mode=rxonly > >> EAL: Detected lcore 0 as core 0 on socket 0 > >> ... > >> EAL: Detected lcore 159 as core 2140 on socket 8 > >> EAL: Support maximum 1536 logical core(s) by configuration. > >> EAL: Detected 160 lcore(s) > >> EAL: Detected 2 NUMA nodes > >> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > >> EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or > >> directory) > >> EAL: VFIO PCI modules not loaded > >> EAL: DPAA Bus not present. Skipping. > >> EAL: Bus pci wants IOVA as 'DC' > > > > Ok, I think I understand now. > > > > Can you try this hunk ? > > > > IOVA mode is now reported as PA. Ok thanks. Still trying to understand Takeshi Yoshimura issue which looks different. > MLX5 PMD fails to load correctly, but that also occurs without the patch > and when the EAL command-line option "--iova-mode=pa" is used. This > worked previously in RC1 and may be a separate issue. Saw your patch on mlx5, yes separate issue. -- David Marchand