From: Pavel Fedin
Subject: Re: [PATCH 0/4 for 2.3] vhost-user live migration support
Date: Wed, 16 Dec 2015 10:05:31 +0300
Message-ID: <003101d137d0$27886330$76992990$@samsung.com>
References: <20151211094934.GX29571@yliu-dev.sh.intel.com>
<001c01d133fd$d3a7d870$7af78950$@samsung.com>
<20151214035842.GB18437@pxdev.xzpeter.org>
<20151215082324.GG29571@yliu-dev.sh.intel.com>
<007f01d13715$042a0a80$0c7e1f80$@samsung.com>
<20151215100548.GD32243@pxdev.xzpeter.org>
<20151215131812.GI29571@yliu-dev.sh.intel.com>
<20151216023803.GB20951@pxdev.xzpeter.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: dev@dpdk.org, 'Victor Kaplansky'
To: 'Peter Xu' , 'Thibaut Collet'
Return-path:
Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com
[210.118.77.14]) by dpdk.org (Postfix) with ESMTP id A0A0D11C5
for ; Wed, 16 Dec 2015 08:05:34 +0100 (CET)
Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244])
by mailout4.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014))
with ESMTP id <0NZF00E0QVP8WC10@mailout4.w1.samsung.com> for dev@dpdk.org;
Wed, 16 Dec 2015 07:05:32 +0000 (GMT)
In-reply-to: <20151216023803.GB20951@pxdev.xzpeter.org>
Content-language: ru
List-Id: patches and discussions about DPDK
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
Hello!
> 1. if vhost-user backend (or say, DPDK) supports GUEST_ANNOUNCE, and
> send another RARP (or say, GARP, I will use RARP as example),
> then there will be two RARP later on the line, right? (since the
> QEMU one is sent unconditionally from qemu_announce_self).
qemu_announce_self() is NOT unconditional. It applies only to emulated =
physical NICs and bypasses virtio/vhost. So it will not send anything at =
all for vhost-user.
> 2. if the only thing vhost-user backend is to send another same RARP
> when got SEND_RARP request, why would it bother if QEMU will
> unconditionally send one?
See above, it won't send one.
It looks to me like qemu_announce_self() is just a poor man's solution =
which even doesn't always work (because GARP should reassociate an =
existing IP with new MAC, shouldn't it? and qemu doesn't know the IP and =
just sets both src and dst to 0.0.0.0).
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia