Re: [dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support

2020-04-13 Thread Wang, Haiyue
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Monday, April 13, 2020 20:18 > To: Wang, Haiyue > Cc: dev@dpdk.org; vattun...@marvell.com; jer...@marvell.com; > alex.william...@redhat.com; > david.march...@redhat.com > Subject: Re: [PATCH v4] eal: add VFIO-PCI SR-IOV sup

Re: [dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support

2020-04-13 Thread Wang, Haiyue
[dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support > > On 4/13/20 11:29 AM, 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

Re: [dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support

2020-04-13 Thread Andrew Rybchenko
On 4/13/20 11:29 AM, 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. > > An example VF

Re: [dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support

2020-04-13 Thread Thomas Monjalon
Hi, About the title, I think it does not convey what is new here. VFIO is not new, SR-IOV is already supported. The title should mention the new VFIO feature in few simple words. Is it only about using VFIO for PF? 13/04/2020 10:29, Haiyue Wang: > v4: 1. Ignore rte_vfio_setup_device ABI check si

[dpdk-dev] [PATCH v4] eal: add VFIO-PCI SR-IOV support

2020-04-13 Thread Haiyue Wang
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. An example VF token option would take this form: 1. Install vfio-p