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 EBA98A0C42; Sat, 12 Jun 2021 13:53:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C8394003F; Sat, 12 Jun 2021 13:53:18 +0200 (CEST) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 1A58B4003E for ; Sat, 12 Jun 2021 13:53:16 +0200 (CEST) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4G2GG51Rlhz6wDN; Sat, 12 Jun 2021 19:49:17 +0800 (CST) Received: from dggpeml100024.china.huawei.com (7.185.36.115) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 12 Jun 2021 19:53:12 +0800 Received: from dggpeml500024.china.huawei.com (7.185.36.10) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 12 Jun 2021 19:53:11 +0800 Received: from dggpeml500024.china.huawei.com ([7.185.36.10]) by dggpeml500024.china.huawei.com ([7.185.36.10]) with mapi id 15.01.2176.012; Sat, 12 Jun 2021 19:53:11 +0800 From: Fengchengwen To: Jerin Jacob , Thomas Monjalon CC: Ferruh Yigit , dev , Nipun Gupta , Hemant Agrawal , "Richardson, Bruce" , Maxime Coquelin , Honnappa Nagarahalli , Jerin Jacob , "David Marchand" Thread-Topic: [dpdk-dev] RFC: Kunpeng DMA driver API design decision Thread-Index: AQHXX1jQHd+DQmHV5k2o0E56wVDg4KsPheWAgAACsACAALvDHg== Date: Sat, 12 Jun 2021 11:53:11 +0000 Message-ID: 7B1F809A-2407-402F-93D0-AFA43D1DF21A References: <27a77ca8-9406-1737-ff84-774b2ca561f7@huawei.com> <7807476.CTUdPGCxKm@thomas>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-CFilter-Loop: Reflected Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] RFC: Kunpeng DMA driver API design decision 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" T0ssIEkgd2lsbCBzZW5kIG9uZSwgdGhhbmtzDQoNCg0KRnJvbTpKZXJpbiBKYWNvYiA8amVyaW5q YWNvYmtAZ21haWwuY29tPg0KVG86VGhvbWFzIE1vbmphbG9uIDx0aG9tYXNAbW9uamFsb24ubmV0 Pg0KQ2M6RmVuZ2NoZW5nd2VuIDxmZW5nY2hlbmd3ZW5AaHVhd2VpLmNvbT47RmVycnVoIFlpZ2l0 IDxmZXJydWgueWlnaXRAaW50ZWwuY29tPjtkZXYgPGRldkBkcGRrLm9yZz47TmlwdW4gR3VwdGEg PG5pcHVuLmd1cHRhQG54cC5jb20+O0hlbWFudCBBZ3Jhd2FsIDxoZW1hbnQuYWdyYXdhbEBueHAu Y29tPjtSaWNoYXJkc29uLCBCcnVjZSA8YnJ1Y2UucmljaGFyZHNvbkBpbnRlbC5jb20+O01heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+O0hvbm5hcHBhIE5hZ2FyYWhh bGxpIDxob25uYXBwYS5uYWdhcmFoYWxsaUBhcm0uY29tPjtKZXJpbiBKYWNvYiA8amVyaW5qQG1h cnZlbGwuY29tPjtEYX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