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 D9590A056D; Tue, 3 Mar 2020 08:37:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA7A81BFF0; Tue, 3 Mar 2020 08:37:28 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 621E93B5 for ; Tue, 3 Mar 2020 08:37:26 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 23:37:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="386680330" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 02 Mar 2020 23:37:25 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 23:37:25 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 23:37:24 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.155]) with mapi id 14.03.0439.000; Tue, 3 Mar 2020 15:37:21 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH]test_plans: add mark/rss to cvl_fdir_test_plan.rst Thread-Index: AQHV8Qsx1lcHIXvFIUCs3pcMuiWi6Kg2ewnw Date: Tue, 3 Mar 2020 07:37:20 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBE9383@SHSMSX101.ccr.corp.intel.com> References: <1583206135-15306-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1583206135-15306-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH]test_plans: add mark/rss to cvl_fdir_test_plan.rst 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Tuesday, March 3, 2020 11:29 AM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH]test_plans: add mark/rss to cvl_fdir_test_plan.rst >=20 > Add mark/rss action to cvl_fdir_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > diff --git a/test_plans/cvl_fdir_test_plan.rst > b/test_plans/cvl_fdir_test_plan.rst > index 0b0f4de..12467f7 100644 > --- a/test_plans/cvl_fdir_test_plan.rst > +++ b/test_plans/cvl_fdir_test_plan.rst > @@ -96,6 +96,7 @@ Action type > passthru > count identifier 0x1234 shared on|off > mark id > + mark/rss >=20 >=20 > Prerequisites > @@ -920,10 +921,10 @@ Test case: MAC_IPV4_UDP passthru/mark >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is 22 dst is= 23 / end > actions passthru / mark / end > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is > + 22 dst is 23 / end actions passthru / end >=20 > -2. send matched packets, check the packets are redirected by RSS with FD= IR > ID. > - send mismatched packets, check the packets are redirected by RSS with= out > FDIR ID. > +2. send matched packets, check the packets are redirected by RSS. > + send mismatched packets, check the packets are redirected by RSS. >=20 > 3. verify rules can be listed and destroyed:: >=20 > @@ -934,7 +935,7 @@ Test case: MAC_IPV4_UDP passthru/mark >=20 > testpmd> flow destroy 0 rule 0 >=20 > - verify matched packet is redirected to the same queue without FDIR ID= . > + verify matched packet is redirected to the same queue. > check there is no rule listed. >=20 > Test case: MAC_IPV4_TCP passthru/mark > @@ -1245,6 +1246,373 @@ Test case: MAC_IPV4_TUN_MAC_IPV4_SCTP > passthru/mark > verify matched packet is redirected to the same queue without FDIR ID= . > check there is no rule listed. >=20 > +Test case: MAC_IPV4_PAY mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 proto is 255 ttl is 2 tos is 4 > + / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packets are redirected to the same queue without FDIR = ID. > + check there is no rule listed. > + > +Test case: MAC_IPV4_UDP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is > + 22 dst is 23 / end actions mark / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 0. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 0. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TCP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / tcp src is > + 22 dst is 23 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_SCTP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / sctp src > + is 22 dst is 23 tag is 1 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV6_PAY mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 > + dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 proto is > + 1 hop is 2 tc is 1 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV6_UDP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 > + dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 > + tc is 1 / udp src is 22 dst is 23 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV6_TCP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 > + dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 > + tc is 1 / tcp src is 22 dst is 23 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV6_SCTP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv6 > + dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 > + tc is 1 / sctp src is 22 dst is 23 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_IPV4_PAY mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / ipv4 src > + is 192.168.0.20 dst is 192.168.0.21 / end actions mark / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 0. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 0. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_IPV4_UDP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / ipv4 src > + is 192.168.0.20 dst is 192.168.0.21 / udp src is 22 dst is 23 / end > + actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_IPV4_TCP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / ipv4 src > + is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end > + actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_IPV4_SCTP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / ipv4 src > + is 192.168.0.20 dst is 192.168.0.21 / sctp src is 22 dst is 23 / end > + actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_MAC_IPV4_PAY mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 / end actions mark id 1 / rss > + / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_MAC_IPV4_UDP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 / udp src is 22 dst is 23 / > + end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_MAC_IPV4_TCP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / > + end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: MAC_IPV4_TUN_MAC_IPV4_SCTP mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 / sctp src is 22 dst is 23 / > + end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packet is redirected to the same queue without FDIR ID= . > + check there is no rule listed. > + > +Test case: mark/rss wrong parameters > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 > + src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is > + 22 dst is 23 / end actions rss / end > + > +2. The rule failed to be created, report proper error message. > + > +3. list the flow:: > + > + testpmd> flow list 0 > + > + there is no flow listed. > + > Test case: MAC_IPV4_PAY drop > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >=20 > @@ -2022,6 +2390,28 @@ Test case: MAC_IPV4_GTPU_EH passthru/mark > verify matched packets are redirected to the same queue without FDIR = ID. > check there is no rule listed. >=20 > +Test case: MAC_IPV4_GTPU_EH mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is > + 0x12345678 / gtp_psc qfi is 0x34 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packets are redirected to the same queue without FDIR = ID. > + check there is no rule listed. > + > Test case: MAC_IPV4_GTPU_EH drop > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > @@ -2110,6 +2500,28 @@ Test case: MAC_IPV4_GTPU passthru/mark > verify matched packets are redirected to the same queue without FDIR = ID. > check there is no rule listed. >=20 > +Test case: MAC_IPV4_GTPU mark/rss > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is > + 0x12345678 / end actions mark id 1 / rss / end > + > +2. send matched packets, check the packets are redirected by RSS with FD= IR > ID 1. > + send mismatched packets, check the packets are redirected by RSS > without FDIR ID 1. > + > +3. verify rules can be listed and destroyed:: > + > + testpmd> flow list 0 > + > + check the existing rule. > + destroy the rule:: > + > + testpmd> flow destroy 0 rule 0 > + > + verify matched packets are redirected to the same queue without FDIR = ID. > + check there is no rule listed. > + > Test case: MAC_IPV4_GTPU drop > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > @@ -2405,7 +2817,7 @@ Test case: MAC_IPV4_GTPU_EH wrong parameters > flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x1234= 5678 / > gtp_psc qfi is 0x100 / end actions queue index 1 / end > flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x1000= 00000 / > gtp_psc qfi is 0x5 / end actions queue index 2 / end >=20 > - the two flows can not be created successfully. > + the two flows can not be created successfully, report proper error > message. >=20 > 2. list the flow:: >=20 > -- > 2.7.4