Re: [Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-04-04 Thread Michael S. Tsirkin
On Thu, Apr 05, 2012 at 01:56:15PM +0800, Jason Wang wrote: > On 04/04/2012 03:49 PM, Michael S. Tsirkin wrote: > >On Wed, Mar 28, 2012 at 01:44:28PM +0800, Jason Wang wrote: > >>As hypervior does not have the knowledge of guest network configuration, > >>it's > >>better to ask guest to send gratu

Re: [Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-04-04 Thread Jason Wang
On 04/04/2012 03:49 PM, Michael S. Tsirkin wrote: On Wed, Mar 28, 2012 at 01:44:28PM +0800, Jason Wang wrote: As hypervior does not have the knowledge of guest network configuration, it's better to ask guest to send gratuitous packets when needed. Guest tests VIRTIO_NET_S_ANNOUNCE bit during co

Re: [Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-04-04 Thread Michael S. Tsirkin
On Tue, Apr 03, 2012 at 05:49:05PM -0400, David Miller wrote: > From: Jason Wang > Date: Wed, 28 Mar 2012 13:44:28 +0800 > > > As hypervior does not have the knowledge of guest network configuration, > > it's > > better to ask guest to send gratuitous packets when needed. > > > > Guest tests VI

Re: [Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-04-04 Thread Michael S. Tsirkin
On Wed, Mar 28, 2012 at 01:44:28PM +0800, Jason Wang wrote: > As hypervior does not have the knowledge of guest network configuration, it's > better to ask guest to send gratuitous packets when needed. > > Guest tests VIRTIO_NET_S_ANNOUNCE bit during config change interrupt and when > it > is set

Re: [Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-04-03 Thread David Miller
From: Jason Wang Date: Wed, 28 Mar 2012 13:44:28 +0800 > As hypervior does not have the knowledge of guest network configuration, it's > better to ask guest to send gratuitous packets when needed. > > Guest tests VIRTIO_NET_S_ANNOUNCE bit during config change interrupt and when > it > is set, a

[Qemu-devel] [V6 PATCH] virtio-net: send gratuitous packets when needed

2012-03-27 Thread Jason Wang
As hypervior does not have the knowledge of guest network configuration, it's better to ask guest to send gratuitous packets when needed. Guest tests VIRTIO_NET_S_ANNOUNCE bit during config change interrupt and when it is set, a workqueue is scheduled to send gratuitous packet through NETDEV_NOTIF