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 1B3FCA0544 for ; Mon, 29 Aug 2022 03:15:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8754540DDA; Mon, 29 Aug 2022 03:15:38 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2066.outbound.protection.outlook.com [40.107.92.66]) by mails.dpdk.org (Postfix) with ESMTP id B23934069F for ; Mon, 29 Aug 2022 03:15:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F3X9BdSEVDR1rR07hAjzEndgxnwCmIJHoJJBbsa2EcACmvJ8AuZ6PiTngKe5akQpbVTgR69XProV+fn+5A4Jk0ia+sknBbrzI9749Um0EpPllNvYniDW/HkkFAXjuCMgNGjUOvrHn5PJdcULkQfHb3yAQb3gYszkne9JyxCriTFDP5iY9YjlUuqBE8mjyKylxFVl5prMwvsalVSfO5/OWzSmLMVn2AT74vCu/HLv9sfcFpYI3dVUGeMJ6xqvBfkms1XsnQja5u41OKVaA0Jh7poOVkqSI69eB1pNtBbZCzo+psJXPv1K1RvFGqmXTW7Uw77oz2G6Z3+qjIitSYwBQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tKgSH2GgrfeDXcCrwTGwL5Ft6c64DVyJddOtpQOrsSk=; b=fsP5HHjXAlzNMbexx4QcUEi2ui3yvHxGK7Hy4eawKKTlDB9fClIFbhzSyZdydRk0KcegepECM9Zq2ZCN/ZIcWAVK/aBj0iTwKsrjySYJOpPuQyCbSeV4p+g5cZw8rSqICX38UfC+aq7enfz83odo3QXVm+6ryqYJijIv2a5SQE/5uEGvqEbjfi8A56KCILG/z6yYCgUp9YXRADAKAQLaTbIi18qcrJ2LqD7m6dvPzfqXqrvYKavTZboXX8rSz+SkWEQghUoD3/IndQmTRNboGfZdRDTHmhj8EnMMM04nWORXaPUDSeMDIfQmJuEUuOty8KmhWmjz2jMKqDJepHsfKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tKgSH2GgrfeDXcCrwTGwL5Ft6c64DVyJddOtpQOrsSk=; b=UUNgH8qGLMuQp+9Ci8Xsnf3K+WWAFRHqccwBQ/HiwQD0zN5gG0vAgK/lLbycFeKrUN3D8TkucMMeZDOmR5hiCb5MU2oFouFQ+cxag2KVpUTrIfmACT2x7uSm9BNhGoAa4AiUqlXOJkYx6x4Oyu63x7B53/i6k/AtVCBZ8NOABc0= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by DM5PR12MB1178.namprd12.prod.outlook.com (2603:10b6:3:6c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Mon, 29 Aug 2022 01:15:33 +0000 Received: from MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::bcd1:b1e2:d2f9:d553]) by MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::bcd1:b1e2:d2f9:d553%3]) with mapi id 15.20.5566.021; Mon, 29 Aug 2022 01:15:32 +0000 From: "Varghese, Vipin" To: "users@dpdk.org" Subject: Re: skeleton code failing (Lokesh Chakka) Thread-Topic: skeleton code failing (Lokesh Chakka) Thread-Index: Adi7Qm8vnfmvE4e9TI+5d/HteedSeg== Date: Mon, 29 Aug 2022 01:15:32 +0000 Message-ID: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 92c9a471-b84a-4f9c-d927-08da895bf803 x-ms-traffictypediagnostic: DM5PR12MB1178:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mgGbSET5VzXv3Ukh4EuoDxQ/3ryEz7DzVY6qJtxFNxW9/1V8RN0HpAPMJ7mvt4R+SUVXEZXf9XjkecyYEYW9mCyYia2rbq3zi6MJpe3fxIUZv1cRQD95hnbvfuLkUiaeGHXVta8UP4DrZHRvycuQnwHDEEdjLQ6q0/+ngbWj0DyHh4a43aYq56enflDoahJVlednTD1joza/geBkq8PJuCSOgvRz+lKAPjMpAsO6vS+o5CVLSEkdIIxYF7OzckNoXtpo7AUPXybXZAprJlQ48UZb+dDnjDg7k4XEQbffAjTmp5ORxRQFhaDvS6iBC3IKqX1RQHIHzv1QKHPtkWQhFdfgoeun0iND/FnuNJbt0GpExCiun7GtFdOBXiWgumMSkAz+SoSRaq1yl5Y0VzlJq92RmYabsPfxUVKweUUYq85e9+5YZAUAfnJACNxkMBXlD4Cyb+zqT+vdOr+/gJVkN7NE4UStCkNvzgM3DsnCLsU5xkPrr1RgWUQPB/h2G8h8JE6w3hJf99pYM3085r3eYnuMNpsxLV5hJa9J88TbW/xxkQ6BhwblapkmgdUMH7mjiCDNMJS3XWjxr8JfspUL2mFieIT2b6WWl6wwYJENsHqYOybveIQreJ2li1kdQMD0crxvcWozNOd+c0GPSEg1tVxrVauXfIuidXavTKNY972YsB4orROphyRGCEGTeaKtNxOuPA5LfJBYJsHuBJpgA0kMz6uF/QdxoCGhXEITpnOFEMAMurg/HFal0RRmlHIsLCehJsZEsnLRs/DTnGzPn6RrHYEP13uuK9a/WoF2MjE8hAZserRF5XDysZQt7bHBNCZ9vQXMpq711ee4f7FYsezgnVNDvS0MaRf1dmjVTyk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB3085.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(376002)(396003)(136003)(366004)(53546011)(7696005)(9686003)(6506007)(86362001)(38070700005)(26005)(33656002)(122000001)(186003)(41300700001)(478600001)(966005)(71200400001)(83380400001)(55016003)(45080400002)(66946007)(66446008)(8676002)(66476007)(64756008)(76116006)(6916009)(316002)(30864003)(19627235002)(8936002)(52536014)(66556008)(5660300002)(38100700002)(2906002)(71440200002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qvgso8dT/ZYpknpRF9FpT7ZP/e7hoVAkrOYtIsYPKsgmFmlxDXeCXNFcLMkq?= =?us-ascii?Q?GieCClRCwkzlziUCqqlshB7GfnBRO3ZayRpQjRH8sD0KTMzppfKysrVEJJhr?= =?us-ascii?Q?chlTc5DwBifD/1Z5S8tarrRbk78QL+5PeuEFTqVcSlcXODR5oc6Q/Ct0VQ2H?= =?us-ascii?Q?OW4fVN0jXnWJu7s41teElizinyVmP+hpzODnIZ/TLxA7b7BrupNoJ51DJcIE?= =?us-ascii?Q?gjb4G9Ax7y7DgFHIx1zaVc5yCyNUYmtPC5ZX/saAHI2g4/Up9xqQEWPKCysw?= =?us-ascii?Q?BPrqso0kz7iIT5W/kP10OpFADUOUcCY6QPsQfEmEV8MQ5Q4GgkQS19HD7ENw?= =?us-ascii?Q?DAu2KqVGg8YYUNa7o8k80s3TKGhEm0PjCfHM0DnSmWXmWDtT+KbdvzEoolXF?= =?us-ascii?Q?B8zEb7fqfTY17g4PvGqReSsPP+VKEupuPmslI1UMDTq1up3BwDQnIoEAnpAO?= =?us-ascii?Q?K2gJJfWDkAYcNnx4ygw4zXHY+YDFsLYIeLMIrzEWEv/BSGOSjfvrgS/7Bglr?= =?us-ascii?Q?qOQxF0nXQkFNR9fsisKvGeUOgnBJvguAphzMCXPDONLLDafRhTYv2rzMITTf?= =?us-ascii?Q?IQ8Lsr3NfZmSVjDIprn9Kq2N0NeXhFZe5j9QQNJ+ulElVChQgQcHm+oLJiJd?= =?us-ascii?Q?Z7yrph7DEiYaKCQL/epOlNMht33Qm/OY2kqE8kiUMpYjBReztVezR3QFegp4?= =?us-ascii?Q?reoaMo98T3GUP99faHc13/ozpiuASgciNf6y3zrmNhbr0nMTZtE4kqCXO4O1?= =?us-ascii?Q?LiTlQBKSW4uHVmmckm5hVe+zxXATvTQXT4JfxtyBuC89oXnq9xksapTw3aba?= =?us-ascii?Q?x+eFHyp2u7TDyqLWKHS8sGMPph7QwZHAxcmSYxJqKER/uQyx442HEuAi86A3?= =?us-ascii?Q?PArEDhij5X3NzmgS5Hq7XTphvS7265OuopNgx3UrLhgN8CetPRdSOADoxFAX?= =?us-ascii?Q?Xfw+W2a2qes3ofWNO4g1O7NaB/IB0krU6GBIgrW5mSwJuIC+AY7V6yop6NLb?= =?us-ascii?Q?x7vpqfZROj0eEi8JJ2/G3nQl4JMJTUt6BRrYAwRnBBOEXRvkxlVNK8NcmgD3?= =?us-ascii?Q?03HRiOUHjTNArZyN29IOSPKAukq9tQ0hAyEtx98nkv07GLHhbItUvVDf0Y0Y?= =?us-ascii?Q?vtEuD4vM6I0LShbDdNABxrSN9lNCwLKDsTqZFKZUkbtYto8qlh1PO5/XGarp?= =?us-ascii?Q?J1C4BKf8OHQ19/Kr0HkCTg9LbArHON0YLsah2Tt8Y3B3fvzGC2wIWulnspmj?= =?us-ascii?Q?AK6EUHscocnSjRMqAoOr9rOv1RAWIKbznxZqSZ8O2jxuALwEbcWBwoed/5Ux?= =?us-ascii?Q?6tKkiRJkS5q46+9HHcSURsWh6IDgbmkfuOmk7MayV0JvVdDXAoGLZuPcXWPZ?= =?us-ascii?Q?45YWSm0xx4J246Urvv7w4jEiV3pYPH4oAuUzPh5dZ3UeJ2gnnQJ3Nj0bmgxc?= =?us-ascii?Q?Yq2vRdQWPgCeC5L9zt3EkhNPSLDYVm/5sDxKeYM3LK3en02LEQCZNBOVNjdo?= =?us-ascii?Q?JjplYof/KSr1HL730CvHNE+j+w1hu7TPqUzQZaCuu+lUQZKRUCQV/QZPI3N9?= =?us-ascii?Q?HVIIjSvoZtrUgJBnPi0=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3085.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92c9a471-b84a-4f9c-d927-08da895bf803 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2022 01:15:32.1908 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bLewqSpAIyg742RUcQdnGIwyAZ2dvNepbjQ39vFm4ZdiRIfC0AnpJzqg+xcWvLkCOecONsJAURfh4m4TsX2Eyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1178 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 Hi Lokesh, Based on the DPDK logs, following are some of the observations 1. application is built with shared library mode ` gcc main.c -g `pkg-confi= g --cflags libdpdk --libs libdpdk` which may require to pass shared dpdk PM= D library with option `-d` in eal args 2. EAL PCIe probe identified `0000:83:00.0` and `0000:83:00.1` 3. there is warning from application on core NUMA-Socket vs NIC NUMA-Socket= for the DPDK ports ` WARNING, port 0 is on remote NUMA node to polling thr= ead. Performance will not be optimal. WARNING, port 1 is on remote NUMA nod= e to polling thread. Performance will not be optimal.` 4. application has started on CPU logical thread 0 and waiting for user to = interrupt the same ` Core 0 forwarding packets. [Ctrl+C to quit]` With these observations the application is running with DPDK ports.=20 With respect to queries 1. surprisingly cards are not showing up even in ifconfig - Braodcom NIC ca= rd (PF or VF) when bind with DPDK get removed from from kernel `bxnt` and a= dded to `igb_uio|vfio_pci|uio_pci_generic`. This means there is no kernel n= etlink device attached to the NIC port. 2. dpdk-pmdinfo.py ./a.out But I am not seeing any output - as mentioned ab= ove this could be because the application is linked in shared library mode. 3. `gcc main.c `pkg-config --cflags libdpdk --libs libdpdk` Hence it is sta= tically linked code. - this understanding is incorrect as the command to li= nk statically is `pkg-config --static --cflags --libs libdpdk`. 4. Unlike other examples like l2fwd, l3fwd, testpmd there is procedure or c= all to function to display PMD stats for NIC ports Hence, I recommend to spent some time https://doc.dpdk.org/guides/sample_ap= p_ug/skeleton.html and then=20 1. if the intention is build with static library, use the right command to = to built the application. 2. Do not expect Broadcom NIC to make both Kernel netlink and DPDK availabl= e at the same time for PCIe id. 3. Use `log-level=3Dpmd,8` to get more PMD related information. 4. Send traffic DPDK ports, and use `dpdk-procinfo` with option `--stats` t= o get the stats via DPDK secondary app. Note: It could be NIC related issue you have to reach out Broadcom as NIC v= endor for your current use case. Regards Vipin Varghese=20 > -----Original Message----- > From: users-request@dpdk.org > Sent: Friday, August 26, 2022 3:30 PM > To: users@dpdk.org > Subject: users Digest, Vol 353, Issue 5 >=20 > [CAUTION: External Email] >=20 > Send users mailing list submissions to > users@dpdk.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit >=20 > https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmail > s.dpdk.org%2Flistinfo%2Fusers&data=3D05%7C01%7Cvipin.varghese%40a > md.com%7C3b2eb0cad85d4133795e08da8749bf40%7C3dd8961fe4884e608e1 > 1a82d994e183d%7C0%7C0%7C637971048067638133%7CUnknown%7CTWFpb > GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI > 6Mn0%3D%7C3000%7C%7C%7C&sdata=3DWhU4xEpP2iZ8T3fp%2BKZjhGr4 > 47C6PUh5kRMAeNKNUyU%3D&reserved=3D0 > or, via email, send a message with subject or body 'help' to > users-request@dpdk.org >=20 > You can reach the person managing the list at > users-owner@dpdk.org >=20 > When replying, please edit your Subject line so it is more specific than = "Re: > Contents of users digest..." >=20 >=20 > Today's Topics: >=20 > 1. DPD-22.07 bind error=3D-19 (sysman@scaled.cloud) > 2. Re: skeleton code failing (Lokesh Chakka) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Thu, 25 Aug 2022 13:50:16 +0300 > From: sysman@scaled.cloud > To: users@dpdk.org > Subject: DPD-22.07 bind error=3D-19 > Message-ID: > Content-Type: text/plain; charset=3DUS-ASCII; format=3Dflowed >=20 > Hello All! >=20 > Can someone help me to resolved situation: >=20 > ubuntu 20 lts > dpdk 22-0 >=20 >=20 > root@noserve1:/home/user/Works/tootoo2# dpdk-devbind.py -s >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:05:00.0 'I211 Gigabit Network Connection 1539' if=3Denp5s0 drv=3Digb > unused=3Dvfio-pci,uio_pci_generic *Active* > 0000:06:00.0 'I211 Gigabit Network Connection 1539' if=3Denp6s0 drv=3Digb > unused=3Dvfio-pci,uio_pci_generic > 0000:07:00.0 'I211 Gigabit Network Connection 1539' if=3Denp7s0 drv=3Digb > unused=3Dvfio-pci,uio_pci_generic > 0000:08:00.0 'I211 Gigabit Network Connection 1539' if=3Denp8s0 drv=3Digb > unused=3Dvfio-pci,uio_pci_generic > 0000:09:00.0 'I211 Gigabit Network Connection 1539' if=3Denp9s0 drv=3Digb > unused=3Dvfio-pci,uio_pci_generic > 0000:0a:00.0 'I211 Gigabit Network Connection 1539' if=3Denp10s0 drv=3Dig= b > unused=3Dvfio-pci,uio_pci_generic >=20 > Other Network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:01:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Di40e,vfio-pci,uio_pci_generic > 0000:01:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Di40e,vfio-pci,uio_pci_generic > 0000:01:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Di40e,vfio-pci,uio_pci_generic > 0000:01:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Di40e,vfio-pci,uio_pci_generic >=20 >=20 > When i try to bind: >=20 >=20 > root@noserve1:/home/user/Works/tootoo2# dpdk-devbind.py -b i40e > 0000:01:00.0 > Error: bind failed for 0000:01:00.0 - Cannot bind to driver i40e: [Errno = 19] No > such device root@noserve1:/home/user/Works/tootoo2# dpdk-devbind.py > -b uio_pci_generic 0000:01:00.0 > Error: bind failed for 0000:01:00.0 - Cannot bind to driver > uio_pci_generic: [Errno 19] No such device >=20 >=20 >=20 > Thanks in advance! >=20 >=20 >=20 > ------------------------------ >=20 > Message: 2 > Date: Fri, 26 Aug 2022 10:05:22 +0530 > From: Lokesh Chakka > To: David Marchand > Cc: users > Subject: Re: skeleton code failing > Message-ID: > Bp8poVKVMnfsoSpNxwYEpEHiMHkjt8waM5g@mail.gmail.com> > Content-Type: text/plain; charset=3D"utf-8" >=20 > Hello, >=20 > As I am not able to get sufficient support from the intel support team or= from > the dpdk forum, the support team from intel asked me to raise a ticket in > Intel Premium Support. Can someone help me get registered there as it is > asking for an intel agent. >=20 > Thanks & Regards > -- > Lokesh Chakka. >=20 >=20 > On Wed, Jul 13, 2022 at 12:56 PM Lokesh Chakka < > lvenkatakumarchakka@gmail.com> wrote: >=20 > > Dear David, > > > > following is some more stuff i did > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > > $ sudo dpdk-devbind.py -b vfio-pci 83:00.0 $ sudo dpdk-devbind.py -b > > vfio-pci 83:00.1 $ sudo dpdk-devbind.py -b uio_pci_generic 83:00.0 > > 83:00.1 > > Error: Driver 'uio_pci_generic' is not loaded. > > $ sudo dpdk-devbind.py -b igb_uio 83:00.0 83:00.1 > > Error: Driver 'igb_uio' is not loaded. > > $ sudo dpdk-devbind.py -b vfio-pci 83:00.0 83:00.1 > > Notice: 0000:83:00.0 already bound to driver vfio-pci, skipping > > Notice: 0000:83:00.1 already bound to driver vfio-pci, skipping > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > > ~/Desktop/dpdk_examples/skeleton$ gcc main.c -g `pkg-config --cflags > > libdpdk --libs libdpdk` > > lokesh@lokesh-ProLiant-DL385- > Gen10:~/Desktop/dpdk_examples/skeleton$ > > sudo ./a.out > > EAL: Detected CPU lcores: 64 > > EAL: Detected NUMA nodes: 4 > > EAL: Detected shared linkage of DPDK > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Selected IOVA mode 'VA' > > EAL: No available 1048576 kB hugepages reported > > EAL: VFIO support initialized > > EAL: Using IOMMU type 1 (Type 1) > > EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:83:00.0 > > (socket 2) > > EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:83:00.1 > > (socket 2) > > TELEMETRY: No legacy callbacks, legacy socket not created Port 0 MAC: > > bc 97 e1 ce 84 f0 Port 1 MAC: bc 97 e1 ce 84 f1 > > > > WARNING: Too many lcores enabled. Only 1 used. > > WARNING, port 0 is on remote NUMA node to polling thread. > > Performance will not be optimal. > > WARNING, port 1 is on remote NUMA node to polling thread. > > Performance will not be optimal. > > > > Core 0 forwarding packets. [Ctrl+C to quit] ^C > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > > After a few seconds, I presses ctrl+c > > > > surprisingly cards are not showing up even in ifconfig. > > > > > > > > Thanks & Regards > > -- > > Lokesh Chakka. > > > > > > On Wed, Jul 13, 2022 at 12:43 PM Lokesh Chakka < > > lvenkatakumarchakka@gmail.com> wrote: > > > >> Dear David, > >> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> $ lspci | grep -i broadcom > >> 83:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508 > >> NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11) > >> 83:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508 > >> NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11) $ > lspci > >> -n -s 83:00.0 > >> 83:00.0 0200: 14e4:1750 (rev 11) > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> > >> I am compiling my code like this : > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> gcc main.c `pkg-config --cflags libdpdk --libs libdpdk` > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> > >> Hence it is statically linked code. > >> If I try > >> $ dpdk-pmdinfo.py ./a.out > >> > >> But I am not seeing any output > >> > >> > >> > >> Thanks & Regards > >> -- > >> Lokesh Chakka. > >> > >> > >> On Wed, Jul 13, 2022 at 12:22 PM David Marchand < > >> david.marchand@redhat.com> wrote: > >> > >>> On Wed, Jul 13, 2022 at 7:35 AM Lokesh Chakka > >>> wrote: > >>> > Would like to understand if I am missing something. I am new to > >>> > this > >>> platform. > >>> > rte_eth_dev_count_avail is returning zero. > >>> > OS is Ubuntu 22.04. DPDK is latest version. > >>> > Cards are being detected by Linux. Ifconfig is showing the cards up= . > >>> LED is also glowing. > >>> > >>> Indeed, DPDK provides a userspace driver for some NetXtreme nics > >>> (which is net/bnxt). > >>> This userspace driver does not rely on the bnxt Linux kernel driver. > >>> IOW, this card being detecting and working with the Linux kernel > >>> does not automatically mean that this nic can work with DPDK. > >>> > >>> We need more info on your nic, first. > >>> > >>> Can you share the pci id of this nic (like running lspci -n -s > >>> $pci_address)? > >>> It should be a 14e4:XXXX. > >>> > >>> Then you can check this XXXX against what your dpdk application > supports. > >>> > >>> If it is a statically linked application, you can run: > >>> $ dpdk-pmdinfo.py /path/to/your/application > >>> > >>> Else, if your application is dynamically linked against DPDK driver, > >>> you can run this command against the net/bnxt driver .so.22 (for > >>> 21.11 and later releases): > >>> $ dpdk-pmdinfo.py /path/to/your/dpdk/drivers/librte_net_bnxt.so.22 > >>> > >>> You should get a list of supported NetXtreme nics, like: > >>> > >>> [snipped some other drivers compiled in my application] PMD NAME: > >>> net_bnxt PMD HW SUPPORT: > >>> Broadcom Inc. and subsidiaries (14e4) : BCM5745X NetXtreme-E RDMA > >>> Virtual Function (1606) (All Subdevices) Broadcom Inc. and > >>> subsidiaries (14e4) : BCM5745X NetXtreme-E Ethernet Virtual Function > >>> (1609) (All Subdevices) Broadcom Inc. and subsidiaries (14e4) : > >>> BCM57454 NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb Ethernet (1614) > (All > >>> Subdevices) Broadcom Inc. and subsidiaries (14e4) : NetXtreme-E > >>> RDMA Virtual Function (16c1) (All Subdevices) Broadcom Inc. and > >>> subsidiaries (14e4) : NetXtreme-C Ethernet Virtual Function (16cb) > >>> (All Subdevices) [snipped the rest] > >>> > >>> I hope you can find a (XXXX) corresponding to your NIC. > >>> > >>> > >>> -- > >>> David Marchand > >>> > >>> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > s.dpdk.org%2Farchives%2Fusers%2Fattachments%2F20220826%2F09fcb44d > %2Fattachment- > 0001.htm&data=3D05%7C01%7Cvipin.varghese%40amd.com%7C3b2eb0ca > d85d4133795e08da8749bf40%7C3dd8961fe4884e608e11a82d994e183d%7C0 > %7C0%7C637971048067638133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC > 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000% > 7C%7C%7C&sdata=3DSfVPC2z%2BqkUkKTCfsY6A7FB02znexfvnKPSyKkk9 > MpA%3D&reserved=3D0> >=20 > End of users Digest, Vol 353, Issue 5 > *************************************