[virtio-dev] [PATCH v3] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
There is a new feature bit allocated in virtio spec to support SR-IOV (Single Root I/O Virtualization): https://github.com/oasis-tcs/virtio-spec/issues/11 This patch enables the support for this feature bit in virtio driver. Signed-off-by: Tiwei Bie --- v3: - Drop the acks; v2: - Disable VFs w

[virtio-dev] Re: [PATCH v2] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
On Fri, Jun 01, 2018 at 06:47:01AM +0300, Michael S. Tsirkin wrote: > On Fri, Jun 01, 2018 at 10:09:21AM +0800, Tiwei Bie wrote: > > There is a new feature bit allocated in virtio spec to > > support SR-IOV (Single Root I/O Virtualization): > > > > https://github.com/oasis-tcs/virtio-spec/issues/1

[virtio-dev] Re: [PATCH v2] virtio_pci: support enabling VFs

2018-05-31 Thread Michael S. Tsirkin
On Fri, Jun 01, 2018 at 10:09:21AM +0800, Tiwei Bie wrote: > There is a new feature bit allocated in virtio spec to > support SR-IOV (Single Root I/O Virtualization): > > https://github.com/oasis-tcs/virtio-spec/issues/11 > > This patch enables the support for this feature bit in > virtio driver.

[virtio-dev] Re: [PATCH v7 4/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-05-31 Thread Wei Wang
On 06/01/2018 01:42 AM, Michael S. Tsirkin wrote: On Thu, May 31, 2018 at 10:27:00AM +0800, Wei Wang wrote: On 05/30/2018 08:47 PM, Michael S. Tsirkin wrote: On Wed, May 30, 2018 at 05:12:09PM +0800, Wei Wang wrote: On 05/29/2018 11:24 PM, Michael S. Tsirkin wrote: On Tue, Apr 24, 2018 at 02:

[virtio-dev] Re: [PATCH v2] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
On Fri, Jun 01, 2018 at 10:09:21AM +0800, Tiwei Bie wrote: > There is a new feature bit allocated in virtio spec to > support SR-IOV (Single Root I/O Virtualization): > > https://github.com/oasis-tcs/virtio-spec/issues/11 > > This patch enables the support for this feature bit in > virtio driver.

[virtio-dev] Re: [PATCH] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
On Thu, May 31, 2018 at 07:27:43AM -0700, Alexander Duyck wrote: > On Wed, May 30, 2018 at 8:20 PM, Tiwei Bie wrote: > > On Thu, May 31, 2018 at 01:11:37AM +0800, Rustad, Mark D wrote: > >> On May 30, 2018, at 9:54 AM, Duyck, Alexander H > >> wrote: > >> > >> > On Wed, 2018-05-30 at 09:44 -0700,

[virtio-dev] [PATCH v2] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
There is a new feature bit allocated in virtio spec to support SR-IOV (Single Root I/O Virtualization): https://github.com/oasis-tcs/virtio-spec/issues/11 This patch enables the support for this feature bit in virtio driver. Signed-off-by: Tiwei Bie Acked-by: Stefan Hajnoczi Acked-by: Michael

Re: [virtio-dev] [PATCH] virtio_pci: support enabling VFs

2018-05-31 Thread Tiwei Bie
On Fri, Jun 01, 2018 at 04:21:03AM +0300, Michael S. Tsirkin wrote: > On Thu, May 31, 2018 at 10:55:02AM +0800, Tiwei Bie wrote: > > On Wed, May 30, 2018 at 07:09:37PM +0300, Michael S. Tsirkin wrote: > > > On Wed, May 30, 2018 at 04:03:37PM +, Rustad, Mark D wrote: > > > > On May 30, 2018, at

[virtio-dev] RFC: Use of bridge devices to store pairing information...

2018-05-31 Thread Venu Busireddy
I looked at the discussion in the threads [1] and [2], where it was suggested placing the passthrough device behind one bridge, and the virtio device behind another bridge, and storing in those bridges' configuration space some unique identifier that can be used to pair the two devices. After so

Re: [virtio-dev] [PATCH] virtio_pci: support enabling VFs

2018-05-31 Thread Michael S. Tsirkin
On Thu, May 31, 2018 at 10:55:02AM +0800, Tiwei Bie wrote: > On Wed, May 30, 2018 at 07:09:37PM +0300, Michael S. Tsirkin wrote: > > On Wed, May 30, 2018 at 04:03:37PM +, Rustad, Mark D wrote: > > > On May 30, 2018, at 1:55 AM, Tiwei Bie wrote: > > > > > > > There is a new feature bit allocat

[virtio-dev] Re: [PATCH net-next v12 2/5] netvsc: refactor notifier/event handling code to use the failover framework

2018-05-31 Thread Siwei Liu
On Thu, May 31, 2018 at 11:35 AM, Michael S. Tsirkin wrote: > On Wed, May 30, 2018 at 10:06:35PM -0400, Stephen Hemminger wrote: >> On Thu, 24 May 2018 09:55:14 -0700 >> Sridhar Samudrala wrote: >> >> > Use the registration/notification framework supported by the generic >> > failover infrastruct

[virtio-dev] Re: [PATCH net-next v12 2/5] netvsc: refactor notifier/event handling code to use the failover framework

2018-05-31 Thread Michael S. Tsirkin
On Wed, May 30, 2018 at 10:06:35PM -0400, Stephen Hemminger wrote: > On Thu, 24 May 2018 09:55:14 -0700 > Sridhar Samudrala wrote: > > > Use the registration/notification framework supported by the generic > > failover infrastructure. > > > > Signed-off-by: Sridhar Samudrala > > Why was this m

[virtio-dev] Re: [PATCH v7 4/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-05-31 Thread Michael S. Tsirkin
On Thu, May 31, 2018 at 10:27:00AM +0800, Wei Wang wrote: > On 05/30/2018 08:47 PM, Michael S. Tsirkin wrote: > > On Wed, May 30, 2018 at 05:12:09PM +0800, Wei Wang wrote: > > > On 05/29/2018 11:24 PM, Michael S. Tsirkin wrote: > > > > On Tue, Apr 24, 2018 at 02:13:47PM +0800, Wei Wang wrote: > > >

[virtio-dev] Re: [PATCH net-next v12 2/5] netvsc: refactor notifier/event handling code to use the failover framework

2018-05-31 Thread Michael S. Tsirkin
On Thu, May 31, 2018 at 08:58:12AM -0400, Stephen Hemminger wrote: > On Wed, 30 May 2018 20:03:11 -0700 > "Samudrala, Sridhar" wrote: > > > On 5/30/2018 7:06 PM, Stephen Hemminger wrote: > > > On Thu, 24 May 2018 09:55:14 -0700 > > > Sridhar Samudrala wrote: > > > > > >> Use the registration/n

[virtio-dev] Re: [PATCH] virtio_pci: support enabling VFs

2018-05-31 Thread Alexander Duyck
On Wed, May 30, 2018 at 8:20 PM, Tiwei Bie wrote: > On Thu, May 31, 2018 at 01:11:37AM +0800, Rustad, Mark D wrote: >> On May 30, 2018, at 9:54 AM, Duyck, Alexander H >> wrote: >> >> > On Wed, 2018-05-30 at 09:44 -0700, Rustad, Mark D wrote: >> > > On May 30, 2018, at 9:22 AM, Michael S. Tsirkin