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 2372441F65 for ; Mon, 10 Jun 2024 09:51:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D8A140647; Mon, 10 Jun 2024 09:51:05 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id BD6FE402CE for ; Mon, 10 Jun 2024 09:51:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718005863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1/btDqnHjOSQTSNRaDSIYth2q8pUWycdYJnBU0cO4tY=; b=QGPLbVKESutksL75r6RSm1UAPuXAEcyITYcjy2zsifga4sHF6BJ1HL1P4GCqWX8R+GvoIN 5QL82gwZDkcZBOjxsVN/e3Gt6ZnQm6fslEcFMWN6T+exaZ26MgNy4D6t7+j6NP0Lc0Jv1b QUVUrekO8aIs+4WHfh0nP7GnSJJCbeg= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-616-qr7oKNeCOiKMSfdKKoWCRQ-1; Mon, 10 Jun 2024 03:50:55 -0400 X-MC-Unique: qr7oKNeCOiKMSfdKKoWCRQ-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2ebed359487so1571851fa.2 for ; Mon, 10 Jun 2024 00:50:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718005854; x=1718610654; h=content-transfer-encoding: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=1/btDqnHjOSQTSNRaDSIYth2q8pUWycdYJnBU0cO4tY=; b=BK3ApAyA6R8YY3vgZhNSGcVVbvjkUJciAek2BbLovdUnVtrG7txaU/YLtvuA7Kalj3 vcnTIIM/2ijlVCevf1xTgc5dxYtsyPEHKuoCtRUpQDbfJYPJoXekpiNRR4+tNgfIM9av XCMe3TcSuQ6ItvnlhiQ0GvrB/WXc8iaSTDzqPRSzyxgKad/Se7xB+UJq1cYSN6mRaq3W atckpTbmHT06gDrmQfIP/69CT/rM/1+qWvF2A2n3zkjQVGKvyVMCM0G7a/fG2/toolcz tN7iPdV/UnJiHPNssfwZrYKQecKrjXTMU1E8rQuf4PyHPjkpPSj9FZP10UbQkZw5XXWe /qnA== X-Gm-Message-State: AOJu0Yx0epf8mZhn/dx8j9sUCGXdbi13phrkFyAiPLT93Q2y48Lua05+ 3OU9jcahQvVYAeReJ3eZBnq+CmQQm9Iw1wdwb/L4eR87J7U6R/0PBW90DyM+Yi7hoiW2ABEuHju 7dDjAGKrVOyed5H3XS8s3h+Hzx78p7hUxcwQfjFBEKib5yPV7ZQ06qVdxc1rDNj+ZtViVJ2aAZx +yLF4TN+FMiZworZZ1og== X-Received: by 2002:a2e:a786:0:b0:2eb:ec25:c4af with SMTP id 38308e7fff4ca-2ebec25c5c9mr5925031fa.50.1718005854390; Mon, 10 Jun 2024 00:50:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+IZw9V+UVP1ESowhzbbfIc5apGOcc8CI5O489TRTnKnhy1Nc3oRbfqWcg+rvf7xFP9XXWY+dbDuYzx00AJkI= X-Received: by 2002:a2e:a786:0:b0:2eb:ec25:c4af with SMTP id 38308e7fff4ca-2ebec25c5c9mr5924931fa.50.1718005854067; Mon, 10 Jun 2024 00:50:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Mon, 10 Jun 2024 09:50:42 +0200 Message-ID: Subject: Re: Compiling testpmd with DPDK netvsc PMD To: Nandini Rangaswamy Cc: users@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 Hello, On Sat, Jun 8, 2024 at 1:32=E2=80=AFAM Nandini Rangaswamy wrote: > Thanks for your email. I inspected meson build output and do see that net= vsc 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 > > 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=3Dshared 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 (<=3D 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. --=20 David Marchand