test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ciara Loftus <ciara.loftus@intel.com>
To: dts@dpdk.org
Cc: Ciara Loftus <ciara.loftus@intel.com>
Subject: [PATCH] test_plans/af_xdp_test_plan: Remove af_xdp test plan
Date: Wed, 11 May 2022 08:50:12 +0000
Message-ID: <20220511085012.15632-1-ciara.loftus@intel.com> (raw)

This test plan does not have a corresponding implementation in the tests
directory so it should be removed.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
 test_plans/af_xdp_test_plan.rst | 236 --------------------------------
 test_plans/index.rst            |   1 -
 2 files changed, 237 deletions(-)
 delete mode 100644 test_plans/af_xdp_test_plan.rst

diff --git a/test_plans/af_xdp_test_plan.rst b/test_plans/af_xdp_test_plan.rst
deleted file mode 100644
index a05de37b..00000000
--- a/test_plans/af_xdp_test_plan.rst
+++ /dev/null
@@ -1,236 +0,0 @@
-.. Copyright (c) <2019>, Intel Corporation
-         All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions
-   are met:
-
-   - Redistributions of source code must retain the above copyright
-     notice, this list of conditions and the following disclaimer.
-
-   - Redistributions in binary form must reproduce the above copyright
-     notice, this list of conditions and the following disclaimer in
-     the documentation and/or other materials provided with the
-     distribution.
-
-   - Neither the name of Intel Corporation nor the names of its
-     contributors may be used to endorse or promote products derived
-     from this software without specific prior written permission.
-
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-   OF THE POSSIBILITY OF SUCH DAMAGE.
-
-=========================
-DPDK PMD for AF_XDP Tests
-=========================
-
-Description
-===========
-
-AF_XDP is a proposed faster version of AF_PACKET interface in Linux.
-This test plan is to analysis the performance of DPDK PMD for AF_XDP.
-
-Prerequisites
-=============
-
-1. Hardware::
-
-    I40e 25G*2
-    enp216s0f0 <---> IXIA_port_0
-    enp216s0f1 <---> IXIA_port_1
-
-2. The NIC is located on the socket 1, so we define the cores of socket 1.
-
-3. Take the kernel >= v5.2-rc2, build kernel and replace your host
-   kernel with it.
-   Update compiler to the proper version.
-   Make sure you turn on XDP sockets when compiling::
-
-    Networking support -->
-         Networking options -->
-                 [ * ] XDP sockets
-
-   Then compile the kernel::
-
-    make -j16
-    make modules_install install
-
-4. Build libbpf in tools/lib/bpf::
-
-    cd tools/lib/bpf
-    make install_lib prefix=/usr
-    make install_headers prefix=/usr
-
-5. Build dpdk::
-
-    cd dpdk
-    CC=gcc meson -Denable_kmods=True  -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc
-    ninja -C x86_64-native-linuxapp-gcc
-
-6. Set DUT port only has one queue::
-
-    ethtool -L enp216s0f0 combined 1
-    ethtool -L enp216s0f1 combined 1
-
-Test case 1: single port
-========================
-
-1. Start the testpmd::
-
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29,30 -n 6 --no-pci --vdev net_af_xdp0,iface=enp216s0f0 \
-    -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
-
-2. Assign the kernel core::
-
-    ./set_irq_affinity 34 enp216s0f0
-
-3. Send packets by packet generator with different packet size,
-   from 64 bytes to 1518 bytes, check the throughput.
-
-Test case 2: two ports
-======================
-
-1. Start the testpmd::
-
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29,30-31 --no-pci -n 6 \
-    --vdev net_af_xdp0,iface=enp216s0f0 --vdev net_af_xdp1,iface=enp216s0f1 \
-    -- -i --nb-cores=2 --rxq=1 --txq=1
-
-2. Assign the kernel core::
-
-    ./set_irq_affinity 33 enp216s0f0
-    ./set_irq_affinity 34 enp216s0f1
-
-3. Send packets by packet generator port0 with different packet size,
-   from 64 bytes to 1518 bytes, check the throughput at port1.
-
-4. Send packets by packet generator port0 and port1 with different packet size,
-   from 64 bytes to 1518 bytes, check the throughput at port0 and port1.
-
-Test case 3: multiqueue
-=======================
-
-1. One queue.
-
-  1) Start the testpmd with one queue::
-
-      ./x86_64-native-linuxapp-gcc/app/dpdk-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::
-
-      ./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.
-
-2. Four queues.
-
-  1) Set hardware queue::
-
-      ethtool -L enp216s0f0 combined 4
-
-  2) Start the testpmd with four queues::
-
-      ./x86_64-native-linuxapp-gcc/app/dpdk-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::
-
-      ./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.
-
-Test case 4: need_wakeup
-========================
-
-1. Set hardware queue::
-
-    ethtool -L enp216s0f0 combined 1
-
-2. Start the testpmd with one queue::
-
-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29,30 -n 6 --no-pci --vdev net_af_xdp0,iface=enp216s0f0 \
-    -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
-
-3. Assign the same core::
-
-    ./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.
-
-Test case 5: xdpsock sample performance
-=======================================
-
-1. One queue.
-
-  1) Set hardware queue::
-
-      ethtool -L enp216s0f0 combined 1
-
-  2) Start the xdp socket with one queue::
-
-      #taskset -c 30 ./xdpsock -l -i enp216s0f0
-
-  3) Assign the kernel core::
-
-      ./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.
-
-2. Four queues.
-
-  1) Set hardware queue::
-
-      ethtool -L enp216s0f0 combined 4
-
-  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
-
-  3) Assign the kernel core::
-
-      ./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.
-
-3. Need_wakeup.
-
-  1) Set hardware queue::
-
-      ethtool -L enp216s0f0 combined 1
-
-  2) Start the xdp socket with four queues::
-
-      #taskset -c 30 ./xdpsock -l -i enp216s0f0
-
-  3) Assign the kernel core::
-
-      ./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.
diff --git a/test_plans/index.rst b/test_plans/index.rst
index d0f73d23..0f179d05 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -178,7 +178,6 @@ The following are the test plans for the DPDK DTS automated test system.
     vlan_ethertype_config_test_plan
     vlan_test_plan
     vxlan_test_plan
-    af_xdp_test_plan
     l2fwd_jobstats_test_plan
     loopback_multi_queues_test_plan
     telemetry_test_plan
-- 
2.17.1


             reply	other threads:[~2022-05-11  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  8:50 Ciara Loftus [this message]
2022-05-18  8:58 ` lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220511085012.15632-1-ciara.loftus@intel.com \
    --to=ciara.loftus@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git