From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A62BA1B53 for ; Mon, 28 Aug 2017 14:27:30 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 28 Aug 2017 05:27:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,441,1498546800"; d="scan'208";a="1166791766" Received: from dpdk-test38.sh.intel.com ([10.67.111.97]) by orsmga001.jf.intel.com with ESMTP; 28 Aug 2017 05:27:28 -0700 From: Marvin Liu To: dts@dpdk.org Cc: Marvin Liu Date: Mon, 28 Aug 2017 08:25:09 -0400 Message-Id: <1503923109-38992-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] test_plans: fix some rst syntax warnings X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 12:27:31 -0000 Signed-off-by: Marvin Liu diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst index cd4e71b..e627faa 100644 --- a/test_plans/distributor_test_plan.rst +++ b/test_plans/distributor_test_plan.rst @@ -128,7 +128,7 @@ The number of workers are configured through the command line interface of the application: The test report should provide the measurements(mpps and % of the line rate) -for each action in lcores as listed in the table below: +for each action in lcores as listed in the table below:: +----+---------+------------------+------------------+------------------+------------------+------------------+------------------+ | # |Number of| Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate | Throughput Rate | diff --git a/test_plans/sriov_kvm_test_plan.rst b/test_plans/sriov_kvm_test_plan.rst index e0eedd4..f1c17c3 100644 --- a/test_plans/sriov_kvm_test_plan.rst +++ b/test_plans/sriov_kvm_test_plan.rst @@ -79,23 +79,21 @@ For VM0 start up command, you can refer to below command.:: -net tap,script=/etc/qemu-ifup \ -device pci-assign,host=08:10.0 -vnc :1 --daemonize -The /etc/qemu-ifup can be below script, need you to create first: - - .. code-block:: shell - - #!/bin/sh - set -x - switch=br0 - if [ -n "$1" ];then - /usr/sbin/tunctl -u `whoami` -t $1 - /sbin/ip link set $1 up - sleep 0.5s - /usr/sbin/brctl addif $switch $1 - exit 0 - else - echo "Error: no interface specified" - exit 1 - fi +The /etc/qemu-ifup can be below script, need you to create first:: + + #!/bin/sh + set -x + switch=br0 + if [ -n "$1" ];then + /usr/sbin/tunctl -u `whoami` -t $1 + /sbin/ip link set $1 up + sleep 0.5s + /usr/sbin/brctl addif $switch $1 + exit 0 + else + echo "Error: no interface specified" + exit 1 + fi Similar for VM0, please refer to below command for VM1:: diff --git a/test_plans/vf_port_start_stop_test_plan.rst b/test_plans/vf_port_start_stop_test_plan.rst index 28ad299..541cd2b 100644 --- a/test_plans/vf_port_start_stop_test_plan.rst +++ b/test_plans/vf_port_start_stop_test_plan.rst @@ -91,23 +91,21 @@ Create Two VF interfaces from two kernel PF interfaces, and then attach them to -device pci-assign,bus=pci.0,addr=0x7,host=04:10.1 \ -vnc :11 -daemonize - the /etc/qemu-ifup can be below script, need you to create first: - - .. code-block:: shell - - #!/bin/sh - set -x - switch=br0 - if [ -n "$1" ];then - /usr/sbin/tunctl -u `whoami` -t $1 - /sbin/ip link set $1 up - sleep 0.5s - /usr/sbin/brctl addif $switch $1 - exit 0 - else - echo "Error: no interface specified" - exit 1 - fi + the /etc/qemu-ifup can be below script, need you to create first:: + + #!/bin/sh + set -x + switch=br0 + if [ -n "$1" ];then + /usr/sbin/tunctl -u `whoami` -t $1 + /sbin/ip link set $1 up + sleep 0.5s + /usr/sbin/brctl addif $switch $1 + exit 0 + else + echo "Error: no interface specified" + exit 1 + fi Set up bridge br0 before create /etc/qemu-ifup, for example:: -- 1.9.3