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 0145FA00C5 for ; Thu, 14 Jul 2022 05:20:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7801341147; Thu, 14 Jul 2022 05:20:34 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2084.outbound.protection.outlook.com [40.107.92.84]) by mails.dpdk.org (Postfix) with ESMTP id 8D0ED41101 for ; Thu, 14 Jul 2022 05:20:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ARYJXL64MX7Dr1ucjhkaFZ1hn14IYshqXUW2DNbM8hg5N+znORFQaDq1/krf0ZZaAPbqXaRnt2AIjYu4uO1E0cvpTW6QRjtojFK06ZBmDwSXjOAxNKE5O0bhkX9vNLyPE3Q91CJFrSXRPMrkbEu8THERWPjBsE3RdCJ3ZhD/yXZPaIgy/sXCN+n5A/s+VGGhqOWF2ufreMug89ZgDj1IrIMNkWB3dHNSuzpcMpCoglOaQFK51kEh8hsE2lVaZBf1v7uq21QwEYbiUKwXmjf0miH1n2p79+Zcd/LHX788K+Bo+Tr0Hf/rGnHbPrSS4x8hab7rPaLUhYQd/pm2tRGFNw== 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=yrZIeMMenz/Vfouv3PsBC1lOdAIroyjlg0HORJh5FZI=; b=Br2QEAQE/w8o0RrVBz0MHyNpzs3/WpmVf3u8jn2LSsfyb5RznY+0VjSwPF2n4qOgxdf17FpmA4YXYzV5N0UyKmQ4EX60AMV1oC3CvDalPzKynL7D0k++KYUHcwY0cukw2yM+7Bctvl37pxdPSZArZWwEvSO6K0yjdWOrKNhHpQY2OMsjgMCE+eHyFM3GCfr9sz6qAF0W+3Kc8SiK7xJwbSGmuxNAyKPncWUcwSYWAeN+JNReF0RPV0Ra4NWnnZzpGYNLNtfRY+M9QAwECi6UlEEpY1OqqhS4q3AA/VwtYHE4QpknzANKtGjw75K7uMZE/RzhDgIZGGmKtniC+xU1hw== 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=yrZIeMMenz/Vfouv3PsBC1lOdAIroyjlg0HORJh5FZI=; b=a16UoO2GPy+IsJB4BiPL2tF/j2RLJgpOaeH2obvEpvk8b04LD2hPVwuciSt9MKQ8YNeuVovaNNT85tOGlDDX4oEboafCIi+E2S6FihIJlLAF0EZFOz1C07ZAuAjcB3MBqdO9i5Dy5fNiihPjAS8zNAOf99e0YXLYirHC2n7xakI= Received: from MN2PR12MB3085.namprd12.prod.outlook.com (2603:10b6:208:c5::29) by MW2PR12MB4666.namprd12.prod.outlook.com (2603:10b6:302:13::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Thu, 14 Jul 2022 03:20:29 +0000 Received: from MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::40f6:2711:14a1:ff16]) by MN2PR12MB3085.namprd12.prod.outlook.com ([fe80::40f6:2711:14a1:ff16%6]) with mapi id 15.20.5417.026; Thu, 14 Jul 2022 03:20:29 +0000 From: "Varghese, Vipin" To: "users@dpdk.org" CC: "Yigit, Ferruh" , "Tummala, Sivaprasad" Subject: Re: skeleton code failing (Lokesh Chakka) Thread-Topic: skeleton code failing (Lokesh Chakka) Thread-Index: AdiXMCt50IrimyoBRX62L5P+89NzOQ== Date: Thu, 14 Jul 2022 03:20:29 +0000 Message-ID: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-07-14T03:20:26Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=641e6cf5-92c8-4d57-b40c-c8a90fda2ab3; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1 msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_enabled: true msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_setdate: 2022-07-14T03:20:26Z msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_method: Standard msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_name: General msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_actionid: ffc00920-a393-483e-9a16-06aa3af75044 msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_contentbits: 0 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: e6f4e209-d45f-47bf-950c-08da6547cd80 x-ms-traffictypediagnostic: MW2PR12MB4666:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xz8vsl3N/Ykzp33sbHWo0ljNtMB5Ypt9qyugWr17IZFRN/zYfn18ILIxaZDN2AwqJqstxreEw/wc2HHf1iP0JE/7KRKaaMLMD1XOfoksS0Ry6kSgpW91H6dHKrHh/qcrUIiEG3n87k6BHdk3V5H/PPcijwC5k9XAxMHvKgMgjs0PVfF8wth05zysr3LeDkXCiiQ8H8G/L9yr5RiKjpjZ572eMx0qHeIRVHMNhZpm0uqusBdO7cexrcPeZ3pmMleGreMKGlEgHfQ0r0jU2qz8ffaZJNtLLp1T1TInAuJ1y+sDc3Ywzk/mhoZSfP4iX3Z6Ac6WmwIahfs0vCFAl3RlG7Oo97OhH2R2ZpfmOwaRPVkm26t166YUuHpuejo+LqNxlhQiCrxykv0uPrIFju+FpkHf9Yg/kiop/Lh+zjddzLxXDvAJo8IROUQwqIc7O1p469u7TqC9HAc/HVHyD1blHUIVFSjumJJpghYLap3Au5uSd5Rjo0EoiFsi2lhdZH6UwOqQQCmLzRhZSYb2kKSmV5dBjXthOd5EBN+GbKtlEgvfjGXDKgw5XN4nYru71rnpchLW8/kEsN9XhGRj0BaZnMpue5n/iUiCePQ8tl2I1zHf5Ak69DmvWvW+2nFuKHZ9dynuRRWcXcJZy+FvyKRepHqe6+gEaB0M5Fms0fSBHpbHynkQEZgGEKyP1xnmaZkwFOoahsRNCgY21LXzZfpv2NQgCC0WU0iayQWVGX7MFrpbz9G8LRAN1Hd06RyHb4JWudxATFe2Wr4HiYibaC+gCQ== 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)(136003)(376002)(366004)(396003)(39860400002)(122000001)(2906002)(33656002)(38100700002)(83380400001)(5660300002)(55016003)(8936002)(7696005)(19627235002)(53546011)(86362001)(55236004)(54906003)(316002)(52536014)(66946007)(66556008)(66476007)(4326008)(8676002)(186003)(64756008)(66446008)(38070700005)(41300700001)(6916009)(76116006)(26005)(6506007)(966005)(9686003)(71200400001)(45080400002)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sb4axovVF31KJqrwosm6oRMCrJ6FWrjWDGHQFP5FGGDAR71lElFeAxPbo/en?= =?us-ascii?Q?YvHKGjKNAiITq0qa1c9ISFUh7VNoWK4fyXlQ42omBJv1qAKiZgs2Qbfzthf/?= =?us-ascii?Q?VPx93NdSptDgySPdUQZ/BoWT3vIFcGIdgMPtKVlzsGkOtVpvnwj7Un6uyoXm?= =?us-ascii?Q?aTzjvZfWhCBXfaipHt2zDpbSk6NjMXYYKZ0hnSvYgqOfT6i4k2Q2nQBOvX0U?= =?us-ascii?Q?4Pccjeu1+9lS10oKgcQscaRpguoR7xYGMBoBCRGBvwyKbFtNnbItS95abqNf?= =?us-ascii?Q?XVygNUHywZXeJE9rwftNcn0bCJZquObYJy7t98RNqay/y2gBRJYmmsrV+Cnm?= =?us-ascii?Q?5rh0bQa2JRZnbTaypmS/ficNJTPh7LN3pS9G4ZfmsMNvIz4/AMdi2Pds7i8w?= =?us-ascii?Q?Obxszw54f2xfzZLgaGHiRORs5JEwljnpwk9OTM03QMOHhKa27Pgu5vLUCrEk?= =?us-ascii?Q?1WAhZ3QdkjDGqL9VB158r+tiWGVnlnEkl5kCGc+vfxYrfFEh3y4l23QHuuu2?= =?us-ascii?Q?2A7Wf7+tnpz8qM0mF8feoPqeUM0Ve1NsuqkWvNWlndRih3T1o/KdWaijn13i?= =?us-ascii?Q?FG4xoiSjqnrfV6NrgxM5kFJLiM9N2NJBM6frWOFbyWqzai0VH4zvbk39NtYK?= =?us-ascii?Q?twMe62zUPo+gyIgICXE6twd0LKdZYqNsMoU5Is6usg4DH7CS9sE/LiYepxkj?= =?us-ascii?Q?tJpJqow4esF9C7Pw/N66PydCzytRa+pGZjjlasoy+XGH0epqBHClMXLOicEk?= =?us-ascii?Q?7IiHprGuUqZO+799pC+riFslaG5FTP0srcwCGsxonZ6y+hBfxc7tgBDUm9d7?= =?us-ascii?Q?XVBCMTQ3ujs2/BlxiikYtI8+l8LU7Ma4gchIeDoGsWPNCgEnBGKKVMXMv/Lj?= =?us-ascii?Q?rdX5j9KxaSVbWMDW11dgq012VbFeK9hCEECK6683k7DJHiqpsjBOUkxWPITd?= =?us-ascii?Q?gTpRxf53IHI4Vdf4UkyM3tocPkHJsvVG9NU0muKY0eEiuLtLNRoUow2QVPZB?= =?us-ascii?Q?giODdpxKI1IgO/UpgM34SThPIg6EcfUeCT0z1wu2W8RlJ0sRy6rrFbJpmfVq?= =?us-ascii?Q?dPaORGWJWc8G//TNh8bYDK59QqCQog9/neS7s16LI/2DnyME9Urt5tswFvMU?= =?us-ascii?Q?HkRL7FpvWiD5hjhIdQ5egmrRrcfwzFiJ3/N9pACXC+DR2shquaAlX/mKto21?= =?us-ascii?Q?/Bf0V0oL3aFi3DRQvgJzj1UMtX4kdKPdqK5UNL2GkycXs0ArTD+vFqMJSlH+?= =?us-ascii?Q?arlmfKwMvICdiV2X/BAJwb0Qo2PYKtWkMG3cgS/lNLeMXPY213lJ0tqcykPp?= =?us-ascii?Q?v7f33XbU0z/Ug0sNdYQEKBevVV4F1FMY0zTN79ysIZOXS+HdZJTUVs1Jb3CM?= =?us-ascii?Q?2LRGeW2XXfTiUTKSFvy9zkwaD238vGmod503SOji9roaWtAmo9Zt3lDoeCn1?= =?us-ascii?Q?t70Y7od8dzYQGmJXxa7nh1YXeGan+/K4xjyvxznfeHEcjAa496pLAniYnT9i?= =?us-ascii?Q?65ebRnE4vVAGEfThKQxnAZLdJIKv+pTeQt+YGueBKC4wustWeFQm5MKOBm/H?= =?us-ascii?Q?xGHBF+qQFFy9XscBnzN8JiEDmamUiELSRoj5I/Zq?= 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: e6f4e209-d45f-47bf-950c-08da6547cd80 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2022 03:20:29.0560 (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: xrUjrQaHh58ZfPXeadkgZbB+j4LS73usI+Rx/t9I/tyoEylfuqmbGocbn/CuVCHa40pVubvB7bpyBYd1iQrjwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB4666 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 [AMD Official Use Only - General] Based on the compilation command shared it looks like you are using the bui= ld in shared library mode ` gcc main.c -g `pkg-config --cflags libdpdk --li= bs libdpdk` Hence in EAL PCIe probe, the BNXT PMD is not triggered to identify the NIC.= =20 Solutions for these can be 1. Build with static library ` gcc main.c -g `pkg-config --cflags libdpdk -= -libs --static libdpdk` 2. pass the bxnt_en PMD shared library to eal args by ` sudo ./a.out -l 1 -= d librte_net_bnxt.so` Can you try any of the above ? > -----Original Message----- > From: users-request@dpdk.org > Sent: Wednesday, July 13, 2022 3:30 PM > To: users@dpdk.org > Subject: users Digest, Vol 347, Issue 6 >=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%2Fmails= .dp > dk.org%2Flistinfo%2Fusers&data=3D05%7C01%7Cvipin.varghese%40amd.co > m%7C55465d0d4faa4cd8496a08da64b674f4%7C3dd8961fe4884e608e11a82d9 > 94e183d%7C0%7C0%7C637933032067208770%7CUnknown%7CTWFpbGZsb3d8 > eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D > %7C3000%7C%7C%7C&sdata=3D6JHjf2Fu%2BkQ56CF9xTZvBS%2Bh8Uomlqv > E9dq9M7VefiU%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. Re: skeleton code failing (Lokesh Chakka) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Wed, 13 Jul 2022 12:56:37 +0530 > From: Lokesh Chakka > To: David Marchand > Cc: users > Subject: Re: skeleton code failing > Message-ID: > Nm_pwq59fY9QVNH+GBgwRg@mail.gmail.com> > Content-Type: text/plain; charset=3D"utf-8" >=20 > Dear David, >=20 > 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 libd= pdk > --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 >=20 > 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. >=20 > 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 >=20 > surprisingly cards are not showing up even in ifconfig. >=20 >=20 >=20 > Thanks & Regards > -- > Lokesh Chakka. >=20 >=20 > On Wed, Jul 13, 2022 at 12:43 PM Lokesh Chakka < > lvenkatakumarchakka@gmail.com> wrote: >=20 > > 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 > > > > 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 suppor= ts. > >> > >> 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: > dk.org%2Farchives%2Fusers%2Fattachments%2F20220713%2Fa362f7fe%2Fatta > chment- > 0001.htm&data=3D05%7C01%7Cvipin.varghese%40amd.com%7C55465d0d4f > aa4cd8496a08da64b674f4%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C > 0%7C637933032067208770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA > wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C > %7C&sdata=3DjXnaf1qrCA5VSCMyrPPc5S5WYsHveR1tNBL4lczkGVE%3D&am > p;reserved=3D0> >=20 > End of users Digest, Vol 347, Issue 6 > *************************************