Re: [net PATCH v4 5/6] virtio: add pci_down/pci_up configuration

2017-01-17 Thread John Fastabend
On 17-01-15 08:04 PM, John Fastabend wrote: > On 17-01-15 07:57 PM, Jason Wang wrote: >> >> >> On 2017年01月16日 08:01, John Fastabend wrote: >>> In virtio_net we need to do a full reset of the device to support >>> queue reconfiguration and also we can trigger this via ethtool >>> commands. So instea

Re: [net PATCH v4 5/6] virtio: add pci_down/pci_up configuration

2017-01-15 Thread John Fastabend
On 17-01-15 07:57 PM, Jason Wang wrote: > > > On 2017年01月16日 08:01, John Fastabend wrote: >> In virtio_net we need to do a full reset of the device to support >> queue reconfiguration and also we can trigger this via ethtool >> commands. So instead of open coding this in net driver push this >> i

Re: [net PATCH v4 5/6] virtio: add pci_down/pci_up configuration

2017-01-15 Thread Jason Wang
On 2017年01月16日 08:01, John Fastabend wrote: In virtio_net we need to do a full reset of the device to support queue reconfiguration and also we can trigger this via ethtool commands. So instead of open coding this in net driver push this into generic code in virtio. This also avoid exporting a

[net PATCH v4 5/6] virtio: add pci_down/pci_up configuration

2017-01-15 Thread John Fastabend
In virtio_net we need to do a full reset of the device to support queue reconfiguration and also we can trigger this via ethtool commands. So instead of open coding this in net driver push this into generic code in virtio. This also avoid exporting a handful of internal virtio routines. Signed-off