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.w...@intel.com> >Acked-by: Anatoly Burakov <anatoly.bura...@intel.com> >Acked-by: Andrew Rybchenko <arybche...@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. * @warning * @b EXPERIMENTAL: this API may change without prior notice *