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 88B7CA0093; Fri, 23 Dec 2022 08:05:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 719C440698; Fri, 23 Dec 2022 08:05:53 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id BE6CC40141 for ; Fri, 23 Dec 2022 08:05:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671779152; x=1703315152; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Oy9+SLDPZXhhnJTy9TKaOCCwQ6MLmBJFZZaG/xpdAGw=; b=X/U1id94rjp+17mcJ9rF3sSQJ4r2SZuqouRlbcGyvkeRzlmtyQA8AebC tLc6owk5kXR2eys5IitOM6sSRTRU+qW3t77UqnnZfYFx3Ml2ZmEWipqmT 7K1tEsCsNqT64/WJHHAKEI1WRJFsFKRY89a0OXXak/WXyxBK8n/Hu8a0G 4QDrUJ3niL9S4nSo51f4p3as7Krc87umGB6pRyIvWudoMtc0RCIQQikhe 0DI/beEPr1lTSHGHQUK997L2UUVcO4Q5YHUyyc0LmENnIjxNH/gJF+c4u urDZCkeURWcQTpcX2oI8rBh5GveexN9x/pyjDbgDHuqBl4CJZO7C0pTrN w==; X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="384675437" X-IronPort-AV: E=Sophos;i="5.96,267,1665471600"; d="scan'208";a="384675437" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2022 23:05:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="684456671" X-IronPort-AV: E=Sophos;i="5.96,267,1665471600"; d="scan'208";a="684456671" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 22 Dec 2022 23:05:08 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.16; Thu, 22 Dec 2022 23:05:08 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 22 Dec 2022 23:05:08 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) 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.2507.16; Thu, 22 Dec 2022 23:05:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+sZRn7x/JzGsbbW5leOKu4e8TqSJjMG1WRwd8ii2xesv1qWonpOGz5kuC8i2+ZzmifQnp+G/D9QzRNrlEKIGT70gj0oeL+t3nT+a4an8Vgzzv8BFi8Hkg++ivU0RaNwtbhO2hieGKB8AxD7LfhVfUx2w/rswg5qPFHo4b5yXDDdVu4Q6D/3PDO27+B9NSaP8s8C2wRp96h8BFZ4meXvoUo3YD/XhP44hIdsJ5xy2RCHvY6lmGfocefiVfEiTZSUyA6U+etT6OlL5jCvAv79jxZ4Fr5xp4yMSBRfTB6LCaej9V+C9DYq3XjTwawPnupiu9Ew9x25UAwZ2vFZTxFbEg== 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=Oy9+SLDPZXhhnJTy9TKaOCCwQ6MLmBJFZZaG/xpdAGw=; b=gLwfcXEF0pGlWtPw7msemNy/hRo7hLER5sySPpufvJuzUSIMQzAriIdUIYcGdlnUs6QKruwm2+cN8LhpJw4ieZ2YehOKh+WRS1VvkCcLKLgfxVnEdGHP/ihd6KCh4K3KzAeraL6Sa4yuji7dIqt+5X+J3Wb0fIAm7Jh7lXxTamoCJafTpx3nxo4W/j5Ozw3ORXWGUyzdf68y+C/DdFkKyvMLIaskp5XiS3sBVqfKgyAkJpGvLkdVWFLjtHC1lQnbT08tznLF0QDD/B5365AcWAHPI5AsedzH4i45BbVbXuHhBWxp+/wOBr0BbcmpX54xjTX2CVRNJCvC9BCHfohUDA== 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 Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by MW4PR11MB5870.namprd11.prod.outlook.com (2603:10b6:303:187::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Fri, 23 Dec 2022 07:05:06 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::654e:5037:2642:b683]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::654e:5037:2642:b683%5]) with mapi id 15.20.5924.016; Fri, 23 Dec 2022 07:05:06 +0000 From: "Xia, Chenbo" To: Tomasz Duszynski , "dev@dpdk.org" CC: "thomas@monjalon.net" , "jerinj@marvell.com" Subject: RE: [RFC PATCH 0/7] support vfio platform PMD Thread-Topic: [RFC PATCH 0/7] support vfio platform PMD Thread-Index: AQHZFlygvJU7ESjJAUWWimrgrzgyMa57DJNg Date: Fri, 23 Dec 2022 07:05:06 +0000 Message-ID: References: <20221222232436.643514-1-tduszynski@marvell.com> In-Reply-To: <20221222232436.643514-1-tduszynski@marvell.com> Accept-Language: en-US, zh-CN 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|MW4PR11MB5870:EE_ x-ms-office365-filtering-correlation-id: 6edee462-fa42-4372-53bf-08dae4b4058d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 49Zptsp6U+IC1hW8PQLal8Y9ij1BfM4TW89ojOqFssTw5lLmV+M4fae54DDlVcYFt2QMrKcZ6Dv6++WbakCrbOETpJytB6x2EAafrXG9IGSW3iWKk2zJEoefalYeV4bEgjhNweuZ/p7AsFhKWYD7Ztck+PXAYuSScCGpDZFwTRAS5OH4A0rLGkenmC7s7Ot70ezCPcdb+6f/MStuF6FJMnzbVZpHPSepMb1TsivloLXsreNlwPTLaTAkAXN4Dq1JqrT8A6gAk3MFkjl6vnU4umRoCOgilOnzEbkZYPV4K1cW9Cdq2mvMzwGiTkHKn+T1Byl7Fw8hk2vNNiqkW7FOB9APNY+9/GWbHxpXRL5JbpNUVagxfcrGPYsjg0MFUmZfi2W3K6bKS4ah9yi+nZFQHy2QrnrtAwEq2+aCKZW9dldAEf4zk3wfwFS5qCCEwatsPjOnfMZJ1w+ZH40CDL27uT/U5PMRxNPJsfr4hQFICxA8kl3DYnVPVKSD2rEa1dW7eZWvysnKEK9ZVX4ooa01nNup35ECnwgdV1wFVXdOvHUcqJ25MnUVmhasrwDZ2Z7e0k83E3X8unPrubzaMtEvwZ68vRb9ALXuwMH6mEpFvD4NzhT8m6li28KPGSwVFDlpGVSeXl6riQoW9k9YiT4ys3cGvncELJFSsog7dkSgGsEHANNDGTnBuphFOeZB4y47Y1xy8Rq6VtB6BnY9APP9W9AB+hbzJB6GK0A0bgRULHk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(346002)(136003)(376002)(396003)(366004)(451199015)(71200400001)(8936002)(8676002)(5660300002)(52536014)(76116006)(66556008)(66946007)(316002)(66446008)(64756008)(66476007)(4326008)(41300700001)(54906003)(110136005)(2906002)(55016003)(86362001)(82960400001)(38070700005)(83380400001)(6506007)(7696005)(186003)(9686003)(53546011)(66899015)(26005)(122000001)(33656002)(38100700002)(966005)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dW8dQ77AXoTH6Lw9ftm2yPG5VfS7LXpbiFzZ1nfKLGIzEyvXEvbf5GH03jrB?= =?us-ascii?Q?40u6cx5yTZY8lxx0OSCNGqqm0XIC6bRl32lCqH7qn54FyRKjodH/nt1mlkxO?= =?us-ascii?Q?9Mqg/y9//93h3fEZciHeSxjIjBJreOrlUyQszULui9BnurM0dHrXzaJ2cG8c?= =?us-ascii?Q?yrttkCK2lxIajEWAqEdB/0IRggRHlod9NiVuShLsy5amlwNfqTFXusXeWadK?= =?us-ascii?Q?KWWw05OipcrDv9zv1j/bJ3w1hz5kt+JyTEJhRL8N86dTSKT2I5dMG7d3jlL0?= =?us-ascii?Q?NQr8/2YXKOeoLNXIPL8QGzE3zZcsgCwJZav8ALDQLQ0rIOpIBUwGGJSXynB2?= =?us-ascii?Q?3nBTXWPSHc9vGAxtA16KweFDUy3dR/Nzo1iFgmhGlVQ5qHf80WwdfcHWnRwY?= =?us-ascii?Q?4ljuu44daEgOQBa1cWh6CZ8XmQl1atS50BLIHr1eg6nYex3Cfsdz/eQT0B96?= =?us-ascii?Q?ewNkjqvjZ04aQcRNSCVqekegVffx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?= =?us-ascii?Q?p583S1aA8v7Ih1pFSzccitFWLY5VhHaxVAbOZwo9hZ2297SbuFuDvFXWEeKx?= =?us-ascii?Q?Fx6CluiVANBtwcoS3H93rt7cXf1SbRdfbgKVGICGg0f64nibqEn5GSdrptVH?= =?us-ascii?Q?OKa0VKiKl4q8EfOVe2Y9fD2Gu5XK2dWe/foWLeB/+ScrxjKrV2eomebacXYy?= =?us-ascii?Q?LuO5idBkMYGyxSUZshY4pUNDluyUttTcJJqMJn+9?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6edee462-fa42-4372-53bf-08dae4b4058d X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2022 07:05:06.4115 (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: 0V2ub10UWhhfQ9K828xQKKEQUaSYBNc8361ELY15Bs4CnBAIqGxawWnLs2NCkdeY3bjZ6YzmyWOV00ZjGEDC8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5870 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 > -----Original Message----- > From: Tomasz Duszynski > Sent: Friday, December 23, 2022 7:24 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; jerinj@marvell.com; Tomasz Duszynski > > Subject: [RFC PATCH 0/7] support vfio platform PMD >=20 > This series aims to add support for managing vfio platform > devices from userspace application conveniently i.e > without going through the configuration required by vfio > and opencoding everything. Instead convenience helpers > are provided. >=20 > vfio platform devices, from the kernel standpoint, are ones > that do not have built-in discovery capabilities and are > behind an IOMMU. >=20 > This PMD is backed by both vfio-platform and vfio > kernel drivers and ideally should give access to all > vfio capabilities. As of now, access to memory maps and > DMA are supported. >=20 > PMD requires platform bus support [1]. >=20 > [1] https://lore.kernel.org/dpdk-dev/20221222000106.270619-1- > tduszynski@marvell.com/ I have not looked into all details. But just wondering: why not making this part of the platform bus. This seems generic and then vendors can have thei= r own platform drivers. Thanks, Chenbo