From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0B277A034C; Fri, 25 Feb 2022 10:17:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C73804115C; Fri, 25 Feb 2022 10:17:12 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 517D14068B for ; Fri, 25 Feb 2022 10:17:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645780631; x=1677316631; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eRItppJ90ePFTfmD9L658r0Nmc7iJ9kqtEiPa2pMJ3k=; b=HzHRZduwvcNjHQeSj6ltpuzPA1O1Jqiyjsbvpi4bXni4cGIA6DfdLw3m n9xsqZd1tv2ZitH8jbHwJlWkCr7BDLiLdYV1gfB0ED4ne161a/fxZtbfl sUHNoJReo/r4LkhZibI1EyvyGAX4AkKN04/OY8u2tPiH2ZWgfoOqQ7vlq PZvsuluCeX1UQH744DDOoEyLklSxVnqiu+W+HRFzfOceF2ECGWutYQ1pL xFvOfM9xKBnnLHyzs8+ZNv+nYofXHBq4gXYX6hVSWUPp83JXTTJYQVXMH x5JkexzGrUbJNK5C5UPXa15Pl5hA3jclk9CEznSaUAY45jCBGnM3HnNt2 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="338897615" X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="338897615" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 01:17:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="506639748" Received: from silpixa00401086.ir.intel.com (HELO localhost.localdomain) ([10.55.128.118]) by orsmga002.jf.intel.com with ESMTP; 25 Feb 2022 01:17:08 -0800 From: Ciara Loftus To: dts@dpdk.org Cc: Ciara Loftus Subject: [PATCH] test_plans/af_xdp_test_plan: remove tests with pmd_zero_copy arg Date: Fri, 25 Feb 2022 09:16:54 +0000 Message-Id: <20220225091654.34757-1-ciara.loftus@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org The 'pmd_zero_copy' vdev arg for the AF_XDP PMD was removed in DPDK v19.11. Remove it from the AF_XDP test plan as it is no longer relevant. Zero copy is now automatically used if the kernel headers contain the XDP_UMEM_UNALIGNED_CHUNK_FLAG flag. Signed-off-by: Ciara Loftus --- test_plans/af_xdp_test_plan.rst | 67 ++------------------------------- 1 file changed, 3 insertions(+), 64 deletions(-) diff --git a/test_plans/af_xdp_test_plan.rst b/test_plans/af_xdp_test_plan.rst index b7feea11..a05de37b 100644 --- a/test_plans/af_xdp_test_plan.rst +++ b/test_plans/af_xdp_test_plan.rst @@ -117,23 +117,7 @@ Test case 2: two ports 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: zero copy -====================== - -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,pmd_zero_copy=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 by packet generator with different packet size, - from 64 bytes to 1518 bytes, check the throughput. - -Test case 4: multiqueue +Test case 3: multiqueue ======================= 1. One queue. @@ -171,52 +155,7 @@ Test case 4: multiqueue with different packet size from 64 bytes to 1518 bytes, check the throughput. The packets were distributed to the four queues. -Test case 5: multiqueue and zero copy -===================================== - -1. One queue and zero copy. - - 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,start_queue=0,queue_count=1,pmd_zero_copy=1 \ - -- -i --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop - - 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. - Expect the performance is better than non-zero-copy. - -2. Four queues and zero copy. - - 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,pmd_zero_copy=1 \ - -- -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. - 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 +Test case 4: need_wakeup ======================== 1. Set hardware queue:: @@ -236,7 +175,7 @@ Test case 6: need_wakeup to 1518 bytes, check the throughput. Expect the performance is better than no need_wakeup. -Test case 7: xdpsock sample performance +Test case 5: xdpsock sample performance ======================================= 1. One queue. -- 2.17.1