From patchwork Tue Oct 26 14:41:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yan Xia X-Patchwork-Id: 102862 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 573FFA0C4B; Tue, 26 Oct 2021 08:38:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E637410DA; Tue, 26 Oct 2021 08:38:20 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8B2AA4003E for ; Tue, 26 Oct 2021 08:38:18 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10148"; a="230111465" X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="230111465" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 23:38:18 -0700 X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="465181674" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 23:38:16 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Tue, 26 Oct 2021 14:41:05 +0000 Message-Id: <20211026144106.74603-2-yanx.xia@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211026144106.74603-1-yanx.xia@intel.com> References: <20211026144106.74603-1-yanx.xia@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 1/2] test_plans/generic_flow_api: delete test_L2_tunnel_filter 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 Sender: "dts" The case only support sagepond and sageville, but these two types NIC have been removed, so delete the case after confirmed with Peng,Yuan. Signed-off-by: Yan Xia --- test_plans/generic_flow_api_test_plan.rst | 61 ----------------------- 1 file changed, 61 deletions(-) diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst index 51ceb474..a07b809a 100644 --- a/test_plans/generic_flow_api_test_plan.rst +++ b/test_plans/generic_flow_api_test_plan.rst @@ -803,67 +803,6 @@ Test case: IXGBE ethertype testpmd> flow list 0 - -Test case: IXGBE L2-tunnel(supported by x552 and x550) -====================================================== - - Prerequisites: - - add two vfs on dpdk pf, then bind the vfs to vfio-pci:: - - echo 2 >/sys/bus/pci/devices/0000:05:00.0/max_vfs - ./usertools/dpdk-devbind.py -b vfio-pci 05:02.0 05:02.1 - -1. Launch the app ``testpmd`` with the following arguments:: - - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss - testpmd> set fwd rxonly - testpmd> set verbose 1 - testpmd> start - - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf0 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss - testpmd> set fwd rxonly - testpmd> set verbose 1 - testpmd> start - - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e00000 -n 4 -a 05:02.1 --file-prefix=vf1 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss - testpmd> set fwd rxonly - testpmd> set verbose 1 - testpmd> start - - Enabling ability of parsing E-tag packet, set on pf:: - - testpmd> port config 0 l2-tunnel E-tag enable - - Enable E-tag packet forwarding, set on pf:: - - testpmd> E-tag set forwarding on port 0 - -2. create filter rules:: - - testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1309 / end actions queue index 0 / end - testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1308 / end actions queue index 1 / end - testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1307 / end actions queue index 2 / end - -3. send packets:: - - pkt1 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x1, ECIDbase=0x309)/Raw('x' * 20) - pkt2 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x1, ECIDbase=0x308)/Raw('x' * 20) - pkt3 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x1, ECIDbase=0x307)/Raw('x' * 20) - pkt4 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x2, ECIDbase=0x309)/Raw('x' * 20) - - verify pkt1 to vf0 queue0, pkt2 to vf1 queue0, pkt3 to pf queue0, - pkt4 can't received by pf and vfs. - -4. verify rules can be listed and destroyed:: - - testpmd> flow list 0 - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - testpmd> flow flush 0 - testpmd> flow list 0 - - Test case: IXGBE fdir for ipv4 ==============================