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 2CD50427E7; Thu, 30 Mar 2023 10:00:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C073F40E25; Thu, 30 Mar 2023 10:00:42 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 6B39240685 for ; Thu, 30 Mar 2023 10:00:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680163240; x=1711699240; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=1Yl/IfODqBg1V7M1AF3SMYrbxjugieqVTP+NLSDy4MU=; b=E00x6/QYKAZFOipQhsczyPK1rk8I1wexFriQuSo3kzTo9LRMrHzBr4FN G1KTjJl3Ln/kqIndH6HGBru3iaPocc4hlcHwA8jc0HAeWPj36oDvbmXmE KYFYAcutEa3J4PXGbugxRmWFiGXql/aUH5Rxu88ps/n/wqev41ZsHn2kz Ceba/kTgVpKZ5eIx8cK0LqcLuUpGppWfIxiQr1AxrHiubHGPfkIOE/fo6 fjWAWudd/TtdkzZR5gYE9GG8tm1uawtmPX3+OPMUjzrYuE2I3TpFjjlgE 0hkmHG4N26s6ewHoObr+6YIYGS7GYP3vntOJmAEBmr/0aQIuaFyrGHN/k A==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="403747717" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="403747717" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2023 01:00:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="634782642" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="634782642" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP; 30 Mar 2023 01:00:36 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 30 Mar 2023 01:00:36 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 30 Mar 2023 01:00:35 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 30 Mar 2023 01:00:35 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 30 Mar 2023 01:00:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XDXDk7gVRl8ARyh5xWgMaq189vnmgC9Bc/XG5KuO2GLXSIDzGy/G7y3qWCJBXNP9bw/dN7K6Zytp7ZIBs8i6EtaYVzabHKABkVvcXbQ2yzdt7hieZNnmh8/wpbm1mOQy2ycbmuleBjluAUV90RaXVKYjtMf87Uum+DbLH1Vva9BDawyaaRUT4vgBiXt5ONUlyyxQslBCdI1tlH8QpgFJGpo7YagQgWuUybsHpsNbwC5uSl2B1y0Nj/k/KoLdcV3AT633PyCPHOhr4+dxbTn22E2jo1cKDJ6qG078/EN9IlhmFwHQhLaOfOawKUpHB1sUvfzpK5V58cuO4X30umzt2Q== 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=PISXlqsjJNBCtkh9ovfwvXQErQrUGflh80FZ1AzmeKU=; b=Hc/m4MyCpJUiNj7XjXqjAR8A1pRLamZwmBuIYEi6gJgan2E6/OOW0/IxUIaORlQ6t+uk34HXJnhbS1bgtOTriz4MidJXIk9b75LiQUZJyrz9cStzAULSRszWQ9m6sKELYX1EM6dTsBG8cb+DU6pdDzTEdkvfU4JfQj5qjvewpjf+UqbFxLZbZFket+JqOItiSodum2ehhFaOOCWNH+gWYx+7JzSt2CpxYsOmkv+h0gA3V2ENM0PD+OmxL/BM7bA7nNaIb6Y2qXa4720FEU6wMxtou293Vt9avyeLlfQFmZHIAmrcE/VuO4TRsr3+WeKFWtKBU0cZGbWG8J0WtYfW8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH0PR11MB7587.namprd11.prod.outlook.com (2603:10b6:510:26d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.30; Thu, 30 Mar 2023 08:00:34 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::18d0:ac53:aa1d:d19c]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::18d0:ac53:aa1d:d19c%8]) with mapi id 15.20.6222.035; Thu, 30 Mar 2023 08:00:34 +0000 Date: Thu, 30 Mar 2023 09:00:28 +0100 From: Bruce Richardson To: Prashant Upadhyaya CC: Subject: Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP Message-ID: References: Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P123CA0345.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18d::8) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH0PR11MB7587:EE_ X-MS-Office365-Filtering-Correlation-Id: 68b0c054-0ecb-4e5a-1bd7-08db30f4d68e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 70WNgmSJ++Wj2O4YI1IiUgxxaDTNsATV6EtiXpn/68w7DGH3Ek16kgyH4nosXg4Dn17nNHP8yePCKM5MPNtcTRtQ6KgdekDAZyUsTgYQH1zFgHzi1b84HgwCIQ4yvnLHarqq1/oOIkFNwxD/hkFcBcQ5Lvf2CREv8e8sOCJGgqSq4nEPK1udDgZFm6A3qT+BIwMKqVkKnZ5kgx9g59uYMx3WbTQXTLvacNBoM1OGgPfaBJduFR2U8KsNHpITcUpnCaDJA+DWCrX92m8ct/YLk9ZGuIiNvip4fQB02rd/oB1MUrlO8yuJairqhLb9+YOdg3eU8oUbv9beOTrPq3LswyO3d9us7MFpejbOreRVyZ7obMUFeAj2y80Loa6++7daCuTlPVKL+/2LhHfEetikVzMy7wc9E0OSg8+0W1m6Te84Jm/50hETgppIlN0zp9Ggtm1ROuG1V0cbq0qx/qJeEKYhC8B1aoHshm9+o9IenYs7SHeubRRyboOVhYd5JukTrbKjlk4HRbQ9e2i0eSlUJeZpHxFJm0mx9aDUPgX4y0zWragKzwyvQYdE5wS/1Tfr X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(136003)(366004)(39860400002)(376002)(346002)(451199021)(6512007)(26005)(41300700001)(6506007)(6666004)(186003)(6486002)(83380400001)(478600001)(316002)(44832011)(38100700002)(66476007)(4326008)(66556008)(66946007)(6916009)(2906002)(8676002)(4744005)(86362001)(82960400001)(5660300002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?c213kh329DPrzHjN3EkVnBEJKrw77Rj8Ba16YDy0S85VPgjQeLHW9BdzyNUc?= =?us-ascii?Q?1bT9OqwpqWlLNtVTXClFScL6yYjeUNl+0RQ7pYCYCx9ntPPLrNvSJAYzANKB?= =?us-ascii?Q?rzqjhzzK7G5ZcwswJRId0kNVpBLP3mvcow5dIJiNOnFG+mYbwQ6RqUANYH4o?= =?us-ascii?Q?O5nAumNQpq+3EhEWj+xZLv7ZMEBhaAC1KN3rGe5srg+lr3o+WdPxULqogHRD?= =?us-ascii?Q?Eg7k81Ml7WMP6JAao4UmI359z8PAQexTBS9CWVIMF98le9KbyakfYd8AvYvx?= =?us-ascii?Q?8TEnq7oDkKxpHUkM7b7YkDDVQSvGsYKE6O1xs4g/rlermuUT3zAROXn1LWI5?= =?us-ascii?Q?yGkeqB0L0n52UGjguoLW0vNOtll/GdrkJeAs4x4Ixa8NsZsbinp6gJduIsMZ?= =?us-ascii?Q?9yDfov10eIgJmRgtk1hKFRTZAUP8qNC/4P0rlfdZI063//lXo3PXFdMbSlDw?= =?us-ascii?Q?tXOGvWa7mFYF8SeoQ1vRmE27ziN+nBu3yzeJJFl6FsgLwRhahZk3UPeMRgzT?= =?us-ascii?Q?nToigbM7VnnOJdxUlbfXdOjMZD3MwpslH1w0PZtjQZg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B++VJAkrNbUMaCndXi55TcL5fhBY6y8dRRciKUcL73of3P?= =?us-ascii?Q?fIH4cdE2QhvvRNSbs2lgaSKix57rLHfZD4eeo8fVlpbhlpK4FUnC7w+4EZWR?= =?us-ascii?Q?DSVZ8aIwUfAt82/XkZcdqIMzErcXXu0+dH0fo/vrLJG9mdYZeK+5hl1zStYS?= =?us-ascii?Q?MQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 68b0c054-0ecb-4e5a-1bd7-08db30f4d68e X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 08:00:33.4984 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tJdwUS0bLqmFQM4Q6Ysg3hAhszRVC2RkBIIQapbQmB+Iai3fqBmA8r97hBs0j+P039Y5/QfgkgTYUv/5RmMRsgA/Ae1v9l1ZtaN4pcWA8kQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7587 X-OriginatorOrg: intel.com 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 On Thu, Mar 30, 2023 at 10:30:24AM +0530, Prashant Upadhyaya wrote: > Hi, > > While trying to port some code to VPP (which uses DPDK as the backend > driver), I am running into a problem that calls to API's like > rte_timer_subsystem_init, rte_hash_create are failing while allocation > of memory. > > This is presumably because VPP inits the EAL with the following arguments -- > > -in-memory --no-telemetry --file-prefix vpp > > Is there is something that can be done eg. passing some more parms in > the EAL initialization which hopefully wouldn't break VPP but will > also be friendly to the RTE timer and hash functions too, that would > be great, so requesting some advice here. > Hi, can you provide some more details on what the errors are that you are receiving? Have you been able to dig a little deeper into what might be causing the memory failures? The above flags alone are unlikely to cause issues with hash or timer libraries, for example. /Bruce