From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id AF1A12F42 for ; Sun, 16 Dec 2018 10:36:27 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0388A83F44; Sun, 16 Dec 2018 09:36:27 +0000 (UTC) Received: from [10.36.112.14] (unknown [10.36.112.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 37C475C1A1; Sun, 16 Dec 2018 09:36:23 +0000 (UTC) To: Xiao Wang , tiwei.bie@intel.com Cc: alejandro.lucero@netronome.com, dev@dpdk.org, zhihong.wang@intel.com, xiaolong.ye@intel.com References: <20181213100910.13087-2-xiao.w.wang@intel.com> <20181214211612.167681-1-xiao.w.wang@intel.com> <20181214211612.167681-11-xiao.w.wang@intel.com> From: Maxime Coquelin Message-ID: <1c28e8e9-1227-26ec-0116-334c529c8818@redhat.com> Date: Sun, 16 Dec 2018 10:36:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181214211612.167681-11-xiao.w.wang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 16 Dec 2018 09:36:27 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v4 10/10] doc: update ifc NIC document X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2018 09:36:27 -0000 On 12/14/18 10:16 PM, Xiao Wang wrote: > Add the SW assisted VDPA live migration feature into NIC doc. > > Signed-off-by: Xiao Wang > --- > doc/guides/nics/ifc.rst | 8 ++++++++ > doc/guides/rel_notes/release_19_02.rst | 6 ++++++ > 2 files changed, 14 insertions(+) > > diff --git a/doc/guides/nics/ifc.rst b/doc/guides/nics/ifc.rst > index 48f9adf1d..eb55d329a 100644 > --- a/doc/guides/nics/ifc.rst > +++ b/doc/guides/nics/ifc.rst > @@ -39,6 +39,13 @@ the driver probe a new container is created for this device, with this > container vDPA driver can program DMA remapping table with the VM's memory > region information. > > +The device argument "swlm=1" will configure the driver into SW assisted live > +migration mode. In this mode, the driver will set up a SW relay thread when LM > +happens, this thread will help device to log dirty pages. Thus this mode does > +not require HW to implement a dirty page logging function block, but will > +consume some percentage of CPU resource depending on the network throughput. > +If no "swlm=1" specified, driver will rely on device's logging capability. > + Ok, so that's documented here. What about documenting vdpa option too? > Key IFCVF vDPA driver ops > ~~~~~~~~~~~~~~~~~~~~~~~~~ > > @@ -70,6 +77,7 @@ Features > Features of the IFCVF driver are: > > - Compatibility with virtio 0.95 and 1.0. > +- SW assisted vDPA live migration. > > > Prerequisites > diff --git a/doc/guides/rel_notes/release_19_02.rst b/doc/guides/rel_notes/release_19_02.rst > index e86ef9511..ced6af8f0 100644 > --- a/doc/guides/rel_notes/release_19_02.rst > +++ b/doc/guides/rel_notes/release_19_02.rst > @@ -60,6 +60,12 @@ New Features > * Added the handler to get firmware version string. > * Added support for multicast filtering. > > +* **Added support for SW-assisted VDPA live migration.** > + > + This SW-assisted VDPA live migration facility helps VDPA devices without > + logging capability to perform live migration, a mediate SW relay can help > + devices to track dirty pages caused by DMA. IFC driver has enabled this > + SW-assisted live migration mode. > > Removed Items > ------------- >