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 C270FA0C54; Fri, 3 Sep 2021 17:13:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFBE54113B; Fri, 3 Sep 2021 17:13:44 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id A8D2B41135 for ; Fri, 3 Sep 2021 17:13:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10096"; a="280457954" X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="280457954" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2021 08:13:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="511504717" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 03 Sep 2021 08:13:42 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 3 Sep 2021 08:13:41 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Fri, 3 Sep 2021 08:13:41 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 3 Sep 2021 08:13:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ge8DOeGDS0KwkmI3TrGn9EfHVClNX2mz5WNT2+yN0nIkWHMNhy0old8gNCkrjj45tkDXCih3lcrM5hRYTYChxg9PAIE9MXyeWiYaJBuRWH0wlrZg2d3+NpH1kR88mLvp31bBZZ/m1hpNL8AC8T7KFNrkiP41L74hpLfa08YPfTKXjweCyGIAqdK5ALZf5MtkNiyNipZycFb+8oNJeqReRRcUSGm5ssmMsBhfQ9mQ+i/U5hjR2XMq7VWSwBZYjc6uOjewAePydue6W8lD+jmed9IW85bkLGdfb7VEKNAPwuLcUYfFoMbzZsnJNv1hjK6W7Owhi+aMbo540moNZACWVw== 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=KuBhTRKAqKoWnz3mdVKMP6tnDd7Wd3+JGbN3aNYlRAU=; b=Mlwss1fFwH8leHMEpkRA9VvkODkrRcayj62PQjxo9WPXlGncsiboypOnKXi4iW0zDdd+qU+e5wlF6QcwSQfN/8tMrRbcyGLZDvJLO+zdX/ZyBxylheK3Q5cAzd/1ZN7+joTdwFUEmVHxjxOpMolDuMxHRPK0nRJ67+NLHBBbEUsRITIePmI6sZ0wcPmuQfBUhXsozrSngqm/xMXbDoQyyXcblT1Yl+MeQQKIr2xPehwA5jcNFFZUvtqr7DVskgxxlOTXNfbNm4aljooMeQvg1PDK9je8eOF2dd76GMXj3XND1AfOPvRY3G26KARZVTVzWoe6MycP/9odMg2lRyyCcw== 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=KuBhTRKAqKoWnz3mdVKMP6tnDd7Wd3+JGbN3aNYlRAU=; b=klbqwQZDV9Eh1Bit141u1rN3/adM6lVMcM8XToE/ZDe/pjdRkxBQ1HJpT0iVVIl4cF3xuxPNF54rEezothgGq1l2j22WzfyRnp/uWIngrJziZRzdtn0cw7utdMuBB7hjK9gjmbs4tFp8vbtzZUgQ+Tk3gx6/kA7azPZr9QufDiM= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by SJ0PR11MB4941.namprd11.prod.outlook.com (2603:10b6:a03:2d2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Fri, 3 Sep 2021 15:13:37 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271%5]) with mapi id 15.20.4478.022; Fri, 3 Sep 2021 15:13:37 +0000 To: Chengwen Feng , , , , , , CC: , , , , , , , , , , References: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> <1630588395-2804-1-git-send-email-fengchengwen@huawei.com> <1630588395-2804-4-git-send-email-fengchengwen@huawei.com> From: Kevin Laatz Message-ID: <731c61e8-79ad-8c46-8794-c6987cd5e52d@intel.com> Date: Fri, 3 Sep 2021 16:13:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <1630588395-2804-4-git-send-email-fengchengwen@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: DB9PR02CA0023.eurprd02.prod.outlook.com (2603:10a6:10:1d9::28) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (109.79.29.175) by DB9PR02CA0023.eurprd02.prod.outlook.com (2603:10a6:10:1d9::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17 via Frontend Transport; Fri, 3 Sep 2021 15:13:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6fb0927f-88a5-4428-7450-08d96eed6754 X-MS-TrafficTypeDiagnostic: SJ0PR11MB4941: 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:1265; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ewyywvmNeSpGIukGy4wD1qsphUzq0TT8/G0WKm2jKiOlFbIFkAH1vzRa/vCuy2n0YaR5OLMNFWXvIl022vuEf4A7aHYG0y4jjeHxikNAmqrbccL55ozz+4O20cfPybdhP2fTctJh6q+IDW/Xz4kngqc4PwnhTVHKW9mT0kXdbE69p6lgSc5CAKWe7vCY277EJZ5mYnvj55bXqJpkjqnT/qjr2g1UwCmTus5XXk1NRUrxmEQy6e20b2Bu0EPnQqvd1m3jjE28ZfCVizR0MlSNSTAAj9oEPIGf9ita5gb1PdEYbWWjquR847v7QPZhZcwmz8Yy6eUzCkW4eBtdQP+R7Zr2zrzR6jaYbfIhO51roQCN3Y8gRSAIKODcCgN7ZmnMfXpyktFfGwwqpcUvNTflT+Vr1bz1jUmpxyPRn4r4XhDrmj2smgtp1U5eGTvEpDeSwHvbn1NYp5d7jsbRF+Tst2giHZmYgsNGkmTjOjP0AwzCASY/r5L+/DRUWoB65sD+5jy7bdtlk65OrPQkQhEZlaXFavp2gzImP+sUz3aSA9Owk25ytjO6q/5d9P6R+3JkeZ5Dau+qfUe+/a7s9VZyAyLxl9XgP7lyeiPqSThJ/2994PlqR+gNQbTSnAvGmjQQsVJP32Ps92gRCefJ1hRr4CtnevKSzjA2QwtfWRcbGxl3LBWNKpkjTwOoGhhRwOlr/HixfAL+HZo/SqGkPH9YT9UJXKzYB1hLh/itbaivVM0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(376002)(396003)(346002)(366004)(5660300002)(316002)(6666004)(478600001)(31696002)(16576012)(4326008)(4744005)(86362001)(31686004)(107886003)(66476007)(26005)(66556008)(186003)(6486002)(2616005)(36756003)(44832011)(8936002)(956004)(2906002)(8676002)(53546011)(38100700002)(66946007)(7416002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UjFSZTdLQlB5WEhsNWNtbkJnMVErQUZWbjU5NkQzS2xMK3o3RCs4WmZtMXZ5?= =?utf-8?B?YUZZR25wdHBzYWU3TWh2ckNaVG4wWU84Qy9xSFdaL1lvbXdEdDhsU2VYVWpv?= =?utf-8?B?aDFoUWlXOEF0QU9JNkNhV1VCUFZweVlMNHB6b3lNUituNkMxaUN2enN3d1kz?= =?utf-8?B?bHBObmtHQlpVNC91WEpuQVV6c3BLMzZVMjVrK2R1b29uWVJSckY2b3ZEd2s4?= =?utf-8?B?b0ltemJWcGhsUU8yY2RwaDJ0MkFtc0RhQlN2SU02S2VXTXBnelQ2OFVZbzJE?= =?utf-8?B?STM0UWtXNEpHaXpmcDd6dW9OWWp3UUxmRldWY1A4dThJSDBrbVVkN2pKSk00?= =?utf-8?B?OGcwcDVsSzVDY2szdnVrT2dl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bXRIYzNzbGt1SWpwbFhNL2FCQkdKcTdKdUh4d0ZaVHhY?= =?utf-8?B?WXlNMVBvSEhXOFh6ZzFRSXVmdjhtNkswL1NGZ25xSWNYcmZ4czlES25aN1Bn?= =?utf-8?B?U1hEM1BJSEtKWlZwcWFEUlorZ2R1NFhKNU1ST1VFK21CSU5selR0MFBsM1pN?= =?utf-8?B?Ni8xQi9wTVJDU2xQNVBZSVN4dHB5K3UyS3FNY0xvSmNUcTltZmpxTUcxME5E?= =?utf-8?B?UmVFamM3M0tqRCtiaFZTc2FidThlWVlMQVVMYnNSd0tDWm5JRDRNNGRCV0hu?= =?utf-8?B?Smt0cTlsNXBOQWRqdzhPSVlpRm0yVE5EclAwcDdQOVUxMCtzeE1ZL0NTV24v?= =?utf-8?B?WEV0djRHbndlcmpmVERKV1hVT1dheFF0NWRHMGV0dUgrUk44ajdoRjFYVi9L?= =?utf-8?B?eEZiSUVIV1lkUzF3bVgyL2RtbGNSV1dsNDRhK0s0ZUhaU2pPNHE2REZEN0lZ?= =?utf-8?Q?O0h90ora/7vSMBa0dO+qUCOo3TJCpffasfa9e6x?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6fb0927f-88a5-4428-7450-08d96eed6754 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2021 15:13:37.1400 (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: pi62eoVcl6VYnJ4z7OBkJGhwr4o4qt8GAelJPwbPd3QnDfRxMoRCn3GC6+q0q8IiHQsk4aFSQh5PGWZ3cOSTiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4941 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v19 3/7] dmadev: introduce DMA device library PMD header 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" On 02/09/2021 14:13, Chengwen Feng wrote: > This patch introduce DMA device library PMD header which was driver > facing APIs for a DMA device. > > Signed-off-by: Chengwen Feng > Acked-by: Bruce Richardson > Acked-by: Morten Brørup > --- > lib/dmadev/meson.build | 1 + > lib/dmadev/rte_dmadev.h | 2 ++ > lib/dmadev/rte_dmadev_pmd.h | 72 +++++++++++++++++++++++++++++++++++++++++++++ > lib/dmadev/version.map | 10 +++++++ > 4 files changed, 85 insertions(+) > create mode 100644 lib/dmadev/rte_dmadev_pmd.h > Reviewed-by: Kevin Laatz