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 64FDD4298D
	for <public@inbox.dpdk.org>; Thu, 20 Apr 2023 01:31:51 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id CC93A40A79;
	Thu, 20 Apr 2023 01:31:50 +0200 (CEST)
Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com
 [209.85.222.48]) by mails.dpdk.org (Postfix) with ESMTP id 9E69940A4B
 for <users@dpdk.org>; Thu, 20 Apr 2023 01:31:49 +0200 (CEST)
Received: by mail-ua1-f48.google.com with SMTP id r10so1031641uat.6
 for <users@dpdk.org>; Wed, 19 Apr 2023 16:31:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1681947109; x=1684539109;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=vK6zeRN58Kx1MSOAIIymrmJ8yzkgpZ/6skTd1LEFGCM=;
 b=XnrhBa8a651BK9lBsHeoFxd8baC2nWkcco8q85aKVvP9MnBKY1HHLmhTk39FVsjHo8
 BSeKth/hk3UzAdnqgMc+LiSXQYsifw1EncqsknGwJGsAHtWF1cZVpP1YCJ6N3bmKq4Vf
 eQQHx6GbW9NxH1j0WJfTvjKqmd2CPtcl/aOSCV5q3bduUZ6VcCq0We0CtD6nN79WbMua
 PoBgx6VNvXqdmpjNLV568zQy3deNeIka/Fpi/aFlgr4KW892gNCVwq+d8pm3NgPZyNZe
 MXPAOeec1acsMhcjwCenEEyaaRZoiVQYgEd4c0Rqa2GIM5XK8gCL6vdjsWcTdgcBRGQ8
 pXxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1681947109; x=1684539109;
 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=vK6zeRN58Kx1MSOAIIymrmJ8yzkgpZ/6skTd1LEFGCM=;
 b=NNxYGLKr2Jgyv8+RFTXOCP0gHIsuc1Pe21OsQqbyA/xbrzucf6DD/iByRGf8tFkccj
 TsgDMTFi171jfHM9yYaHhEehRWQOwSRRq9ERbInbLHn387IpaJN7CIoTs7EYFkjQuCwy
 FtpjlBnmRdegSzsiEJAhGuiI6C10lE/y5ZLNTkf5H6JXN2qIZi3wm2IsjNLPg7OufCRj
 iWbydyQpMB7GBV/oaWC+yZE7ZrqZk5zYl8D3RnvNEnk/G9CgPj6C0yhFNTUedmVwuTwZ
 P9a7K3GNyR0rywJa47UAs0k3V8Bl8Dei8DznpuD5HoALs/l2PtN6xLP+oaf06JMVL76D
 71XQ==
X-Gm-Message-State: AAQBX9fRca/dJABzqC35wryEck146M6TwZsNhKukL/49ANNa9miJXm61
 ONQwU+EPtEMcALbLm5Jh6Fuixppdwfi8sQffmxIqRga1nBw=
X-Google-Smtp-Source: AKy350bBNs5qV42rBqpwTuigz0ofS/1CFwY5NJQZg30UodNSC2jkx8bL2GmzkaSrKAXmAF/3lNT/zky3EVMJkoam3ZE=
X-Received: by 2002:a1f:4883:0:b0:43f:fc32:15f0 with SMTP id
 v125-20020a1f4883000000b0043ffc3215f0mr699546vka.14.1681947108903; Wed, 19
 Apr 2023 16:31:48 -0700 (PDT)
MIME-Version: 1.0
References: <CAANwsYPCP9zFeqC+uKAuEZ3tEk6K_7LtQjYbjsUfrUUf-fq0aQ@mail.gmail.com>
 <CAANwsYPbQ8x5PJugkQrLBnhWDoXVMavaxD_6oaUOBodGQsDORQ@mail.gmail.com>
 <20230418184719.4a6a1d01@hermes.local>
In-Reply-To: <20230418184719.4a6a1d01@hermes.local>
From: Verghis Koshi <vkoshi@gmail.com>
Date: Wed, 19 Apr 2023 16:31:37 -0700
Message-ID: <CAANwsYPkmqwQz0SpxLAgGWvNLVR1YyF3Y6U4u8aA=gzKjPgoOQ@mail.gmail.com>
Subject: Re: Issues with basicfwd
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: users@dpdk.org
Content-Type: multipart/alternative; boundary="000000000000f50e1505f9b8d3fd"
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

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

Hi Stephen,
    Thanks for the response.
    I've tried with two virtual NICs, each bound to VFIO, as you can see
below.

verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$
../usertools/dpdk-devbind.py --status

Network devices using DPDK-compatible driver
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:08.0 '79c970 [PCnet32 LANCE] 2000' drv=3Dvfio-pci unused=3Dpcnet32
0000:00:09.0 '79c970 [PCnet32 LANCE] 2000' drv=3Dvfio-pci unused=3Dpcnet32

Network devices using kernel driver
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:03.0 '82540EM Gigabit Ethernet Controller 100e' if=3Denp0s3 drv=3De=
1000
unused=3Dvfio-pci *Active*

    I'm not sure I understand what you mean by 'is the virtual NIC in
VirtualBox the same as virtio.  The
NICs are PCnet32 LANCE, a standard NIC, bound to VFIO.  In Linux Mint 21
VFIO is built into the kernel,
not a loadable module.
    And yet the basicfwd code cannot find even 1 VFIO port.  Very weird.
Any ideas?
    Thanks.

On Tue, Apr 18, 2023 at 6:47=E2=80=AFPM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> On Tue, 18 Apr 2023 17:14:21 -0700
> Verghis Koshi <vkoshi@gmail.com> wrote:
>
> >     It appears that the vdev_device_list is empty - isn't this where th=
e
> > probe function for VFIO lives?
> >
> > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, vbus->name vdev
> > vdev_probe, file ../drivers/bus/vdev/vdev.c, PROBE, &vdev_device_list
> > 0x56337bb30d30
> > vdev_probe, file ../drivers/bus/vdev/vdev.c, dev is (nil)
> >
> >     This is how I call basicfwd, am I missing something?
> >
> > sudo examples/dpdk-skeleton -l 1 -n 4
> >
> >     Thanks,.
> >
> > Verghis
> >
> >
> >
> >
> > m
> >
> > On Tue, Apr 18, 2023 at 10:11=E2=80=AFAM Verghis Koshi <vkoshi@gmail.co=
m> wrote:
> >
> > >     I'm having trouble running the basicfwd example and would
> appreciate
> > > any help.
> > >     I'm running Linux Mint 21.1 inside VirtualBox, and I've created t=
wo
> > > NICs:
> > >
> > > verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$
> > > ../usertools/dpdk-devbind.py --status
> > >
> > > Network devices using DPDK-compatible driver
> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > > 0000:00:03.0 '79c970 [PCnet32 LANCE] 2000' drv=3Dvfio-pci unused=3Dpc=
net32
> > >
> > > Network devices using kernel driver
> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > > 0000:00:08.0 '82540EM Gigabit Ethernet Controller 100e' if=3Denp0s8
> > > drv=3De1000 unused=3Dvfio-pci *Active*
> > >
> > >     The first is bound to vfio-pci, to be used by basicfwd, and the
> second
> > > uses the normal e1000 driver.
> > >     But when I run the code, it doesn't seem to see the VFIO driver a=
t
> > > all; further, it seems to think that 00:08.0
> > > is using a non-kernel driver - why?
> > >     Here's the debug output; it should pick up the single VFIO port. =
 I
> > > don't care about the 'even number of ports', that's
> > > easy to fix.
> > >     My apologies if I'm overlooking something simple.
> > >
> > > verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$ sudo
> > > examples/dpdk-skeleton -l 1 -n 4
> > > EAL: Detected CPU lcores: 2
> > > EAL: Detected NUMA nodes: 1
> > > EAL: Detected static linkage of DPDK
> > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> > > EAL: Selected IOVA mode 'VA'
> > > EAL: VFIO support initialized
> > > rte_vfio_enable, file ../lib/eal/linux/eal_vfio.c, VFIO support
> initialized
> > > 0: examples/dpdk-skeleton (rte_dump_stack+0x42) [55bed7d42d62]
> > > 1: examples/dpdk-skeleton (55bed6cbb000+0x23b39f) [55bed6ef639f]
> > > 2: examples/dpdk-skeleton (55bed6cbb000+0x239211) [55bed6ef4211]
> > > 3: examples/dpdk-skeleton (main+0xf) [55bed70ac51f]
> > > 4: /lib/x86_64-linux-gnu/libc.so.6 (7fbde5fb2000+0x29d90)
> [7fbde5fdbd90]
> > > 5: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80)
> [7fbde5fdbe40]
> > > 6: examples/dpdk-skeleton (_start+0x25) [55bed7b86055]
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name
> auxiliary
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name
> dpaa_bus
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name fsl=
mc
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name ifp=
ga
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name pci
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:01=
.1
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:02=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:03=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:04=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:05=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:06=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:07=
.0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:08=
.0
> > > rte_pci_map_device, file ../drivers/bus/pci/linux/pci.c,
> > > rte_pci_device->name 0000:00:08.0, dev->kdrv 0
> > > pci_probe, file ../drivers/bus/pci/pci_common.c, dev->name 0000:00:0d=
.0
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name vmb=
us
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus->name dsa
> > > rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, vbus->name vd=
ev
> > > vdev_probe, file ../drivers/bus/vdev/vdev.c, PROBE, &vdev_device_list
> > > 0x55bed8764d30
> > > vdev_probe, file ../drivers/bus/vdev/vdev.c, dev is (nil)
> > > TELEMETRY: No legacy callbacks, legacy socket not created
> > > main, file ../examples/skeleton/basicfwd.c, nb_ports 0
> > > EAL: Error - exiting with code: 1
> > >   Cause: Error: number of ports must be even
> > >
> > > Verghis
> > >
>
> You need to create two virtual nic's and bind them to VFIO which
> will remove from the kernel driver. Not familiar with VirtualBox config.
> Is the virtual NIC in Virtual Box is not the same as virtio.
> If it depends on the proprietary kernel driver, then
> you are unlikely to get DPDK to work in virtual box environment.
>

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

<div dir=3D"ltr"><div>Hi Stephen,</div><div>=C2=A0=C2=A0=C2=A0 Thanks for t=
he response.</div><div>=C2=A0=C2=A0=C2=A0 I&#39;ve tried with two virtual N=
ICs, each bound to VFIO, as you can see below.=C2=A0 <br></div><div><br></d=
iv><div>verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$ ../usertool=
s/dpdk-devbind.py --status<br><br>Network devices using DPDK-compatible dri=
ver<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>0000:=
00:08.0 &#39;79c970 [PCnet32 LANCE] 2000&#39; drv=3Dvfio-pci unused=3Dpcnet=
32<br>0000:00:09.0 &#39;79c970 [PCnet32 LANCE] 2000&#39; drv=3Dvfio-pci unu=
sed=3Dpcnet32<br><br>Network devices using kernel driver<br>=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br>0000:00:03.0 &#39;82540EM Gigabit Ethernet Controller 10=
0e&#39; if=3Denp0s3 drv=3De1000 unused=3Dvfio-pci *Active*</div><div><br></=
div><div>=C2=A0=C2=A0=C2=A0 I&#39;m not sure I understand what you mean by =
&#39;is the virtual NIC in VirtualBox the same as virtio.=C2=A0 The</div><d=
iv>NICs are PCnet32 LANCE, a standard NIC, bound to VFIO.=C2=A0 In Linux Mi=
nt 21 VFIO is built into the kernel,</div><div>not a loadable module.</div>=
<div>=C2=A0=C2=A0=C2=A0 And yet the basicfwd code cannot find even 1 VFIO p=
ort.=C2=A0 Very weird.=C2=A0 Any ideas?</div><div>=C2=A0=C2=A0=C2=A0 Thanks=
.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g=
mail_attr">On Tue, Apr 18, 2023 at 6:47=E2=80=AFPM Stephen Hemminger &lt;<a=
 href=3D"mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tu=
e, 18 Apr 2023 17:14:21 -0700<br>
Verghis Koshi &lt;<a href=3D"mailto:vkoshi@gmail.com" target=3D"_blank">vko=
shi@gmail.com</a>&gt; wrote:<br>
<br>
&gt;=C2=A0 =C2=A0 =C2=A0It appears that the vdev_device_list is empty - isn=
&#39;t this where the<br>
&gt; probe function for VFIO lives?<br>
&gt; <br>
&gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, vbus-&gt;name =
vdev<br>
&gt; vdev_probe, file ../drivers/bus/vdev/vdev.c, PROBE, &amp;vdev_device_l=
ist<br>
&gt; 0x56337bb30d30<br>
&gt; vdev_probe, file ../drivers/bus/vdev/vdev.c, dev is (nil)<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0This is how I call basicfwd, am I missing something=
?<br>
&gt; <br>
&gt; sudo examples/dpdk-skeleton -l 1 -n 4<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Thanks,.<br>
&gt; <br>
&gt; Verghis<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; m<br>
&gt; <br>
&gt; On Tue, Apr 18, 2023 at 10:11=E2=80=AFAM Verghis Koshi &lt;<a href=3D"=
mailto:vkoshi@gmail.com" target=3D"_blank">vkoshi@gmail.com</a>&gt; wrote:<=
br>
&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0I&#39;m having trouble running the basicfwd ex=
ample and would appreciate<br>
&gt; &gt; any help.<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0I&#39;m running Linux Mint 21.1 inside Virtual=
Box, and I&#39;ve created two<br>
&gt; &gt; NICs:<br>
&gt; &gt;<br>
&gt; &gt; verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$<br>
&gt; &gt; ../usertools/dpdk-devbind.py --status<br>
&gt; &gt;<br>
&gt; &gt; Network devices using DPDK-compatible driver<br>
&gt; &gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; &gt; 0000:00:03.0 &#39;79c970 [PCnet32 LANCE] 2000&#39; drv=3Dvfio-pci=
 unused=3Dpcnet32<br>
&gt; &gt;<br>
&gt; &gt; Network devices using kernel driver<br>
&gt; &gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; &gt; 0000:00:08.0 &#39;82540EM Gigabit Ethernet Controller 100e&#39; i=
f=3Denp0s8<br>
&gt; &gt; drv=3De1000 unused=3Dvfio-pci *Active*<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0The first is bound to vfio-pci, to be used by =
basicfwd, and the second<br>
&gt; &gt; uses the normal e1000 driver.<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0But when I run the code, it doesn&#39;t seem t=
o see the VFIO driver at<br>
&gt; &gt; all; further, it seems to think that 00:08.0<br>
&gt; &gt; is using a non-kernel driver - why?<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0Here&#39;s the debug output; it should pick up=
 the single VFIO port.=C2=A0 I<br>
&gt; &gt; don&#39;t care about the &#39;even number of ports&#39;, that&#39=
;s<br>
&gt; &gt; easy to fix.<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0My apologies if I&#39;m overlooking something =
simple.<br>
&gt; &gt;<br>
&gt; &gt; verghis@verghis-VirtualBox:~/dpdk-stable-22.11.1/build$ sudo<br>
&gt; &gt; examples/dpdk-skeleton -l 1 -n 4<br>
&gt; &gt; EAL: Detected CPU lcores: 2<br>
&gt; &gt; EAL: Detected NUMA nodes: 1<br>
&gt; &gt; EAL: Detected static linkage of DPDK<br>
&gt; &gt; EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>
&gt; &gt; EAL: Selected IOVA mode &#39;VA&#39;<br>
&gt; &gt; EAL: VFIO support initialized<br>
&gt; &gt; rte_vfio_enable, file ../lib/eal/linux/eal_vfio.c, VFIO support i=
nitialized<br>
&gt; &gt; 0: examples/dpdk-skeleton (rte_dump_stack+0x42) [55bed7d42d62]<br=
>
&gt; &gt; 1: examples/dpdk-skeleton (55bed6cbb000+0x23b39f) [55bed6ef639f]<=
br>
&gt; &gt; 2: examples/dpdk-skeleton (55bed6cbb000+0x239211) [55bed6ef4211]<=
br>
&gt; &gt; 3: examples/dpdk-skeleton (main+0xf) [55bed70ac51f]<br>
&gt; &gt; 4: /lib/x86_64-linux-gnu/libc.so.6 (7fbde5fb2000+0x29d90) [7fbde5=
fdbd90]<br>
&gt; &gt; 5: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [7fbd=
e5fdbe40]<br>
&gt; &gt; 6: examples/dpdk-skeleton (_start+0x25) [55bed7b86055]<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame auxiliary<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame dpaa_bus<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame fslmc<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame ifpga<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame pci<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:01.1<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:02.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:03.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:04.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:05.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:06.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:07.0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:08.0<br>
&gt; &gt; rte_pci_map_device, file ../drivers/bus/pci/linux/pci.c,<br>
&gt; &gt; rte_pci_device-&gt;name 0000:00:08.0, dev-&gt;kdrv 0<br>
&gt; &gt; pci_probe, file ../drivers/bus/pci/pci_common.c, dev-&gt;name 000=
0:00:0d.0<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame vmbus<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, bus-&gt;n=
ame dsa<br>
&gt; &gt; rte_bus_probe, file ../lib/eal/common/eal_common_bus.c, vbus-&gt;=
name vdev<br>
&gt; &gt; vdev_probe, file ../drivers/bus/vdev/vdev.c, PROBE, &amp;vdev_dev=
ice_list<br>
&gt; &gt; 0x55bed8764d30<br>
&gt; &gt; vdev_probe, file ../drivers/bus/vdev/vdev.c, dev is (nil)<br>
&gt; &gt; TELEMETRY: No legacy callbacks, legacy socket not created<br>
&gt; &gt; main, file ../examples/skeleton/basicfwd.c, nb_ports 0<br>
&gt; &gt; EAL: Error - exiting with code: 1<br>
&gt; &gt;=C2=A0 =C2=A0Cause: Error: number of ports must be even<br>
&gt; &gt;<br>
&gt; &gt; Verghis<br>
&gt; &gt;=C2=A0 <br>
<br>
You need to create two virtual nic&#39;s and bind them to VFIO which<br>
will remove from the kernel driver. Not familiar with VirtualBox config.<br=
>
Is the virtual NIC in Virtual Box is not the same as virtio.<br>
If it depends on the proprietary kernel driver, then<br>
you are unlikely to get DPDK to work in virtual box environment.<br>
</blockquote></div>

--000000000000f50e1505f9b8d3fd--