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 E259DA0A0C; Thu, 3 Jun 2021 18:11:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7CEC410E3; Thu, 3 Jun 2021 18:11:11 +0200 (CEST) Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) by mails.dpdk.org (Postfix) with ESMTP id 9C2F640041 for ; Tue, 1 Jun 2021 16:40:35 +0200 (CEST) Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 151Ee1fE112911; Tue, 1 Jun 2021 14:40:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=corp-2020-01-29; bh=r1OuJWSa2lIgHBLDqMzCns/61p3KjskMqYBcJQIb5zw=; b=CfiQ9/HtCWLKNFHdo8jgfZGpgY4EBpQyGyz5Hnefy1f9gQpCtLmzazXG+rbqrdHg46f5 ULzmPSWUsYuYSaYtvo1OT5yYLAVDdJKVaHLFGz4UuinzaCBj9h9cFyvzyDRsIsBv5n8x U6SjGBAR4b+MaaliCvx/5VknIHFohc//YNhpUuhjCbYhmG3Lewt5OnymoiGO6mlwVPYU StiChXAp8phdyD5/DrK0SAstyIYSxTiBwUSmO0sMB0C1/IV+/rYp12EEtvF0Q8AfS7hI +2g5cSfEZZe9qSDt6qGTeAmjvkZJb83UFs+k848A48+iUXJM0qycffXtfhc0FHtTPjij kw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 38ue8pdqj8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Jun 2021 14:40:34 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 151EaS44138081; Tue, 1 Jun 2021 14:40:33 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2173.outbound.protection.outlook.com [104.47.58.173]) by aserp3030.oracle.com with ESMTP id 38ubnd8067-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Jun 2021 14:40:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hnVbHQkxPsDgrRUrhYHgyyR4tFaZyB0fmTiTYDg2P2l0reR5qoQLPPl7qP5bAfTrQVsDJZYJE4rqFMu3ViGEUeFKFvahqX6q+CSHwNObosct3R05862PCA1zGGLWybZZcv1UdhzXU4WZ2V6fX2+9xSA3Vrx5AOEpvEE7TTEJRuRdwGwUx3zvdtKUaWiU1bhSxyE+0+Z2/LtclBuNU2Hpp8bMtMhiC0YlUtavAmxqelNntCIsDBFumwXz0ScnHwLjwZ8uSV5H31B3dFELEZEYibO61CR2US7e7yVmLUQmsAwuqFcmwoOfajm4uEPENwYRnJsHfVLkdxv2/GS3WrDweQ== 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-SenderADCheck; bh=r1OuJWSa2lIgHBLDqMzCns/61p3KjskMqYBcJQIb5zw=; b=hiUv+59UMUKAz42uQeAHQIBWtZClotfK1E+ilBY7BTEHY6gHqal6RhGMGWfnmVTX4AfzvkKCm0Todgy2nhYmpLC4Kn1NRzFJKY5d7Le3z6ZsNhcEct8poulAGLuLdFKMmgrbvB72dxk9X4p6PGbqpKqWVcgeQZpVRi+4j7jAwclAj9tgMCHC2YEiJ+YrxxEVFjoutVVyWNVwkTuy/1jGvyDxIkCrMC+S6tXKnSpj9OLRyrrf/ZxCpwCBXcxwAuNxX+kmrYXAJm07u5plINU4OSp6p2w1LR9bTM9ux4z3E5D3kNw3AJZ+LDuz+fpRAykZnuihZBjK+ZjEh+6aPcTwzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r1OuJWSa2lIgHBLDqMzCns/61p3KjskMqYBcJQIb5zw=; b=MBfmiKyU3PgoQrd2579LAaZH0rpZQ6qqeqgxMYKIG3wQIq+WGtuUairIDsIQvyWa167VA9u0+VZjlO8y8gvg9pLc/PMJrL46Rfc3ISws/nP0o3Y2L8Ykoa/IiylGu5d55DBJ+Y4rv7q+eQLkG6UZRRcT5aZMeIP1JAgmlkdnb2I= Received: from BLAPR10MB5122.namprd10.prod.outlook.com (2603:10b6:208:328::11) by MN2PR10MB3709.namprd10.prod.outlook.com (2603:10b6:208:10e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.26; Tue, 1 Jun 2021 14:40:28 +0000 Received: from BLAPR10MB5122.namprd10.prod.outlook.com ([fe80::7504:2f15:9cca:1472]) by BLAPR10MB5122.namprd10.prod.outlook.com ([fe80::7504:2f15:9cca:1472%3]) with mapi id 15.20.4173.030; Tue, 1 Jun 2021 14:40:28 +0000 From: Raunak Laddha To: Bruce Richardson CC: "dev@dpdk.org" , Mike Banatt Thread-Topic: [External] : Re: [dpdk-dev] Problem while running dpdk Thread-Index: AQHXU0Qxb9Ryz4oF50yUnMDUEXXkzqr+0oyAgABuro0= Date: Tue, 1 Jun 2021 14:40:27 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [137.254.7.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7b27fa05-3869-4d31-d42f-08d9250b3301 x-ms-traffictypediagnostic: MN2PR10MB3709: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ExLrxpJ/Tip+GT5kkcwGO7wuTi38Fe+yHNKNe46gw360XEB/tibZLO3NSYaY9wSXAeHdrxzzIvM8CBeUUKlQb9bSS4B5o5P+YSEWVO1dvYyFkGRMdKkNUZleVZxvN5TDf4zmtPAQ3YBfnnAbHtRJH/G96PnlctzRckb71nDyLGgU9p9mslne5y79axgeXX8IZAGEOg7DwFdsvi9IV718seTUREOSVrFKr6lIEwNyoZxddleMOSUgp1UrfxBkYB0zSsfiAYAzLp1shX7Hs1OZeboCdIYLIyIMQgQESz771WtV3xYh3VDapPFXhmMFdSWPYbyjIc6xezL9XUPwMhM7LG8q+IJdJp6Nee/6o+OH7borCnbxW9zpvht3pB3uOoyTKoH22aNGg3hwZAG9Mm0iOnaBAEik0FYmvqJdAayFkQbbr1+8WFwNRcxUCUw/zqc3tDkaAJU5x3d3fSV53X57h9mliIQ9PW6t3JfLBBP4yjvAvC/JKOLxk3mWghXPvagJeGzcu5UaWpO+IlGEUszWFdCMuP1pdQuDCO6uCFFXyR6EuBMMmQ/oCgCGZu5Md7ilEZYtcXj9bCoC9D2UrcpkbrKFo25/rm1nFyY9B/hXu/w= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BLAPR10MB5122.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(136003)(366004)(39860400002)(376002)(346002)(76116006)(66946007)(107886003)(4326008)(53546011)(8676002)(5660300002)(7696005)(122000001)(52536014)(83380400001)(6916009)(19627405001)(2906002)(64756008)(316002)(478600001)(6506007)(66476007)(55016002)(33656002)(54906003)(86362001)(71200400001)(9686003)(26005)(38100700002)(186003)(66556008)(44832011)(66446008)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?FJB0YF+nZTl9rZBa9LXDlpUXQqFA1n6FRUqnq3WJ60sKQ9kAAL9a9pMlpRbU?= =?us-ascii?Q?MRhRo5YjcC5RmAvywmydP89i02S4Fkob842KSNaihzQnqOq9jadVlHcqf8sx?= =?us-ascii?Q?yH7SBW940wsJxUR7IzbyeNYbujf+uWkeTtaVipgcJWh4q7oNDgnulYzD1kou?= =?us-ascii?Q?djvfejMM0ZA8b8GtTC4B5tRQOY5UY0qMIHMHpHn8/BIXvDl18b7rT11AJ9QG?= =?us-ascii?Q?f2B5H3u42x/Gn7UD8YGLJZLnN30Seozov3B1JCyM/al4RY1oY/XxhteWqVO2?= =?us-ascii?Q?U8/6UiobLcpnz6aTn+GMdrfOjwvzpoWpvtSwxvkpKeJ4mLUGcyGdeKgE3I4d?= =?us-ascii?Q?oVAcPmbhS3nTbmrhjF1PlmbQ+P6bE0TTZbqc0ymq/kbtzhPvPcwsstwtAnnw?= =?us-ascii?Q?Evp3jTiQHBhTFCTqeHw5wtznPpvRiMHx9HgIopVWA1+UhultmqCWQ4SCjqTT?= =?us-ascii?Q?3tt10enud1IKweeOc3U9Sx/PnuQjjtDnaTwZcxoO0rWwAcKNUM/BUFtLaKTD?= =?us-ascii?Q?dagwfMJNBPLc3pvhcZAznMMaIH9WhY/p7CBJw1OjEX3J8GnIRUP/7Cfa80Bk?= =?us-ascii?Q?yPigIyNiDLWxs2JOiRBGqvREnL8vMgYTEJ3/l6efkL71JzWcJhvjRhOkZXL1?= =?us-ascii?Q?TPbJYNfE0bQfhnzYQz3Kka55FMf2byIiDy9ja4cEugr+QyijvV35VdntiFey?= =?us-ascii?Q?XMz0VEmvRA+oQuUc7bmbjVl5AbVEaqVgKOQVJ72ekCWc898OkwBER28VqRzO?= =?us-ascii?Q?hGvGG5Khz+I0oDl8Dn02z3vNUgjwOE+/UyK/s+r+boSgASbIaJWWITh1MBO+?= =?us-ascii?Q?dxq74DbiBFT3GxXTdLhq8MvVL4tBaFkXLEhYdjoJM9k0G8MHK+aD3Ux1wuq9?= =?us-ascii?Q?JszOGybB5qU4q/rYL/mv2LrjQAzqay7rsiXsUdKIYkdTDRAzOU8ip+E0Vl4B?= =?us-ascii?Q?TttHC+gU2RzGwAOlkIC5Yt31etErbWtN8yO+/Ov5vUjq9xE6Wu0pketgCo2g?= =?us-ascii?Q?ZvgIgRr2f9TIlI8m+Q/fZtS7B/vWxHBeFdWin/1t1xlFmfP22UgivFqE9+qz?= =?us-ascii?Q?8MKIQvL0jU344nVgIZBwlVBBVkUey3xQDXeouOX3QAVwWhTbeMqglfLi6w40?= =?us-ascii?Q?TXf+4cbK6Xer6c8ydIv2BldFv3vv0Q6xq+XRe3uUIs+CVqZ+QskhM1VLdQMB?= =?us-ascii?Q?EfMKupCzbv2hocofI/nIaNAH7cczL1fJYq2V5W822zZriJTS0c8f0jJSD/bD?= =?us-ascii?Q?7H7FlTW0WBewk5m9zNF1wRGY+ZE7cpNWjjfPYpWlj/9dYNfT7xRkwFiwD2ub?= =?us-ascii?Q?Di0=3D?= MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BLAPR10MB5122.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b27fa05-3869-4d31-d42f-08d9250b3301 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2021 14:40:27.9196 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0C7joy2xlt1UVg5dn/9X4yG0I3/5xpiDYBVnCyzWM3KMeXn0UnD+SCUImeFcLWwJtaClq+LU8Ms9/v8tRxkzROfuC7gjBBrThn9AOPy50i4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB3709 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10002 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106010099 X-Proofpoint-GUID: ZntrOqP4n0jLphVIWy-rFC06tr70--eX X-Proofpoint-ORIG-GUID: ZntrOqP4n0jLphVIWy-rFC06tr70--eX X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10002 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 impostorscore=0 malwarescore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 clxscore=1011 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106010099 X-Mailman-Approved-At: Thu, 03 Jun 2021 18:11:09 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [External] : Re: Problem while running dpdk 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 Bruce, Thank you for giving solution to my problem. I will try it and let you know= if it works or not. Thanks, Raunak ________________________________ From: Bruce Richardson Sent: Tuesday, June 1, 2021 4:03 AM To: Raunak Laddha Cc: dev@dpdk.org ; Mike Banatt Subject: [External] : Re: [dpdk-dev] Problem while running dpdk On Thu, May 27, 2021 at 10:05:39PM +0000, Raunak Laddha wrote: > Hello, > I am using dpdk 20.11.1 . I tried to use your resource to build a custom = application which uses dpdk. I compiled my app using meson and makefile to = see if I get different result for my issue. I have used pkg-config to load = cflags and ldflags in my application and linking it as a static library. > Problem I am facing: > No buses are loaded. I can see that RTE_INIT_PRIO is used as constructor = to load the buses. But in my application, buses are not loaded. > I tried to run the dpdk app named test-pipeline to check if it works and = it does in that case. But same application with my makefile or meson file d= oes not work. > First call in my program is rte_eal_init(argc, argv); (the init call of d= pdk). > My app gets compiles. Also verified cflags and ldflags to check if dpdk f= lags are added. > My assumption is whatever RTE_INIT_PRIO is loading, it gets loaded correc= tly in dpdk test-pipeline app but not in my custom app. > Is there any config I am missing? > I have attached the makefile and meson file. > > Thanks, > Raunak Hi Raunak, I'm afraid that the attachments got stripped on the email. To help resolve the problem you encountered, the first thing to check would be the actual link-command used when linking your app. Check that the drivers are being linked into the static binary appropriately. Also, depending on the Linux distro in use, some versions of pkg-config have a problem with reordering the linker flags, so I'd recommend installing and using pkgconf package rather than pkg-config to remove this as a source of error. Regards, /Bruce