From patchwork Wed Nov 16 02:16:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 119883 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62D16A00C4; Wed, 16 Nov 2022 03:21:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C3DF410D2; Wed, 16 Nov 2022 03:21:36 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8A94A40DFB for ; Wed, 16 Nov 2022 03:21:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668565294; x=1700101294; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iq3+7djd6iuT5CsmtPmJAcCLRuFjOhfSDaU7jiBVnt0=; b=byCF5oSLSQYzvOGLlXFHvT47w8UnJzhtIUb3RV/EFI7eVrtjo3jMWzit kcvhiLsSQfVbM1SjTy2EGhz7xOKCpu6NI/JNYuJeigZT311Pi2WVA6uYw mBrvmxh8CsFxO+kTgXetNqigT//U9L1tB6im5XrGdR0Sz1sPTcdpGbNKO 9ULnAZKjC0mY59wt5BKHiybJ5Ep2DdCO4lTnwdeqaAq9Sr0nrEkX4ICtr 3E6nzEskZGrI1XrsOV/kpQOtrqJ+hCGgqLAZdc3szKSmOMGPt+KU8g04s +N53ZXdJPbA5e+l+QwLlR1T3BEy4/fS4G/ATIlZAdzAMlk089rRzmk8lA w==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="312431205" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="312431205" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:21:33 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="670313631" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="670313631" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 18:21:31 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/dpdk_gro_lib_test_plan: modify testplan by DPDK changed Date: Wed, 16 Nov 2022 10:16:21 +0800 Message-Id: <20221116021621.612168-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum forward engine),need to add `csum mac-swap off ` steps in testplan. Signed-off-by: Wei Ling --- test_plans/dpdk_gro_lib_test_plan.rst | 36 +++++++++++++++++---------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst index e36550d2..a48286eb 100644 --- a/test_plans/dpdk_gro_lib_test_plan.rst +++ b/test_plans/dpdk_gro_lib_test_plan.rst @@ -63,6 +63,8 @@ Test Case1: DPDK GRO lightmode test with tcp/ipv4 traffic ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024 testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 testpmd>stop testpmd>port stop 0 testpmd>port stop 1 @@ -115,6 +117,8 @@ Test Case2: DPDK GRO heavymode test with tcp/ipv4 traffic ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024 testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 testpmd>stop testpmd>port stop 0 testpmd>port stop 1 @@ -167,6 +171,8 @@ Test Case3: DPDK GRO heavymode_flush4 test with tcp/ipv4 traffic ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024 testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 testpmd>stop testpmd>port stop 0 testpmd>port stop 1 @@ -235,6 +241,8 @@ Vxlan topology ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024 testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 testpmd>stop testpmd>port stop 0 testpmd>port stop 1 @@ -293,19 +301,21 @@ Test Case5: DPDK GRO test with 2 queues using tcp/ipv4 traffic ./usertools/dpdk-devbind.py -b vfio-pci xx:xx.x ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29-31 -n 4 \ --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=2' -- -i --txd=1024 --rxd=1024 --txq=2 --rxq=2 --nb-cores=2 - set fwd csum - stop - port stop 0 - port stop 1 - csum set tcp hw 0 - csum set ip hw 0 - csum set tcp hw 1 - csum set ip hw 1 - set port 0 gro on - set gro flush 1 - port start 0 - port start 1 - start + testpmd>set fwd csum + testpmd>csum mac-swap off 0 + testpmd>csum mac-swap off 1 + testpmd>stop + testpmd>port stop 0 + testpmd>port stop 1 + testpmd>csum set tcp hw 0 + testpmd>csum set ip hw 0 + testpmd>csum set tcp hw 1 + testpmd>csum set ip hw 1 + testpmd>set port 0 gro on + testpmd>set gro flush 1 + testpmd>port start 0 + testpmd>port start 1 + testpmd>start 3. Set up vm with virto device and using kernel virtio-net driver::