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 CFAF4A0C43; Tue, 16 Nov 2021 19:06:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C91E407FF; Tue, 16 Nov 2021 19:06:28 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2053.outbound.protection.outlook.com [40.107.93.53]) by mails.dpdk.org (Postfix) with ESMTP id E6DB640141 for ; Tue, 16 Nov 2021 19:06:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YYYxxysXX/XMCh6AChCZjN4BEhh3fktfhZ8YMcNNznRond2q9oqRQIAHUbKPOmt36g0BGy8Z93WyWUVfUIzkuNqaUvVO1B5zslnylmVjTay4i4cNLPWc8gDIcwD5uHR4Pcn0fPeC7pk0TJoocOfnHUnLj1HLEbsN0u09JuuhGkT1465MCe7U5l7pKPCIxigOHqQD69f4ABOksxI4ieAF6elOxTohngGYvFuj6QJZWDfQsrgB4QNBZONgbwrUsHqslBJWctGS/fqfE91PboSSD57iWa35YSaZatIyzGrOOc/cfO0wtQd2ppxIqqgeuI0IUapzbwXFP7myW+EPRC+Orw== 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=g/8lwNnrHak5USm3B7P4YnYCrzMafdYvL337UaPLqKw=; b=fBVefKE23jYODvWk1zg8Dkt4B61qTLHptqCHx8aBloAeZy8TIM85m0YCzwSNqEwqOvstjJpG4T2GYuZcg/3kbj6PsLs1AfnFxodKvuz1LIBoP8NV/oB1lMZ5MBF3/UekLd6LPFpNJTtqS6mAuKSA3c1vVAwKjhleQ42dToxTsu8bAsIfFcS76eh/WcJsa73Q88qSAhc6y7EkVBZucPM+wokz5A8jRVPC4aOu/NExTql1b7b4YDy1PwaUoHUlJYktMcsMII8NBeY4J2do5poNjkjQscnYCz18u7CGraBzBpBJcHz5EheozSh3fubm1+DI3X8ZMsX37+egBxbiC+KivA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g/8lwNnrHak5USm3B7P4YnYCrzMafdYvL337UaPLqKw=; b=nChQuECMY/bj28W5y3Q1YeSMNNM1JxOln4G5sO+R5XhktXrDbfMEVnGA3xRpc+T4v9MqFRdrXJV2/uOC3cK/Vdgr4GyOqAtLnhZ3IvRwp6nlq1q2kvNo7F/xcndAvmnnvXwocm+OHHPxYP06i9G/X/y4V3lN6kOjXUOalMJ+pNwnM1hjcG63GAaVw7FHSLLWIA2iyV/bA1wYoZ0w6uRVsMl/JuZAZx0M3AHUswd0yM8HhZEIqpcbWbxAkb0m2WX/HfAmP7DcZnaeLQRdG+Y6pDg7aYmd2UBSEFBjVq5IP3klO95I2Eqg+2dra9cwm7hA3OGf5OspOG3bVjjpIx46Sw== Received: from DM6PR12MB4107.namprd12.prod.outlook.com (2603:10b6:5:218::7) by DM6PR12MB3451.namprd12.prod.outlook.com (2603:10b6:5:11d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Tue, 16 Nov 2021 18:06:25 +0000 Received: from DM6PR12MB4107.namprd12.prod.outlook.com ([fe80::98ea:e961:8212:62f4]) by DM6PR12MB4107.namprd12.prod.outlook.com ([fe80::98ea:e961:8212:62f4%6]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 18:06:25 +0000 From: Elena Agostini To: Ferruh Yigit CC: "dev@dpdk.org" , Slava Ovsiienko Subject: Re: [PATCH v2 1/1] app/testpmd: add GPU memory option in iofwd engine Thread-Topic: [PATCH v2 1/1] app/testpmd: add GPU memory option in iofwd engine Thread-Index: AQHX1wB5uV4YZTE2eUiW76jkbL7kjKwGeCwAgAABmbc= Date: Tue, 16 Nov 2021 18:06:25 +0000 Message-ID: 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> In-Reply-To: <569619d5-12fc-4338-3042-3581074ad3a9@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5b4824f8-ce9a-4588-7a4a-08d9a92bcdf2 x-ms-traffictypediagnostic: DM6PR12MB3451: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RBt2xEJu1Wo37Y9yZaLU/Vi+TVU12BaFm6HP1TNP488LyLWKh8g6PI9NHMskIeSD7fJalYBYLkvYXMztRmmB1LosTK+wDklyplyEq7NcmMD7q3JIq1VHMs4FTdC6atSvQ0xiYEGjCbwbXxbkGAMccnyL7555E3MOVs3ZZmoaZSCXyxujGow5ocsBVSRPURC9v+1PUO8NP11gmNTkgzIBZNGNLC1AwnNlKG3qf5MZx5roRTCgwQHq1pJ0ZE/yPR7rNtTouci7SGg6a/N+5sa7GnD94U+2oMSSFG1KB73XlXNICwaq2jVK9pi5YJT8HwiIA502Pi+TciBWzsBXj1wpEjtUdRKwx/AkIan7Jw6+wAun7p5Q2KZ0MQ4z86My+e/pTYRySx8YIv2RDSnJ/AoiQJpvfjSuuRh4OV8LQgzS9fNDIm69Itgx7n8D3eVDJcxJNBDi92BrSxAaqWmJL6GfX31jFskXaEs8WTr601Z5Okzr2M5XjHHeE1DgpnEAWCF5YP72IkqkAwGwemr2O1Z7SLtGmJ99hSx0edwKEk5bxJrkbztF1srzVz2CKC6nVVAOfDNJCUf7D6Izx/lu7kPolX7CYKJylUV9ri8r9O4JczpItmm0k6Bcu/colxPx5xgK2mANwUFyfpXDSE4zUDOc/LHM6FLmtWN6alP6LKYBh/QZjQiqiDtBquvE01Fh1MHqAy+nrhJDnEKFbIUUAupDNQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4107.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(4326008)(7696005)(52536014)(107886003)(53546011)(91956017)(66946007)(316002)(38070700005)(66556008)(66476007)(76116006)(186003)(508600001)(5660300002)(8936002)(66446008)(9686003)(26005)(71200400001)(8676002)(64756008)(33656002)(122000001)(54906003)(55016002)(2906002)(38100700002)(6506007)(6916009)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?k+jMdMjOKs3N5wR3tW98RekS4gGWKpN74bU/oy0+cTU021y46w9Zbw7vQK8P?= =?us-ascii?Q?fKTlSIH+QDZQzORQaEKNU/mbRd8GGrWEEihxkBpN/dYuuzzb9RqlXO2HDJ8S?= =?us-ascii?Q?fvF2eCujEGIpH7gOkmdGom6l/tdueUWTl18jgBTwvOx8J58NZ0JZ7i7hHZcM?= =?us-ascii?Q?SusVre4+en7ExSQBXu/+jAcGH09VDzWEtjyse68VAtspNrp19+4kkB/phWHk?= =?us-ascii?Q?Guev9zQGNG1scPFnb+Qe5acudSgxPaAzzPzAAwuo+5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XorDi3BAfxLHkcn3Fc+2KbQEgMFe6s3xg3Aq?= =?us-ascii?Q?/rn+Z2KhzJXzGHSKvk5Yf5NsNOWWYYa2yhCFI5yfl2W1+gT6vxrMPh687bjy?= =?us-ascii?Q?cY9bro3BqkO470PkVWNZ4g0CTBBUb6zjFRi2lZZi9soTTAAuaiFkc7kFAOsc?= =?us-ascii?Q?6C8orSeaGSQ9LyutEVI6qat5X7z8ap1UKEUoyoNibvTCT94kd5G7dSlKUNYq?= =?us-ascii?Q?VZ4VEBA8v64wM/+7+hZFmi5ABoKoQtnGw5T5cTZIkH5JQx458IsEkym77na1?= =?us-ascii?Q?d9FhNiFbCWFlfCOiddWgMOsogwg0GZkxBGXRH6jreOU30ZwkzrmyGQ/ZI73L?= =?us-ascii?Q?g4bCGEAYcMWfB+jpW2LZoognnyczdFTTvQlAmH7s545ByLCRnVRs/VVAArGM?= =?us-ascii?Q?xLgBiPPXXOLqc7K+QJZmupPFTpgO3x651aS9Os+UPnwNk1CUedT0HaYshMq8?= =?us-ascii?Q?dIBeeGWMW0c01rN3GOBb4SWar2jLu1Ian47sKQeopeeP?= Content-Type: multipart/alternative; boundary="_000_DM6PR12MB4107C42BC714C87ADC60288DCD999DM6PR12MB4107namp_" MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4107.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b4824f8-ce9a-4588-7a4a-08d9a92bcdf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 18:06:25.2558 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uu+0UxuKMkP2lPXzHqyecDqA0KuouqH9Yn8Mk6W82H/WI/1i/bFBJLMkJ6MIa39KdV7+FZFDQe0MXmi1eZaXpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3451 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 --_000_DM6PR12MB4107C42BC714C87ADC60288DCD999DM6PR12MB4107namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > 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 e= ngine > 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 +=3D jansson_dep > > endif > > > > -deps +=3D ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci'] > > +deps +=3D ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci', 'g= pudev']> > 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 it is 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 me= mory - Test some DPDK features not really tested anywhere like the external memo= ry mempool feature --_000_DM6PR12MB4107C42BC714C87ADC60288DCD999DM6PR12MB4107namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

> From: Ferruh Yigit <ferruh.yigit@intel.com&g= t;

> Date: Tuesday, 16 November 2021 at 19:00

> To: Elena Agostini <eagostini@nvidia.com>=

> Cc: dev@dpdk.org <dev@dpdk.org>, Slava Ov= siienko <viacheslavo@nvidia.com>

> Subject: Re: [PATCH v2 1/1] app/testpmd: add GP= U memory option in iofwd engine

> External email: Use caution opening links or at= tachments>

>

 

> On 11/11/2021 9:41 PM, eagostini@nvidia.com wro= te:

> > --- a/app/test-pmd/meson.build<= /p>

> > +++ b/app/test-pmd/meson.build<= /p>

> > @@ -32,7 +32,7 @@ if dpdk_conf.has('RTE_HA= S_JANSSON')

> >       ext_de= ps +=3D jansson_dep

> >   endif

> >

> > -deps +=3D ['ethdev', 'gro', 'gso', 'cmdli= ne', 'metrics', 'bus_pci']

> > +deps +=3D ['ethdev', 'gro', 'gso', 'cmdli= ne', 'metrics', 'bus_pci', 'gpudev']>

 

> I didn't review the set, but in a very high lev= el 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 it is actually used = only in case of GPU memory mempool.

 

Reasons for this patch are:

 

- Have an upstreamed benchmark tool to measure netwo= rk metrics using GPU memory

- Test some DPDK features not really tested anywhere= like the external memory mempool feature

--_000_DM6PR12MB4107C42BC714C87ADC60288DCD999DM6PR12MB4107namp_--