DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Nandini Rangaswamy <nandini.rangaswamy@broadcom.com>
Cc: David Marchand <david.marchand@redhat.com>, users@dpdk.org
Subject: Re: Compiling testpmd with DPDK netvsc PMD
Date: Wed, 12 Jun 2024 07:48:20 -0700	[thread overview]
Message-ID: <20240612074820.53909c9a@hermes.local> (raw)
In-Reply-To: <CAAkQrK_Rv_1HPZsuOvh2Bj1mptxt-Nex4y=zQV_i2XkLumHhAQ@mail.gmail.com>

On Fri, 7 Jun 2024 16:31:51 -0700
Nandini Rangaswamy <nandini.rangaswamy@broadcom.com> wrote:

> Hi David,
> 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,
> 
> Also, i changed the meson.build default_library=shared from static and it
> worked.
> Regards,
> Nandini
> 
> On Fri, Jun 7, 2024 at 3:56 AM David Marchand <david.marchand@redhat.com>
> wrote:
> 
> > Hello,
> >
> > On Thu, Jun 6, 2024 at 11:32 PM Nandini Rangaswamy
> > <nandini.rangaswamy@broadcom.com> wrote:  
> > > I tried compiling the testpmd with DPDK netvsc for openwrt by setting  
> > CONFIG_RTE_LIBRTE_NETVSC_PMD=y .  
> > >
> > > However, when I check ldd testpmd, it does not show any of the dpdk  
> > shared libraries including net_netvsc linked to testpmd binary.  

Testpmd is a special case. It always is statically linked because it has to
have several drivers private API's.  So using ldd to check is not going to give
the right answer.

What is the startup of testpmd look like? You may need to enable debugging of
vmbus and netvsc to see all the reasons the driver decided not to be probed.

  parent reply	other threads:[~2024-06-12 14:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 21:31 Nandini Rangaswamy
2024-06-07 10:56 ` David Marchand
2024-06-07 23:31   ` Nandini Rangaswamy
2024-06-10  7:50     ` David Marchand
2024-06-11 14:35       ` Stephen Hemminger
2024-06-11 17:00         ` Nandini Rangaswamy
2024-06-11 17:10       ` Nandini Rangaswamy
2024-06-12  6:20         ` David Marchand
2024-06-12 14:48     ` Stephen Hemminger [this message]
2024-06-12 18:53       ` Nandini Rangaswamy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240612074820.53909c9a@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=david.marchand@redhat.com \
    --cc=nandini.rangaswamy@broadcom.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).