From patchwork Thu Dec 15 06:41:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120923 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 77248A0547; Thu, 15 Dec 2022 08:39:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD82142D1F; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 47E7640A8A for ; Thu, 15 Dec 2022 08:39:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089991; x=1702625991; h=from:to:cc:subject:date:message-id; bh=7s78zbpwzlQmRuO/BBKeOIcI5WrHmGni8VnKtXwWNY4=; b=lL+xIz8SV9fYqAWWHBBQxXUOq6f0eE8RYvEYIEJCzIPzg1P68Wy5ILDW W2V9Bnr0w1h0UqQWeo+zdlUXS4sGNC4FWwUhPECfXjyVHiMh1E8EDam8f /1xT5aX0JNVaHn3LRZgPyPwWwKDAG05jE1Tdg4ILWAmuc41gxQnmmU5oe TrmpFU33VX5YTYNAAUnyWwc+GZFPya+Z1cAuhxCGSC7Bgk9JdmX2oR1s3 Na5zyiyus1ujF/XSvL8rrI7tfKSZNjn/C1WzZx7n76uKjpsDttF5bqJch uffq3aTUMFsaakj00DVEPmzq1wsKdlHOhBA/WsMUiuaw6ehvNGCNmf23n g==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697259" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697259" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448133" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448133" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:16 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 1/8] test_plans/ddp_gtp_qregion: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:41:57 -0500 Message-Id: <20221215064204.30802-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove flow_director_filter raw pkt test case. Signed-off-by: Lingli Chen --- test_plans/ddp_gtp_qregion_test_plan.rst | 420 +---------------------- 1 file changed, 2 insertions(+), 418 deletions(-) diff --git a/test_plans/ddp_gtp_qregion_test_plan.rst b/test_plans/ddp_gtp_qregion_test_plan.rst index bc3b9b68..ba928386 100644 --- a/test_plans/ddp_gtp_qregion_test_plan.rst +++ b/test_plans/ddp_gtp_qregion_test_plan.rst @@ -53,12 +53,9 @@ Prerequisites ./tools/dpdk-devbind.py -b igb_uio 81:00.0 2. Start testpmd on host, set chained port topology mode, add txq/rxq to - enable multi-queues. If test PF flow director, need to add - --pkt-filter-mode=perfect on testpmd to enable flow director. In general, - PF's max queue is 64:: + enable multi-queues. In general, PF's max queue is 64:: - .//app/dpdk-testpmd -c f -n 4 -- -i --pkt-filter-mode=perfect - --port-topology=chained --txq=64 --rxq=64 + .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64 Load/delete dynamic device personalization @@ -668,419 +665,6 @@ Test Case: Inner IPv6 dst controls GTP-U IPv6 queue in queue region IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/UDP()/Raw('x'*20) - -Test Case: Flow director for GTP IPv4 with default fd input set -=============================================================== -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv4 flow type id 26 to pctype id 22 mapping item:: - - testpmd> port config 0 pctype mapping update 22 26 - -3. Default flow director input set is teid, start testpmd, set fwd rxonly, - enable output print - -4. Send GTP IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -5. Use scapy to generate GTP IPv4 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(dst="1.1.1.1", - src="2.2.2.2")/UDP(dport=40, sport=50)/Raw('x'*20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 26 fwd queue 36 - fd_id 1 packet test_gtp.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -10. Send non-matched inner src IPv4/dst IPv4/sport/dport packets, check to - receive packets from queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.2", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.1", - dst="2.2.2.3")/UDP(sport=40, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=41, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=51)/Raw('x'*20) - -11. Send non-matched teid GTP IPv4 packets, check to receive packet from - queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header(teid=0xff)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - - -Test Case: Flow director for GTP IPv4 according to inner dst IPv4 -================================================================= -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv4 flow type id 26 to pctype id 22 mapping item:: - - testpmd> port config 0 pctype mapping update 22 26 - -3. Reset GTP IPv4 flow director configure:: - - testpmd> port config 0 pctype 22 fdir_inset clear all - -4. Inner dst IPv4 words are 27 and 28, enable flow director input set for - them:: - - testpmd> port config 0 pctype 22 fdir_inset set field 27 - testpmd> port config 0 pctype 22 fdir_inset set field 28 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send GTP IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -7. Use scapy to generate GTP IPv4 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(dst="1.1.1.1", - src="2.2.2.2")/UDP(dport=40, sport=50)/Raw('x'*20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 26 fwd queue 36 - fd_id 1 packet test_gtp.raw - -9. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -10. Send non-matched inner src IPv4/sport/dport packets, check to receive - packets from queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.2", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=41, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=51)/Raw('x'*20) - -11. Send non-matched inner dst IPv4 packets, check to receive packet from - queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.3")/UDP(sport=40, dport=50)/Raw('x'*20) - - -Test Case: Flow director for GTP IPv4 according to inner src IPv4 -================================================================= -1. Check flow ptype to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv4 flow type id 26 to pctype id 22 mapping item:: - - testpmd> port config 0 pctype mapping update 22 26 - -3. Reset GTP IPv4 flow director configure:: - - testpmd> port config 0 pctype 22 fdir_inset clear all - -4. Inner src IPv4 words are 15 and 16, enable flow director input set for - them:: - - testpmd> port config 0 pctype 22 fdir_inset set field 15 - testpmd> port config 0 pctype 22 fdir_inset set field 16 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send GTP IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -7. Use scapy to generate GTP IPv4 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(dst="1.1.1.1", - src="2.2.2.2")/UDP(dport=40, sport=50)/Raw('x'*20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 26 fwd queue 36 - fd_id 1 packet test_gtp.raw - -9. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - -10. Send non-matched inner dst IPv4/sport/dport packets, check to receive - packets from queue 36:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.3")/UDP(sport=40, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=41, dport=50)/Raw('x'*20) - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=40, dport=51)/Raw('x'*20) - -11. Send non-matched inner src IPv4 packets, check to receive packet - from queue 0:: - - p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP(src="1.1.1.2", - dst="2.2.2.2")/UDP(sport=40, dport=50)/Raw('x'*20) - - -Test Case: Flow director for GTP IPv6 with default fd input set -=============================================================== -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv6 flow type id 23 to pctype id 23 mapping item:: - - testpmd> port config 0 pctype mapping update 23 23 - -3. Default flow director input set is teid, start testpmd, set fwd rxonly, - enable output print - -4. Send GTP IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -5. Use scapy to generate GTP IPv6 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=40,sport=50)/Raw('x'*20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 23 fwd queue 36 - fd_id 1 packet test_gtp.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -8. Send non-matched inner src IPv6/dst IPv6/sport/dport packets, check to - receive packets from queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=40,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=41,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=51)/Raw('x'*20) - -11. Send non-matched teid packets, check to receive packet - from queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xff)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - - -Test Case: Flow director for GTP IPv6 according to inner dst IPv6 -================================================================= -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv6 flow type id 23 to pctype id 23 mapping item:: - - testpmd> port config 0 pctype mapping update 23 23 - -3. Reset GTP IPv6 flow director configure:: - - testpmd> port config 0 pctype 23 fdir_inset clear all - -4. Inner dst IPv6 words are 21~28 , enable flow director input set for them:: - - testpmd> port config 0 pctype 23 fdir_inset set field 21 - testpmd> port config 0 pctype 23 fdir_inset set field 22 - testpmd> port config 0 pctype 23 fdir_inset set field 23 - testpmd> port config 0 pctype 23 fdir_inset set field 24 - testpmd> port config 0 pctype 23 fdir_inset set field 25 - testpmd> port config 0 pctype 23 fdir_inset set field 26 - testpmd> port config 0 pctype 23 fdir_inset set field 27 - testpmd> port config 0 pctype 23 fdir_inset set field 28 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send GTP IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -7. Use scapy to generate GTP IPv6 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=40,sport=50)/Raw('x'*20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 23 fwd queue 36 - fd_id 1 packet test_gtp.raw - -9. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -10. Send non-matched inner src IPv6/sport/dport packets, check to receive - packets from queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=41,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=51)/Raw('x'*20) - -11. Send non-matched inner dst IPv6 packets, check to receive packet - from queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=40,dport=50)/Raw('x'*20) - - -Test Case: Flow director for GTP IPv6 according to inner src IPv6 -================================================================= -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update GTP IPv6 flow type id 23 to pctype id 23 mapping item:: - - testpmd> port config 0 pctype mapping update 23 23 - -3. Reset GTP IPv6 flow director configure:: - - testpmd> port config 0 pctype 23 fdir_inset clear all - -4. Inner src IPv6 words are 13~20, enable flow director input set for them:: - - testpmd> port config 0 pctype 23 fdir_inset set field 13 - testpmd> port config 0 pctype 23 fdir_inset set field 14 - testpmd> port config 0 pctype 23 fdir_inset set field 15 - testpmd> port config 0 pctype 23 fdir_inset set field 16 - testpmd> port config 0 pctype 23 fdir_inset set field 17 - testpmd> port config 0 pctype 23 fdir_inset set field 18 - testpmd> port config 0 pctype 23 fdir_inset set field 19 - testpmd> port config 0 pctype 23 fdir_inset set field 20 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send GTP IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -7. Use scapy to generate GTP IPv6 raw packet test_gtp.raw, source/destination - address and port should be swapped in the template and traffic packets:: - - a=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=40,sport=50)/Raw('x'*20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 1~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 23 fwd queue 36 - fd_id 1 packet test_gtp.raw - -9. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - -10. Send non-matched inner dst IPv6/sport/dport packets, check to receive - packets from queue 36:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=40,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=41,dport=50)/Raw('x'*20) - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=51)/Raw('x'*20) - -11. Send non-matched inner src IPv6 packets, check to receive packet from - queue 0:: - - p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header(teid=0xfe)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=40,dport=50)/Raw('x'*20) - - Test Case: Outer 64 bit prefix dst controls GTP-C queue ======================================================= 1. Check flow type to pctype mapping:: From patchwork Thu Dec 15 06:41:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120921 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 C631CA0545; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7728442D0C; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 7A98240684 for ; Thu, 15 Dec 2022 08:39:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089990; x=1702625990; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Z54JWYqeswyQ6M77TU+l81raou16mXWViZ7ih+edhxk=; b=TJzVJOvi4O9LWuAB5nrv+eLuKZO1ORfGISw6A0SRP9+eyXB6fWoUS/Bn nleENnMk2F3OHC67FErlvZOvEwNhurTuRmE5gmlE4AK/5bEPcQ89hnOA8 Kk7+RhfuWY6XctGdJVlwIvZ7F0tgD4VK3+fcgSg/roTxkLE1W4SPa5S/B Rt6VYfyGfMFgttWInm/ANeYms5pPmq0Hb2fRc1v+CYLJM3H1LdDw/e/pc 7kloxEvvYdlcSxOT/krl5o4jMPVuSBZrOucdzzfSO3OUuqAyV4LZmuRyF kxSyDyOn2JxYWGgTcjwy9oh2C3dVJnl9uAZHEOagQND2o9oWpdQm7Mile g==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697257" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697257" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:48 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448139" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448139" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:18 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 2/8] tests/ddp_gtp_qregion: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:41:58 -0500 Message-Id: <20221215064204.30802-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove flow_director_filter raw pkt test case. Signed-off-by: Lingli Chen --- tests/TestSuite_ddp_gtp_qregion.py | 140 +---------------------------- 1 file changed, 1 insertion(+), 139 deletions(-) diff --git a/tests/TestSuite_ddp_gtp_qregion.py b/tests/TestSuite_ddp_gtp_qregion.py index a3dea1b2..08048b3f 100644 --- a/tests/TestSuite_ddp_gtp_qregion.py +++ b/tests/TestSuite_ddp_gtp_qregion.py @@ -56,7 +56,7 @@ class TestDdpGtpQregion(TestCase): """ self.dut_testpmd.start_testpmd( "Default", - "--pkt-filter-mode=perfect --port-topology=chained \ + "--port-topology=chained \ --txq=%s --rxq=%s" % (self.PF_QUEUE, self.PF_QUEUE), ) @@ -288,62 +288,6 @@ class TestDdpGtpQregion(TestCase): "Failed update flow type to pctype mapping!!!", ) - def run_fd_test(self, crlwords, flowtype, pctype, keywords, qchecks): - """ - Use dynamic flowtype/pctype mapping, use default or dynamic change - control words to set flow director input configuration for new - protocol, setup raw flow type filter for flow director, check flow - director could work. - crlwords: control words of keyword - flowtype: define flow type 23~63 values for GTP packet types as test - plan table. - pctype: profile defines below 10~25 pctypes for GTP packet types. - keywords: keywords have Session ID, S-Port, D-Port, IP SA, IP DA and - etc. - qchecks: define sameq and difq. If change keywords, direct packets to - queue 0, otherwise direct packets to same queue. - """ - - self.flowtype_pctype_mapping(flowtype, pctype) - if crlwords is not None: - self.dut_testpmd.execute_cmd("port stop all") - time.sleep(1) - self.dut_testpmd.execute_cmd( - "port config 0 pctype %s fdir_inset clear all" % pctype - ) - for word in crlwords: - self.dut_testpmd.execute_cmd( - "port config 0 pctype %s fdir_inset set field %s" % (pctype, word) - ) - self.dut_testpmd.execute_cmd("port start all") - self.dut_testpmd.execute_cmd("set fwd rxonly") - self.dut_testpmd.execute_cmd("set verbose 1") - self.dut_testpmd.execute_cmd("start") - self.dut_testpmd.wait_link_status_up(self.dut_ports[0]) - qnum = self.send_verify_fd(flowtype, keywords, "word_opt") - self.verify(qnum == 0, "Receive packet from wrong queue!!!") - self.raw_packet_generate(flowtype) - queue = random.randint(1, self.PF_QUEUE - 1) - self.dut_testpmd.execute_cmd( - "flow_director_filter 0 mode raw add flow %d fwd queue %d \ - fd_id 1 packet /tmp/test_gtp.raw" - % (flowtype, queue) - ) - qnum = self.send_verify_fd(flowtype, keywords, "word_opt") - qdef = qnum - self.verify(qnum == queue, "Receive packet from wrong queue!!!") - for word, chk in zip(keywords, qchecks): - qnum = self.send_verify_fd(flowtype, word, "chg_sufword_opt") - if qnum == qdef: - result = "sameq" - elif qnum == 0: - result = "difq" - self.verify( - result == chk, - "Faild to verify flow director when \ - key word change!!!", - ) - def run_gtp_test(self, crlwords, flowtype, pctype, qmin, qmax, keyword): """ Use dynamic flowtype/pctype mapping, queue region, dynamic change @@ -523,88 +467,6 @@ class TestDdpGtpQregion(TestCase): crlwords = list(range(21, 29)) self.run_gtp_test(crlwords, 23, 23, 10, 25, "dst_ipv6") - def test_fd_gtpu_ipv4(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, default flow director input - set configuration is teid, setup raw flow type filter for flow - director check flow director could work when sending matched teid - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ip", "dst_ip", "sport", "dport", "teid"] - qchecks = ["sameq", "sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 26, 22, keywords, qchecks) - - def test_fd_gtpu_ipv4_dstip(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, dynamic to change flow - director input set configuration for dst IPv4 words 27~28, setup - raw flow type filter for flow director, check flow director could - work when sending matched dst IPv4 packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(27, 29)) - keywords = ["src_ip", "sport", "dport", "dst_ip"] - qchecks = ["sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 26, 22, keywords, qchecks) - - def test_fd_gtpu_ipv4_srcip(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, dynamic to change flow - director input set configuration for src IPv4 words 15~16, setup - raw flow type filter for flow director, check flow director could - work when sending matched src IPv4 packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(15, 17)) - keywords = ["dst_ip", "sport", "dport", "src_ip"] - qchecks = ["sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 26, 22, keywords, qchecks) - - def test_fd_gtpu_ipv6(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, default flow director input - set configuration is teid, setup raw flow type filter for flow - director check flow director could work when sending matched teid - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ipv6", "dst_ipv6", "sport", "dport", "teid"] - qchecks = ["sameq", "sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 23, 23, keywords, qchecks) - - def test_fd_gtpu_ipv6_dstipv6(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, dynamic to change flow - director input set configuration for dst IPv6 words 21~28, setup - raw flow type filter for flow director, check flow director could - work when sending matched dst IPv6 packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(21, 29)) - keywords = ["src_ipv6", "sport", "dport", "teid", "dst_ipv6"] - qchecks = ["sameq", "sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 23, 23, keywords, qchecks) - - def test_fd_gtpu_ipv6_srcipv6(self): - """ - GTP is supported by NVM with profile updated. Download profile then - set queue region/flowtype/pctype mapping, dynamic to change flow - director input set configuration for src IPv6 words 13~20, setup - raw flow type filter for flow director, check flow director could - work when sending matched src IPv6 packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(13, 21)) - keywords = ["dst_ipv6", "sport", "dport", "teid", "src_ipv6"] - qchecks = ["sameq", "sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 23, 23, keywords, qchecks) - def test_outer_64pre_dst_contrl_gtpcq(self): """ GTP is supported by NVM with profile updated. Download profile then From patchwork Thu Dec 15 06:41:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120919 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 471C9A0543; Thu, 15 Dec 2022 08:39:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D8BF40695; Thu, 15 Dec 2022 08:39:51 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 9466740223 for ; Thu, 15 Dec 2022 08:39:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089989; x=1702625989; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=sLJ1Q6uQNmSWi7J0OScOWthVqeLoX5paIc8Hu1JfLog=; b=kub/HqxHL6KBf0T0TXqbWcewQQyBfR1kECE0wmxb+MIzl9sn8AB4NjsF v2k1zf7N/u2EUDHaV18A9vofkhsduXLNn6yZGH2FPnecVZG5a1DJVrcSj iaefMXibeGjDpdEXZahoe88MPch8LE/4vg4JrMkeUVLxmuhQscKCFDtbk V70YathKn6vzOS2f9i7NwhujBvaPAU+0z8oGqQRPrrmQ4pGmQGlEANrva R4scxcVkDLYGLHXw6r3l350cRK37zXfpmMpA7cmgb/9Ff25ESYRmXbk8X 4gZ8nIBRYtuZMuGfYcDJPJXbWakDK+BHnphKHG96jilwkJAIfxDfciOAK A==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697255" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697255" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:48 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448150" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448150" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:19 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 3/8] test_plans/ddp_l2tpv3: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:41:59 -0500 Message-Id: <20221215064204.30802-3-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove --pkt-filter-mode. Signed-off-by: Lingli Chen --- test_plans/ddp_l2tpv3_test_plan.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/test_plans/ddp_l2tpv3_test_plan.rst b/test_plans/ddp_l2tpv3_test_plan.rst index 7039119d..cb0e5026 100644 --- a/test_plans/ddp_l2tpv3_test_plan.rst +++ b/test_plans/ddp_l2tpv3_test_plan.rst @@ -103,7 +103,6 @@ any DDP functionality* .//app/dpdk-testpmd -c f -n 4 -a -- -i --port-topology=chained --txq=64 --rxq=64 - --pkt-filter-mode=perfect For testpmd commands refer: https://doc.dpdk.org/guides/testpmd_app_ug/ From patchwork Thu Dec 15 06:42:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120920 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 6457BA0544; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C12C410EA; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 3D59040223 for ; Thu, 15 Dec 2022 08:39:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089990; x=1702625990; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Zi6c5N28QRd6/hWuS1Vw4K0qnaoB/933CQ55P4hrpF8=; b=gYkClDv42VbOpz0FgopthWwBLqUqwiiVsOitrMmEAileqHL4wGdqDkp/ me6LoDMyD68czbdXaj2KpnaUf2q1AyeiXAPDBOPxv7Oe/IIbBesgPlEVa WlF7mKKZKPALSiyjfk7ltnlOfTA/Wfi8gnqDa5Gc81IGZg4kpLwLyEICl 92V6XUmWZaqjhocqlSDwP4bkY1gRr26CTpYqcmRYTscmJA84tHLPN/WYZ cYmXOv26K4edQ91987oEXxYXzCu0PnSW1VftLFDdvwSSqg7kYx0lqON4i bue9eXw5fxO3pUNhW3LUzTPf5dr8Abtbvl100wiD47SCSLorRpniZl6lw w==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697256" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697256" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:48 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448217" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448217" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:21 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 4/8] tests/ddp_l2tpv3: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:42:00 -0500 Message-Id: <20221215064204.30802-4-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove --pkt-filter-mode. Signed-off-by: Lingli Chen --- tests/TestSuite_ddp_l2tpv3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ddp_l2tpv3.py b/tests/TestSuite_ddp_l2tpv3.py index ef50824b..7b63e641 100644 --- a/tests/TestSuite_ddp_l2tpv3.py +++ b/tests/TestSuite_ddp_l2tpv3.py @@ -53,7 +53,7 @@ class TestDdpL2tpv3(TestCase): """ self.dut_testpmd.start_testpmd( "Default", - "--pkt-filter-mode=perfect --port-topology=chained \ + "--port-topology=chained \ --txq=%s --rxq=%s --disable-rss" % (self.PF_QUEUE, self.PF_QUEUE), ) From patchwork Thu Dec 15 06:42:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120922 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 241F1A0543; Thu, 15 Dec 2022 08:39:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92A6B42D17; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D7D0140223 for ; Thu, 15 Dec 2022 08:39:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089991; x=1702625991; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=E8OQicqc0ZWIJdvJPQYYvCMNeubnMNVho9uX3m6BmZk=; b=nggNmBVmDsVpUqQYP1SVhJcRlcE6p2VaVTMcYztYYQrOEUTHc4jxZiLG veK4TM0emOW3AqKuSp63wyoEG+8O4RDvKr7LcinDNHhw9zHD/9jjs3dlk oCFZC1tKvqrSELrTXWQN/qKx/CfUvxsZPdZEaJSVjxMAQwH26k11pNI0i xKbzTWhi4Y2O64udZrM+PbQ5LikLK0MhaOyDSmXKdvkPfntHYyOeE+Bw1 AtHQg+hEVJlHBNzCBihZKWPcCebB837o15O7AFa/yblPnbuhZKtHmRTb+ ScnoO8eZZlNP2gabTDa6nu33b2tUbECaE2UdQpgR9HpXtzF+HcYLi2wnW w==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697258" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697258" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:48 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448219" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448219" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:23 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 5/8] test_plans/ddp_ppp_l2tp: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:42:01 -0500 Message-Id: <20221215064204.30802-5-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove flow_director_filter raw pkt test case. Signed-off-by: Lingli Chen --- test_plans/ddp_ppp_l2tp_test_plan.rst | 487 +------------------------- 1 file changed, 1 insertion(+), 486 deletions(-) diff --git a/test_plans/ddp_ppp_l2tp_test_plan.rst b/test_plans/ddp_ppp_l2tp_test_plan.rst index 35b0d805..4d3dff93 100644 --- a/test_plans/ddp_ppp_l2tp_test_plan.rst +++ b/test_plans/ddp_ppp_l2tp_test_plan.rst @@ -77,12 +77,9 @@ Prerequisites ./tools/dpdk-devbind.py -b igb_uio 81:00.0 2. Start testpmd on host, set chained port topology mode, add txq/rxq to - enable multi-queues. If test PF flow director, need to add - --pkt-filter-mode=perfect on testpmd to enable flow director. In general, - PF's max queue is 64:: + enable multi-queues. In general, PF's max queue is 64:: .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64 - --pkt-filter-mode=perfect Load/delete dynamic device personalization ========================================== @@ -620,485 +617,3 @@ Test Case: RSS for PPPoL2TP IPv4 according to dport p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4001, dport=8000)/Raw('x' * 20) - -Test Case: Flow director for PPPoE with default input set -========================================================= - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoE PAY flow type id 30 to pcytpe id 17 mapping item:: - - testpmd> port config 0 pctype mapping update 17 30 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send PPPoE packets, check to receive packet from queue 0:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/ - PPPoE(sessionid=0x7) - -5. Use scapy to generate PPPoE raw packet test_pppoe.raw, - source/destination address should be swapped in the template - and traffic packets:: - - a=Ether(dst="3C:FD:FE:A3:A0:01", src="4C:FD:FE:A3:A0:01")/ - PPPoE(sessionid=0x7) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 30 fwd queue 36 fd_id 1 - packet test_pppoe.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/ - PPPoE(sessionid=0x7) - -8. Default flow director input set are MAC SA and session ID, send non-matched - SA, sessionid, check to receive packet from queue 0:: - - p=Ether(src="3C:FD:FE:A3:A0:02", dst="4C:FD:FE:A3:A0:01")/ - PPPoE(sessionid=0x7) - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/ - PPPoE(sessionid=0x8) - -9. Send non-matched MAC DA, check to receive packet from queue 36:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:02")/ - PPPoE(sessionid=0x7) - -Test Case: Flow director for PPPoE IPv4 with default input set -============================================================== - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoE IPv4 flow type id 28 to pcytpe id 15 mapping item:: - - testpmd> port config 0 pctype mapping update 15 28 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send PPPoE IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=4000,dport=8000)/Raw('x' * 20) - -5. Use scapy to generate PPPoE IPv4 raw packet test_pppoe.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(dst="1.1.1.1", - src="2.2.2.2")/UDP(dport=4000,sport=8000)/Raw('x' * 20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 28 fwd queue 36 fd_id - 1 packet test_pppoe.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=4000,dport=8000)/Raw('x' * 20) - -8. Send non-matched inner src IP, inner dst IP, sport, dport packets, check to - receive packet from queue 0:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.2", - dst="2.2.2.2")/UDP(sport=4000,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.3")/UDP(sport=4000,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=4001,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=4000,dport=8001)/Raw('x' * 20) - -9. Send non-matched sessionid packets, check to receive packet from queue 36:: - - p=Ether()/PPPoE(sessionid=0x8)/PPP(proto=0x21)/IP(src="1.1.1.1", - dst="2.2.2.2")/UDP(sport=4000,dport=8000)/Raw('x' * 20) - -Test Case: Flow director for PPPoE IPv6 with default input set -============================================================== - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoE IPv6 flow type id 29 to pcytpe id 16 mapping item:: - - testpmd> port config 0 pctype mapping update 16 29 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send PPPoE IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000,dport=8000)/Raw('x' * 20) - -5. Use scapy to generate PPPoE IPv4 raw packet test_pppoe.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=4000,sport=8000)/Raw('x' * 20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 29 fwd queue 36 fd_id 1 - packet test_pppoe.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000,dport=8000)/Raw('x' * 20) - -8. Send non-matched inner src IPv6, inner dst IPv6, sport, dport packets, - check to receive packet from queue 0:: - - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=4000,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4001,dport=8000)/Raw('x' * 20) - p=Ether()/PPPoE(sessionid=0x7)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000,dport=8001)/Raw('x' * 20) - -9. Send non-matched sessionid packets, check to receive packet from queue 36:: - - p=Ether()/PPPoE(sessionid=0x8)/PPP(proto=0x57)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000,dport=8000)/Raw('x' * 20) - -Test Case: Flow director for L2TPv2 PAY with default input set -============================================================== - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update L2TP PAY flow type id 26 to pcytpe id 21 mapping item:: - - testpmd> port config 0 pctype mapping update 21 26 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send L2TP PAY packets, check to receive packet from queue 0:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x7)/Raw('x' * 20) - -5. Use scapy to generate L2TP PAY raw packet test_l2tp.raw, - source/destination address should be swapped in the template - and traffic packets:: - - a=Ether(dst="3C:FD:FE:A3:A0:01", src="4C:FD:FE:A3:A0:01")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x7)/Raw('x' * 20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 26 fwd queue 36 fd_id 1 - packet test_l2tp.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x7)/Raw('x' * 20) - -8. Default flow director input set are MAC SA and session ID, send non-matched - SA, sessionid, check to receive packet from queue 0:: - - p=Ether(src="3C:FD:FE:A3:A0:02", dst="4C:FD:FE:A3:A0:01")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x7)/Raw('x' * 20) - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:01")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x8)/Raw('x' * 20) - -9. Send non-matched MAC DA, check to receive packet from queue 36:: - - p=Ether(src="3C:FD:FE:A3:A0:01", dst="4C:FD:FE:A3:A0:02")/IP()/ - UDP(dport=1701, sport=1701)/L2TP(sessionid=0x7)/Raw('x' * 20) - -Test Case: Flow director for PPPoL2TP IPv4 with default input set -================================================================= - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoL2TP IPv4 flow type id 23 to pcytpe id 18 mapping item:: - - testpmd> port config 0 pctype mapping update 18 23 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send PPPoL2TP IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - -5. Use scapy to generate PPPoL2TP IPv4 raw packet test_pppol2tp.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(dst="1.1.1.1",src="2.2.2.2")/UDP(dport=4000, sport=8000)/Raw('x' * 20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 23 fwd queue 36 fd_id 1 - packet test_pppol2tp.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - -8. Send non-matched inner src IP, inner dst IP, sport, dport packets, check to - receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.2",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.3")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4001, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8001)/Raw('x' * 20) - -Test Case: Flow director for PPPoL2TP IPv6 with default input set -================================================================= - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoL2TP IPv6 flow type id 24 to pcytpe id 19 mapping item:: - - testpmd> port config 0 pctype mapping update 19 24 - -3. Start testpmd, set fwd rxonly, enable output print - -4. Send PPPoL2TP IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - -5. Use scapy to generate PPPoL2TP IPv6 raw packet test_pppol2tp.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=4000, sport=8000)/Raw('x' * 20) - -6. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 24 fwd queue 36 - fd_id 1 packet test_pppol2tp.raw - -7. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - -8. Send non-matched inner src IPv6, inner dst IPv6, sport, dport packets, - check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4001, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8001)/Raw('x' * 20) - -Test Case: Flow director for PPPoL2TP IPv4 according to inner destination IPv4 -============================================================================== - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoL2TP IPv4 flow type id 23 to pcytpe id 18 mapping item:: - - testpmd> port config 0 pctype mapping update 18 23 - -3. Reset PPPoL2TP IPv4 flow director input set configuration:: - - testpmd> port config 0 pctype 18 fdir_inset clear all - -4. Inner dst IP words are 27 and 28, enable flow director input set - for them:: - - testpmd> port config 0 pctype 18 fdir_inset set field 27 - testpmd> port config 0 pctype 18 fdir_inset set field 28 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send PPPoL2TP IPv4 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - -7. Use scapy to generate PPPoL2TP IPv4 raw packet test_pppol2tp.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(dst="1.1.1.1",src="2.2.2.2")/UDP(dport=4000, sport=8000)/Raw('x' * 20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 23 fwd queue 36 - fd_id 1 packet test_pppol2tp.raw - -9. Send matched swapped traffic packet, check to receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - -10. Send matched inner dst IP, but non-matched inner src IP, sport, - dport packets, check to receive packet from queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.2",dst="2.2.2.2")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4001, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.2")/UDP(sport=4000, dport=8001)/Raw('x' * 20) - -11. Send non-matched inner dst IP packets, check to receive packet from - queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0021)/ - IP(src="1.1.1.1",dst="2.2.2.3")/UDP(sport=4000, dport=8000)/Raw('x' * 20) - -Test Case: Flow director for PPPoL2TP IPv6 according to inner destination IPv6 -============================================================================== - -1. Check flow type to pctype mapping:: - - testpmd> show port 0 pctype mapping - -2. Update PPPoL2TP IPv6 flow type id 24 to pcytpe id 19 mapping item:: - - testpmd> port config 0 pctype mapping update 19 24 - -3. Reset PPPoL2TP IPv6 flow director input set configuration:: - - testpmd> port config 0 pctype 19 fdir_inset clear all - -4. Inner dst IPv6 words are 21~28, enable flow director input set - for them:: - - testpmd> port config 0 pctype 19 fdir_inset set field 21 - testpmd> port config 0 pctype 19 fdir_inset set field 22 - testpmd> port config 0 pctype 19 fdir_inset set field 23 - testpmd> port config 0 pctype 19 fdir_inset set field 24 - testpmd> port config 0 pctype 19 fdir_inset set field 25 - testpmd> port config 0 pctype 19 fdir_inset set field 26 - testpmd> port config 0 pctype 19 fdir_inset set field 27 - testpmd> port config 0 pctype 19 fdir_inset set field 28 - -5. Start testpmd, set fwd rxonly, enable output print - -6. Send PPPoL2TP IPv6 packets, check to receive packet from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - -7. Use scapy to generate PPPoL2TP IPv6 raw packet test_pppol2tp.raw, - source/destination address and port should be swapped in the template - and traffic packets:: - - a=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(dst="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - src="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(dport=4000, sport=8000)/Raw('x' * 20) - -8. Setup raw flow type filter for flow director, configured queue is random - queue between 0~63, such as 36:: - - testpmd> flow_director_filter 0 mode raw add flow 24 fwd queue 36 - fd_id 1 packet test_pppol2tp.raw - -9. Send matched swapped traffic packet, check receive packet from - configured queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - -10. Send matched inner dst IPv6, but non-matched inner src IPv6, - sport, dport packets, check to receive packet from queue 36:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0002", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) - p=(Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4001, dport=8000)/Raw('x' * 20) - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0001")/ - UDP(sport=4000, dport=8001)/Raw('x' * 20) - -11. Send non-matched inner dst IPv6 packets, check to receive packet - from queue 0:: - - p=Ether()/IP()/UDP(dport=1701, sport=1701)/PPP_L2TP(proto=0x0057)/ - IPv6(src="1001:0db8:85a3:0000:0000:8a2e:0370:0001", - dst="2001:0db8:85a3:0000:0000:8a2e:0370:0002")/ - UDP(sport=4000, dport=8000)/Raw('x' * 20) From patchwork Thu Dec 15 06:42:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120926 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 1285AA0543; Thu, 15 Dec 2022 08:39:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E5AC42D15; Thu, 15 Dec 2022 08:39:56 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 1275D40A8A for ; Thu, 15 Dec 2022 08:39:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089992; x=1702625992; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=HniDCOygLNX9wXNr6DMh0+hv3MssnXrlTLbUGaefncE=; b=Flz0sw15i+tWrIMxZoGbolfd6vNKj3w0yUf44wrd+wUvzCKBkcVuK0fP NYTNJ00s+Owf5AdBaO1eFbsih3zLljxsQXD3i71i22Q87+Emy8f5lpVCO aYtCi0biLaziVU/B4cEfUEdCplf08u5FsWx0B625KuIzOJASSZ9SCOtNi RoEHxy/VD2zSKb4iT15YmiYzUx+b/RelbWdG1dm7T0+JwlhZoi4+eSzIe 9CBe4pxmG7H9In9mXEMQSQ34itHa/y2U4knW3ULOWDPzYKsnOJkdXWaOI DRTSjdxU3LT/64uvSq2dUdi+CBlBahwux3vZoA5EpRpvlF8LubLZiTSE3 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697264" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697264" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448223" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448223" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:24 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 6/8] tests/ddp_ppp_l2tp: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:42:02 -0500 Message-Id: <20221215064204.30802-6-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove flow_director_filter raw pkt test case. Signed-off-by: Lingli Chen Acked-by: Lijuan Tu --- tests/TestSuite_ddp_ppp_l2tp.py | 162 +------------------------------- 1 file changed, 1 insertion(+), 161 deletions(-) diff --git a/tests/TestSuite_ddp_ppp_l2tp.py b/tests/TestSuite_ddp_ppp_l2tp.py index c0890a48..7353fb1c 100644 --- a/tests/TestSuite_ddp_ppp_l2tp.py +++ b/tests/TestSuite_ddp_ppp_l2tp.py @@ -55,7 +55,7 @@ class TestDdpPppL2tp(TestCase): """ self.dut_testpmd.start_testpmd( "Default", - "--pkt-filter-mode=perfect --port-topology=chained \ + "--port-topology=chained \ --txq=%s --rxq=%s" % (self.PF_QUEUE, self.PF_QUEUE), ) @@ -295,60 +295,6 @@ class TestDdpPppL2tp(TestCase): result = "difq" self.verify(result == chk, "Faild to verify RSS when key word change!!!") - def run_fd_test(self, crlwords, flowtype, pctype, keywords, qchecks): - """ - Use dynamic flowtype/pctype mapping, use default or dynamic change - control words to set flow director input configuration for new - protocol, setup raw flow type filter for flow director, check flow - director could work. - crlwords: control words of keyword - flowtype: define flow type 23~63 values for PPPoE and PPPoL2TPv2 packet - types as test plan table. - pctype: profile defines below 14~21 pctypes for PPPoE and PPPoL2TPv2 - packet types. - keywords: keywords have Session ID, S-Port, D-Port, IP SA, IP DA and - etc. - qchecks: define sameq and difq. If change keywords, direct packets to - queue 0, otherwise direct packets to same queue. - """ - - self.pctype_flowtype_mapping(flowtype, pctype) - if crlwords is not None: - self.dut_testpmd.execute_cmd("port stop all") - time.sleep(1) - self.dut_testpmd.execute_cmd( - "port config 0 pctype %s fdir_inset clear all" % pctype - ) - for word in crlwords: - self.dut_testpmd.execute_cmd( - "port config 0 pctype %s fdir_inset set field %s" % (pctype, word) - ) - self.dut_testpmd.execute_cmd("port start all") - self.dut_testpmd.execute_cmd("start") - qnum = self.send_and_verify(flowtype, "def", "fd") - self.verify(qnum == 0, "Receive packet from wrong queue!!!") - self.raw_packet_generate(flowtype) - queue = random.randint(1, self.PF_QUEUE - 1) - self.dut_testpmd.execute_cmd( - "flow_director_filter 0 mode raw add flow %d fwd queue %d \ - fd_id 1 packet /tmp/test.raw" - % (flowtype, queue) - ) - qnum = self.send_and_verify(flowtype, "def", "fd") - qdef = qnum - self.verify(qnum == queue, "Receive packet from wrong queue!!!") - for word, chk in zip(keywords, qchecks): - qnum = self.send_and_verify(flowtype, word, "fd") - if qnum == qdef: - result = "sameq" - elif qnum == 0: - result = "difq" - self.verify( - result == chk, - "Faild to verify flow director when \ - key word change!!!", - ) - def test_rss_pppoe(self): """ PPPoE is supported by NVM with profile updated. Download profile then @@ -481,112 +427,6 @@ class TestDdpPppL2tp(TestCase): qchecks = ["difq", "sameq"] self.run_rss_test(crlwords, 23, 18, keywords, qchecks) - def test_fd_pppoe(self): - """ - PPPoE is supported by NVM with profile updated. Download profile then - set flowtype/pctype mapping, default flow director input set are MAC - SA, session ID, setup raw flow type filter for flow director, check - flow director could work when sending matched packets to configured - queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_mac", "session_id", "dst_mac"] - qchecks = ["difq", "difq", "sameq"] - self.run_fd_test(crlwords, 30, 17, keywords, qchecks) - - def test_fd_l2tp(self): - """ - L2TPv2 PAY is supported by NVM with profile updated. Download profile - then set flowtype/pctype mapping, default flow director input set are - MAC SA, session ID, setup raw flow type filter for flow director, check - flow director could work when sending matched packets to configured - queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_mac", "session_id", "dst_mac"] - qchecks = ["difq", "difq", "sameq"] - self.run_fd_test(crlwords, 26, 21, keywords, qchecks) - - def test_fd_pppoe_ipv4(self): - """ - PPPoE IPv4 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, default flow director input - set are IPv4 SA, IPv4 DA, S-Port, D-Port, setup raw flow type filter - for flow director, check flow director could work when sending matched - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ip", "dst_ip", "sport", "dport", "session_id"] - qchecks = ["difq", "difq", "difq", "difq", "sameq"] - self.run_fd_test(crlwords, 28, 15, keywords, qchecks) - - def test_fd_pppoe_ipv6(self): - """ - PPPoE IPv6 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, default flow director input - set are IPv6 SA, IPv6 DA, S-Port, D-Port, setup raw flow type filter - for flow director, check flow director could work when sending matched - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ipv6", "dst_ipv6", "sport", "dport", "session_id"] - qchecks = ["difq", "difq", "difq", "difq", "sameq"] - self.run_fd_test(crlwords, 29, 16, keywords, qchecks) - - def test_fd_pppol2tp_ipv4(self): - """ - PPPoL2TPv2 IPv4 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, default flow director input - set are IPv4 SA, IPv4 DA, S-Port, D-Port, setup raw flow type filter - for flow director, check flow director could work when sending matched - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ip", "dst_ip", "sport", "dport"] - qchecks = ["difq", "difq", "difq", "difq"] - self.run_fd_test(crlwords, 23, 18, keywords, qchecks) - - def test_fd_pppol2tp_ipv6(self): - """ - PPPoL2TPv2 IPv6 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, default flow director input - set are IPv6 SA, IPv6 DA, S-Port, D-Port, setup raw flow type filter - for flow director, check flow director could work when sending matched - packets to configured queue, otherwise direct packets to queue 0. - """ - crlwords = None - keywords = ["src_ipv6", "dst_ipv6", "sport", "dport"] - qchecks = ["difq", "difq", "difq", "difq"] - self.run_fd_test(crlwords, 24, 19, keywords, qchecks) - - def test_fd_pppol2tp_ipv4_dstip(self): - """ - PPPoL2TPv2 IPv4 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, dynamic to change flow - director input set configuration for IPv4 DA words 27~28, setup - raw flow type filter for flow director, check flow director could - work when sending matched IPv4 DA packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(27, 29)) - keywords = ["src_ip", "sport", "dport", "dst_ip"] - qchecks = ["sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 23, 18, keywords, qchecks) - - def test_fd_pppol2tp_ipv6_dstipv6(self): - """ - PPPoL2TPv2 IPv6 is supported by NVM with profile updated. Download - profile then set flowtype/pctype mapping, dynamic to change flow - director input set configuration for IPv6 DA words 21~28, setup - raw flow type filter for flow director, check flow director could - work when sending matched IPv6 DA packets to configured queue, - otherwise direct packets to queue 0. - """ - crlwords = list(range(21, 29)) - keywords = ["src_ipv6", "sport", "dport", "dst_ipv6"] - qchecks = ["sameq", "sameq", "sameq", "difq"] - self.run_fd_test(crlwords, 24, 19, keywords, qchecks) - def tear_down(self): self.dut_testpmd.execute_cmd("stop") out = self.dut_testpmd.execute_cmd("ddp get list 0") From patchwork Thu Dec 15 06:42:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120924 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 01F1AA0544; Thu, 15 Dec 2022 08:39:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C619C42D22; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B76DA40223 for ; Thu, 15 Dec 2022 08:39:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089991; x=1702625991; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=8BSeh7ArOd4cdyja64MC6KciWKVDF+4tQXGi0AaSTPU=; b=I6UHssk3c/kArbqnFSAXlmEwN5GL49hqW3ba67MTPnEZTL7OGqXWlNt4 G1v96tBZjR5/pTNPnMqi4HKtJF+M1svdF2WCUEmZ4OXI6iXTQzGEkm//j Q+80WBbKLKZ/zv2J4dP4q+ZtqRtW3OYueapYCmBm362ONEycijIRW7YO+ ZKYvl/zKCirOXljWOPamh7bLIZCLVkFy1OWywViDsa2AxwUyD/ROSXE2n 1MW9ePGM1fGmFtZ5aZihMUZwGEf+j6XXk52lM4F6t4wAtooibhT1fVgNW BzdcH6LwGBShwwDmd+NtGY9b6aI19KiCYeNk2PykTBcY/8M+qr4M6Rp7T A==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697260" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697260" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448225" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448225" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:26 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 7/8] test_plans/rss_to_rte_flow: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:42:03 -0500 Message-Id: <20221215064204.30802-7-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove --pkt-filter-mode. Signed-off-by: Lingli Chen --- test_plans/rss_to_rte_flow_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/rss_to_rte_flow_test_plan.rst b/test_plans/rss_to_rte_flow_test_plan.rst index 367ff863..007bd98f 100644 --- a/test_plans/rss_to_rte_flow_test_plan.rst +++ b/test_plans/rss_to_rte_flow_test_plan.rst @@ -557,7 +557,7 @@ Test case: Flow directory rule and RSS rule combination (I40E) 1. Start the testpmd:: - .//app/dpdk-testpmd -c 1ffff -n 4 -- -i --nb-cores=8 --rxq=16 --txq=16 --pkt-filter-mode=perfect + .//app/dpdk-testpmd -c 1ffff -n 4 -- -i --nb-cores=8 --rxq=16 --txq=16 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -921,7 +921,7 @@ Test case: Flow directory rule and RSS rule combination 1. Start the testpmd:: - .//app/dpdk-testpmd -c 1ffff -n 4 -- -i --nb-cores=8 --rxq=16 --txq=16 --pkt-filter-mode=perfect + .//app/dpdk-testpmd -c 1ffff -n 4 -- -i --nb-cores=8 --rxq=16 --txq=16 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start From patchwork Thu Dec 15 06:42:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 120925 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 77B6EA0545; Thu, 15 Dec 2022 08:39:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E51B642D25; Thu, 15 Dec 2022 08:39:52 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id CD74240685 for ; Thu, 15 Dec 2022 08:39:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671089992; x=1702625992; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=GPMJ1QhaTLYABYr7j2Hb/pppyZsOestVlKw1ZEa0O14=; b=CnnY8L8I3dzPOLNFhGAz3Iz5Oeku4dOWzvI4TRYojho/Ldg1iRG365NR M9wfZVj+sV+oGgqamf/rEgaMKMSFrI9wLhJOCL2qpuHw93oYFIs+UnuSE BI1u6wxs3w5tEqbI6z4AlO6glJie7sn8BNS79bhKm6UqZ3ww7KmkL1i8f 4dAnKEQkrZt+OfS8xrLo+wTXXu0iFPmyKMH09T3XlFlgrKF7wWbVHNMQO 6iMU2EUaof8Qm3wuvNjU1ATT/HkF8cZj109a7AX7fio8er/O7yF2WpNR7 8W7IaH0mi4GL5lPl30myZpxh1TWFoSYbB87MJmmODw2Fqcr8Dq708BxtC g==; X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="345697262" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="345697262" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="651448227" X-IronPort-AV: E=Sophos;i="5.96,246,1665471600"; d="scan'208";a="651448227" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 23:39:27 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 8/8] tests/rss_to_rte_flow: remove --pkt-filter-mode sync dpdk change Date: Thu, 15 Dec 2022 01:42:04 -0500 Message-Id: <20221215064204.30802-8-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221215064204.30802-1-linglix.chen@intel.com> References: <20221215064204.30802-1-linglix.chen@intel.com> 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 According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration) remove --pkt-filter-mode. Signed-off-by: Lingli Chen Tested-by: Weiyuan Li --- tests/TestSuite_rss_to_rte_flow.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py index 29faa5c4..7d2bfa9b 100644 --- a/tests/TestSuite_rss_to_rte_flow.py +++ b/tests/TestSuite_rss_to_rte_flow.py @@ -1173,9 +1173,7 @@ class TestRSS_to_Rteflow(TestCase): ], "NIC Unsupported: " + str(self.nic), ) - self.pmdout.start_testpmd( - "%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect" - ) + self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) self.dut.send_expect("start", "testpmd> ", 120) @@ -1833,9 +1831,7 @@ class TestRSS_to_Rteflow(TestCase): "--rxq=4 --txq=4 --disable-rss --port-topology=chained", ) else: - self.pmdout.start_testpmd( - "%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect" - ) + self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) self.dut.send_expect("start", "testpmd> ", 120)