From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) by dpdk.org (Postfix) with ESMTP id 028071B1FF for ; Wed, 30 Jan 2019 11:42:16 +0100 (CET) Received: by mail-it1-f179.google.com with SMTP id h193so9731132ita.5 for ; Wed, 30 Jan 2019 02:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=B6gcydz7S2T7eavrEa+orxXMHzVVQ5kXMOWIwTjuWNU=; b=BSLSnlY3IAfNUDIirpRNUlDzIIrzC666HPcop9OYkrn7gAaBjrh9A7dLLaZikQB8b+ 7AmG5YdR9HZ7n//ErqftNhc/r21/7i5sJVy9hrTBAgzi0D9XTre6+Yzw8eBRNnX/Nc1Z Lj8cRjQi6FMBhBoABKH3opxYoru0dddA2+R6jKbeMF11HI7dHS8EAOB1DPq0aU4kHYMI 2/MmahbpSu4biauyCigJ0NiKRRZB9vRQoJmU43O6PArZsVTLLmDU9l7+hbO+1pTKP9Et aVIKBWfrx5+cnXeT2NmMwKC1dLSUvnmZmiK0ODRX5Z9n4bDhFBr1jFapHxi2HIFLbXtl xYRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=B6gcydz7S2T7eavrEa+orxXMHzVVQ5kXMOWIwTjuWNU=; b=qZkmPFLBoq5HEQJcnrviAWwgyAAfF+DbwE7o4Jh1aOX+59dEr45oi9XtX5/+/OcxuA pqTXN9e+G1PNRYrNYHKoYTxYiz1rLjOhTRecIJo3vZ9kd0mry41BDrz+mV3eyBPuKrC2 0bTPQ47Qf8FmK8MtALARb+uYyd/Z0VPVzx6xKNAOQP3XV1/afQKMydlLPR2ohFslrj5f Nc4kIYvzO3oRLSZKEuMF82a2Fisf9tJn6CyqRJsHH2AqhcRSZGgRNMsxZqROm4C/dFt1 D34ReHqT59K6HfSIJSg2OiBdLNXGQdA9kYqoU9W4salUO06op94bt6wuNhxeuXDvVPqq 7FFA== X-Gm-Message-State: AJcUukf5J66GVZzxpR2YjLJ4Y0hqqOxkwmyZgRTa6xtEVBwH85DNyKRz 0tXQusCqqR9nJTahtteDgCmb8hZ/J0Hs4HqfaVOVe9Xz X-Google-Smtp-Source: ALg8bN7BwjwN3SDYW4uSi3zKORdCxf///ci9vNaewC/IbzJFB04RTF9Cro5v+kGuqJdBIV4j8WnMTIgMI5CfWiP+Q/0= X-Received: by 2002:a24:8d45:: with SMTP id w66mr14300106itd.137.1548844935829; Wed, 30 Jan 2019 02:42:15 -0800 (PST) MIME-Version: 1.0 From: Oscar Pap Date: Wed, 30 Jan 2019 11:42:04 +0100 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Thu, 31 Jan 2019 09:43:44 +0100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Create new driver error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2019 10:42:17 -0000 Hello! I=C2=B4m trying to create a new driver called "baseband_ldpc" for baseband = but I get this error: EAL: failed to parse device "baseband_ldpc" EAL: Unable to parse device 'baseband_ldpc' I created the driver in the /dpdk/drivers/baseband/ldpc folder. The file is called ldpc.c I created a copy of the Makefile from the other drivers but changed these lines: LIB =3Dlibrte_pmd_bbdev_ldpc.a ... EXPORT_MAP :=3Drte_pmd_bbdev_ldpc_version.map ... SRCS-$(CONFIG_RTELIBRTE_PMD_BBDEV_LDPC) +=3D ldpc.c I added this line in the Makefile in the folder /dpdk/drivers/baseband DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_LDPC) +=3D ldpc DEPDIRS-ldpc =3D $(core-libs) I also added these lines in the common_base file: CONFIG_RTE_LIBRTE_PMD_BBDEV_LDPC=3Dy My guess is that the error has something to do with vdev and that my baseband_ldpc doesnt get registered as a valid vdev. My command for running the app is: ./build/bbdev --vdev=3D'baseband_ldpc' --vdev=3D'net_tap0' --no-pci I hope that you can help with this problem. Best regards, Oscar