[dpdk-dev] [PATCH v14 2/2] eal: support for VFIO-PCI VF token
Ye Xiaolong
xiaolong.ye at intel.com
Fri May 29 03:26:24 CEST 2020
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.
* @warning
* @b EXPERIMENTAL: this API may change without prior notice
*
More information about the dev
mailing list