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 45FA3A00C5; Fri, 29 May 2020 03:34:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 718821DC17; Fri, 29 May 2020 03:34:36 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 1D33C1B94F for ; Fri, 29 May 2020 03:34:33 +0200 (CEST) IronPort-SDR: HqZ0+FtRjleQeFkLyM0o+7KrTYV7CBw8tctvuCV0XAsJ8wZBQz8G+tSkl233z3Zm/o8BUCVpDJ sFcKKV3eDXoQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 18:34:33 -0700 IronPort-SDR: F/ZgSnniFEYrZOwArG/e3gbkmbrBicIxfc1tF/cZdY+BV30VoobZxRRGIl7/B8tdTInmgDgqn1 l7SchE2ftmlQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="257210595" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.116.183]) by fmsmga008.fm.intel.com with ESMTP; 28 May 2020 18:34:31 -0700 Date: Fri, 29 May 2020 09:26:24 +0800 From: Ye Xiaolong To: Haiyue Wang Cc: dev@dpdk.org, anatoly.burakov@intel.com, thomas@monjalon.net, jerinj@marvell.com, david.marchand@redhat.com, arybchenko@solarflare.com Message-ID: <20200529012624.GC75561@intel.com> References: <20200305043311.17065-1-vattunuru@marvell.com> <20200528012225.74142-1-haiyue.wang@intel.com> <20200528012225.74142-3-haiyue.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528012225.74142-3-haiyue.wang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) 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" 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 >--- [snip] >+ >+/** >+ * 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); >+ Minor nit, missing the EXPERIMENTAL warning int the comment. * @warning * @b EXPERIMENTAL: this API may change without prior notice *