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 AC87345E33; Thu, 5 Dec 2024 00:05:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF8B1402AF; Thu, 5 Dec 2024 00:05:05 +0100 (CET) Received: from mx0a-00103a01.pphosted.com (mx0b-00103a01.pphosted.com [67.231.152.227]) by mails.dpdk.org (Postfix) with ESMTP id 199FD4029B for ; Thu, 5 Dec 2024 00:05:03 +0100 (CET) Received: from pps.filterd (m0002317.ppops.net [127.0.0.1]) by mx0b-00103a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B4KTRPv011504; Wed, 4 Dec 2024 18:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=06252019; bh=w /8aTVBNyXG2LC/mghceD8slyGJD/GyHjb+4MweDYQs=; b=K4lgjqNv/llBe8J9C uAzY3RyPUiVG7K+2hbCupfoV8nJNvogkYrN0lAqtCj1RN9KpgwSuOo0AG7CNNAVq mdwdhBl1WJwvZHOLuxMwYUgtsXH7M8e+Zqu3L4lYAamwlEP9WqnQfIMirObUhSht 5A7W6a1NVk7+3pKSyIGkMvBIAmc2xwxzNPxWiDbR76keXORgZoAcLEMkO8Znt+Pd eGNUStII1SNyrW67G7bnjguwkVvBknJrVfYLfDwFwW2qLuT7ODtmyXiyqztFTcKe BvbNdR1mmHSBTdPVCoHGPMi0mOk5tzmlcCh/YQsOEZv/lSWoDZjOD8+qkBgoXj+N J2sAw== Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by mx0b-00103a01.pphosted.com (PPS) with ESMTPS id 43ax5s89xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Dec 2024 18:05:03 -0500 (EST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZIqr/wmmvonggJSL22N6GEt0HXv7DJnXxLGy5KCFKrqTeoIGi7J15EDnRCrpk/WB86DJ6lnZ0tGdc33m9I1trokG1/InCjouUawYnTltTlhUha0BKeczifXotkyVk2aZ7crz5r5E3tEja/KhypnDTdgxlOsdfWaH15wgxZdn3aS38dAQbjdGM/9UEMOCbMDkfZXdCyBzNTP2k2llFcMcJZtTxyysds6ItdxjEzjc9Jbui51EC79fmxXjZShOtjXX7bIxR/Pk85AFkDJOIR1Xcj12kpy3tKGHXi01uNdKfS9cHGQAys9wft+Gm+rCd+neWo7P43UhfKMxlKro1wlE6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=w/8aTVBNyXG2LC/mghceD8slyGJD/GyHjb+4MweDYQs=; b=zPR0QbAljQkK/vHvqTGpbZt4KdlUlrvu/cNaFSajAQ56sUaUmx0F09+iqfg+oXsR37qYHcDFmVasWn0JRtA+Pjnvzi9yA/D6Asg8LMYmnUdJ4u23Mk0wPCRUMRsWjf4LDr0NpkK2s9VeI7rGU+2KXiH3QgDyBOqRR0VF5pz657dYkIXgYEXmqXdC5UNLWp8vULjMRasahi8SAF6OZzbg/8952DMJY6IfjYjbuaS87wypVYugP3g1z+6h/xlCMZ/cox93pJC+GFDqXCkvBzbK6r4gN5LzvYLYc+R/IrCCVEMB3TqpREvgBxAFLbFonhPGpX9XgwgkVfhRy4yk6s6T2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ciena.com; dmarc=pass action=none header.from=ciena.com; dkim=pass header.d=ciena.com; arc=none Received: from DM6PR04MB6761.namprd04.prod.outlook.com (2603:10b6:5:243::9) by BN0PR04MB8191.namprd04.prod.outlook.com (2603:10b6:408:15f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.11; Wed, 4 Dec 2024 23:05:00 +0000 Received: from DM6PR04MB6761.namprd04.prod.outlook.com ([fe80::97f4:877f:60b:2c00]) by DM6PR04MB6761.namprd04.prod.outlook.com ([fe80::97f4:877f:60b:2c00%5]) with mapi id 15.20.8230.010; Wed, 4 Dec 2024 23:05:00 +0000 From: "Alipour, Mehrdad" To: Dmitry Kozlyuk CC: "dev@dpdk.org" Subject: RE: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge Thread-Topic: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge Thread-Index: AdtFt9A0b7xYH0DuQnatSKEoZGhMAwA1nW6AAARaeyA= Date: Wed, 4 Dec 2024 23:05:00 +0000 Message-ID: References: <20241204235121.2ad20665@sovereign> In-Reply-To: <20241204235121.2ad20665@sovereign> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR04MB6761:EE_|BN0PR04MB8191:EE_ x-ms-office365-filtering-correlation-id: e0556288-4164-457a-c1dc-08dd14b81429 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?GaefChAgoq8vV1oi+44YBbukKunEV4WHqptIMf05thbeKaP8Js9axLtEVIRk?= =?us-ascii?Q?t+V/fiEMlJkF5F21cXB7Zvcg8+4Cbj9P/QND0bbnhRUc7fxRZ6d7SqcZqv4V?= =?us-ascii?Q?21pze1cwY68KRRAn3OgRsxyH/KdsEO7t3nfCL16Ae6o1pdOFdLye7dHro9+P?=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Qxih8hcfVL9FgDTvUnSmVRD4R0ppiAhz1nJ?= =?us-ascii?Q?S9iwX2JBBnPAzI+K7Br02H4WZKGPnQ8FSnMkneGg3Av9SC/Igkt6YYzN1RLJ?= =?us-ascii?Q?LmNR6AGTr43w2AeOAGzU58H80bjhHgXLiRxzPZnaJRKlb7qQnkjXDPJc1Lz9?= =?us-ascii?Q?ks6jRZ5vhumj50WHiQXIvfL5WqWAa7cNagZod9k/KV31W4sdp+O4X4zk0egf?= =?us-ascii?Q?Er7tNKb2y/TDMO+Zog0tuhoGaEmNrgQpeOmT2BzxkHGGmg/PiNVFBW5mSWLN?= =?us-ascii?Q?3kKBR+/1DD0+dx+jJoCkR27NmlhM56gCXcXaEYlI7/xwGtFvU823QzO/Jo6B?= =?us-ascii?Q?kFzFHeoSDRGEqPjU4vY/oT1fNCkyvRSLYwTnEwPOnGPmmWO94A=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB6761.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Gr7XPo+lsQqla4TZ3UA2J+49P59ncUvUJDUQJ7yI+ntnqdmMx7G/NNVlh6oU?= =?us-ascii?Q?eEAqEMMTVbggvRjNM9QZnHeCYVTNpwE+nArCrnMXYBSf2l6Ul1Nc1wn/l7CY?= =?us-ascii?Q?RJs452bLn1ywMgsUNbX2ZYcQh0p/B0lONkFme5VrtNvIX6nRkdMex6kxU0QP?= =?us-ascii?Q?msPWN8bsLh2Ow60b5r2GRklHAqmL1MbVEdFJIo6iLDwA3R5d8JLctxY76HAV?= =?us-ascii?Q?ud0wZPxIrXVuvjieV0QckCRCQuW7nX/apnG3hKe6xp656PBnSP65ae3+knK9?= =?us-ascii?Q?Gbt9E6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44qCMYncz9ENZ4avG2?= =?us-ascii?Q?psp9dVSx5S8fapul6YQ5qsPme3g5yxtCWZzN/zjT5XN/2VJxOorP4g54fIOr?= =?us-ascii?Q?lz4HMCCAk3ckpi3Js6YRFhWuydSORLS/8EOj3TUno4sv244qYchGADqxv+z4?= =?us-ascii?Q?/tYynVaqWpNg3faivUnRbhOnR4HDZlxCa8H0clbR7WzTfeWHnspXuZfUmg1J?= =?us-ascii?Q?JnlSfirB50Hh8NPxWW7HP+jcjqfuZSQN1wjCErXgYNK/zFomcD7lMyD/QVH8?= =?us-ascii?Q?vXlbNZTUX3VrqENzCMVx6eEC9fhV8SjGFmKcw5I4M7fGrd/YCdHOlylVkDzw?= =?us-ascii?Q?UFRzVEp+V4v7wqOlRfrzAJ6+6C32sfm4+U+W45Y/zA518wAYF8vkdsoQ81Qq?= =?us-ascii?Q?hLDJghekmJrLZ2Zu4lxbB7NX25O+KBwIs8xhAej3?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB6761.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0556288-4164-457a-c1dc-08dd14b81429 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2024 23:05:00.1188 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P+4m+g+b/cNjaCDUUA8jGT9sjB7zTZtI2R9VmS1JTeaS9RBld3aMqz457oOTUIvrUg5CQAdyCFNXp3u8vv2Iug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR04MB8191 X-Proofpoint-ORIG-GUID: 2tKPL5ShA0nKAAcSxMWKyf6v4k0EYNXa X-Proofpoint-GUID: 2tKPL5ShA0nKAAcSxMWKyf6v4k0EYNXa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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 Hi Dmitry, Your observation is good! But I have the /usr/lib/dpdk/pmds-24.0 in the LD_LIBRARY_PATH but since the= host does not have a match glibc, I have to run it with ld-linux-x86-64.so= .2 specifying LD_LIBRARY_PATH with equivalent --library-path. Here is the entire cmd I use to run testpmd: sudo /lib/ld-linux-x86-64.so.2 --library-path /lib:/usr/lib:/usr/lib/dpdk:/= usr/lib/dpdk/pmds-24.0:/ciena/lib /usr/bin/dpdk-testpmd -c 000F -n 2 --log-= level=3Deal,8 --no-huge -m 4095 --no-pci -- -i --nb-cores=3D2 --total-num-m= bufs=3D2048 Despite the /lib/dpdk/pmds-24.0 libs being visible, the rte_eal_init does n= ot load any of these shared libs while it does when I run it inside the VM. Would appreciate if you can think of any reasons rte_eal_init does not trig= ger loading those shared libs in the host run instance. Regards, Mehrdad -----Original Message----- From: Dmitry Kozlyuk =20 Sent: December 4, 2024 3:51 PM To: Alipour, Mehrdad Cc: dev@dpdk.org Subject: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge Hi Alipour, It looks suspicious that on the host you don't see logs about loaded driver= s, like these ones that you see inside the VM: > 2024-12-03 19:32:36.642042 EAL: open shared lib=20 > /usr/lib/dpdk/pmds-24.0/librte_net_fm10k.so.24.0 > 2024-12-03 19:32:36.642266 EAL: pmd.net.fm10k.init log level changed=20 > from disabled to notice > 2024-12-03 19:32:36.642279 EAL: pmd.net.fm10k.driver log level=20 > changed from disabled to notice > 2024-12-03 19:32:36.642285 EAL: open shared lib=20 > /usr/lib/dpdk/pmds-24.0/librte_net_qdma.so.24.0 > 2024-12-03 19:32:36.642581 EAL: open shared lib=20 > /usr/lib/dpdk/pmds-24.0/librte_net_vhost.so > 2024-12-03 19:32:36.643201 EAL: lib.dmadev log level changed from=20 > disabled to info > 2024-12-03 19:32:36.643264 EAL: Registered [vdpa] device class. Can it be that DPDK on the host does not see shared libraries, e.g. it is n= ot installed in the system and LD_LIBRARY_PATH is not set to shared library= location? Then mempool driver would just not be loaded to create a mempool.