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 94104A0C56; Wed, 8 Sep 2021 11:54:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29BCB406B4; Wed, 8 Sep 2021 11:54:55 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 25F534013F for ; Wed, 8 Sep 2021 11:54:52 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="199969260" X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="199969260" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2021 02:54:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="431274612" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 08 Sep 2021 02:54:51 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 8 Sep 2021 02:54:51 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 8 Sep 2021 02:54:50 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 8 Sep 2021 02:54:50 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Wed, 8 Sep 2021 02:54:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IwT8KYUiVzQNnV23oRVCFThlJXhOxn5MEK2hA/8yAFZs8s8PevPDXzPAFSfihEn100I9jfdQRrAN5rQtwIPTp8w5z1yEdNroM71MUddL2hoGUThRgiezYXXJKvvF/QJt5ymAB1bCGS29zcFFLH/OjDs0fjLoQdULXQ96LWai2JJWfos4+xfaGasktpG6cXbVEuocJ7f9ht4EPMZD+6N7jCar6o0mxy7cHSPyJFkkyNjFeo0ClsVLlnlaoiZrxRywGM/RzMpSpV73XWApgot9mpEnC65YSawNTh88LYCN+omPf+zEnQITFH/umdMBTIzdCOUiuEB8LfeSkyKzr6iLzQ== 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; bh=4Ogo7HBVC+CH9QFWlUwXOFzQOdTjpjvczFnzW5yHCd0=; b=VrKvawbnYd0MC7N0itU4UibCVLTp0rkFbyI5QRS28N/3wEuGfqNb/oT2yww9SOXJSdYhUF1/HeluKuc1zkjRZ/Ui1pQ+RlyzRsQSwFKrcHwigrwn4BU8SmnLBS5v7sDm5K2HoDnWZpx2tf7V0ozSF6h2FQz9c9w02XbeIxZkoQQLFL16tjy6VNDbZXCWc4lBD/Q8YdGzKAwu3qjq9SgOYaSqXczC1qzSwy0Qn1A+N89eoPR3gn2BhvBQ2blQege0LYUK/WhLGhTqXHmVvHScsE2IPkn/Tadl72LSHkqOHbNWNc0wJwL3/DS02tT0VieyZuO2uHzFZEgec0zuXxpJvA== 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=4Ogo7HBVC+CH9QFWlUwXOFzQOdTjpjvczFnzW5yHCd0=; b=vkpO7dugWGdJKazgczOk8YlSbNdbdbTqpnihvV6d+Jec90gaJGLoJDL3h8oyISRJLzDT6GAy5SUp5vpiJuMwIAckMRWGPLBH5I8KOW6g5zCMmYLWUStAkr3kee2is7kMhoEkKDQR7Xfgn8fytzGoPUMFcxIsMVI88HUMPRHmPQU= Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB5141.namprd11.prod.outlook.com (2603:10b6:510:3c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Wed, 8 Sep 2021 09:54:47 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a%6]) with mapi id 15.20.4478.025; Wed, 8 Sep 2021 09:54:47 +0000 From: "Walsh, Conor" To: Chengwen Feng , "thomas@monjalon.net" , "Yigit, Ferruh" , "Richardson, Bruce" , "jerinj@marvell.com" , "jerinjacobk@gmail.com" , "andrew.rybchenko@oktetlabs.ru" CC: "dev@dpdk.org" , "mb@smartsharesystems.com" , "nipun.gupta@nxp.com" , "hemant.agrawal@nxp.com" , "maxime.coquelin@redhat.com" , "honnappa.nagarahalli@arm.com" , "david.marchand@redhat.com" , "sburla@marvell.com" , "pkapoor@marvell.com" , "Ananyev, Konstantin" , "Laatz, Kevin" Thread-Topic: [PATCH v21 4/7] dmadev: introduce DMA device library implementation Thread-Index: AQHXo+h5qZd628dQykuFWIVN8sHbpKuZ5FnQ Date: Wed, 8 Sep 2021 09:54:47 +0000 Message-ID: References: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> <20210907125649.49794-1-fengchengwen@huawei.com> <20210907125649.49794-5-fengchengwen@huawei.com> In-Reply-To: <20210907125649.49794-5-fengchengwen@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f5b6ddee-c64d-4386-9448-08d972aeb168 x-ms-traffictypediagnostic: PH0PR11MB5141: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: B9tPZTqSfYk7xcaA7CRIO2H8v6+1gu1kHR0qqgxjYt5UL/GJeKiL/m5vVVuFMddZX3oEPq2hxXv/LggSF+eU0ve9FhQTUc9zerllwJ7jManJkvtunh/JxPyVSi42E1wNfcJ/FqxDMdNjcuZzvD1SQwd6FEgOKaQUB52PU8j/eFmPtkdZ9jQ8E31OiDKYaGOj3Vt2SjhjZwYUNpMX6BlF681C5VN6pRmoZCBjI07HJSwhNNFZ/+gGAS67KcVH6htUBnAUla09K/fc+JqDHvJ8UU/uMdt/1I7EHGnFOLzxVNkIoUADefMUWZBa+ceawyauIaK0YNnoO0DiZqMHLIQcUFYNzEXEL54Au1b3rqOzfzoyrpvTfUumienT6mKX2vuahaXgQlCVVuwxwK/4VLqmjwxtd0otzjVYz3pghJpMOuDWoRyJd14PM8pQ0zNbPUwX8I319y/RVOO34aqFgE6AfoX0hMMZcIl6IEBIaYBbpVseqhj1Hf37wDjHeCBOuP6oVARq8Uy/BuqSbE57RTbfC1G0K2UPX5Ew7tYuPwb+GGSpuJh21L7xbq65CWQPWbbjvMYkmCveAMVFy0OX+kc3NyNWE7pDuaqH95hcLaeKZ3cu0vXmxSXi2KfO+iFxKuQ2L0V703Nzc+h5qbk/vcatwl7Qu8rn+/inRpfcVYRinP9E3SkPwAl/mkPk8v6gKtBA1jPpPBkd+wLErcpvTLyxHg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(346002)(136003)(396003)(39860400002)(38070700005)(38100700002)(86362001)(122000001)(107886003)(33656002)(8676002)(55016002)(2906002)(8936002)(9686003)(5660300002)(316002)(4326008)(110136005)(54906003)(52536014)(71200400001)(76116006)(66946007)(6506007)(66446008)(66476007)(64756008)(66556008)(186003)(7416002)(7696005)(478600001)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UHZyQzRTc001cTV0WjE3ekxnd3hFQnJvOFFXNFpSYitFWWNHUGhwOXVyNDJl?= =?utf-8?B?cmE3L2E0Uk0zTDh2Z3YyNnRESDNzT0VsSGdORWVwVlYrSlNyTm9yTTlYdDV2?= =?utf-8?B?REFaWW5BdjE3djgvRGRFdXlZVmJnb2Fac3FRUGZlV2xRUHpYYnd0Um9IbDJ4?= =?utf-8?B?N1hzL0FhU0w5dTgzMTVJS0Y5UmNTZXcxUVZ4VGhNUVhURk51NThsZW9DQnhG?= =?utf-8?B?R3ZTVE1XdWZpbkxKdUsxVmgrT3FodG5ScitLZk5iNCtNcWVSTzVycHRaQzhH?= =?utf-8?B?Wi9EV1Azb0JxN3dTSmRiMFF1YXFFTmh5bTZ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WpoeE54VWxHNDdZbUI4ZDh6MG0zQ3pCYXh5R0dxaXgyMHg0TFlw?= =?utf-8?B?N2lxUE9XZnMrQzZBa1dzeVNLNTBHeXpMYXdNL1JyM1JFSmlYTHMzMm1ETFZm?= =?utf-8?B?UVY0RXFQZkdIdTlrWXdwa3dMVzY4ME8wNWtURmd5Wk9jc3VHd2ZidTl2L01G?= =?utf-8?B?WDZjY0oyVmpyK3N3S2NvQTJienllazYyc2NMMGNnUm12bzdQWFZTY3B1NHFC?= =?utf-8?B?ZCt3dEVCdDRCbFFidkJicGxRRWV6OWRxZEhicno3NzVEcmlwY0Z2ZmVUTk80?= =?utf-8?B?Ui9IZmM0ZjBkR2p5b1JhNzVzZ2VUM096aXhNQjZLNzU2dUsrdVM3UWQ4VVBE?= =?utf-8?B?UzlWK2R3eXNNd085ZnFTTlBaMkVqbVhnNHJLRXh0REY3b1JIOGFaUEQwMlEz?= =?utf-8?B?emdueHVSL3M0L2hmRVMxTW9CSzJkeHNMTXZHRnN0cGlnaVBOVWF1ZjgzRTFK?= =?utf-8?B?a1dNcDFSWThVS2dVSWtxb2VQUUZDSzhMUkZWNlFVcEovRk1scFMyM3NXdE1y?= =?utf-8?Q?DvVnaqIaFMW+Vaxd6I=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5b6ddee-c64d-4386-9448-08d972aeb168 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2021 09:54:47.3881 (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: ut8N4EXB1IsVaaeh9QB0nOGwZmOdbumUUcQ7VO4OdhbPYk8lx/XDkdYqHV6WK2ytvCrNMsuwAbciYmdjTZm1UA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5141 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v21 4/7] dmadev: introduce DMA device library implementation 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" PHNuaXA+DQoNCkhpIENoZW5nd2VuLA0KDQpXaGlsZSB0ZXN0aW5nIHRoZSBJT0FUIGRyaXZlciBJ IHJlYWxpc2VkIHRoYXQgd2UgaGFkbid0IGltcGxlbWVudGVkIHRoZSBuZXcgUlRFX0RNQURFVl9B TExfVkNIQU4NCmZsYWcgZm9yIHN0YXRzLiBSYXRoZXIgdGhhbiBldmVyeSBkcml2ZXIgdGhhdCBv bmx5IHN1cHBvcnRzIDEgdmNoYW4gZW5hYmxpbmcgc3VwcG9ydCBmb3IgdGhpcyBmbGFnIGl0IHdv dWxkDQpwcm9iYWJseSBiZSBiZXR0ZXIgdG8gY2F0Y2ggaXQgaW4gdGhlIGxpYnJhcnkgYXMgc2hv d24gYmVsb3cuDQoNClRoYW5rcywNCkNvbm9yLg0KDQo+ICtpbnQNCj4gK3J0ZV9kbWFkZXZfc3Rh dHNfZ2V0KHVpbnQxNl90IGRldl9pZCwgdWludDE2X3QgdmNoYW4sDQo+ICsJCSAgICAgc3RydWN0 IHJ0ZV9kbWFkZXZfc3RhdHMgKnN0YXRzKQ0KPiArew0KPiArCWNvbnN0IHN0cnVjdCBydGVfZG1h ZGV2ICpkZXYgPSAmcnRlX2RtYWRldmljZXNbZGV2X2lkXTsNCj4gKw0KPiArCVJURV9ETUFERVZf VkFMSURfREVWX0lEX09SX0VSUl9SRVQoZGV2X2lkLCAtRUlOVkFMKTsNCj4gKwlpZiAoc3RhdHMg PT0gTlVMTCkN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