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

Wang, Haiyue haiyue.wang at intel.com
Sat Apr 18 19:37:37 CEST 2020


> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Saturday, April 18, 2020 21:27
> To: alex.williamson at redhat.com; david.marchand at redhat.com; Wang, Haiyue <haiyue.wang at intel.com>
> Cc: dev at dpdk.org; Burakov, Anatoly <anatoly.burakov at intel.com>; vattunuru at marvell.com;
> jerinj at marvell.com
> Subject: Re: [PATCH v7 2/2] eal: support for VFIO-PCI VF token
> 
> 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?
> 

Try to add more in v8, please review.


More information about the dev mailing list