From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35D33A00C5; Fri, 29 May 2020 03:38:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 298811DC18; Fri, 29 May 2020 03:38:29 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 45E8B1DC17 for ; Fri, 29 May 2020 03:38:28 +0200 (CEST) IronPort-SDR: sWUVwxWOs64hqOBWqC0z/5tVD8Jxaw+6/kib9/HVhjyj2y511JTyj6lJLLRy72R/uGDRhWzFrh 5A2Tys21WPcA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 18:38:27 -0700 IronPort-SDR: a7G6mxR6y/v8X/UzDnHwQ8049zHvfBi2j6RQY+hR75HJ3711Df2fb8XQjqaljREpmCc//2aQkt h5dhxD3T7f7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="285358967" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 28 May 2020 18:38:26 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 18:38:26 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 18:38:26 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 18:38:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wsdw+9ifWaUamqx4VK6MzKSWYZLwTbR5vCrrwNgAs/mDDaiY2LGBZEsLOThzq0QDaXOQt0d/oSX50ypRMphOr0AXVOxwFd/NUmao/5IQ9VuHBggBnHvLtKCGrkhZDOxTW73qVoSxU/eaKYdsgNYUtRUJSj++T6aqjZwX23yMDUI1jlNvCYyfLBRju4RsXU7Q78+Uca/4St6/NYGuvTVhcphr700oFKqbim6PdfbBioQkQAMEBzlF5VJ03zxEDjeVp7rqDJ/O6EZElf7kobahcAUfdPsf5nrNNdz5Er5i6MBlazeamkbIyn4bOQxpGg2n1SPuP2lgJnb2Iq+k/a7tBg== 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-SenderADCheck; bh=EmooEBO9inV07DEQM0iw+5e3Abaa6xCsfU6G/W0K9LE=; b=HXuIMGkETLUY5vrPHuu/aGRH313LlZFylF3W3kU5G1IPNNd3IV6zbz4v9YvM69i8q8kQdRlGZxyYqczveEqkfI2G0fPAYH6zoGdzr2I1neUEXGWkBg/leLXg4OSVMz+q9g5KynSKBFyKAh2a1ayh5cfk7Y5meso4/j3FGecqG3gsHZjjpMiwFmVLvTqYx/SLU4QoFX4XYbkTF8vx2HuEs5b/1svXpdVDO80H5xE3TVr+5kbROMsBXuK1KiEfqUn5rWHA9RII0bOh7SbGErOhQVfbodVm2jTtkkXRrU1G/1+6G8qPTNIxe727iEM98ofx3wu9zWiroSEWbW73rMTXKA== 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=EmooEBO9inV07DEQM0iw+5e3Abaa6xCsfU6G/W0K9LE=; b=M2cPIcGf0UFMxmrK7zI6I4cXOAlNvapZ4xwC8TLR3ceC83PFvFjlYShvikql64pJCST5ZhP/WgR1LeQPJCnfdVfS1clWeNRi/GAyrSSDtCJn/xMV24uIvHyU2+GPkihQCmUE0Wnf6Z968cmfQgF0GxuIFR95ld3tPQDgaiJr2x8= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3553.namprd11.prod.outlook.com (2603:10b6:408:81::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Fri, 29 May 2020 01:38:23 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::c96e:e522:e0dc:490c]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::c96e:e522:e0dc:490c%7]) with mapi id 15.20.3021.030; Fri, 29 May 2020 01:38:22 +0000 From: "Wang, Haiyue" To: "Ye, Xiaolong" CC: "dev@dpdk.org" , "Burakov, Anatoly" , "thomas@monjalon.net" , "jerinj@marvell.com" , "david.marchand@redhat.com" , "arybchenko@solarflare.com" Thread-Topic: [dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF token Thread-Index: AQHWNI+FRAryzLOYyEiu05bCkK3H5ai+RzUAgAACrJA= Date: Fri, 29 May 2020 01:38:22 +0000 Message-ID: References: <20200305043311.17065-1-vattunuru@marvell.com> <20200528012225.74142-1-haiyue.wang@intel.com> <20200528012225.74142-3-haiyue.wang@intel.com> <20200529012624.GC75561@intel.com> In-Reply-To: <20200529012624.GC75561@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0248e5a0-f71e-4018-9bef-08d80370f978 x-ms-traffictypediagnostic: BN8PR11MB3553: 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:6790; x-forefront-prvs: 04180B6720 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BYxC0t0AikibiBkFslKkPiRkJ5oP8CtxL2GWsLbgThnMv/WIlzEZJprg+pTDq0oiW9gc7fRigrrlBNM5d32ZQzni7ecGCx8QloRqpQqjZ3eRQRYSWC/uktVYcaeaSCni/xfKKHqSselPj7N2q186Eu9EpsqwYF+zN5gtYEk1UwVoBXhuM1vl/rNcudt+nathEK2jNr0N8r8XvQH8cCVSsfRazNXt0Q1BaV+xjNrsMyKBwEPGoe7c6bPVrbsu/oSphJ68KML1aiMvFT7WjF9ZdpVsfnfppoK9frl3Kdo3B+cdsg4zuA6P5ZCRRULCqAoGgeo+yM3Uc2n6kZlqFwmOQw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(39860400002)(376002)(346002)(136003)(396003)(366004)(66946007)(66446008)(54906003)(86362001)(2906002)(64756008)(66476007)(52536014)(478600001)(66556008)(6506007)(53546011)(6862004)(6636002)(7696005)(26005)(186003)(4326008)(8676002)(71200400001)(33656002)(76116006)(8936002)(9686003)(316002)(5660300002)(55016002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: mYgdRlh+Nz6v8vDSamrXgxaD/RHR5GdK8Rlk/y0+YtK+WtMiyLC0nnI3LUBgNfbQxU9VSR6pUg4eo2GrjKWiAvzUeuXPDlVB1TZJ0W1nDCexrfeEgpkhPOyBmG8gwELnYwpl2awz3nqFjniNQ7iPcAb4vrnYb447rEQCTuhZHW4PuPLDnTa/uQp+s+NoZntFzmhcm1LqILD03qbi2lJkjB1VPOe5lIAsrLc05ke2LbczFmQ1gMUwWrQtAj8LX56eATvlE6bkCAbh6sjImlBs/IBdEGX+9+7dshCCAKtMYt8GLzuSt5GXZotvLwkJNcUKeBtBMCpWj4K7rFWFgt5Dld/7oJbMK47mVbBdziuI8i3uL7ebVDlrUL+aBGsQVZJYR8Q4vSPq4Om6n8i9bvw310lW4verX5xcsj12DAKkGJ/jWijln8NYXOWowKGkZiwaG3ZInlp08Otb1BwOKMx9i9yVRjB6e37fL/JLabutx4HjtZz5rS8vc1ReCxsl1VE1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0248e5a0-f71e-4018-9bef-08d80370f978 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2020 01:38:22.8067 (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: 9feAgOb7IdGiqqZoSjFdBOSt79o6khULa9iGAQ09n97vBuMgrOk9tFsI8zCwX7C60PyRVx6X2HD3rvD9L6UDUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3553 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF token X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > -----Original Message----- > From: Ye, Xiaolong > Sent: Friday, May 29, 2020 09:26 > To: Wang, Haiyue > Cc: dev@dpdk.org; Burakov, Anatoly ; thomas@mo= njalon.net; > jerinj@marvell.com; david.marchand@redhat.com; arybchenko@solarflare.com > Subject: Re: [dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF toke= n >=20 > On 05/28, Haiyue Wang wrote: > >The kernel module vfio-pci introduces the VF token to enable SR-IOV > >support since 5.7. > > > >The VF token can be set by a vfio-pci based PF driver and must be known > >by the vfio-pci based VF driver in order to gain access to the device. > > > >Signed-off-by: Haiyue Wang > >Acked-by: Anatoly Burakov > >Acked-by: Andrew Rybchenko > >--- >=20 > [snip] >=20 > >+ > >+/** > >+ * Copy the user-configured vfio VF token. > >+ * > >+ * @param vf_token > >+ * vfio VF token configured with the command line is copied > >+ * into this parameter, zero uuid by default. > >+ */ > >+__rte_experimental > >+void rte_eal_vfio_get_vf_token(rte_uuid_t vf_token); > >+ >=20 > Minor nit, missing the EXPERIMENTAL warning int the comment. >=20 Yes, missed, it is good for kindly reminding. ;-) > * @warning > * @b EXPERIMENTAL: this API may change without prior notice > *