From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 475D442E49; Tue, 11 Jul 2023 21:54:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D60540A7D; Tue, 11 Jul 2023 21:54:27 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id E65424003C for ; Tue, 11 Jul 2023 21:54:25 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 856113200911; Tue, 11 Jul 2023 15:54:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 11 Jul 2023 15:54:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1689105262; x=1689191662; bh=71tUmwm4S3m6oeNRiMViSfS/5g8tHu0ZA9F QKs4PGfY=; b=rNd5WN/7RWdSX+dvh56gqF1QPeD63JBj2AalpqNmuicH+HxRcYR d1VMn6cyo4NC0GPtln8vLDJ5OtwP12aqYz0RmFoRmWUOHHhhP/+rZK0yrNURpu8e RDV9+PJefdpTlcpK+6xuh/t3G9yHKnTjsUakprz10ALPwDiGM3MXLusMbnbWaHDP +dmGPBZALudan0Dcxmgkz24D/qZVcoHmJtrVGIg456m7+o9tXdDr7osZXS+tSK6/ 9sOtzDI3snljFrGUNjab+Yh5bTvsXT0L4NFWEjj04npSk7hFZfqW8JHTj00NC/rM Gq7W90QT8mRrOP8nDnu5Egbrz8j5Bbyyklg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1689105262; x=1689191662; bh=71tUmwm4S3m6oeNRiMViSfS/5g8tHu0ZA9F QKs4PGfY=; b=APezweScaD0RfAj2sAa9J59DnMFpJUhdT1PdK96UHAUTflvs6D3 RxPRWTkTZes7X82z2nGdZ/0dobdcFfrhON7kRHp74doUMCGveqbgDhb5oPWD3PGI eeUqgIMYrM3xlLeDz+1XK06F9tgiKbMLJhlLWIQgdrlJWm/zEVmXu4xvyNa24Wbj Bizm4qDvKY7h43+5LZCGaFfYSYEUnPXvWiBKmWjChrL6jBIeeS3Sg+qTJmTboF9T lWZZUtkBsvzbJJIBfrvB5V7gZiacBE0IqShxSK5h1Uo++Mh9wmNblyMoOumL1vpp WJwaHFIUlHUXkghPOlxV9NEwiIUtcZ2scjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfedtgddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpefgteekvdfhleeltddugeduleeiheelvdeutdevieeltdehjedu jeekueekteduudenucffohhmrghinhepughpughkqdguvghvsghinhgurdhphienucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshes mhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jul 2023 15:54:20 -0400 (EDT) From: Thomas Monjalon To: Lingyu Liu , dev@dpdk.org, qi.z.zhang@intel.com, beilei.xing@intel.com Cc: "Cao, Yahui" Subject: Re: [PATCH v4] doc: add iavf live migration guide Date: Tue, 11 Jul 2023 21:54:18 +0200 Message-ID: <2681155.PIDvDuAF1L@thomas> In-Reply-To: <88200a75-fe01-2d31-1d20-bacaa030468f@intel.com> References: <20230706072448.30063-1-lingyu.liu@intel.com> <20230707060841.70826-1-lingyu.liu@intel.com> <88200a75-fe01-2d31-1d20-bacaa030468f@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hello, I don't pull this patch in -rc3 because I feel some improvements should be done. > On 7/7/2023 2:08 PM, Lingyu Liu wrote: > > + echo 2 > /sys/bus/pci/devices/0000:ca:00.1/sriov_numvfs > > + echo "8086 1889" > /sys/bus/pci/drivers/ice-vfio-pci/new_id > > + echo 0000:ca:11.0 > /sys/bus/pci/devices/0000:ca:11.0/driver/unbind > > + echo 0000:ca:11.0 > /sys/bus/pci/drivers/ice-vfio-pci/bind > > + echo 0000:ca:11.1 > /sys/bus/pci/devices/0000:ca:11.1/driver/unbind > > + echo 0000:ca:11.1 > /sys/bus/pci/drivers/ice-vfio-pci/bind Why not using dpdk-devbind.py? > > + > > + .. note:: > > + > > + The command above creates two vfs for device 0000:ca:00.1: vfs should be VFs > > + > > + .. code-block:: console > > + > > + 0000:ca:11.0 'Ethernet Adaptive Virtual Function 1889' if= drv=ice-vfio-pci unused=iavf > > + 0000:ca:11.1 'Ethernet Adaptive Virtual Function 1889' if= drv=ice-vfio-pci unused=iavf > > + > > +#. Now, start the migration source Virtual Machine by running the following command: > > + > > + .. code-block:: console > > + > > + qemu/build/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -cpu host -m 4G -smp 1 -device vfio-pci,host=0000:ca:11.0,x-enable-migration=true,x-pre-copy-dirty-page-tracking=off -drive file=ubuntu-2004.qcow2 -nic user,hostfwd=tcp::5555-:22 -monitor stdio No need the full qemu command with your local details here. > > --- a/doc/guides/rel_notes/release_23_07.rst > > +++ b/doc/guides/rel_notes/release_23_07.rst > > @@ -200,6 +200,9 @@ New Features > > > > Enhanced the GRO library to support TCP packets over IPv6 network. > > > > +* **Updated Intel iavf driver.** > > + > > + Added the document for iavf driver live migration based on KVM vfio migration. Not sure about the importance of this note.