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 F3E00A0C43; Tue, 16 Nov 2021 19:12:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1920407FF; Tue, 16 Nov 2021 19:12:06 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 09CAA40141 for ; Tue, 16 Nov 2021 19:12:04 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10170"; a="257540463" X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="257540463" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2021 10:11:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="645554466" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga001.fm.intel.com with ESMTP; 16 Nov 2021 10:11:12 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 16 Nov 2021 10:11:12 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 16 Nov 2021 10:11:11 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2242.12 via Frontend Transport; Tue, 16 Nov 2021 10:11:11 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 16 Nov 2021 10:11:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KCnP4301qeD+pMrSsZYvuXcXp7NCjHdS0JDrBZTWtjXPLzQsI37Mr1r/JSStXJS8K4B8KPqMZvGAzMA6s9Mrj1EQQ468JOS7PBp5JlqqDthevPIF/VVFpes2ubnlJW7KJkNxPOBYnvuzLaHdVji3Y4EZtaEvmLpviZpgvDT1UNjLuBnYI7hBjOzH1T79sf6Cg8A1AIDkzJ+NVyFSrGqPdByTy4rUSJtorobvwE3ypWz/seH9hIhxw4+PTR2j0eOlCrEBefCFFXIviy3nHBoLSY+WKYVkfQglo0K/c++pwn53UDJ1NJW0fcNntG1tO8V9clPGyT/KSt8ZvDCdc01m+A== 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=eek205ow72LpxVVmqiC+PwDuMif9QoFm5eoewEkIzes=; b=GrRogxffuAshX+E8aMEDVlRrVX95UdE6x67pKeYNglhqg8hAN8tvxbsg3S6RKl+02wBRRu3DJblGsqilNNp5qKEhlVtUDrQ2ajzv0/5LM6RxFdsRiYZ0zq9Cwc90dbCVY3eezx5o0LQQ4D3eBieRN/Sw7Xb6u5+mG7zxQG9EaGrfjUUt5FBviHxpXbpv4nK2lNZ7ZA2VB1PaGINzH425dw5vQW2qcIUTxaPruPJ3U84YQaHYpMjC94lyX+iSiRNzCcQI4AVs/1m25IGVoB9+QYF29Y4pxSdSXXvZGClH2R+i9ltvSil3qm5AMapnuvT6Aji5yWR47fszDwKFmtbzcQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eek205ow72LpxVVmqiC+PwDuMif9QoFm5eoewEkIzes=; b=IUmHwDiTSM91dhvoczEHFpMK6jbH7WcMd88xOzdkX+Ywm6UZCJSbqgLvxSE6n3M16SV5JMvmA9eJnid0BRL5fqbgu95qUJSoWnzWFXQ/nJKzLTARfdEXQlLzrhn8OUGE0I1yd4RDKM7E6C6bJJ3zP8+xesXr9f6mvZJF/FG/o0M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4823.namprd11.prod.outlook.com (2603:10b6:510:43::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Tue, 16 Nov 2021 18:11:10 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 18:11:10 +0000 Message-ID: Date: Tue, 16 Nov 2021 18:11:04 +0000 Content-Language: en-US To: Elena Agostini CC: "dev@dpdk.org" , Slava Ovsiienko References: <20211029204909.21318-1-eagostini@nvidia.com> <20211111214141.26612-1-eagostini@nvidia.com> <20211111214141.26612-2-eagostini@nvidia.com> <569619d5-12fc-4338-3042-3581074ad3a9@intel.com> From: Ferruh Yigit Subject: Re: [PATCH v2 1/1] app/testpmd: add GPU memory option in iofwd engine X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6P195CA0018.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::28) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6P195CA0018.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Tue, 16 Nov 2021 18:11:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d1271ed5-866e-4c11-6ab4-08d9a92c777a X-MS-TrafficTypeDiagnostic: PH0PR11MB4823: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zG4oRgr4gBG1GDiBLtK1zwPjE5DGjZlKfh3WLq2rPJCpcyu3leZhaHWHbFWiKCYWn+hUQ/vsNDuabBBNAJ2ZxAZLZQA5fISHMKU8kSFRJi7DbuL+qJV23Iw1k10eTTZ08nWMXIYfdWSJPxM5FRNlk38VOeAJvv9y0zxBZr+FeCY7VKSSlUksuxJcrbf9iV5MJgCNhC3Gmzpk89cXEfBKXB5lUUvtPbSflq6jucBwiAPLv90xJlaR5oshEScuDrASpyUgzutamst4thFx7NiXYWmKSBJ0kO6/Xi6qWZNwYnWop1VUG1H2Wc4O/zWWfQvWDD+NN1xc0N+K3I0xjO3ErNJRQ7K2qFn4hsFh88Pdc5AvJWgeMbQpXft0hFfdlD/RH3CXeBr95W+rbuvILRNVNZwwk2U1Gk7fDp/9g0wZDnd45y0LGfoc5mIapMfwV+Tw2gsFmHQ4L9Qwr+iZzBcHCm+1NOj27rDWik4qClHJfo97aZCqZk3UqJc5kUyecw+pRxWiiLWMvHTaMIhPzp1dlCWhbFNnXmczmyAy2MvQAuiDNOcC8vnYu1UxJxbGr3uMHupWTfsaOuOJSokG2CvoZvzx+GI5QvxRXg8lY9DERgBBUh36ctQWlxOMNQoUzWFm9au8lP6dCXUFPgVLNpcOQEUdTVhjHGp5lgetGotaGm7uk3HBASzXMdKox+zi03Y7BbsagZyPSV58NTcv5decHA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(4326008)(31696002)(38100700002)(86362001)(66946007)(36756003)(6486002)(2906002)(82960400001)(2616005)(956004)(6666004)(26005)(31686004)(44832011)(186003)(54906003)(316002)(8676002)(6916009)(508600001)(16576012)(8936002)(5660300002)(53546011)(66556008)(66476007)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZUx4amkycWNaOXVyVVFNYVhQdXhxRWRYNkg0M3k2Z25vUXo2Sk5iQ2M2cjAw?= =?utf-8?B?Y2hCUElXNWQ3cEVZWWR1ZWVBRHRoZVRQMGZVaFg0cGx0cU12THdqODhXYWRR?= =?utf-8?B?OUZ0eDhPUkJVQlNoTGxSb3lIcERMU0NXNXQxNXMzZnBaMEY3S0tSa2VNWFA1?= =?utf-8?B?aklIK1NSemRtdlRGOUtmcEcxSk80WDlpbkJyV0p6TU03SEVsWTR1OW1SdTIw?= =?utf-8?B?aVdqTS9XeXVUVVB2a3ZQU1VRWEk0Mzl4MElBVE1BaEgxRlkzeFNhd0dBR0Ey?= =?utf-8?B?M0psWklUcStCUk1sNmZFSW5TNEJNQkdGUjhZYit2MTFG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tkbk9DbVBIODZWbHhVQXMzOHVhU01PWXRXZXUxNUY1T1pL?= =?utf-8?Q?aQkIdivpuVdmOH1CuXYV1C8=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: d1271ed5-866e-4c11-6ab4-08d9a92c777a X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2021 18:11:09.9903 (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: tijBn5BUZU9UbEiGLAjc5vLNej8rnWt7ylSs2tc13f1mjisilpJ2T3vrG58Xc3VgkM5SASJ+YUMf18ZQ1TdgEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4823 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 11/16/2021 6:06 PM, Elena Agostini wrote: > > From: Ferruh Yigit > > > Date: Tuesday, 16 November 2021 at 19:00 > > > To: Elena Agostini > > > Cc: dev@dpdk.org , Slava Ovsiienko > > > Subject: Re: [PATCH v2 1/1] app/testpmd: add GPU memory option in iofwd engine > > > External email: Use caution opening links or attachments> > > > > > > On 11/11/2021 9:41 PM, eagostini@nvidia.com wrote: > > > > --- a/app/test-pmd/meson.build > > > > +++ b/app/test-pmd/meson.build > > > > @@ -32,7 +32,7 @@ if dpdk_conf.has('RTE_HAS_JANSSON') > > > >       ext_deps += jansson_dep > > > >   endif > > > > > > > > -deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci'] > > > > +deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci', 'gpudev']> > > > I didn't review the set, but in a very high level do we want to add > > > 'gpudev' as dependency? Isn't this like adding 'rawdev' as dependency. > > gpudev is a library that can be built without a gpu driver as all the other libraries > > and itis actually used only in case of GPU memory mempool. > > Reasons for this patch are: > > - Have an upstreamed benchmark tool to measure network metrics using GPU memory > > - Test some DPDK features not really tested anywhere like the external memory mempool feature > I can see the reason, that is obvious, yet again why we are not adding rawdev testing to the testpmd? But adding gpudev. It is easier to add it to the testpmd, and for some testing perspective it makes sense, but still I am not quite sure about this new dependency, I would like to get more feedback.