Compiling testpmd with DPDK netvsc PMD

Nandini Rangaswamy nandini.rangaswamy at broadcom.com
Tue Jun 11 19:00:22 CEST 2024


Hi Stephen,
It does include the driver and has been bounded as described in the
documentation.
Regards,
Nandini

On Tue, Jun 11, 2024 at 7:35 AM Stephen Hemminger <
stephen at networkplumber.org> wrote:

> On Mon, 10 Jun 2024 09:50:42 +0200
> David Marchand <david.marchand at redhat.com> wrote:
>
> > Hello,
> >
> > On Sat, Jun 8, 2024 at 1:32 AM Nandini Rangaswamy
> > <nandini.rangaswamy at broadcom.com> wrote:
> > > Thanks for your email. I inspected meson build output and do see that
> netvsc is in the list of enabled drivers.
> > > ===============
> > > Drivers Enabled
> > > ===============
> > >
> > > common:
> > >         iavf, mlx5, qat,
> > > bus:
> > >         auxiliary, pci, vdev, vmbus,
> > > mempool:
> > >         bucket, ring, stack,
> > > dma:
> > >
> > > net:
> > >         af_packet, bond, e1000, ena, failsafe, gve, i40e, iavf,
> > >         ice, igc, ixgbe, kni, mlx5, netvsc, ring, tap,
> > >         vdev_netvsc, vhost, virtio, vmxnet3,
> >
> > Ok, so the driver seems indeed part of this build, yet it was not
> > functional at runtime?
> > Could you confirm this driver was indeed embeeded in (*statically*
> > linked) testpmd?
> > $ ./usertools/dpdk-pmdinfo.py build/app/dpdk-testpmd | grep -i vsc
> >     "name": "net_netvsc",
> >     "name": "net_vdev_netvsc",
> >
> >
> > >
> > > Also, i changed the meson.build default_library=shared from static and
> it worked.
> >
> > Mm, the fact that changing link mode fixes the issue points at a link
> issue.
> >
> > There is a bug with old pkg-config tool (<= 0.27 iirc) that does not
> > process correctly dpdk .pc (for static link).
> > It is worth checking which version of pkgconf is used in openwrt.
> >
> >
>
> Does the openwrt kernel include the uio_hv_generic driver?
> Did you bind the network device to uio_hv_generic as described in the
> documentation: https://doc.dpdk.org/guides/nics/netvsc.html
>
>

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20240611/4880c37c/attachment.htm>


More information about the users mailing list