From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E35AEA04EF; Tue, 2 Jun 2020 04:14:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 97C301BFCC; Tue, 2 Jun 2020 04:14:40 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id EBA701BF92 for ; Tue, 2 Jun 2020 04:14:37 +0200 (CEST) IronPort-SDR: aHdXLOZjyFYxj/u3L5EXNfE2al6vf9rzwRz8zoCllXB4BUWdsvsO4R7MEMgGITCtUeZgu4DWHa Ts65XZNx1HWw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2020 19:14:36 -0700 IronPort-SDR: NSwrUYkR7RJEn2aTbsdbQ726srpst3HG1hm/efr3pYqBf/FHewElPDqIefg0GaJGgsH3H2OSCa 8tH/3pT3aK+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,462,1583222400"; d="scan'208";a="444504334" Received: from dpdk-qifu-cxl.sh.intel.com ([10.67.119.67]) by orsmga005.jf.intel.com with ESMTP; 01 Jun 2020 19:14:34 -0700 From: Fu Qi To: dts@dpdk.org Cc: Fu Qi Date: Tue, 2 Jun 2020 07:05:54 -0400 Message-Id: <20200602110554.88516-1-qi.fu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1]test_plans/iavf_fdir_test_plan: add l2tp and esp to iavf fdir X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Add l2tpv3 and esp to cvl iavf fdir test plan. Signed-off-by: Fu Qi --- test_plans/iavf_fdir_test_plan.rst | 574 +++++++++++++++++++++++++++++ 1 file changed, 574 insertions(+) diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst index c1e9161..28a1e04 100644 --- a/test_plans/iavf_fdir_test_plan.rst +++ b/test_plans/iavf_fdir_test_plan.rst @@ -77,6 +77,22 @@ Pattern and input set +------------------------------+----------------------------+-------------------------------------------------------------------+ | | MAC_IPV4_GTPU_EH | [TEID], [QFI] | +------------------------------+----------------------------+-------------------------------------------------------------------+ + | L2TPv3 | MAC_IPV4_L2TPv3 | [Session ID] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV6_L2TPv3 | [Session ID] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | ESP | MAC_IPV4_ESP | [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV6_ESP | [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV4_AH | [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV6_AH | [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV4_NAT-T-ESP | [Source IP], [Dest IP], [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ + | | MAC_IPV6_NAT-T-ESP | [Source IP], [Dest IP], [SPI] | + +------------------------------+----------------------------+-------------------------------------------------------------------+ Supported function type @@ -426,6 +442,96 @@ Send packets sendp(Ether(dst="00:11:22:33:44:55")/IPv6()/UDP(sport=22, dport=8805)/PFCP(Sfield=1, SEID=256),iface="enp134s0f1") +* MAC_IPV4_L2TPv3 + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.3', proto=115)/L2TP('\\x00\\x00\\x00\\x11')/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IP(src='192.168.1.3', proto=115)/L2TP('\\x00\\x00\\x00\\x11')/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.3', proto=115)/L2TP('\\x00\\x00\\x00\\x12')/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV6_L2TPv3 + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src='1111:2222:3333:4444:5555:6666:7777:8888',nh=115)/L2TP('\\x00\\x00\\x00\\x11')/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src='1111:2222:3333:4444:5555:6666:7777:9999',nh=115)/L2TP('\\x00\\x00\\x00\\x11')/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src='1111:2222:3333:4444:5555:6666:7777:8888',nh=115)/L2TP('\\x00\\x00\\x00\\x12')/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV4_ESP + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.3",proto=50)/ESP(spi=7)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.1.3",proto=50)/ESP(spi=7)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.3",proto=50)/ESP(spi=17)/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV6_ESP + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:8888",nh=50)/ESP(spi=7)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:9999",nh=50)/ESP(spi=7)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:8888",nh=50)/ESP(spi=17)/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV4_AH + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.3",proto=51)/AH(spi=7)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.1.3",proto=51)/AH(spi=7)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.3",proto=51)/AH(spi=17)/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV6_AH + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:8888",nh=51)/AH(spi=7)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:9999",nh=51)/AH(spi=7)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:8888",nh=51)/AH(spi=17)/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV4_NAT-T-ESP + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.20")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.10.20")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IP(src="192.168.0.20")/UDP(dport=4500)/ESP(spi=12)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IP(dst="192.168.0.20")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + +* MAC_IPV6_NAT-T-ESP + + matched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(dst="1111:2222:3333:4444:5555:6666:7777:8888")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + + mismatched packets:: + + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(dst="1111:2222:3333:4444:5555:6666:7777:8888")/UDP(dport=4500)/ESP(spi=12)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(dst="1111:2222:3333:4444:5555:6666:7777:9999")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + sendp(Ether(dst='00:11:22:33:44:55')/IPv6(src="1111:2222:3333:4444:5555:6666:7777:8888")/UDP(dport=4500)/ESP(spi=2)/Raw('x'*480),iface="enp134s0f1") + Test case: flow validation ========================== @@ -1606,6 +1712,454 @@ Subcase 6: PFCP mark get the same result. +Test case: MAC_IPV4_L2TPv3 pattern +================================== + +Subcase 1: MAC_IPV4_L2TPv3 queue index +-------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV4_L2TPv3 rss queues +------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV4_L2TPv3 mark +------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV6_L2TPv3 pattern +================================== + +Subcase 1: MAC_IPV6_L2TPv3 queue index +-------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV6_L2TPv3 rss queues +------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / l2tpv3oip session_id is 17 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV6_L2TPv3 mark +------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / l2tpv3oip session_id is 17 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV4_ESP pattern +=============================== + +Subcase 1: MAC_IPV4_ESP queue index +----------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV4_ESP rss queues +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV4_ESP mark +---------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV6_ESP pattern +=============================== + +Subcase 1: MAC_IPV6_ESP queue index +----------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV6_ESP rss queues +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV6_ESP mark +---------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV4_AH pattern +============================== + +Subcase 1: MAC_IPV4_AH queue index +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / ah spi is 7 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV4_AH rss queues +--------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / ah spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV4_AH mark +--------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 / ah spi is 7 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV6_AH pattern +============================== + +Subcase 1: MAC_IPV6_AH queue index +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / ah spi is 7 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV6_AH rss queues +--------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / ah spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV6_AH mark +--------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 / ah spi is 7 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV4_NAT-T-ESP pattern +===================================== + +Subcase 1: MAC_IPV4_NAT-T-ESP queue index +----------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV4_NAT-T-ESP rss queues +---------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV4_NAT-T-ESP mark +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + +Test case: MAC_IPV6_NAT-T-ESP pattern +===================================== + +Subcase 1: MAC_IPV6_NAT-T-ESP queue index +----------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 src is 192.168.0.20 / udp / esp spi is 2 / end actions queue index 13 / mark id 7 / end + +2. send matched packets, check the packets are distributed to queue 13 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 13 without FDIR matched ID. + +3. verify rules can be listed and destroyed:: + + testpmd> flow list 0 + + check the rule listed. + destroy the rule:: + + testpmd> flow destroy 0 rule 0 + +4. verify matched packets are not distributed to queue 13 without FDIR matched ID. + check there is no rule listed. + +Subcase 2: MAC_IPV6_NAT-T-ESP rss queues +---------------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 src is 192.168.0.20 / udp / esp spi is 2 / end actions rss queues 1 2 3 4 end / mark id 6 / end + +2. send matched packets, check the packets are distributed to queue 1 or 2 or 3 or 4 with FDIR matched ID. + send mismatched packets, check the packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDIR matched ID. + check there is no rule listed. + +Subcase 3: MAC_IPV6_NAT-T-ESP mark +---------------------------------- + +1. create filter rules:: + + flow create 0 ingress pattern eth / ipv6 src is 192.168.0.20 / udp / esp spi is 2 / end actions mark id 15 / end + +2. send matched packets, check the packets are received with FDIR matched ID. + send mismatched packets, check the packets are received without FDIR matched ID. + +3. repeat step 3 of subcase 1. + +4. verify matched packets are received without FDIR matched ID. + check there is no rule listed. + + Test case: negative cases ========================= @@ -1828,6 +2382,26 @@ Subcase 12: unsupported pattern with OS package 2. check there is no rule listed. +3. Create a L2TPv3 rule with OS default package:: + + flow create 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions queue index 3 / mark id 7 / end + + Failed to create flow, report error message:: + + Add filter rule failed.: Operation not permitted + +4. check there is no rule listed. + +5. Create a ESP rule with OS default package:: + + flow create 0 ingress pattern eth / ipv6 / udp / esp spi is 17 / end actions rss queues 2 3 end / mark id 7 / end + + Failed to create flow, report error message:: + + Add filter rule failed.: Operation not permitted + +6. check there is no rule listed. + Subcase 13: invalid port ------------------------ -- 2.17.1