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 7B1624366A; Mon, 4 Dec 2023 11:24:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6807640294; Mon, 4 Dec 2023 11:24:07 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6F3E44028C for ; Mon, 4 Dec 2023 11:24:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701685445; x=1733221445; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=V8kMQNhOf8HW1DZZNxijyxeeU8xpbJC924VGox14Oow=; b=awbBka7wG5kEnsvX1XWURQScdOUFRQApYXE8dUZDF+mo2XKBo2odFWCZ bL4JRpx16iDGoG+kFyrY69ZGTJQBWcO34y3DeZ+pBmorXpJdrxXuDR+a1 t2g9+vz6KcA9GIovDJM94405ajtET1nN9JHlLOgZ3ZXHIvDOmi5fiWAO6 kjBeJUGdxOQobRA4cS68vCMSfI0pTmBPUCFPa9BKhj0w2UBu0+Vs1KCYV qRwx5aoEtWSaFsrCSe2k664wkq8PKN38DAVcE258R0kby2YlMi3Zo4ExD 1Bew0zLBtyei/BNYPvI4zcXGmf0aGbYAIImsXsMqxkYY1RyYYAOzdosES w==; X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="378746375" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="378746375" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 02:24:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="914371054" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="914371054" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 04 Dec 2023 02:24:04 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.35; Mon, 4 Dec 2023 02:24:03 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 4 Dec 2023 02:24:03 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 4 Dec 2023 02:23:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DDxYf12gz3tIkx2Lhdfz+BKJgP2xVA9V1IpOxY4VjI3YU0pDSzWmGx6tt/8c1tVfyze58Pgyjag7XAQJxKhBOZ7fYMRGx9C9pPUvRJ20Wsz+pxkY1sEFGanf9QQVAGLJqPiHtXn9/LFyiBIRpH6rmuf/cAbePyLN/1mexCudhuTX/fI3HB2dnYrfdtwHnZKyq2mR0rv9Vxrz3ANFjFPqBEDPNvSap2SDZ9E/Gjc6aoGc/Wy9c/gNXqe9jYjzarVIhdUbwMaHBl5703TCpLu3Umi6kAt/PAwsuFQ6SiWbP4ebGR6udcwQ+F+TNTlaBS2w0S9qRVmOHiNu91GYfQ3sgA== 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=8ryG7GDkn6F4hDR/1JXSNT33rX2FJsjK7vCggbOkhPM=; b=oEL1DQC9Kh96rIvJ4EICXTsiCCACNMDWcbkfdg99ZftyVDiGR+ILdOANechcbRNV2DGXQHOYHoNY2cmIfnHjltdFjQxx88YiLxrwk0rK+w8jcfiSa3czAuKlNj3UX8SmS6QtXlPnZm10X28Jzp7suS8v83tTxDStd1PCuQupB0Iy8zhcqOEZL9YhBX75LlZJH1RfctT4cIDA6mifJxyEdNhJIYnqTD5e4+t1O5byCjqyVH9Fr4uzfB/OKAo56ectQxfoi51+l6ksG717Y2U4/WrmBrBblBPtE7zRDRJKBj2SmLXk+pLZ1N+Hn6qy7nRsS9yeHXo4LP6Z8/KUxVGkUw== 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 SN7PR11MB7139.namprd11.prod.outlook.com (2603:10b6:806:2a2::14) by SN7PR11MB7019.namprd11.prod.outlook.com (2603:10b6:806:2ae::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.33; Mon, 4 Dec 2023 10:23:43 +0000 Received: from SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::5216:6b58:10e7:9875]) by SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::5216:6b58:10e7:9875%7]) with mapi id 15.20.7025.022; Mon, 4 Dec 2023 10:23:43 +0000 From: "Ye, MingjinX" To: Chenbo Xia CC: "dev@dpdk.org" Subject: RE: [PATCH v7 1/2] vfio: add get device info API Thread-Topic: [PATCH v7 1/2] vfio: add get device info API Thread-Index: AQHaHS/+1k6NvyrP5ky1CO3hEsIRm7CQkb4AgAGMF9A= Date: Mon, 4 Dec 2023 10:23:42 +0000 Message-ID: References: <20231114102418.409285-1-mingjinx.ye@intel.com> <20231122102232.108299-1-mingjinx.ye@intel.com> <20231122102232.108299-2-mingjinx.ye@intel.com> <113A4292-9833-4AB2-A930-782E9B460FDF@nvidia.com> In-Reply-To: <113A4292-9833-4AB2-A930-782E9B460FDF@nvidia.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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7139:EE_|SN7PR11MB7019:EE_ x-ms-office365-filtering-correlation-id: 81886ac4-0b12-446b-ca27-08dbf4b31716 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9CORF3EIjta3uqp5e7GAigADI4QrNmIusrX8yiASNnxRLwYtHlyUJPRU9if1wc+/boEUQ5du2Jo2MgFYy3oGd1zai8h23S9nmt6IQA3mF57hTP0KJvjfwKhUzFEcR1iuX6yWZBC51sk4Otw99McIZSN1XoujKdhu/KWwlOcBqS869Zm3oRPPTwFRV61aUWOj6mAq/squtMB/3jqSNxNpsh9bUP7QO9sItI5xlkY+WBBTK7BuLOAMLXUOaFh0vh1pGtfKTKPETk0b0DkrGkemJD8JXLUMxFYoz3OdxuPmsR0qkeveWimnra7OGQy7aK82NMqUJ82HLFlfoMrAChU58Qc7TLygRLNcR8E07AWCbaS54fHw8NDnYBBwQjvaMv1opdom7AojWz3zOE74PKoLfM8WYEolTPMsqUjSqWr8dhXRYf72Ab9H9blxE7ZirQW/3/DcAsUP2ltR6CwB5DXnqyW/MXvYptmTV85GzxYmoIu5sArqqkoFXDjsenJTgrAu85SzRZ3HLzTBX5Meccfldi06Isw7ohmMQzUDxGvj4i6zvgbKEQ3jdsd3ykHS50CIesFjUQfjtOIZGbbrauNXOiDUyy+epfuXnBd95xw4e0h7ygYRiKk4hGk2rvjY9h4Ui2CbGr37ZtW+Iwy+SmWoJgYVrXSfVBtyBwonayzWWJEpYx32DmA0DUfpvZIbNW3Y x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7139.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(376002)(346002)(39860400002)(396003)(230173577357003)(230273577357003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(76116006)(66476007)(64756008)(66446008)(66946007)(316002)(6916009)(478600001)(71200400001)(966005)(5660300002)(38070700009)(41300700001)(38100700002)(33656002)(2906002)(86362001)(52536014)(4326008)(8676002)(8936002)(122000001)(83380400001)(55016003)(26005)(82960400001)(9686003)(53546011)(7696005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TBZL2lqx7A/Q2Cm4xhPP/+W6FXUByi0tO1H2em/0b3SKIJM5bxJQgZeFSPEI?= =?us-ascii?Q?fR5UULgzAVBtbfHAUkl4UvIe+ho3hC919QbDeyIrvfM+XPw5doS9Rx8+DL2g?= =?us-ascii?Q?wDytGoVftYIxHHsNzIG8+1ReoqWxpGj0AAhkJz/FgeH4SRwkcpMyCHq68Tii?= =?us-ascii?Q?WK4sk8CWyBXL0+Kt3gr04PDZ73Tasr9RcGQqqbxXKN/eNd6ifS7guE1ylT+I?= =?us-ascii?Q?cSbte5zPOr20ljE9E1tbPPrMpjFagh7ezLEznD9f8UYa5n4O1NLL7h9eNHZE?= =?us-ascii?Q?IM+zZ3VYrCoZq2OIXFppPH54jk1horuv61DiqFi/uZmavGnQMH0/qrJH0OFm?= =?us-ascii?Q?TaHUfZE4cTynGPk6pO6leofm4hySQGIfvUQh43hW41A0zfXTK+7H5rXoUH1v?= =?us-ascii?Q?PapKxjIdG16d27lDs0QauuvysFzUBZIV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5ajFvstG8nRnhTtBNxyBpEaiOpwVMERwae1agptevG0QdeujlM+hZyB?= =?us-ascii?Q?rwTH3Hc1Sx+c2CdJGELhntCqbSxDStcF1MnWqIuT7u3oCAJhtP20eP26nc5x?= =?us-ascii?Q?/glfASn/OQ7NDSHecPUCm7/8rU6uELtiEJlgNVc/PkCv7oIikw9lNmJkGE9t?= =?us-ascii?Q?Y6nQPyiM92rhRNeB9TKpUT3YX96wjnyY5hC28Z+ve1s9a7AteBIeGA6LYFQ/?= =?us-ascii?Q?rsM9lvz9fG7NIHKLY0oFctUosE/6XR4Fyhi8yApR?= 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: SN7PR11MB7139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81886ac4-0b12-446b-ca27-08dbf4b31716 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2023 10:23:42.6482 (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: ZbSjAV2faiCd4bZxy17BDLLfcQlWqaC/dbvW2ycFgBRBtddAXd6iPtpG3ZQiJewGEGt99sjsMJnqk5jLYry7eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7019 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: Chenbo Xia > Sent: Wednesday, November 29, 2023 9:48 AM > To: Ye, MingjinX > Cc: dev@dpdk.org; Yang, Qiming ; Burakov, > Anatoly > Subject: Re: [PATCH v7 1/2] vfio: add get device info API >=20 > On Nov 22, 2023, at 18:22, Mingjin Ye wrote: > > > > External email: Use caution opening links or attachments > > > > > > This patch adds an API to support getting device information. > > > > The driver can use the "rte_vfio_get_device_info" helper to get device > > information from EAL. > > > > Signed-off-by: Mingjin Ye > > --- > > lib/eal/include/rte_vfio.h | 29 +++++++++++++++++++++++++++++ > > lib/eal/linux/eal_vfio.c | 27 +++++++++++++++++++++++++++ > > lib/eal/version.map | 3 +++ > > 3 files changed, 59 insertions(+) > > >=20 > Comments not addressed: >=20 > https://mails.dpdk.org/archives/dev/2023-November/282200.html Sorry for not responding in time. Experimental API, no CC stable. This API is used essentially the same as the rte_vfio_setup_device API. Reference: https://patchwork.dpdk.org/project/dpdk/patch/20231122102232.108= 299-3-mingjinx.ye@intel.com/ /Mingjin