[dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF token

Wang, Haiyue haiyue.wang at intel.com
Fri May 29 03:38:22 CEST 2020


> -----Original Message-----
> From: Ye, Xiaolong <xiaolong.ye at intel.com>
> Sent: Friday, May 29, 2020 09:26
> To: Wang, Haiyue <haiyue.wang at intel.com>
> Cc: dev at dpdk.org; Burakov, Anatoly <anatoly.burakov at intel.com>; thomas at monjalon.net;
> jerinj at marvell.com; david.marchand at redhat.com; arybchenko at solarflare.com
> Subject: Re: [dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF token
> 
> 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 <haiyue.wang at intel.com>
> >Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> >Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> >---
> 
> [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.
> 

Yes, missed, it is good for kindly reminding. ;-)

>  * @warning
>  * @b EXPERIMENTAL: this API may change without prior notice
>  *


More information about the dev mailing list