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 3B80AA034F; Mon, 11 Oct 2021 10:54:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF5C2410E6; Mon, 11 Oct 2021 10:54:23 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 02D90410DC for ; Mon, 11 Oct 2021 10:54:22 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id m3so70929076lfu.2 for ; Mon, 11 Oct 2021 01:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i2cat.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=K4JmzgTtDwivYsLXOYUv3+CNcsGXq5HXrzeADmm8TAo=; b=EErSULs1Fe075/vwr0xMyDVVzO5NYrHCy4rtg3Ias1xlDU7CXhiYLHws6Gjwu/jEGn o/v+jzodbXl8ktnNJy0OSJ65976jANQbMn1LI3md33zkrEm8yc8++mHk6Tq6J6+6TB6R Mf1QlH0hBmgRLZxj7tUImIpxzKXyCLqe/R3YpaJ7r97gmurTJZNMiM5DNLe+lTFrcITy bNeaj/f4QXmc78j7cjFngO4pZ9awuUl5aYANe0HlljDJFoNby/ICYyTNzj8bPeSL33sQ ECUzetbhGyZNrpgMlaiAl18q2FiwCiVipl+E0VlS3BVEefbT3zdstafbtpLaUrsYlqVZ GnDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=K4JmzgTtDwivYsLXOYUv3+CNcsGXq5HXrzeADmm8TAo=; b=CDgYIGi/GdmouQjd6jrdU6h7FizF4+M1TEiydwQiLayAHwz1C1RjkJA6pPuV0WToXn 9wUUKWZnIEHm1RjBkcpoaHZp2TS4GmS8V2aik3HPHa4dB1tsFsXOQU1ZgNy7AZy0VJWt US7YcFH4ivuXN+JzoTc2yaGWcE2p+ogfb4PFl6EbxacDN8BwPXJDLJItxX91tXwRsdi1 Ip2Az0DL5mKT1AWldKfAU+TvwdS37zg267isSaTKdUAPZ49BKDuxQesy9Xl/ZR8KAZLQ 2Y6yVLWXmsABSPQZU2RfgkHCa3NzFRUemSzQFLKkorYpI1EfZZMmjdYlbd/Q2zXijPxw CvNw== X-Gm-Message-State: AOAM530lNYxQslpVzY5BQ+9bSZneTnbBbqi2z12/ZhiaiOQ8r0bFSnV/ pqz5krfwfg3rDzVGg/jdz8fwzWP3XKBg/1v5PL506pi1eIS+hQ== X-Google-Smtp-Source: ABdhPJyfzYWsjcdp7574VGiaMFfOCCnR5Vk7QNW+ipTADscQssF/iCBWkrOJXUBdoTby31XKHFlAh8l+/7jGcb3oc5k= X-Received: by 2002:ac2:4285:: with SMTP id m5mr24654137lfh.343.1633942462235; Mon, 11 Oct 2021 01:54:22 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?R2luw6lzIEdhcmPDrWEgQXZpbMOpcw==?= Date: Mon, 11 Oct 2021 10:54:10 +0200 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] APP outside the development kit issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I'm trying to create new examples for DPDK, more precisely for bbdev but I'm facing different issues. First, following this link (58. Building Your Own Application =E2=80=94 Dat= a Plane Development Kit 21.11.0-rc0 documentation (dpdk.org) ), I found the example for bbdev not working with the following error message: "EAL: Error - exiting with code: 1 Cause: cannot use port with ID 0!" After digging a little bit, it seems that --vdev option is not creating the device so I tried to create it as proposed here (16. Wireless Baseband Device Library =E2=80= =94 Data Plane Development Kit 21.11.0-rc0 documentation (dpdk.org) ) but even if I include "rte_bus_vdev.h" which I think is where all the creation and initialization functions are defined, I'm getting an "undefined reference to rte_vdev_init" Is there any flow diagram or something similar to understand how DPDK is configuring the devices? which example should I use as a reference to create my own "outside of the kit" examples? Thanks in advance, Gin=C3=A9s.