From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8A10943033
	for <public@inbox.dpdk.org>; Fri, 11 Aug 2023 14:37:36 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id CD7EA42D55;
	Fri, 11 Aug 2023 14:37:35 +0200 (CEST)
Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com
 [209.85.219.171])
 by mails.dpdk.org (Postfix) with ESMTP id 36E5F40E03
 for <users@dpdk.org>; Fri, 11 Aug 2023 14:37:34 +0200 (CEST)
Received: by mail-yb1-f171.google.com with SMTP id
 3f1490d57ef6-d63c0a6568fso1581201276.0
 for <users@dpdk.org>; Fri, 11 Aug 2023 05:37:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1691757453; x=1692362253;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=CP++u263TJAGU5YjriEn8bfDQmP/PYdxHhv6DDD4qbA=;
 b=aZpHPeBtlFOdK7mUTu1NWtWgvAzxufXixlIa0ZoWAumw5l8QBpLhf+EYxGCE0fJx6m
 uTFNWi5iCo/gAJ3IAnLZjN8Y9UzyDzoFOUKZrixad1L0AVIb04z+jHFCI7IeCBz1o8QJ
 jQ5Rsqpra/+A/DQQgzsraAt9m2ETF7lAazWK5cxIZEqEcstMg1iEca5SY0hvRjHO7nZW
 0ywCsWm5oGgbXR0EvhenKe3BKijnFa+KJWFy5LYJjmBq5F3IWiDCFXRBCTq0KNB3SJRG
 xwv+zYEytLMigoQAaSSFOX0RbFvQOrjhJPUoSjDgwk3yn1Pkca32lgRofthEoSJpzD19
 Ntig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1691757453; x=1692362253;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=CP++u263TJAGU5YjriEn8bfDQmP/PYdxHhv6DDD4qbA=;
 b=dmBzU/Xd6PibITrbdjaRZeHAkCBOmbDxtyeiSbHDjPP7bf223XW4tlayT5vCuDNmN6
 NBRnoIEC4iDCB/2N+6r2iAIP75u82GTK0MfDLRWu7PDX0MlnUSbwdJDhIX6f/Wa6Iqov
 MKOMAtNXzBq17CRWbm6GXSO3KL5yvHaCr597bx0qL/qIqWgwNxUYQZ4hHJjHAFJg3Nx3
 ZcLaQ1rrOw4tUY1O0Kp7QcjleNP2l8K/UXFn4OdOW94vhEdd0wNq5XxY7cZCwc+NJAh4
 +ZE34Fq4G75m5EftgtqgXIGPbplkp5jqCe2k6lNFA8Mfh55B/oU/FtdfPUtdt+55lJGC
 wqxA==
X-Gm-Message-State: AOJu0Yx4TCX0sTogNGxbZQcjvR26KdiHTeqZ6yaP2XAoDmyAnvTFqh9y
 UO2S6AL5gRIvVUVY+kwyArG9rhzRW2QkPB1BJhM=
X-Google-Smtp-Source: AGHT+IHkDQz6pEMZKGrFEuh3m3pTf7iq6PA68X6INTknU9ETrv463VEAjosYU+y+U6xCerj+HkWuqtH6A4KAQsASla8=
X-Received: by 2002:a25:ce12:0:b0:c6f:b843:c502 with SMTP id
 x18-20020a25ce12000000b00c6fb843c502mr1528750ybe.25.1691757453324; Fri, 11
 Aug 2023 05:37:33 -0700 (PDT)
MIME-Version: 1.0
References: <CALDr01SrSDZXeuVyBC3b0RTvPhN-c7TNJsis1Qq9rMxC+jV3cg@mail.gmail.com>
 <MN2PR12MB3085D6D1454F1CD24C9A7B428203A@MN2PR12MB3085.namprd12.prod.outlook.com>
 <CALDr01QRBvwMeC0atQZq7K0MtYy6bY80X=u95guei=dQjjqFcg@mail.gmail.com>
 <2290932.ElGaqSPkdT@thomas>
In-Reply-To: <2290932.ElGaqSPkdT@thomas>
From: Igor de Paula <igordptx@gmail.com>
Date: Fri, 11 Aug 2023 15:37:22 +0300
Message-ID: <CALDr01Tv7VQTczidUSjQkp94VS8cG=yLKTC9ayX_b8iSjGjfJg@mail.gmail.com>
Subject: Re: help
To: Thomas Monjalon <thomas@monjalon.net>
Cc: "Varghese, Vipin" <Vipin.Varghese@amd.com>, "Yigit,
 Ferruh" <Ferruh.Yigit@amd.com>, 
 Jochen Behrens <jbehrens@vmware.com>, "users@dpdk.org" <users@dpdk.org>, 
 "Gupta, Nipun" <Nipun.Gupta@amd.com>, "Agarwal,
 Nikhil" <nikhil.agarwal@amd.com>, 
 Ronak Doshi <doshir@vmware.com>, "Immanni, Venkat" <Venkat.Immanni@amd.com>, 
 Chenbo Xia <chenbo.xia@intel.com>
Content-Type: multipart/alternative; boundary="0000000000000d36d10602a4fa9c"
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

--0000000000000d36d10602a4fa9c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sure, I will submit a patch (it would be a first).
Thanks

On Fri, Aug 11, 2023 at 3:30=E2=80=AFPM Thomas Monjalon <thomas@monjalon.ne=
t> wrote:

> Thanks for the info.
> Do you think it should be written in the vmxnet3 page of the DPDK
> documentation?
> If yes, would you like to initiate a patch for review?
>
>
> 11/08/2023 10:43, Igor de Paula:
> > Hi again,
> > I got this resolved with VMWARE support so I thought to share it here.
> > What I originally wanted was to use IOVA-VA on an AMD host. Which didn'=
t
> > work. I have learned that the ESXI version that supports
> > virtual IOMMU in AMD hosts (which is a prerequisite to IOVA-VA) is ESXI
> 7.0
> > U1. After updating it worked. On Intel hosts ESXI 6.7 supports it alrea=
dy
> > as far as I know.
> >
> >
> > On Tue, Jul 25, 2023 at 6:19=E2=80=AFPM Varghese, Vipin <Vipin.Varghese=
@amd.com>
> > wrote:
> >
> > > [AMD Official Use Only - General]
> > >
> > > Like I said earlier, trying with the Intel host I have on VMWARE,
> > > specifically  Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz
> > > With IOMMU enabled, VMXNET3 works with VA as well as PA.
> > >
> > > [VV] since ` enable_unsafe_iommu: not enabled` on Intel platform, cou=
ld
> > > it be possible the specific version EXSI hypervisor supports the HW
> IOMMU
> > > specific to the platform. My suspicion will be in case on AMD platfor=
m
> > >  changes for required to enable HW iommu might not be available to
> specific
> > > EXSI (hypervior OS) used.
> > >
> > >
> > >
> > > I am not an expert on virtio_user PMD, but I can check if it will wor=
k
> > > with PA with deferred setting for vmx_net3 PMD are ok?
> > >
> > >
> > >
> > > *From:* Igor de Paula <igordptx@gmail.com>
> > > *Sent:* Tuesday, July 25, 2023 8:42 PM
> > > *To:* Varghese, Vipin <Vipin.Varghese@amd.com>
> > > *Cc:* Yigit, Ferruh <Ferruh.Yigit@amd.com>; Jochen Behrens <
> > > jbehrens@vmware.com>; Thomas Monjalon <thomas@monjalon.net>;
> > > users@dpdk.org; Gupta, Nipun <Nipun.Gupta@amd.com>; Agarwal, Nikhil <
> > > nikhil.agarwal@amd.com>; Ronak Doshi <doshir@vmware.com>; Immanni,
> Venkat
> > > <Venkat.Immanni@amd.com>; Chenbo Xia <chenbo.xia@intel.com>
> > > *Subject:* Re: help
> > >
> > >
> > >
> > > *Caution:* This message originated from an External Source. Use prope=
r
> > > caution when opening attachments, clicking links, or responding.
> > >
> > >
> > >
> > > Well,
> > > Like I said earlier, trying with the Intel host I have on VMWARE,
> > > specifically  Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz
> > > With IOMMU enabled, VMXNET3 works with VA as well as PA.
> > > Meaning, PA works regardless if IOMMU is enabled or not. From my
> > > experience anyway.
> > > That's why I thought that:
> > > virtio_user needs VA to work.
> > > For some reason VMXNET3 does not work with VA (only on AMD host).
> > >
> > >
> > >
> > >
> > >
> > > On Tue, Jul 25, 2023 at 4:04=E2=80=AFPM Varghese, Vipin <
> Vipin.Varghese@amd.com>
> > > wrote:
> > >
> > > [AMD Official Use Only - General]
> > >
> > >
> > >
> > > Thanks Igor,
> > >
> > >
> > >
> > > As suspected the vmx_net3 works with
> > >
> > >
> > >
> > >    1. Iommu: disabled
> > >    2. enable_unsafe_iommu: enabled
> > >    3. dpdk eal iova mode: PA
> > >
> > >
> > >
> > > as pointed by you in logs, the virtio_user fails as it expects VA too=
.
> > >
> > >
> > >
> > > Will check and get back.
> > >
> > >
> > >
> > > *From:* Igor de Paula <igordptx@gmail.com>
> > > *Sent:* Tuesday, July 25, 2023 8:16 PM
> > > *To:* Yigit, Ferruh <Ferruh.Yigit@amd.com>
> > > *Cc:* Jochen Behrens <jbehrens@vmware.com>; Thomas Monjalon <
> > > thomas@monjalon.net>; users@dpdk.org; Gupta, Nipun <
> Nipun.Gupta@amd.com>;
> > > Agarwal, Nikhil <nikhil.agarwal@amd.com>; Ronak Doshi <
> doshir@vmware.com>;
> > > Immanni, Venkat <Venkat.Immanni@amd.com>; Varghese, Vipin <
> > > Vipin.Varghese@amd.com>; Chenbo Xia <chenbo.xia@intel.com>
> > > *Subject:* Re: help
> > >
> > >
> > >
> > > *Caution:* This message originated from an External Source. Use prope=
r
> > > caution when opening attachments, clicking links, or responding.
> > >
> > >
> > >
> > > Hi,
> > > Attaching the logs of EAL when trying to run a configuration with
> > > virtio_user port when IOMMU is
> > > disabled and enable_unsafe_iommu is enabled. As you can see it forces
> IOVA
> > > as PA but the viritui_user needs IOVA as VA.
> > > I am also attaching the output of dmesg. I am not sure which kernel
> logs
> > > you wanted... if there is anything else please let me know..
> > > Regarding the ESXI logs, they are HUGE so I will send to you on a
> separate
> > > email.
> > >
> > >
> > >
> > > On Fri, Jul 21, 2023 at 1:14=E2=80=AFPM Ferruh Yigit <ferruh.yigit@am=
d.com>
> wrote:
> > >
> > > On 7/21/2023 12:39 PM, Igor de Paula wrote:
> > > > I am trying to use virtio_user for an interface with the
> > > > kernel:
> > > https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html =
<
> > > https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html>
> > > > I think this requires IOVA as va.
> > > >
> > >
> > > I am not sure if virtio-user has IOVA as VA requirement, cc'ed Chenbo=
,
> > > he may know better.
> > >
> > > Meanwhile can you give a try to 'enable_unsafe_noiommu_mode' and
> > > '--iova-mode=3Dpa'?
> > >
> > >
> > > > It does work with Intel host and IOMMU
> > > > enabled. Part of the negotiation when setting it up is getting the
> IOMMU
> > > > number so I thought it has to have IOMMU.
> > > >
> > >
> > > Yes, issue looks like related to the IOMMU, and it may be either
> related
> > > to HW support, or ESXi iommu driver support, we will check using belo=
w
> > > information you provided.
> > >
> > > > I tried disabling IOMMU and enabling enable_unsafe_noiommu flag but
> > > > again, that didn't work.
> > > > ESXI version - VMware ESXi, 7.0.0, 16324942
> > > > AMD:  AMD EPYC 7452 32-Core Processo
> > > >
> > > > On an Intel host which worked: Intel(R) Xeon(R) CPU E5-2697A v4 @
> 2.60GHz
> > > > Regarding the logs I will try and attach it soon.
> > > >
> > >
> > > Thanks for info, waiting for logs.
> > >
> > > >
> > > > On Fri, Jul 21, 2023 at 12:21=E2=80=AFPM Ferruh Yigit <ferruh.yigit=
@amd.com
> > > > <mailto:ferruh.yigit@amd.com>> wrote:
> > > >
> > > >     Hi Igor,
> > > >
> > > >     VM doesn't have IOMMU, and vmxnet3 requires PA mode, for this
> can you
> > > >     please try with:
> > > >     - enable 'enable_unsafe_noiommu_mode' flag
> > > >     - Force PA mode via '--iova-mode=3Dpa' eal parameter
> > > >
> > > >
> > > >     Also to be able to figure out AMD IOMMU support level, can you
> please
> > > >     provide:
> > > >     - AMD part number
> > > >     - ESXi/hypervisor version
> > > >     - ESXi & VM kernel logs
> > > >
> > > >
> > > >     Thanks,
> > > >     Ferruh
> > > >
> > > >     On 7/20/2023 5:21 PM, Jochen Behrens wrote:
> > > >     > +Ronak from the ESX team
> > > >     >
> > > >     >
> > > >     >
> > > >     >
> > > >     >
> > > >     > In our usage, we do set amd_iommu=3Doff in the boot command l=
ine
> from
> > > >     > grub. (Or intel_iommu=3Doff for Intel processors.)
> > > >     >
> > > >     >
> > > >     >
> > > >     >                 Jochen
> > > >     >
> > > >     >
> > > >     >
> > > >     > *From: *Thomas Monjalon <thomas@monjalon.net
> > > >     <mailto:thomas@monjalon.net>>
> > > >     > *Date: *Thursday, July 20, 2023 at 6:00 AM
> > > >     > *To: *Igor de Paula <igordptx@gmail.com <mailto:
> igordptx@gmail.com
> > > >>
> > > >     > *Cc: *users@dpdk.org <mailto:users@dpdk.org> <users@dpdk.org
> > > >     <mailto:users@dpdk.org>>, Jochen Behrens
> > > >     > <jbehrens@vmware.com <mailto:jbehrens@vmware.com>>, Nipun
> Gupta
> > > >     <nipun.gupta@amd.com <mailto:nipun.gupta@amd.com>>, Nikhil
> Agarwal
> > > >     > <nikhil.agarwal@amd.com <mailto:nikhil.agarwal@amd.com>>,
> Ferruh
> > > >     Yigit <ferruh.yigit@amd.com <mailto:ferruh.yigit@amd.com>>
> > > >     > *Subject: *Re: help
> > > >     >
> > > >     > !! External Email
> > > >     >
> > > >     > +Cc some AMD maintainers, they can have an idea about IOMMU
> > > settings.
> > > >     >
> > > >     >
> > > >     > 20/07/2023 14:44, Igor de Paula:
> > > >     >> I have enabled it in the host and in the BIOS for AMD...
> > > >     >> In the Bios I changed to amd_iommu=3Don and in the host it's=
 the
> > > >     same for
> > > >     >> either.
> > > >     >>
> > > >     >> On Thu, Jul 20, 2023 at 1:31=E2=80=AFPM Thomas Monjalon
> > > >     <thomas@monjalon.net <mailto:thomas@monjalon.net>> wrote:
> > > >     >>
> > > >     >> > 20/07/2023 11:35, Igor de Paula:
> > > >     >> > > The weird thing is that it only happens when I am using =
a
> > > >     host with an
> > > >     >> > AMD
> > > >     >> > > processor. It doesn't happen when I use a host with an
> Intel
> > > >     processor.
> > > >     >> >
> > > >     >> > So it's probably a matter of BIOS settings for the IOMMU?
> > > >     >> >
> > > >     >> >
> > > >     >> > > On Thu, Jul 20, 2023 at 10:32=E2=80=AFAM Thomas Monjalon
> > > >     <thomas@monjalon.net <mailto:thomas@monjalon.net>>
> > > >     >> > > wrote:
> > > >     >> > >
> > > >     >> > > > +Cc the vmxnet3 maintainer.
> > > >     >> > > >
> > > >     >> > > > Please Jochen, do you have an idea what's wrong below?
> > > >     >> > > >
> > > >     >> > > >
> > > >     >> > > > 20/07/2023 11:25, Igor de Paula:
> > > >     >> > > > > This is because it can't negotiate the IOMMU type wi=
th
> > > >     any port.
> > > >     >> > > > >
> > > >     >> > > > > On Thu, Jul 20, 2023 at 5:08=E2=80=AFAM Thomas Monja=
lon
> > > >     <thomas@monjalon.net <mailto:thomas@monjalon.net>
> > > >     >> > >
> > > >     >> > > > wrote:
> > > >     >> > > > >
> > > >     >> > > > > > Hello,
> > > >     >> > > > > >
> > > >     >> > > > > > The first error is "Cause: Error: number of ports
> must
> > > >     be even"
> > > >     >> > > > > >
> > > >     >> > > > > >
> > > >     >> > > > > > 03/05/2023 18:13, Igor de Paula:
> > > >     >> > > > > > > I am running a VM inside a VMWARE server
> (vSphere).
> > > >     >> > > > > > > My goal it to set up DPDK with two HW ports, and
> set
> > > up a
> > > >     >> > > > virtio_user to
> > > >     >> > > > > > > interact with the kernel stack.
> > > >     >> > > > > > > In another app I have it working but instead of
> > > >     virtio_user I am
> > > >     >> > > > running
> > > >     >> > > > > > > KNI, it works in IOVA-PA mode.
> > > >     >> > > > > > > I am looking to replace the KNI.
> > > >     >> > > > > > >
> > > >     >> > > > > > > When I try to set up virtio_user port as in the
> doc:
> > > >     >> > > > > > >
> > > >     >> > > > > >
> > > >     >> > > >
> > > >     >> >
> > > >
> > >
> https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html#virt=
io-user-as-exception-path
> > > <
> > >
> https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html#virt=
io-user-as-exception-path
> >
> > > <
> > >
> https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html#virt=
io-user-as-exception-path
> > > <
> > >
> https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.html#virt=
io-user-as-exception-path
> > > >>
> > > >     >> > > > > > > I get a error it can't run in PA mode.
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > When I try to run as VA mode from a parameter, I
> get
> > > the
> > > >     >> > following
> > > >     >> > > > > > errors:
> > > >     >> > > > > > > EAL: lib.eal log level changed from info to debu=
g
> > > >     >> > > > > > > EAL: Detected lcore 0 as core 0 on socket 0
> > > >     >> > > > > > > EAL: Detected lcore 1 as core 0 on socket 0
> > > >     >> > > > > > > EAL: Support maximum 128 logical core(s) by
> > > >     configuration.
> > > >     >> > > > > > > EAL: Detected 2 lcore(s)
> > > >     >> > > > > > > EAL: Detected 1 NUMA nodes
> > > >     >> > > > > > > EAL: Checking presence of .so 'librte_eal.so.21.=
3'
> > > >     >> > > > > > > EAL: Checking presence of .so 'librte_eal.so.21'
> > > >     >> > > > > > > EAL: Checking presence of .so 'librte_eal.so'
> > > >     >> > > > > > > EAL: Detected static linkage of DPDK
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x7000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x100000000 (size =3D
> 0x7000)
> > > >     >> > > > > > > EAL: Multi-process socket
> /var/run/dpdk/rte/mp_socket
> > > >     >> > > > > > > EAL: DPAA Bus not present. Skipping.
> > > >     >> > > > > > > EAL: VFIO PCI modules not loaded
> > > >     >> > > > > > > EAL: Selected IOVA mode 'VA'
> > > >     >> > > > > > > EAL: Probing VFIO support...
> > > >     >> > > > > > > EAL: IOMMU type 1 (Type 1) is supported
> > > >     >> > > > > > > EAL: IOMMU type 7 (sPAPR) is not supported
> > > >     >> > > > > > > EAL: IOMMU type 8 (No-IOMMU) is supported
> > > >     >> > > > > > > EAL: VFIO support initialized
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x5b000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x100007000 (size =3D
> > > 0x5b000)
> > > >     >> > > > > > > EAL: Setting up physically contiguous memory...
> > > >     >> > > > > > > EAL: Setting maximum number of open files to
> 1048576
> > > >     >> > > > > > > EAL: Detected memory type: socket_id:0
> > > >     hugepage_sz:1073741824
> > > >     >> > > > > > > EAL: Creating 2 segment lists: n_segs:128
> socket_id:0
> > > >     >> > > > > > hugepage_sz:1073741824
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x2000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x100062000 (size =3D
> 0x2000)
> > > >     >> > > > > > > EAL: Memseg list allocated at socket 0, page siz=
e
> > > >     0x100000kB
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x2000000000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x140000000 (size =3D
> > > >     0x2000000000)
> > > >     >> > > > > > > EAL: VA reserved for memseg list at 0x140000000,
> size
> > > >     2000000000
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x2000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x2140000000 (size =
=3D
> > > 0x2000)
> > > >     >> > > > > > > EAL: Memseg list allocated at socket 0, page siz=
e
> > > >     0x100000kB
> > > >     >> > > > > > > EAL: Ask a virtual area of 0x2000000000 bytes
> > > >     >> > > > > > > EAL: Virtual area found at 0x2180000000 (size =
=3D
> > > >     0x2000000000)
> > > >     >> > > > > > > EAL: VA reserved for memseg list at 0x2180000000=
,
> > > >     size 2000000000
> > > >     >> > > > > > > EAL: TSC frequency is ~2350000 KHz
> > > >     >> > > > > > > EAL: Main lcore 0 is ready
> > > (tid=3D7f8ad790ec00;cpuset=3D[0])
> > > >     >> > > > > > > EAL: lcore 1 is ready
> (tid=3D7f8ad6907400;cpuset=3D[1])
> > > >     >> > > > > > > EAL: Trying to obtain current memory policy.
> > > >     >> > > > > > > EAL: Setting policy MPOL_PREFERRED for socket 0
> > > >     >> > > > > > > EAL: Restoring previous memory policy: 0
> > > >     >> > > > > > > EAL: request: mp_malloc_sync
> > > >     >> > > > > > > EAL: Heap on socket 0 was expanded by 1024MB
> > > >     >> > > > > > > EAL: PCI device 0000:0b:00.0 on NUMA socket -1
> > > >     >> > > > > > > EAL:   probe driver: 15ad:7b0 net_vmxnet3
> > > >     >> > > > > > > EAL:   Expecting 'PA' IOVA mode but current mode
> is
> > > >     'VA', not
> > > >     >> > > > > > initializing
> > > >     >> > > > > > > EAL: Requested device 0000:0b:00.0 cannot be use=
d
> > > >     >> > > > > > > EAL: PCI device 0000:13:00.0 on NUMA socket -1
> > > >     >> > > > > > > EAL:   probe driver: 15ad:7b0 net_vmxnet3
> > > >     >> > > > > > > EAL:   Expecting 'PA' IOVA mode but current mode
> is
> > > >     'VA', not
> > > >     >> > > > > > initializing
> > > >     >> > > > > > > EAL: Requested device 0000:13:00.0 cannot be use=
d
> > > >     >> > > > > > > EAL: Bus (pci) probe failed.
> > > >     >> > > > > > > EAL: lib.telemetry log level changed from
> disabled to
> > > >     warning
> > > >     >> > > > > > > EAL: Error - exiting with code: 1
> > > >     >> > > > > > >   Cause: Error: number of ports must be even
> > > >     >> > > > > > > EAL: request: mp_malloc_sync
> > > >     >> > > > > > > EAL: Heap on socket 0 was shrunk by 1024MB
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > For some reason the HW ports won't setup. From
> what I
> > > >     understand
> > > >     >> > > > > > > net_vmxnet3 should work with VA mode.
> > > >     >> > > > > > > I enabled I/OMUU for the VM.
> > > >     >> > > > > > > The weird thing even when enabled, I still have
> the
> > > >     >> > > > > > > enable_unsafe_noiommu_mode flag on.
> > > >     >> > > > > > > And because it's on the this:
> > > >     >> > > > > > >
> > > >     >> > > > > > > dev_iova_mode =3D pci_device_iova_mode(dr, dev);
> > > >     >> > > > > > >
> > > >     >> > > > > > > return PA mode, and it fails.
> > > >     >> > > > > > >
> > > >     >> > > > > > > When I disable it by modifying
> > > >     >> > > > > > >
> > > >     /sys/module/vfio/parameters/enable_unsafe_noiommu_mode, I get
> > > >     >> > another
> > > >     >> > > > > > error.
> > > >     >> > > > > > > The error is that it doesn't find a suitable IOM=
MU
> > > type:
> > > >     >> > > > > > > Just putting the relevant message:
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > EAL: Heap on socket 0 was expanded by 1024MB
> > > >     >> > > > > > > EAL: PCI device 0000:0b:00.0 on NUMA socket -1
> > > >     >> > > > > > > EAL:   probe driver: 15ad:7b0 net_vmxnet3
> > > >     >> > > > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19
> (No
> > > >     such device)
> > > >     >> > > > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (=
No
> > > >     such device)
> > > >     >> > > > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 1=
9
> (No
> > > >     such
> > > >     >> > device)
> > > >     >> > > > > > > EAL: 0000:0b:00.0 failed to select IOMMU type
> > > >     >> > > > > > > EAL: Requested device 0000:0b:00.0 cannot be use=
d
> > > >     >> > > > > > > EAL: PCI device 0000:13:00.0 on NUMA socket -1
> > > >     >> > > > > > > EAL:   probe driver: 15ad:7b0 net_vmxnet3
> > > >     >> > > > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19
> (No
> > > >     such device)
> > > >     >> > > > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (=
No
> > > >     such device)
> > > >     >> > > > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 1=
9
> (No
> > > >     such
> > > >     >> > device)
> > > >     >> > > > > > > EAL: 0000:13:00.0 failed to select IOMMU type
> > > >     >> > > > > > > EAL: Requested device 0000:13:00.0 cannot be use=
d
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > I can see where it fails:
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > const struct vfio_iommu_type *
> > > >     >> > > > > > > vfio_set_iommu_type(int vfio_container_fd)
> > > >     >> > > > > > > {
> > > >     >> > > > > > > unsigned idx;
> > > >     >> > > > > > > for (idx =3D 0; idx < RTE_DIM(iommu_types); idx+=
+) {
> > > >     >> > > > > > > const struct vfio_iommu_type *t =3D
> &iommu_types[idx];
> > > >     >> > > > > > >
> > > >     >> > > > > > > int ret =3D ioctl(vfio_container_fd, VFIO_SET_IO=
MMU,
> > > >     >> > > > > > > t->type_id);
> > > >     >> > > > > > > if (!ret) {
> > > >     >> > > > > > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n",
> > > >     >> > > > > > > t->type_id, t->name);
> > > >     >> > > > > > > return t;
> > > >     >> > > > > > > }
> > > >     >> > > > > > > /* not an error, there may be more supported IOM=
MU
> > > >     types */
> > > >     >> > > > > > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s)
> failed,
> > > >     error "
> > > >     >> > > > > > > "%i (%s)\n", t->type_id, t->name, errno,
> > > >     >> > > > > > > strerror(errno));
> > > >     >> > > > > > > }
> > > >     >> > > > > > > /* if we didn't find a suitable IOMMU type, fail
> */
> > > >     >> > > > > > > return NULL;
> > > >     >> > > > > > > }
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > The ioctl returns -1.
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > >
> > > >     >> > > > > > > I tried many things.
> > > >     >> > > > > > > Enabling/disabling IOMMU.
> > > >     >> > > > > > > Modifying the enable_unsafe_noiommu_mode flag.
> > > >     >> > > > > > > Running in PA mode.
> > > >     >> > > > > > > Any help will be much appreciated.
> > > >     >> >
> > > >     >> >
> > > >     >> >
> > > >     >> >
> > > >     >> >
> > > >     >> >
> > > >     >>
> > > >     >
> > > >     >
> > > >     >
> > > >     >
> > > >     >
> > > >     >
> > > >     > !! External Email: This email originated from outside of the
> > > >     > organization. Do not click links or open attachments unless y=
ou
> > > >     > recognize the sender.
> > > >     >
> > > >
> > >
> > >
> >
>
>
>
>
>
>

--0000000000000d36d10602a4fa9c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Sure, I will submit a patch (it would be a first).=C2=A0<b=
r>Thanks</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Fri, Aug 11, 2023 at 3:30=E2=80=AFPM Thomas Monjalon &lt;<a href=
=3D"mailto:thomas@monjalon.net">thomas@monjalon.net</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks for the info.<br>
Do you think it should be written in the vmxnet3 page of the DPDK documenta=
tion?<br>
If yes, would you like to initiate a patch for review?<br>
<br>
<br>
11/08/2023 10:43, Igor de Paula:<br>
&gt; Hi again,<br>
&gt; I got this resolved with VMWARE support so I thought to share it here.=
<br>
&gt; What I originally wanted was to use IOVA-VA on an AMD host. Which didn=
&#39;t<br>
&gt; work. I have learned that the ESXI version that supports<br>
&gt; virtual IOMMU in AMD hosts (which is a prerequisite to IOVA-VA) is ESX=
I 7.0<br>
&gt; U1. After updating it worked. On Intel hosts ESXI 6.7 supports it alre=
ady<br>
&gt; as far as I know.<br>
&gt; <br>
&gt; <br>
&gt; On Tue, Jul 25, 2023 at 6:19=E2=80=AFPM Varghese, Vipin &lt;<a href=3D=
"mailto:Vipin.Varghese@amd.com" target=3D"_blank">Vipin.Varghese@amd.com</a=
>&gt;<br>
&gt; wrote:<br>
&gt; <br>
&gt; &gt; [AMD Official Use Only - General]<br>
&gt; &gt;<br>
&gt; &gt; Like I said earlier, trying with the Intel host I have on VMWARE,=
<br>
&gt; &gt; specifically=C2=A0 Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz<br>
&gt; &gt; With IOMMU enabled, VMXNET3 works with VA as well as PA.<br>
&gt; &gt;<br>
&gt; &gt; [VV] since ` enable_unsafe_iommu: not enabled` on Intel platform,=
 could<br>
&gt; &gt; it be possible the specific version EXSI hypervisor supports the =
HW IOMMU<br>
&gt; &gt; specific to the platform. My suspicion will be in case on AMD pla=
tform<br>
&gt; &gt;=C2=A0 changes for required to enable HW iommu might not be availa=
ble to specific<br>
&gt; &gt; EXSI (hypervior OS) used.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I am not an expert on virtio_user PMD, but I can check if it will=
 work<br>
&gt; &gt; with PA with deferred setting for vmx_net3 PMD are ok?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *From:* Igor de Paula &lt;<a href=3D"mailto:igordptx@gmail.com" t=
arget=3D"_blank">igordptx@gmail.com</a>&gt;<br>
&gt; &gt; *Sent:* Tuesday, July 25, 2023 8:42 PM<br>
&gt; &gt; *To:* Varghese, Vipin &lt;<a href=3D"mailto:Vipin.Varghese@amd.co=
m" target=3D"_blank">Vipin.Varghese@amd.com</a>&gt;<br>
&gt; &gt; *Cc:* Yigit, Ferruh &lt;<a href=3D"mailto:Ferruh.Yigit@amd.com" t=
arget=3D"_blank">Ferruh.Yigit@amd.com</a>&gt;; Jochen Behrens &lt;<br>
&gt; &gt; <a href=3D"mailto:jbehrens@vmware.com" target=3D"_blank">jbehrens=
@vmware.com</a>&gt;; Thomas Monjalon &lt;<a href=3D"mailto:thomas@monjalon.=
net" target=3D"_blank">thomas@monjalon.net</a>&gt;;<br>
&gt; &gt; <a href=3D"mailto:users@dpdk.org" target=3D"_blank">users@dpdk.or=
g</a>; Gupta, Nipun &lt;<a href=3D"mailto:Nipun.Gupta@amd.com" target=3D"_b=
lank">Nipun.Gupta@amd.com</a>&gt;; Agarwal, Nikhil &lt;<br>
&gt; &gt; <a href=3D"mailto:nikhil.agarwal@amd.com" target=3D"_blank">nikhi=
l.agarwal@amd.com</a>&gt;; Ronak Doshi &lt;<a href=3D"mailto:doshir@vmware.=
com" target=3D"_blank">doshir@vmware.com</a>&gt;; Immanni, Venkat<br>
&gt; &gt; &lt;<a href=3D"mailto:Venkat.Immanni@amd.com" target=3D"_blank">V=
enkat.Immanni@amd.com</a>&gt;; Chenbo Xia &lt;<a href=3D"mailto:chenbo.xia@=
intel.com" target=3D"_blank">chenbo.xia@intel.com</a>&gt;<br>
&gt; &gt; *Subject:* Re: help<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *Caution:* This message originated from an External Source. Use p=
roper<br>
&gt; &gt; caution when opening attachments, clicking links, or responding.<=
br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Well,<br>
&gt; &gt; Like I said earlier, trying with the Intel host I have on VMWARE,=
<br>
&gt; &gt; specifically=C2=A0 Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz<br>
&gt; &gt; With IOMMU enabled, VMXNET3 works with VA as well as PA.<br>
&gt; &gt; Meaning, PA works regardless if IOMMU is enabled or not. From my<=
br>
&gt; &gt; experience anyway.<br>
&gt; &gt; That&#39;s why I thought that:<br>
&gt; &gt; virtio_user needs VA to work.<br>
&gt; &gt; For some reason VMXNET3 does not work with VA (only on AMD host).=
<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Jul 25, 2023 at 4:04=E2=80=AFPM Varghese, Vipin &lt;<a hr=
ef=3D"mailto:Vipin.Varghese@amd.com" target=3D"_blank">Vipin.Varghese@amd.c=
om</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; [AMD Official Use Only - General]<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks Igor,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; As suspected the vmx_net3 works with<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 1. Iommu: disabled<br>
&gt; &gt;=C2=A0 =C2=A0 2. enable_unsafe_iommu: enabled<br>
&gt; &gt;=C2=A0 =C2=A0 3. dpdk eal iova mode: PA<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; as pointed by you in logs, the virtio_user fails as it expects VA=
 too.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Will check and get back.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *From:* Igor de Paula &lt;<a href=3D"mailto:igordptx@gmail.com" t=
arget=3D"_blank">igordptx@gmail.com</a>&gt;<br>
&gt; &gt; *Sent:* Tuesday, July 25, 2023 8:16 PM<br>
&gt; &gt; *To:* Yigit, Ferruh &lt;<a href=3D"mailto:Ferruh.Yigit@amd.com" t=
arget=3D"_blank">Ferruh.Yigit@amd.com</a>&gt;<br>
&gt; &gt; *Cc:* Jochen Behrens &lt;<a href=3D"mailto:jbehrens@vmware.com" t=
arget=3D"_blank">jbehrens@vmware.com</a>&gt;; Thomas Monjalon &lt;<br>
&gt; &gt; <a href=3D"mailto:thomas@monjalon.net" target=3D"_blank">thomas@m=
onjalon.net</a>&gt;; <a href=3D"mailto:users@dpdk.org" target=3D"_blank">us=
ers@dpdk.org</a>; Gupta, Nipun &lt;<a href=3D"mailto:Nipun.Gupta@amd.com" t=
arget=3D"_blank">Nipun.Gupta@amd.com</a>&gt;;<br>
&gt; &gt; Agarwal, Nikhil &lt;<a href=3D"mailto:nikhil.agarwal@amd.com" tar=
get=3D"_blank">nikhil.agarwal@amd.com</a>&gt;; Ronak Doshi &lt;<a href=3D"m=
ailto:doshir@vmware.com" target=3D"_blank">doshir@vmware.com</a>&gt;;<br>
&gt; &gt; Immanni, Venkat &lt;<a href=3D"mailto:Venkat.Immanni@amd.com" tar=
get=3D"_blank">Venkat.Immanni@amd.com</a>&gt;; Varghese, Vipin &lt;<br>
&gt; &gt; <a href=3D"mailto:Vipin.Varghese@amd.com" target=3D"_blank">Vipin=
.Varghese@amd.com</a>&gt;; Chenbo Xia &lt;<a href=3D"mailto:chenbo.xia@inte=
l.com" target=3D"_blank">chenbo.xia@intel.com</a>&gt;<br>
&gt; &gt; *Subject:* Re: help<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *Caution:* This message originated from an External Source. Use p=
roper<br>
&gt; &gt; caution when opening attachments, clicking links, or responding.<=
br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt; Attaching the logs of EAL when trying to run a configuration with=
<br>
&gt; &gt; virtio_user port when IOMMU is<br>
&gt; &gt; disabled and enable_unsafe_iommu is enabled. As you can see it fo=
rces IOVA<br>
&gt; &gt; as PA but the viritui_user needs IOVA as VA.<br>
&gt; &gt; I am also attaching the output of dmesg. I am not sure which kern=
el logs<br>
&gt; &gt; you wanted... if there is anything else please let me know..<br>
&gt; &gt; Regarding the ESXI logs, they are HUGE so I will send to you on a=
 separate<br>
&gt; &gt; email.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Jul 21, 2023 at 1:14=E2=80=AFPM Ferruh Yigit &lt;<a href=
=3D"mailto:ferruh.yigit@amd.com" target=3D"_blank">ferruh.yigit@amd.com</a>=
&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; On 7/21/2023 12:39 PM, Igor de Paula wrote:<br>
&gt; &gt; &gt; I am trying to use virtio_user for an interface with the<br>
&gt; &gt; &gt; kernel:<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html" rel=3D"noreferrer" target=3D"_blank">https://doc.dpdk.org/g=
uides/howto/virtio_user_as_exception_path.html</a> &lt;<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html" rel=3D"noreferrer" target=3D"_blank">https://doc.dpdk.org/g=
uides/howto/virtio_user_as_exception_path.html</a>&gt;<br>
&gt; &gt; &gt; I think this requires IOVA as va.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I am not sure if virtio-user has IOVA as VA requirement, cc&#39;e=
d Chenbo,<br>
&gt; &gt; he may know better.<br>
&gt; &gt;<br>
&gt; &gt; Meanwhile can you give a try to &#39;enable_unsafe_noiommu_mode&#=
39; and<br>
&gt; &gt; &#39;--iova-mode=3Dpa&#39;?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; It does work with Intel host and IOMMU<br>
&gt; &gt; &gt; enabled. Part of the negotiation when setting it up is getti=
ng the IOMMU<br>
&gt; &gt; &gt; number so I thought it has to have IOMMU.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Yes, issue looks like related to the IOMMU, and it may be either =
related<br>
&gt; &gt; to HW support, or ESXi iommu driver support, we will check using =
below<br>
&gt; &gt; information you provided.<br>
&gt; &gt;<br>
&gt; &gt; &gt; I tried disabling IOMMU and enabling enable_unsafe_noiommu f=
lag but<br>
&gt; &gt; &gt; again, that didn&#39;t work.<br>
&gt; &gt; &gt; ESXI version - VMware ESXi, 7.0.0, 16324942<br>
&gt; &gt; &gt; AMD:=C2=A0 AMD EPYC 7452 32-Core Processo<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On an Intel host which worked: Intel(R) Xeon(R) CPU E5-2697A=
 v4 @ 2.60GHz<br>
&gt; &gt; &gt; Regarding the logs I will try and attach it soon.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks for info, waiting for logs.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Fri, Jul 21, 2023 at 12:21=E2=80=AFPM Ferruh Yigit &lt;<a=
 href=3D"mailto:ferruh.yigit@amd.com" target=3D"_blank">ferruh.yigit@amd.co=
m</a><br>
&gt; &gt; &gt; &lt;mailto:<a href=3D"mailto:ferruh.yigit@amd.com" target=3D=
"_blank">ferruh.yigit@amd.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0Hi Igor,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0VM doesn&#39;t have IOMMU, and vmxnet3 re=
quires PA mode, for this can you<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0please try with:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0- enable &#39;enable_unsafe_noiommu_mode&=
#39; flag<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0- Force PA mode via &#39;--iova-mode=3Dpa=
&#39; eal parameter<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0Also to be able to figure out AMD IOMMU s=
upport level, can you please<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0provide:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0- AMD part number<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0- ESXi/hypervisor version<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0- ESXi &amp; VM kernel logs<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0Thanks,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0Ferruh<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0On 7/20/2023 5:21 PM, Jochen Behrens wrot=
e:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; +Ronak from the ESX team<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; In our usage, we do set amd_iommu=3D=
off in the boot command line from<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; grub. (Or intel_iommu=3Doff for Inte=
l processors.)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0Jochen<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; *From: *Thomas Monjalon &lt;<a href=
=3D"mailto:thomas@monjalon.net" target=3D"_blank">thomas@monjalon.net</a><b=
r>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:thomas@monja=
lon.net" target=3D"_blank">thomas@monjalon.net</a>&gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; *Date: *Thursday, July 20, 2023 at 6=
:00 AM<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; *To: *Igor de Paula &lt;<a href=3D"m=
ailto:igordptx@gmail.com" target=3D"_blank">igordptx@gmail.com</a> &lt;mail=
to:<a href=3D"mailto:igordptx@gmail.com" target=3D"_blank">igordptx@gmail.c=
om</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; *Cc: *<a href=3D"mailto:users@dpdk.o=
rg" target=3D"_blank">users@dpdk.org</a> &lt;mailto:<a href=3D"mailto:users=
@dpdk.org" target=3D"_blank">users@dpdk.org</a>&gt; &lt;<a href=3D"mailto:u=
sers@dpdk.org" target=3D"_blank">users@dpdk.org</a><br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;mailto:<a href=3D"mailto:users@dpdk.o=
rg" target=3D"_blank">users@dpdk.org</a>&gt;&gt;, Jochen Behrens<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; &lt;<a href=3D"mailto:jbehrens@vmwar=
e.com" target=3D"_blank">jbehrens@vmware.com</a> &lt;mailto:<a href=3D"mail=
to:jbehrens@vmware.com" target=3D"_blank">jbehrens@vmware.com</a>&gt;&gt;, =
Nipun Gupta<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:nipun.gupta@amd.com=
" target=3D"_blank">nipun.gupta@amd.com</a> &lt;mailto:<a href=3D"mailto:ni=
pun.gupta@amd.com" target=3D"_blank">nipun.gupta@amd.com</a>&gt;&gt;, Nikhi=
l Agarwal<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; &lt;<a href=3D"mailto:nikhil.agarwal=
@amd.com" target=3D"_blank">nikhil.agarwal@amd.com</a> &lt;mailto:<a href=
=3D"mailto:nikhil.agarwal@amd.com" target=3D"_blank">nikhil.agarwal@amd.com=
</a>&gt;&gt;, Ferruh<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0Yigit &lt;<a href=3D"mailto:ferruh.yigit@=
amd.com" target=3D"_blank">ferruh.yigit@amd.com</a> &lt;mailto:<a href=3D"m=
ailto:ferruh.yigit@amd.com" target=3D"_blank">ferruh.yigit@amd.com</a>&gt;&=
gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; *Subject: *Re: help<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; !! External Email<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; +Cc some AMD maintainers, they can h=
ave an idea about IOMMU<br>
&gt; &gt; settings.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; 20/07/2023 14:44, Igor de Paula:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; I have enabled it in the host an=
d in the BIOS for AMD...<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; In the Bios I changed to amd_iom=
mu=3Don and in the host it&#39;s the<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0same for<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; either.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; On Thu, Jul 20, 2023 at 1:31=E2=
=80=AFPM Thomas Monjalon<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:thomas@monjalon.net=
" target=3D"_blank">thomas@monjalon.net</a> &lt;mailto:<a href=3D"mailto:th=
omas@monjalon.net" target=3D"_blank">thomas@monjalon.net</a>&gt;&gt; wrote:=
<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; 20/07/2023 11:35, Igor de P=
aula:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; The weird thing is tha=
t it only happens when I am using a<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0host with an<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; AMD<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; processor. It doesn&#3=
9;t happen when I use a host with an Intel<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0processor.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; So it&#39;s probably a matt=
er of BIOS settings for the IOMMU?<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; On Thu, Jul 20, 2023 a=
t 10:32=E2=80=AFAM Thomas Monjalon<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:thomas@monjalon.net=
" target=3D"_blank">thomas@monjalon.net</a> &lt;mailto:<a href=3D"mailto:th=
omas@monjalon.net" target=3D"_blank">thomas@monjalon.net</a>&gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; +Cc the vmxnet3 m=
aintainer.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; Please Jochen, do=
 you have an idea what&#39;s wrong below?<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; 20/07/2023 11:25,=
 Igor de Paula:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; This is beca=
use it can&#39;t negotiate the IOMMU type with<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0any port.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; On Thu, Jul =
20, 2023 at 5:08=E2=80=AFAM Thomas Monjalon<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:thomas@monjalon.net=
" target=3D"_blank">thomas@monjalon.net</a> &lt;mailto:<a href=3D"mailto:th=
omas@monjalon.net" target=3D"_blank">thomas@monjalon.net</a>&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; Hello,<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; The fir=
st error is &quot;Cause: Error: number of ports must<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0be even&quot;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; 03/05/2=
023 18:13, Igor de Paula:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
am running a VM inside a VMWARE server (vSphere).<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; My=
 goal it to set up DPDK with two HW ports, and set<br>
&gt; &gt; up a<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; virtio_user to<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; in=
teract with the kernel stack.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; In=
 another app I have it working but instead of<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0virtio_user I am<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; running<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; KN=
I, it works in IOVA-PA mode.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
am looking to replace the KNI.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Wh=
en I try to set up virtio_user port as in the doc:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html#virtio-user-as-exception-path" rel=3D"noreferrer" target=3D"=
_blank">https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.htm=
l#virtio-user-as-exception-path</a><br>
&gt; &gt; &lt;<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html#virtio-user-as-exception-path" rel=3D"noreferrer" target=3D"=
_blank">https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.htm=
l#virtio-user-as-exception-path</a>&gt;<br>
&gt; &gt; &lt;<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html#virtio-user-as-exception-path" rel=3D"noreferrer" target=3D"=
_blank">https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.htm=
l#virtio-user-as-exception-path</a><br>
&gt; &gt; &lt;<br>
&gt; &gt; <a href=3D"https://doc.dpdk.org/guides/howto/virtio_user_as_excep=
tion_path.html#virtio-user-as-exception-path" rel=3D"noreferrer" target=3D"=
_blank">https://doc.dpdk.org/guides/howto/virtio_user_as_exception_path.htm=
l#virtio-user-as-exception-path</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
get a error it can&#39;t run in PA mode.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Wh=
en I try to run as VA mode from a parameter, I get<br>
&gt; &gt; the<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; following<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; errors:=
<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: lib.eal log level changed from info to debug<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected lcore 0 as core 0 on socket 0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected lcore 1 as core 0 on socket 0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Support maximum 128 logical core(s) by<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0configuration.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected 2 lcore(s)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected 1 NUMA nodes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Checking presence of .so &#39;librte_eal.so.21.3&#39;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Checking presence of .so &#39;librte_eal.so.21&#39;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Checking presence of .so &#39;librte_eal.so&#39;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected static linkage of DPDK<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x7000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x100000000 (size =3D 0x7000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Multi-process socket /var/run/dpdk/rte/mp_socket<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: DPAA Bus not present. Skipping.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: VFIO PCI modules not loaded<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Selected IOVA mode &#39;VA&#39;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Probing VFIO support...<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: IOMMU type 1 (Type 1) is supported<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: IOMMU type 7 (sPAPR) is not supported<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: IOMMU type 8 (No-IOMMU) is supported<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: VFIO support initialized<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x5b000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x100007000 (size =3D<br>
&gt; &gt; 0x5b000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Setting up physically contiguous memory...<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Setting maximum number of open files to 1048576<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Detected memory type: socket_id:0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0hugepage_sz:1073741824<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Creating 2 segment lists: n_segs:128 socket_id:0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; hugepag=
e_sz:1073741824<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x2000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x100062000 (size =3D 0x2000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Memseg list allocated at socket 0, page size<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A00x100000kB<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x2000000000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x140000000 (size =3D<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A00x2000000000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: VA reserved for memseg list at 0x140000000, size<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A02000000000<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x2000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x2140000000 (size =3D<br>
&gt; &gt; 0x2000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Memseg list allocated at socket 0, page size<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A00x100000kB<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Ask a virtual area of 0x2000000000 bytes<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Virtual area found at 0x2180000000 (size =3D<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A00x2000000000)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: VA reserved for memseg list at 0x2180000000,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0size 2000000000<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: TSC frequency is ~2350000 KHz<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Main lcore 0 is ready<br>
&gt; &gt; (tid=3D7f8ad790ec00;cpuset=3D[0])<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: lcore 1 is ready (tid=3D7f8ad6907400;cpuset=3D[1])<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Trying to obtain current memory policy.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Setting policy MPOL_PREFERRED for socket 0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Restoring previous memory policy: 0<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: request: mp_malloc_sync<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Heap on socket 0 was expanded by 1024MB<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: PCI device 0000:0b:00.0 on NUMA socket -1<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0probe driver: 15ad:7b0 net_vmxnet3<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0Expecting &#39;PA&#39; IOVA mode but current mode is<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&#39;VA&#39;, not<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; initial=
izing<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Requested device 0000:0b:00.0 cannot be used<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: PCI device 0000:13:00.0 on NUMA socket -1<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0probe driver: 15ad:7b0 net_vmxnet3<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0Expecting &#39;PA&#39; IOVA mode but current mode is<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&#39;VA&#39;, not<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; initial=
izing<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Requested device 0000:13:00.0 cannot be used<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Bus (pci) probe failed.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: lib.telemetry log level changed from disabled to<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0warning<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Error - exiting with code: 1<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;=C2=
=A0 =C2=A0Cause: Error: number of ports must be even<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: request: mp_malloc_sync<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Heap on socket 0 was shrunk by 1024MB<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Fo=
r some reason the HW ports won&#39;t setup. From what I<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0understand<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; ne=
t_vmxnet3 should work with VA mode.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
enabled I/OMUU for the VM.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Th=
e weird thing even when enabled, I still have the<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; en=
able_unsafe_noiommu_mode flag on.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; An=
d because it&#39;s on the this:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; de=
v_iova_mode =3D pci_device_iova_mode(dr, dev);<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; re=
turn PA mode, and it fails.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Wh=
en I disable it by modifying<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0/sys/module/vfio/parameters/enable_unsafe=
_noiommu_mode, I get<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; another<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; error.<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Th=
e error is that it doesn&#39;t find a suitable IOMMU<br>
&gt; &gt; type:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Ju=
st putting the relevant message:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Heap on socket 0 was expanded by 1024MB<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: PCI device 0000:0b:00.0 on NUMA socket -1<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0probe driver: 15ad:7b0 net_vmxnet3<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 1 (Type 1) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 7 (sPAPR) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: 0000:0b:00.0 failed to select IOMMU type<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Requested device 0000:0b:00.0 cannot be used<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: PCI device 0000:13:00.0 on NUMA socket -1<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L:=C2=A0 =C2=A0probe driver: 15ad:7b0 net_vmxnet3<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 1 (Type 1) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 7 (sPAPR) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0such<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; device)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: 0000:13:00.0 failed to select IOMMU type<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; EA=
L: Requested device 0000:13:00.0 cannot be used<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
can see where it fails:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; co=
nst struct vfio_iommu_type *<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; vf=
io_set_iommu_type(int vfio_container_fd)<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; {<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; un=
signed idx;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; fo=
r (idx =3D 0; idx &lt; RTE_DIM(iommu_types); idx++) {<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; co=
nst struct vfio_iommu_type *t =3D &amp;iommu_types[idx];<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; in=
t ret =3D ioctl(vfio_container_fd, VFIO_SET_IOMMU,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; t-=
&gt;type_id);<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; if=
 (!ret) {<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; RT=
E_LOG(INFO, EAL, &quot;Using IOMMU type %d (%s)\n&quot;,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; t-=
&gt;type_id, t-&gt;name);<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; re=
turn t;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; }<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; /*=
 not an error, there may be more supported IOMMU<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0types */<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; RT=
E_LOG(DEBUG, EAL, &quot;Set IOMMU type %d (%s) failed,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0error &quot;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; &q=
uot;%i (%s)\n&quot;, t-&gt;type_id, t-&gt;name, errno,<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; st=
rerror(errno));<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; }<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; /*=
 if we didn&#39;t find a suitable IOMMU type, fail */<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; re=
turn NULL;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; }<=
br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Th=
e ioctl returns -1.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br=
>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; I =
tried many things.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; En=
abling/disabling IOMMU.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mo=
difying the enable_unsafe_noiommu_mode flag.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; Ru=
nning in PA mode.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt; &gt; &gt; &gt; &gt; &gt; An=
y help will be much appreciated.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt; &gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; !! External Email: This email origin=
ated from outside of the<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; organization. Do not click links or =
open attachments unless you<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt; recognize the sender.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; <br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div>

--0000000000000d36d10602a4fa9c--