Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2018-01-03 Thread Wang, Xiao W
> -Original Message- > From: Wang, Xiao W > Sent: Wednesday, January 3, 2018 9:37 AM > To: Bie, Tiwei > Cc: y...@fridaylinux.org; dev@dpdk.org; step...@networkplumber.org > Subject: RE: [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE > > Hi, > > > -Original Message- > > From:

Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2018-01-02 Thread Wang, Xiao W
> -Original Message- > From: Bie, Tiwei > Sent: Wednesday, December 6, 2017 7:23 PM > To: Wang, Xiao W > Cc: y...@fridaylinux.org; dev@dpdk.org; step...@networkplumber.org > Subject: Re: [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE > > On Mon, Dec 04, 2017 at 06:02:08AM -0800, Xiao

Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2018-01-02 Thread Wang, Xiao W
Hi, > -Original Message- > From: Bie, Tiwei > Sent: Monday, December 4, 2017 4:47 PM > To: Wang, Xiao W > Cc: y...@fridaylinux.org; dev@dpdk.org; step...@networkplumber.org > Subject: Re: [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE > > On Mon, Dec 04, 2017 at 06:02:08AM -0800, Xiao

Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2017-12-06 Thread Yuanhan Liu
On Wed, Dec 06, 2017 at 07:23:11PM +0800, Tiwei Bie wrote: > On Mon, Dec 04, 2017 at 06:02:08AM -0800, Xiao Wang wrote: > [...] > > diff --git a/drivers/net/virtio/virtio_rxtx.c > > b/drivers/net/virtio/virtio_rxtx.c > > index 6a24fde..7313bdd 100644 > > --- a/drivers/net/virtio/virtio_rxtx.c > >

Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2017-12-06 Thread Tiwei Bie
On Mon, Dec 04, 2017 at 06:02:08AM -0800, Xiao Wang wrote: [...] > diff --git a/drivers/net/virtio/virtio_rxtx.c > b/drivers/net/virtio/virtio_rxtx.c > index 6a24fde..7313bdd 100644 > --- a/drivers/net/virtio/virtio_rxtx.c > +++ b/drivers/net/virtio/virtio_rxtx.c > @@ -1100,3 +1100,84 @@ > >

Re: [dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2017-12-04 Thread Tiwei Bie
On Mon, Dec 04, 2017 at 06:02:08AM -0800, Xiao Wang wrote: > When live migration is done, for the backup VM, either the virtio > frontend or the vhost backend needs to send out gratuitous RARP packet > to announce its new network location. > To support GUEST ANNOUNCE, do we just need to send a RA

[dpdk-dev] [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE

2017-12-03 Thread Xiao Wang
When live migration is done, for the backup VM, either the virtio frontend or the vhost backend needs to send out gratuitous RARP packet to announce its new network location. This patch enables VIRTIO_NET_F_GUEST_ANNOUNCE feature to support live migration scenario where the vhost backend doesn't h