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

Thomas Monjalon thomas at monjalon.net
Sat Apr 18 15:26:51 CEST 2020


18/04/2020 13:16, Haiyue Wang:
> --- a/doc/guides/linux_gsg/linux_drivers.rst
> +++ b/doc/guides/linux_gsg/linux_drivers.rst
> +The Linux kernel since version 5.7 supports the creation of virtual functions, and by default this feature is off.

Creation of virtual function has always been supported.
You need to be more specific about the new use case please.

> +After enabled, the PF needs the VF token in UUID format to setup the trust or collaboration between SR-IOV PF and VFs.
> +The VFs created are bound to vfio-pci module automatically, and the VF also needs VF token to gain access to the device.
> +DPDK will use the keyword ``vf_token`` as device argument to pass the VF token value to PF and its related VFs.

You need to explain where the token comes from. Can it be any random UUID?




More information about the dev mailing list