[dts] [PATCH V1] test_plans: fix build warnings

Tu, Lijuan lijuan.tu at intel.com
Mon Aug 12 09:06:04 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Monday, August 12, 2019 10:22 PM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V1] test_plans: fix build warnings
> 
> fix build warnings
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
>  test_plans/af_xdp_test_plan.rst | 142 ++++++++++++++++----------------
>  test_plans/index.rst            |   8 +-
>  2 files changed, 77 insertions(+), 73 deletions(-)
> 
> diff --git a/test_plans/af_xdp_test_plan.rst
> b/test_plans/af_xdp_test_plan.rst index d12ef0c..58e6077 100644
> --- a/test_plans/af_xdp_test_plan.rst
> +++ b/test_plans/af_xdp_test_plan.rst
> @@ -139,36 +139,36 @@ Test case 4: multiqueue
> 
>  1. One queue.
> 
> -   1) Start the testpmd with one queue::
> +  1) Start the testpmd with one queue::
> 
> -    ./testpmd -l 29,30 -n 6 --no-pci \
> -    --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1 \
> -    -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
> +      ./testpmd -l 29,30 -n 6 --no-pci \
> +      --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1 \
> +      -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
> 
> -   2) Assign the kernel core::
> +  2) Assign the kernel core::
> 
> -    ./set_irq_affinity 34 enp216s0f0
> +      ./set_irq_affinity 34 enp216s0f0
> 
> -   3) Send packets with different dst IP address by packet generator
> -      with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> +  3) Send packets with different dst IP address by packet generator
> +     with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> 
>  2. Four queues.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 4
> +      ethtool -L enp216s0f0 combined 4
> 
> -   2)Start the testpmd with four queues::
> +  2) Start the testpmd with four queues::
> 
> -    ./testpmd -l 29,30-33 -n 6 --no-pci \
> -    --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4 \
> -    -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop
> +      ./testpmd -l 29,30-33 -n 6 --no-pci \
> +      --vdev net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4 \
> +      -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop
> 
> -   3)Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 34-37 enp216s0f0
> +      ./set_irq_affinity 34-37 enp216s0f0
> 
> -   4)Send packets with different dst IP address by packet generator
> +  4) Send packets with different dst IP address by packet generator
>        with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
>        The packets were distributed to the four queues.
> 
> @@ -177,45 +177,45 @@ Test case 5: multiqueue and zero copy
> 
>  1. One queue and zero copy.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 1
> +      ethtool -L enp216s0f0 combined 1
> 
> -   2) Start the testpmd with one queue::
> +  2) Start the testpmd with one queue::
> 
> -    ./testpmd -l 29,30 -n 6 --no-pci \
> -    --vdev
> net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1,pmd_zero_co
> py=1 \
> -    -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
> +      ./testpmd -l 29,30 -n 6 --no-pci \
> +      --vdev
> net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=1,pmd_zero_co
> py=1 \
> +      -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
> 
> -   3) Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 34 enp216s0f0
> +      ./set_irq_affinity 34 enp216s0f0
> 
> -   4) Send packets with different dst IP address by packet generator
> -      with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> -      Expect the performance is better than non-zero-copy.
> +  4) Send packets with different dst IP address by packet generator
> +     with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> +     Expect the performance is better than non-zero-copy.
> 
>  2. Four queues and zero copy.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 4
> +      ethtool -L enp216s0f0 combined 4
> 
> -   2) Start the testpmd with four queues::
> +  2) Start the testpmd with four queues::
> 
> -    ./testpmd -l 29,30-33 -n 6 --no-pci \
> -    --vdev
> net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4,pmd_zero_co
> py=1 \
> -    -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop
> +      ./testpmd -l 29,30-33 -n 6 --no-pci \
> +      --vdev
> net_af_xdp0,iface=enp216s0f0,start_queue=0,queue_count=4,pmd_zero_co
> py=1 \
> +      -- -i --nb-cores=4 --rxq=4 --txq=4 --port-topology=loop
> 
> -   3) Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 34-37 enp216s0f0
> +      ./set_irq_affinity 34-37 enp216s0f0
> 
> -   4) Send packets with different dst IP address by packet generator
> -      with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> -      The packets were distributed to the four queues.
> -      Expect the performance of four queues is better than one queue.
> -      Expect the performance is better than non-zero-copy.
> +  4) Send packets with different dst IP address by packet generator
> +     with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> +     The packets were distributed to the four queues.
> +     Expect the performance of four queues is better than one queue.
> +     Expect the performance is better than non-zero-copy.
> 
>  Test case 6: need_wakeup
>  ========================
> @@ -242,57 +242,57 @@ Test case 7: xdpsock sample performance
> 
>  1. One queue.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 1
> +      ethtool -L enp216s0f0 combined 1
> 
> -   2) Start the xdp socket with one queue::
> +  2) Start the xdp socket with one queue::
> 
> -    #taskset -c 30 ./xdpsock -l -i enp216s0f0
> +      #taskset -c 30 ./xdpsock -l -i enp216s0f0
> 
> -   3) Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 34 enp216s0f0
> +      ./set_irq_affinity 34 enp216s0f0
> 
> -   4) Send packets with different dst IP address by packet generator
> -      with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> +  4) Send packets with different dst IP address by packet generator
> +     with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> 
>  2. Four queues.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 4
> +      ethtool -L enp216s0f0 combined 4
> 
> -   2) Start the xdp socket with four queues::
> +  2) Start the xdp socket with four queues::
> 
> -    #taskset -c 30 ./xdpsock -l -i enp216s0f0 -q 0
> -    #taskset -c 31 ./xdpsock -l -i enp216s0f0 -q 1
> -    #taskset -c 32 ./xdpsock -l -i enp216s0f0 -q 2
> -    #taskset -c 33 ./xdpsock -l -i enp216s0f0 -q 3
> +      #taskset -c 30 ./xdpsock -l -i enp216s0f0 -q 0
> +      #taskset -c 31 ./xdpsock -l -i enp216s0f0 -q 1
> +      #taskset -c 32 ./xdpsock -l -i enp216s0f0 -q 2
> +      #taskset -c 33 ./xdpsock -l -i enp216s0f0 -q 3
> 
> -   3)Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 34-37 enp216s0f0
> +      ./set_irq_affinity 34-37 enp216s0f0
> 
> -   4)Send packets with different dst IP address by packet generator
> -      with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> -      The packets were distributed to the four queues.
> -      Expect the performance of four queues is better than one queue.
> +  4) Send packets with different dst IP address by packet generator
> +     with different packet size from 64 bytes to 1518 bytes, check the
> throughput.
> +     The packets were distributed to the four queues.
> +     Expect the performance of four queues is better than one queue.
> 
>  3. Need_wakeup.
> 
> -   1) Set hardware queue::
> +  1) Set hardware queue::
> 
> -    ethtool -L enp216s0f0 combined 1
> +      ethtool -L enp216s0f0 combined 1
> 
> -   2) Start the xdp socket with four queues::
> +  2) Start the xdp socket with four queues::
> 
> -    #taskset -c 30 ./xdpsock -l -i enp216s0f0
> +      #taskset -c 30 ./xdpsock -l -i enp216s0f0
> 
> -   3)Assign the kernel core::
> +  3) Assign the kernel core::
> 
> -    ./set_irq_affinity 30 enp216s0f0
> +      ./set_irq_affinity 30 enp216s0f0
> 
> -   4) Send packets by packet generator with different packet size from 64
> bytes
> -      to 1518 bytes, check the throughput.
> -      Expect the performance is better than no need_wakeup.
> +  4) Send packets by packet generator with different packet size from 64
> bytes
> +     to 1518 bytes, check the throughput.
> +     Expect the performance is better than no need_wakeup.
> \ No newline at end of file
> diff --git a/test_plans/index.rst b/test_plans/index.rst index
> a8269fa..28f5a69 100644
> --- a/test_plans/index.rst
> +++ b/test_plans/index.rst
> @@ -189,7 +189,7 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      vdev_primary_secondary_test_plan
>      vhost_1024_ethports_test_plan
>      virtio_pvp_regression_test_plan
> -    virtio_user_as_exceptional_path
> +    virtio_user_as_exceptional_path_test_plan
> 
>      unit_tests_cmdline_test_plan
>      unit_tests_crc_test_plan
> @@ -225,4 +225,8 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      flow_classify_test_plan
>      dpdk_hugetlbfs_mount_size_test_plan
>      nic_single_core_perf_test_plan
> -    power_managerment_throughput_test_plan
> \ No newline at end of file
> +    power_managerment_throughput_test_plan
> +    ethtool_stats_test_plan
> +    iavf_test_plan
> +    packet_capture_test_plan
> +    packet_ordering_test_plan
> --
> 2.17.2



More information about the dts mailing list