From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f179.google.com (mail-wj0-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id EC21BFB1B for ; Tue, 20 Dec 2016 11:03:35 +0100 (CET) Received: by mail-wj0-f179.google.com with SMTP id tg4so173154391wjb.1 for ; Tue, 20 Dec 2016 02:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=c9+0h16GuxtBHz7D4aNMGJn5TRGJGSfJkwZydiDvZEk=; b=fXzIqZfy5bbOqUu4ldXZdMyuOGhTte28yWtkmFmmv6jdJd9cISSSf4BM+Tvqyoc8s5 YJOIMZbK3XKjbdbcfpiCbwj3CehFnw85UHrg6ptvflIIsw2uWnj2GL/snALrDK+UaMG1 B8Nap4YbpHM/HHcEjy6e4rvkRjnlAC/q/pAKs3T6B9c4a+v46IUiBrW+sCni5dipfogD T05wcU6Q4dKAkh3d2N5zd44lDopTopQPJZkG7C3z0Mb7bwJZqnN8CgSbwmV4X6NkQygO X3dlxHkKRXXURhuFQyv2C0XJ1VeOS/jH4zc871Zjblyy3lmk13i5nZ64P3PgDD75GcWq ue0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=c9+0h16GuxtBHz7D4aNMGJn5TRGJGSfJkwZydiDvZEk=; b=MXrC8bDo2jcb6H7ux1Qz9ofG5R+mFLvrEV/bia/erRsCl9m8PvW4B0Eh7swVCfF1VX jur3dhF6ZbwvZfHOqhsHl8LQ2oQMWJdyOhNX96i7xLE4AURvVnNb5cqOTO1TGrMljjfQ pPMSkxyElFu7j1DGUjOTNnzkquQo1CxrEzgGcJ/VDzjxoQvjdAoSvkDMB1SLIqzJ2ha+ mLGZ3lMHqD8bbN+KsQE+eK5WKo4oMHx7JkPUt8DklXCah8YlE+RNVP1AWQrnqAEcpKaX Yk5DLCd6b8Dyxdsk9I9MggmOPFaOMNTKC0S2UOxF54q4zCZ4ZLRx/+V5rwHKLwznXHCP aMbQ== X-Gm-Message-State: AKaTC00LJZw/1m13v8Hb1MQhVRoP9NTXlRrcXRSm2bGzpQliRvrCINEEsEGTwNgE8f2QA2uB X-Received: by 10.194.238.163 with SMTP id vl3mr16896022wjc.169.1482228215653; Tue, 20 Dec 2016 02:03:35 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x140sm21288696wme.19.2016.12.20.02.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 02:03:34 -0800 (PST) From: Thomas Monjalon To: Maxime Coquelin Cc: "Mcnamara, John" , "yuanhan.liu@linux.intel.com" , "Yang, Zhiyong" , "ktraynor@redhat.com" , dev@dpdk.org Date: Tue, 20 Dec 2016 11:03:34 +0100 Message-ID: <15125480.nLCo42mjm8@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <20161206122440.12039-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] doc: introduce PVP reference benchmark 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: Tue, 20 Dec 2016 10:03:36 -0000 > > >> Signed-off-by: Maxime Coquelin > > > > > > There is one trailing whitespace warning but apart from that: > > > > > > Acked-by: John McNamara > > > > Thanks John, > > > > Do you want me to send a v3, fixing the trailing whitespace & collecting > > the acks? > > No need (unless the tree maintainer says otherwise). > It was one trailing whitespace. Just something to look out for in future. Removed when applying. Fixed some heading issues also: --- a/doc/guides/howto/pvp_reference_benchmark.rst +++ b/doc/guides/howto/pvp_reference_benchmark.rst @@ -160,7 +160,7 @@ Testpmd launch --portmask=f --disable-hw-vlan -i --rxq=1 --txq=1 --nb-cores=4 --forward-mode=io -With this command, isolated CPUs 2 to 5 will be used as lcores for PMD threads. + With this command, isolated CPUs 2 to 5 will be used as lcores for PMD threads. #. In testpmd interactive mode, set the portlist to obtain the correct port chaining: @@ -176,7 +176,8 @@ VM launch The VM may be launched either by calling QEMU directly, or by using libvirt. -#. Qemu way: +Qemu way +^^^^^^^^ Launch QEMU with two Virtio-net devices paired to the vhost-user sockets created by testpmd. Below example uses default Virtio-net options, but options @@ -210,7 +211,8 @@ where isolated CPUs 6 and 7 will be used as lcores for Virtio PMDs: export PYTHONPATH=$PYTHONPATH:/scripts/qmp ./qmp-vcpu-pin -s /tmp/qmp.socket 1 6 7 -#. Libvirt way: +Libvirt way +^^^^^^^^^^^ Some initial steps are required for libvirt to be able to connect to testpmd's sockets. Thanks