From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C67FCA0547; Mon, 30 Aug 2021 07:46:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BAD74410FA; Mon, 30 Aug 2021 07:46:55 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 6BF6C410F8 for ; Mon, 30 Aug 2021 07:46:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10091"; a="215084904" X-IronPort-AV: E=Sophos;i="5.84,362,1620716400"; d="scan'208";a="215084904" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2021 22:46:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,362,1620716400"; d="scan'208";a="427727418" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 29 Aug 2021 22:46:52 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 29 Aug 2021 22:46:49 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Sun, 29 Aug 2021 22:46:49 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 29 Aug 2021 22:46:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FFF6Cz5a4DPY9k3wtBGVdsyo+RElvxIyqWdQ08+Brt27aSPqaqxdF+CwGMVQuWplVjGhFcKvXhIR8qBL2KR9RnXe8WQ1GO+pagUOyr6eIS0LXb+tN8apXDl+sTr8H4dq6jTqZ6YlL6i08oHV2Ui9an57tnCJ/6WALqyjsZ+xCHO+xSO+Lt4XxCw1LwmXdtPgpaj8/khbucjikAEXMXU6Ut2uI+btmgiYda0NJGPcZmApfUUt+6fIF9xFH0SvBPKLElDIXzqJHng48LoTcTL6ymmeub1avESJk6TduisHd1Y1sMBZL71xlpGuSyacXXDVpwnPQQQwxpDSH0dPsZpw3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ss5+KnYVWLpcuJYIrH14il9z39JtUPJqPTHOYMr904=; b=LYw8g2r3n1BTpQoxkJmQO6UBRXSV3k1RQwxIx7mJIySVzGwj3izcHYrOi2tHH2GqDKK4Zfr9BQUIpouINt4/MTkrq1kkt4wNqVSjeUiFOmVz2e+CH8xNr6sszb6sn2khCFnMkFAn5MZAO44tt6uCJ6T23o5t2Y4dFSVkPXbmlehCKYt4tDkyX9i5Ek1+ZGjUYoZkc8fRIPDFwC79P1siF0me3XNKQbe6PLm+ujvQV/vBq5rZyID4mVDbjHkhJv6hXgeyVjm7Xsb/WzfzTprEelSbMPUc1GA8bJtKmK6Ij/EW7HfIbYUK7cJU90d/onxg2H2z2RHvIXxjdAP4dALxDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ss5+KnYVWLpcuJYIrH14il9z39JtUPJqPTHOYMr904=; b=uQZ7pDpSa4PFITOALlw+N31NGv9uji+QMzRg07fPDZtzl3Z3+MP4H+q2Ev170d2vTbppmuwcz8DPyHJkdf1wFv7sGP2l1TdUIPNwHeugnsoktM9zVQVqnTHz9mJrH5BdiXlwjcMqF5xHgSqKwx+1CDdoDXvfzZgLlzvx/hXzd9c= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN7PR11MB2771.namprd11.prod.outlook.com (2603:10b6:406:a9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.20; Mon, 30 Aug 2021 05:46:42 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::d190:7c15:f9c7:591d]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::d190:7c15:f9c7:591d%6]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 05:46:42 +0000 From: "Lin, Xueqin" To: "Sun, QinX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1 1/2] test_plans/iavf_fdir: add gre inner fdir cases for iavf Thread-Index: AQHXkm4oahN3x2Jkp0+ykjcj9SUwlauLn8Zw Date: Mon, 30 Aug 2021 05:46:42 +0000 Message-ID: References: <20210816154520.9805-1-qinx.sun@intel.com> <20210816154520.9805-2-qinx.sun@intel.com> In-Reply-To: <20210816154520.9805-2-qinx.sun@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be9543d2-5eb3-436f-e72f-08d96b798b93 x-ms-traffictypediagnostic: BN7PR11MB2771: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9jnCjrtzv4KwQIy6yMqVXguKXwpiUeq52zpTKY+7uvWR8oquycGsQAxhR2h1DvXVusNYARiLb8mIfSa+o2vUuauJj4eAvsPb1K7cqEed/8kzGCtWp0mxj/RsrLWOQSx8Ogvp1izJY2VWz6KD8ENb04Ytd1doc7C5a4Nk/azGxZAyA9yxP1gFRyAENdC3IUgIOAEpHuEmLaOr1cqj9qC4/taIWJCZ8L1GOiONAOlO1E6fPA4lCS1hA6jmlrrPQFDbJNMNk+2OQRLBVHB3sUulEgOmFIFPfHLjOwjmFbIwGVH3d5QLWRVhyV1MMNHRaEdfSv95uSOUPGV68ctITB6uDj0ILvK4wCOvRfo9MiVt9J0BWqWYMoBYvJx5a7CiZ4SaOPM6RFD3NPxLlvzvEI5RSI4DU/P9fxKNNepInI2bkMNRC/S/UfUQq2BJ7aDWc6M+7aimkveGLJOwoZSEuHnkBO4Omz29vXHSBT6NQTrjzUDQuDv1XMHZ+z0shFsHVomA4FpccbVQl1VZB6FTQ3aO8S5ny+KX2vN8tvlg1youDmlEa4KYbPX1tHLJQbxwxg1CxMRaUVb72ZGPC0PSwoys77lZEUEt34yypgRHbcFL3SGAzUNXOe8va1tOc6BHUDg+Y9ePRrK7SyPTo/8UCsSHaZjFQ0KIJcEtue4HYmD5nEhIW1OTtiM1N84un+ssRh6wIDs2Y5PSMIjHHEpvklhySQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR11MB2658.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(366004)(39860400002)(136003)(122000001)(38100700002)(33656002)(86362001)(52536014)(55016002)(9686003)(38070700005)(71200400001)(83380400001)(478600001)(30864003)(6506007)(186003)(53546011)(66476007)(26005)(66446008)(2906002)(64756008)(66556008)(76116006)(66946007)(110136005)(8676002)(8936002)(7696005)(316002)(5660300002)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fOig8MzgYirJmHETuGJlqY9bBUF3cralWSxGySoyqM9Ynd5e7lKzwHTlPiZk?= =?us-ascii?Q?eSsED7ma/pLABegHVhl+CBodDjs14ncgzYT123s4A/vadrtFO2bdxsfEaJo1?= =?us-ascii?Q?kh/UWz18APJjDuWbB7vbJtP93LsWYIfD9u8MqkDAH5mXW+ZZPHjNFnL/3G98?= =?us-ascii?Q?/O2O1yTEIe8wNYHj8NAfEPcyyC/4WbjOoFiRRDFIfE9g3Se/upAn5hqTatgL?= =?us-ascii?Q?m8u5jiP/d2FAdrhXGDNqJTwWxc3WJE0AaI2ubkvW0mLOBYmWnceWtv5wn5Mo?= =?us-ascii?Q?8qQK4pMaoMLSQ4k5XYxubJeurCdIrKLlvzsc50n3/84j/9zrpZYiuR2J78bt?= =?us-ascii?Q?0AQmZQBAyOm87ZYMr2W6fs6aZpCkJcslvtIEo2SkO7GFaXMzWxxNmrbfFt7D?= =?us-ascii?Q?0lsOs0KkucR681VjShLQtaEohBI0prJ5gLMkl+/DB+K8YYm3GkiJMONJ3sfN?= =?us-ascii?Q?uzHRRgOwyWY1ZPU7zqDDQiKJUSj42tJRiiz1JL91p2GHGF91dEo0SxtbHptu?= =?us-ascii?Q?GbEmhAd5pwA+jt/3lW/zfoMcgdkDeXk9mAhoo9UodBLq0XtJHWXpEtK80VRx?= =?us-ascii?Q?EI8rCX4kEV8yRtw9J9NRW6ptiQZ/X1G7NRepGGboGqB3cJ2xi2Db/RCB9s55?= =?us-ascii?Q?BSXBszCSXd0iFAPN8X0dzhWNl69IJ1IzUb4hXP1Tq8bIOG34mYVA6ShGOHnB?= =?us-ascii?Q?KKq7Cwtr0JPmr179ZFeKAUzY9Ijis9HLUlNB5gnoiNKUGpMc8dGI5EZpH3Nu?= =?us-ascii?Q?3UPaev/x0ROT6YdEX2SbFtVZyCbS/QL2ahzhCyGNGkhWB4QS2z14sOREFuz1?= =?us-ascii?Q?N6tLOn7DFCfbKnmjw0BnVncSOgJV1VT2Gg4IFGWDS+ZXNxi+g/0p4HnlOBIK?= =?us-ascii?Q?ntHQ9+qOXP6cedXeSYRwrjyuh3cUy2QPU4u6Fr8YOEVrRKH1B7HUKeneRmxV?= =?us-ascii?Q?RlI2rr8FGKyGP2DQRNfny41JpD8s6iHl5NQ24HWQ+G5yqrfnHslgVpZJn7MN?= =?us-ascii?Q?i4AKQdA1PgwPTzTfV0J0/34nCWx4SXemP5KKWSRhh2ogjtCYOdXW8qLTzjdY?= =?us-ascii?Q?B4ZCg3KlKdopVwo43TPqP5fmWEwemshv4BY7HKNqbCmESPXA08Ugi7T3nuuC?= =?us-ascii?Q?15Cc9vGCiGnymesbexsS3K56/+twUE9w27XYrhioBZx8OcsSZu5pMIqMy2qT?= =?us-ascii?Q?Q13VlPEXsp+s0oioUavnd6l450F4GN4i44iEFQL0W89nrvMEBkMWCh3zdJ8f?= =?us-ascii?Q?z9oFVwj14l2B3XuymjPD/sqbPgA+m6WGBvchke1wejltHdxBKYdqTb5FwT5X?= =?us-ascii?Q?YrJLANIjc3FvGOwSs68ULfLL?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN7PR11MB2658.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: be9543d2-5eb3-436f-e72f-08d96b798b93 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2021 05:46:42.5117 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DGamsp20e3bDLw/jmCqnvGh/elgJUMrSPD6q+RCTUgoSeIyXi5A3QidBhsY7KwQR+Xv/CjfZXwfDQsA+CwIQtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2771 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1 1/2] test_plans/iavf_fdir: add gre inner fdir cases for iavf X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: Sun, QinX > Sent: Monday, August 16, 2021 11:45 PM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Sun, QinX > Subject: [dts] [PATCH V1 1/2] test_plans/iavf_fdir: add gre inner fdir ca= ses for > iavf >=20 > as dpdk enable iavf GRE tunnel feature, so add iavf fdir inner related ca= ses, > supported pattern: IPV4/IPV6+GRE+IPV4/IPV6+TCP/UDP, total 12 new cases >=20 >=20 > Signed-off-by: Qin Sun Acked-by: Xueqin Lin > --- > test_plans/iavf_fdir_test_plan.rst | 684 ++++++++++++++++++++++++++++- > 1 file changed, 683 insertions(+), 1 deletion(-) >=20 > diff --git a/test_plans/iavf_fdir_test_plan.rst > b/test_plans/iavf_fdir_test_plan.rst > index ac423903..c7b8bc97 100644 > --- a/test_plans/iavf_fdir_test_plan.rst > +++ b/test_plans/iavf_fdir_test_plan.rst > @@ -39,6 +39,7 @@ Enable fdir filter for IPv4/IPv6 + TCP/UDP/SCTP (OS > default package) Enable fdir filter for GTP (comm #1 package) Enable fd= ir > filter for L2 Ethertype (comm #1 package) Enable fdir filter for PFCP (c= omm > #1 package) > +Enable fdir filter for IPv4/IPv6 + GRE + IPV4/IPV6 + TCP/UDP >=20 > Description > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -147,6 +148,38 @@ Pattern and input set > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > | |MAC_IPV4_GTPU_EH_UL_IPV6_TCP | inne= r:[Source > IPv6], [Dest IPv6], [Source Port], [Dest Port] | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6 |MAC_IPV4_GRE_IPV4 | [Inn= er > Source IP], [Inner Dest IP], [Inner DSCP] | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV4 | [Inn= er Source IP], [Inner > Dest IP], [Inner DSCP] | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV4_GRE_IPV6 | [Inn= er Source IP], [Inner > Dest IP], [Inner TC] | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV6 | [Inn= er Source IP], [Inner > Dest IP], [Inner TC] | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+TCP |MAC_IPV4_GRE_IPV4_TCP | > [Inner Source IP], [Inner Dest IP], [Inner DSCP], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV4_TCP | [Inn= er Source IP], > [Inner Dest IP], [Inner DSCP], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV4_GRE_IPV6_TCP | [Inn= er Source IP], > [Inner Dest IP], [Inner TC], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV6_TCP | [Inn= er Source IP], > [Inner Dest IP], [Inner TC], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+UDP |MAC_IPV4_GRE_IPV4_UDP | > [Inner Source IP], [Inner Dest IP], [Inner DSCP], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV4_UDP | [Inn= er Source IP], > [Inner Dest IP], [Inner DSCP], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV4_GRE_IPV6_UDP | [Inn= er Source IP], > [Inner Dest IP], [Inner TC], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + +------------------------------+------------------------------+-----= -------------------------- > ------------------------------------+ > + | |MAC_IPV6_GRE_IPV6_UDP | [Inn= er Source IP], > [Inner Dest IP], [Inner TC], | > + | | | [Inn= er Source Port], [Inner Dest Port] > | > + > + +------------------------------+------------------------------+------- > + ------------------------------------------------------------+ >=20 >=20 > Supported function type > @@ -1006,6 +1039,69 @@ Send packets > pkt16 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:11:22:33:44:55")/IP()/UDP(dport=3D2152)/GTP_U_Header()/GTPPDUSe > ssionContainer(type=3D1)/IPv6(src=3D"2001::2", > dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw('x'*20) > pkt17 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:11:22:33:44:55")/IP()/UDP(dport=3D2152)/GTP_U_Header()/GTPPDUSe > ssionContainer(type=3D1)/IP()/UDP(sport=3D22, dport=3D23)/Raw('x'*20) >=20 > +* MAC_IPV4_GRE_IPV4 > + > + matched packets:: > + > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.= 20" > + ,dst=3D"192.168.0.21", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + mismatched packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.22= ",dst=3D > "192.168.0.21", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.20= ",dst=3D > "192.168.0.23", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.= 20" > + ,dst=3D"192.168.0.21", tos=3D8)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > +* MAC_IPV6_GRE_IPV4 > + > + matched packets:: > + > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(src=3D"192.168.= 0.2 > + 0",dst=3D"192.168.0.21", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + mismatched packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(src=3D"192.168.0.= 22",ds > t=3D"192.168.0.21", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(src=3D"192.168.0.= 20",ds > t=3D"192.168.0.23", tos=3D4)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(src=3D"192.168.= 0.2 > + 0",dst=3D"192.168.0.21", tos=3D8)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > +* MAC_IPV4_GRE_IPV6 > + > + matched packets:: > + > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910= A:2 > + 222:5498:8475:1111:3900:2020", src=3D"2001::2", tc=3D1)/Raw('x' * > + 80)],iface=3D"enp134s0f1") > + > + mismatched packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2021", src=3D"2001::2", tc=3D1)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2020", src=3D"2001::3", tc=3D1)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910= A:2 > + 222:5498:8475:1111:3900:2020", src=3D"2001::2", tc=3D2)/Raw('x' * > + 80)],iface=3D"enp134s0f1") > + > +* MAC_IPV4_GRE_IPV4_TCP > + > + matched packets:: > + > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.= 20" > + ,dst=3D"192.168.0.21", tos=3D4)/TCP(sport=3D22,dport=3D23)/Raw('x' * > + 80)],iface=3D"enp134s0f1") > + > + mismatched packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.22= ",dst=3D > "192.168.0.21", tos=3D4)/TCP(sport=3D22,dport=3D23)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.20= ",dst=3D > "192.168.0.23", tos=3D4)/TCP(sport=3D22,dport=3D23)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.20= ",dst=3D > "192.168.0.21", tos=3D8)/TCP(sport=3D22,dport=3D23)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.20= ",dst=3D > "192.168.0.21", tos=3D4)/TCP(sport=3D21,dport=3D23)/Raw('x' * > 80)],iface=3D"enp134s0f1") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(src=3D"192.168.0.= 20" > + ,dst=3D"192.168.0.21", tos=3D4)/TCP(sport=3D22,dport=3D24)/Raw('x' * > + 80)],iface=3D"enp134s0f1") > + > +* MAC_IPV4_GRE_IPV6_TCP > + > + matched packets:: > + > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910= A:2 > + 222:5498:8475:1111:3900:2020", src=3D"2001::2", > + tc=3D1)/TCP(sport=3D22,dport=3D23)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + mismatched packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2021", src=3D"2001::2", > tc=3D1)/TCP(sport=3D22,dport=3D23)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2020", src=3D"2001::3", > tc=3D1)/TCP(sport=3D22,dport=3D23)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2020", src=3D"2001::2", > tc=3D2))/TCP(sport=3D22,dport=3D23)Raw('x' * 80)],iface=3D"enp134s0f1") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:= 222 > 2:5498:8475:1111:3900:2020", src=3D"2001::2", > tc=3D1)/TCP(sport=3D21,dport=3D23)/Raw('x' * 80)],iface=3D"enp134s0f1") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(dst=3D"CDCD:910= A:2 > + 222:5498:8475:1111:3900:2020", src=3D"2001::2", > + tc=3D1)/TCP(sport=3D22,dport=3D24)/Raw('x' * 80)],iface=3D"enp134s0f1") >=20 > Test case: flow validation > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > @@ -6429,4 +6525,590 @@ packets:: > pkt11 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:11:22:33:44:55")/IP()/UDP(dport=3D2152)/GTP_U_Header()/GTPPDUSe > ssionContainer(type=3D1)/IPv6(src=3D"2001::2", > dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=3D22, > dport=3D23)/Raw('x'*20) > pkt12 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:11:22:33:44:55")/IP()/UDP(dport=3D2152)/GTP_U_Header()/GTPPDUSe > ssionContainer(type=3D1)/IPv6(src=3D"2001::2", > dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=3D22, > dport=3D23)/Raw('x'*20) >=20 > -repeat step 1-12 of subcase 1. > \ No newline at end of file > +repeat step 1-12 of subcase 1. > + > +Test case: MAC_IPV4_GRE_IPV4 pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV4 queue index > +---------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions queue index 1 > + / end > + > +2. send matched packets, check the packets are distributed to queue 1 > without FDIR matched ID. > + send mismatched packets, check the packets are not distributed to que= ue > 1 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 1 without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 2: MAC_IPV4_GRE_IPV4 rss queues > +--------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions rss queues 2 3 > + end / end > + > +2. send matched packets, check the packets are distributed to queue 2 or= 3 > without FDIR matched ID. > + send mismatched packets, check the packets are not distributed to que= ue > 2 or 3 without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are not distributed to queue 2 or 3 without FD= IR > matched ID. > + check there is no rule listed. > + > +Subcase 3: MAC_IPV4_GRE_IPV4 passthru > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions passthru / end > + > +2. send matched packets, check the packets are distributed by RSS withou= t > FDIR matched ID. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID=3D0x0. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_GRE_IPV4 drop > +--------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions drop / end > + > +2. send matched packets, check the packets are dropped > + send mismatched packets, check the packets are not dropped. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are not dropped. > + check there is no rule listed. > + > +Subcase 5: MAC_IPV4_GRE_IPV4 mark+rss > +------------------------------------- > +Note: This combined action is mark with RSS which is without queues > specified. > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions mark / rss / > + end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x0 > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_GRE_IPV4 mark > +--------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / end actions mark / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Test case: MAC_IPV6_GRE_IPV4 pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV4 queue index > +---------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV4 rss queues > +--------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV4 passthru > +------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV4 drop > +--------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV4 mark+rss > +------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV4 mark > +--------------------------------- > + > +each subcase is the same as the subcase of Test case: MAC_IPV4_GRE_IPV4 > +pattern, just only pattern is different, replace it with 'eth / ipv6 / g= re / ipv4' > + > +Test case: MAC_IPV4_GRE_IPV6 pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV6 queue index > +---------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions queue index 15 / mark / end > + > +2. send matched packets, check the packets is distributed to queue 15 wi= th > FDIR matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > 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 packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 2: MAC_IPV4_GRE_IPV6 rss queues > +--------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions rss queues 8 9 10 11 12 13 14 15 end / mark id 1/ end > + > +2. send matched packets, check the packets is distributed to queue 8-15 > with FDIR matched ID=3D0x1. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 3: MAC_IPV4_GRE_IPV6 passthru > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions passthru / mark / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are destributed to the same queue without FDIR > matched ID . > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_GRE_IPV6 drop > +--------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions drop / end > + > +2. send matched packets, check the packets are dropped. > + send mismatched packets, check the packets are not dropped. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is dropped. > + check there is no rule listed. > + > +Subcase 5: MAC_IPV4_GRE_IPV6 mark+rss > +------------------------------------- > +Note: This combined action is mark with RSS which is without queues > specified. > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions mark / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x0 > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_GRE_IPV6 mark > +--------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / end > + actions mark / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are destributed to the same queue without FDIR > matched ID . > + check there is no rule listed. > + > +Test case: MAC_IPV6_GRE_IPV6 pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV6 queue index > +---------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV6 rss queues > +--------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV6 passthru > +------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV6 drop > +--------------------------------- > + > +Subcase 5: MAC_IPV4_GRE_IPV6 mark+rss > +------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV6 mark > +--------------------------------- > + > +each subcase is the same as the subcase of Test case: MAC_IPV4_GRE_IPV6 > +pattern, just only pattern is different, replace it with 'eth / ipv6 / g= re / ipv6' > + > +Test case: MAC_IPV4_GRE_IPV4_TCP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV4_TCP queue index > +-------------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions queue index 1 / mark id 0 / end > + > +2. send matched packets, check the packets is distributed to queue 1 wit= h > FDIR matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > 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 packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 2: MAC_IPV4_GRE_IPV4_TCP rss queues > +------------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions rss queues 1 2 3 4 end / mark id 4294967294 / end > + > +2. send matched packets, check the packets is distributed to queue 1-4 w= ith > FDIR matched ID=3D0xfffffffe. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 3: MAC_IPV4_GRE_IPV4_TCP passthru > +----------------------------------------- > + > +1. create filter rule with mark:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions passthru / mark id 1 / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x1. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_GRE_IPV4_TCP drop > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions drop / end > + > +2. send matched packet, check the packet is dropped. > + send mismatched packets, check the packets are not dropped. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is dropped. > + check there is no rule listed. > + > +Subcase 5: MAC_IPV4_GRE_IPV4_TCP mark+rss > +----------------------------------------- > +Note: This combined action is mark with RSS which is without queues > specified. > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x2 > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_GRE_IPV4_TCP mark > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / > + end actions mark id 1 / end > + > +2. repeat the step 2-3 of in subcase 3, > + get the same result. > + > +Test case: MAC_IPV6_GRE_IPV4_TCP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV4_TCP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV4_TCP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV4_TCP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV4_TCP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV4_TCP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV4_TCP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV4_GRE_IPV4_TCP pattern, just only pattern is different, replace i= t > with 'eth / ipv6 / gre / ipv4 / tcp' > + > +Test case: MAC_IPV4_GRE_IPV6_TCP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV6_TCP queue index > +-------------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions queue index 1 / mark id 0 / end > + > +2. send matched packets, check the packets is distributed to queue 1 wit= h > FDIR matched ID=3D0x0. > + send mismatched packets, check the packets are distributed by RSS > 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 packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 2: MAC_IPV4_GRE_IPV6_TCP rss queues > +------------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions rss queues 4 5 6 7 end / mark id > + 4294967294 / end > + > +2. send matched packets, check the packets is distributed to queue 4-7 w= ith > FDIR matched ID=3D0xfffffffe. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is distributed by RSS without FDIR matched ID. > + check there is no rule listed. > + > +Subcase 3: MAC_IPV4_GRE_IPV6_TCP passthru > +----------------------------------------- > + > +1. create filter rule with mark:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions passthru / mark id 1 / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x1. > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_GRE_IPV6_TCP drop > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions drop / end > + > +2. send matched packet, check the packet is dropped. > + send mismatched packets, check the packets are not dropped. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packet is dropped. > + check there is no rule listed. > + > +Subcase 5: MAC_IPV4_GRE_IPV6_TCP mark+rss > +----------------------------------------- > +Note: This combined action is mark with RSS which is without queues > specified. > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > matched ID=3D0x2 > + send mismatched packets, check the packets are distributed by RSS > without FDIR matched ID. > + > +3. repeat step 3 of subcase 1. > + > +4. verify matched packets are distributed to the same queue without FDIR > matched ID. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_GRE_IPV6_TCP mark > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 dst is > + CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 tc is 1 / tcp > + src is 22 dst is 23 / end actions mark id 1 / end > + > +2. repeat the step 2-3 of in subcase 3, > + get the same result. > + > +Test case: MAC_IPV6_GRE_IPV6_TCP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV6_TCP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV6_TCP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV6_TCP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV6_TCP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV6_TCP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV6_TCP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV4_GRE_IPV6_TCP pattern, just only pattern is different, replace i= t > with 'eth / ipv6 / gre / ipv6 / tcp' > + > +Test case: MAC_IPV4_GRE_IPV4_UDP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV4_UDP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV4_GRE_IPV4_UDP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV4_GRE_IPV4_UDP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV4_GRE_IPV4_UDP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV4_GRE_IPV4_UDP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV4_GRE_IPV4_UDP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV4_GRE_IPV4_TCP pattern, just only pattern is different, replace > +"tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV4_GRE_IPV6_UDP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV4_GRE_IPV6_UDP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV4_GRE_IPV6_UDP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV4_GRE_IPV6_UDP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV4_GRE_IPV6_UDP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV4_GRE_IPV6_UDP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV4_GRE_IPV6_UDP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV4_GRE_IPV6_TCP pattern, just only pattern is different, replace > +"tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV6_GRE_IPV4_UDP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV4_UDP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV4_UDP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV4_UDP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV4_UDP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV4_UDP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV4_UDP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV6_GRE_IPV4_TCP pattern, just only pattern is different, replace > +"tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV6_GRE_IPV6_UDP pattern > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Subcase 1: MAC_IPV6_GRE_IPV6_UDP queue index > +-------------------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV6_UDP rss queues > +------------------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV6_UDP passthru > +----------------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV6_UDP drop > +------------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV6_UDP mark+rss > +----------------------------------------- > + > +Subcase 6: MAC_IPV6_GRE_IPV6_UDP mark > +------------------------------------- > + > +each subcase is the same as the subcase of Test case: > +MAC_IPV6_GRE_IPV6_TCP pattern, just only pattern is different, replace > +"tcp" with "udp" in all the subcases > \ No newline at end of file > -- > 2.17.1