From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9DC54404F for ; Wed, 12 Jun 2024 16:48:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A55664029A; Wed, 12 Jun 2024 16:48:24 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id EC33440151 for ; Wed, 12 Jun 2024 16:48:23 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-705b9a89e08so1229413b3a.1 for ; Wed, 12 Jun 2024 07:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1718203703; x=1718808503; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=EEiy8ZYTUKm2vzqcDXao8qAuNa7OGogn3u3XXE59ksk=; b=NJNy4eF0o/TVuLvzYChG+hEo6K8wZERMB48OkeToqvMaSXZ8cIixX1DPpiTpVXwmRi yTU7Pg01oXoR4yD8hJkevGRvmYM8faSXF85HohpOqTdQ2OyIjAwpu1/svzbZlpbFNsDV MggOSpOMvJ3PYvb3+XYUSerpM33bWLhmEvhk6mW6moAZNFq7YMz+7xC/XHYYulsWXDNQ V0ZOM4/Bv4MbkAaWx2qLjAX7vqn9gA8FFCt+jDeqxKBMnYhv4IpVqLVSkDm3QQZ1S9Rk 85y3P/BkAEsTzCBJBnHHo4ergoruXBQGdPynAZaRQJ7kXnermsF1D4kN0eDKximLya8k QBtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718203703; x=1718808503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EEiy8ZYTUKm2vzqcDXao8qAuNa7OGogn3u3XXE59ksk=; b=JjLX5ECcJI3gSV5lroF6DQtcnhi0dRHkkjXe6ZcTZVgmzRLTYpsHqNqYGqK8Bc9jtk jaMY+k5/lpQzhlDfza4mRala3Flt9sHe3LJCeZH8nRECAAyWxAU3nlLCpT4CW3OSrako rgJLIkcK20vhGSfoOKIMYT7cBsyepFFxUtZ/FdtgkTv07yazaKzQIlPH36dx8RSZ1kH5 MpnbFuV2u5kMHQ8ayjePoXMxjt8+xVkZhXnQcnXDBiA0yJIK92Iwoqm1Z9i2IS7BPeGi mgW96zDIjbgyMXGN2xOm2GQ2O49oGi3zVzAXxsZg/DkrOPwFFGkPGEcO+9D+6fP/zbNL BR5g== X-Forwarded-Encrypted: i=1; AJvYcCXR6LmwpuNR8LmqhyAyXXM8717KS9gyQzquQje2Z/rck2IC4TOdXQExJyzoyQVV9wf5KJ4Jv4Q5QFzlZzoqZQ== X-Gm-Message-State: AOJu0YzPZB5/qdWPud5zbeqiBqpHdKyQ9HSzBxzygVCjcekOTfmvyCVq d+teu1Jh5JwB4Jmxva1jfv71J6bolNbKcOyuRFiCzXqIw7pEyjTfwZp7wM0tDqc= X-Google-Smtp-Source: AGHT+IE70N3hYwwrHeJh2a1ZUisCF8R8tPuxgIkQR4yQg0Jgw0VtpkTLjwwMeGmCv1Eoim2mNBMSuA== X-Received: by 2002:a05:6a20:9786:b0:1b5:be9e:42fc with SMTP id adf61e73a8af0-1b8a9be8970mr1814613637.32.1718203702837; Wed, 12 Jun 2024 07:48:22 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70413497df7sm9022028b3a.187.2024.06.12.07.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:48:22 -0700 (PDT) Date: Wed, 12 Jun 2024 07:48:20 -0700 From: Stephen Hemminger To: Nandini Rangaswamy Cc: David Marchand , users@dpdk.org Subject: Re: Compiling testpmd with DPDK netvsc PMD Message-ID: <20240612074820.53909c9a@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Fri, 7 Jun 2024 16:31:51 -0700 Nandini Rangaswamy wrote: > Hi David, > Thanks for your email. I inspected meson build output and do see that > netvsc is in the list of enabled drivers. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Drivers Enabled > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > common: > iavf, mlx5, qat, > bus: > auxiliary, pci, vdev, vmbus, > mempool: > bucket, ring, stack, > dma: >=20 > net: > af_packet, bond, e1000, ena, failsafe, gve, i40e, iavf, > ice, igc, ixgbe, kni, mlx5, *netvsc*, ring, tap, > vdev_netvsc, vhost, virtio, vmxnet3, >=20 > Also, i changed the meson.build default_library=3Dshared from static and = it > worked. > Regards, > Nandini >=20 > On Fri, Jun 7, 2024 at 3:56=E2=80=AFAM David Marchand > wrote: >=20 > > Hello, > > > > On Thu, Jun 6, 2024 at 11:32=E2=80=AFPM Nandini Rangaswamy > > wrote: =20 > > > I tried compiling the testpmd with DPDK netvsc for openwrt by setting= =20 > > CONFIG_RTE_LIBRTE_NETVSC_PMD=3Dy . =20 > > > > > > However, when I check ldd testpmd, it does not show any of the dpdk = =20 > > shared libraries including net_netvsc linked to testpmd binary. =20 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.