From patchwork Thu Feb 9 18:14:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wiles, Keith" X-Patchwork-Id: 20334 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 87689FADC; Thu, 9 Feb 2017 19:15:42 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 89DBFFAC8 for ; Thu, 9 Feb 2017 19:15:03 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 09 Feb 2017 10:15:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,137,1484035200"; d="scan'208";a="223363876" Received: from fshahid-mobl2.amr.corp.intel.com ([10.254.19.238]) by fmsmga004.fm.intel.com with ESMTP; 09 Feb 2017 10:15:01 -0800 From: Keith Wiles To: dev@dpdk.org Date: Thu, 9 Feb 2017 12:14:43 -0600 Message-Id: <20170209181450.58466-5-keith.wiles@intel.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170209181450.58466-1-keith.wiles@intel.com> References: <20170209181450.58466-1-keith.wiles@intel.com> Subject: [dpdk-dev] [PATCH 04/11] doc/howto: use corelist instead of coremask 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Keith Wiles --- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 6 +++--- doc/guides/howto/lm_virtio_vhost_user.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc/guides/howto/flow_bifurcation.rst index 0d7226a..ad544ce 100644 --- a/doc/guides/howto/flow_bifurcation.rst +++ b/doc/guides/howto/flow_bifurcation.rst @@ -126,7 +126,7 @@ The typical procedure to achieve this is as follows: .. code-block:: console - testpmd -c 0xff -n 4 -- -i -w 01:10.0 -w 01:10.1 --forward-mode=mac + testpmd -l 0-7 -n 4 -- -i -w 01:10.0 -w 01:10.1 --forward-mode=mac In this example, traffic matching the rules will go through the VF by matching the filter rule. All other traffic, not matching the rules, will go through diff --git a/doc/guides/howto/lm_bond_virtio_sriov.rst b/doc/guides/howto/lm_bond_virtio_sriov.rst index 169b64e..bdf2749 100644 --- a/doc/guides/howto/lm_bond_virtio_sriov.rst +++ b/doc/guides/howto/lm_bond_virtio_sriov.rst @@ -442,7 +442,7 @@ Setup Virtual Machine on host_server_1 # Memory MEM=1536 - taskset -c 1-5 $KVM_PATH \ + taskset -l 1-5 $KVM_PATH \ -enable-kvm \ -m $MEM \ -smp $VCPUS_NR \ @@ -545,7 +545,7 @@ Setup Virtual Machine on host_server_2 # Memory MEM=1536 - taskset -c 1-5 $KVM_PATH \ + taskset -l 1-5 $KVM_PATH \ -enable-kvm \ -m $MEM \ -smp $VCPUS_NR \ @@ -641,7 +641,7 @@ Run testpmd in the Virtual Machine. # use for bonding of virtio and vf tests in VM /root/dpdk/x86_64-default-linuxapp-gcc/app/testpmd \ - -c f -n 4 --socket-mem 350 -- --i --port-topology=chained + -l 0-3 -n 4 --socket-mem 350 -- --i --port-topology=chained .. _lm_bond_virtio_sriov_switch_conf: diff --git a/doc/guides/howto/lm_virtio_vhost_user.rst b/doc/guides/howto/lm_virtio_vhost_user.rst index 0a0fcfc..7e440ff 100644 --- a/doc/guides/howto/lm_virtio_vhost_user.rst +++ b/doc/guides/howto/lm_virtio_vhost_user.rst @@ -326,7 +326,7 @@ vm_virtio_vhost_user.sh # Socket Path SOCKET_PATH="/root/dpdk/host_scripts/usvhost" - taskset -c 2-7 $KVM_PATH \ + taskset -l 2-7 $KVM_PATH \ -enable-kvm \ -m $MEM \ -smp $VCPUS_NR \ @@ -402,7 +402,7 @@ vm_virtio_vhost_user_migrate.sh # Socket Path SOCKET_PATH="/root/dpdk/host_scripts/usvhost" - taskset -c 2-7 $KVM_PATH \ + taskset -l 2-7 $KVM_PATH \ -enable-kvm \ -m $MEM \ -smp $VCPUS_NR \ @@ -466,4 +466,4 @@ run_testpmd_in_vm.sh # test system has 8 cpus (0-7), use cpus 2-7 for VM /root/dpdk/x86_64-default-linuxapp-gcc/app/testpmd \ - -c 3f -n 4 --socket-mem 350 -- --burst=64 --i --disable-hw-vlan-filter + -l 0-5 -n 4 --socket-mem 350 -- --burst=64 --i --disable-hw-vlan-filter