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 9E2A5A0C43; Wed, 15 Sep 2021 05:28:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 966B8410E9; Wed, 15 Sep 2021 05:28:04 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 1EBE24003C for ; Wed, 15 Sep 2021 05:28:01 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="222242178" X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="222242178" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 20:27:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="583094732" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 14 Sep 2021 20:27:53 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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.12; Tue, 14 Sep 2021 20:27:51 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 14 Sep 2021 20:27:50 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 14 Sep 2021 20:27:50 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 14 Sep 2021 20:27:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JmNpgScZh4RAVBMyniYdiNri/dPK4KMxcgAZkdNsdabrzieNRFDje836fjNbvS1TRZs0Xf/j1b4XLRBvbIvnVlzuSKmtqt8Z+WV0PVMhE488dfmzSfbG2xEdKxdspUgi0jDUQJJnf7RpvWJvBxXnpQWk5jES1kEYC65cehXfGK9EJ8sWEU/DSY485ye+K7VC3QoG7u6F/Y4/AOanmkX6s84N33NQbfTQ4MAi0FWuFar0F+ohZoLUOASgGKm4eX9SdhjsGnn48pU8H+FQlTI7rtfv9Wz8k8Z9z5lTNO6ttKbHwLofSddxw+fH0ACNzt91hmlosNtJu/qffr8Yc4R2TA== 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; bh=jlUQxtJdDLEmChPS8ZY/p8uslEmWSAXNG0Ppo0InJHU=; b=FAtf5TcLASqBA4F+vcZwfp2d4oGUxZSMOBsDttG9avVSz22q7XZPfiX7pW5zvlulCuCv/98yViCOvwNBJhtCCSDhRDEaiy2tB07blKhuSFf7HMX9aIU04ItabeDX+eay08z3thrKg6zDudW7EqZ4568US2Xp+2wA6fdGJ1LH2vFSdkhyuNu9k+n3h75AN/NGu0e8rTNQCLHGCxY1D8zVXPf7NLicZVCa4Sec6XZM9TsBCHSvE6oBJWk/Qe3lLg+R3Su6ExfFdjLn9l0oqDky5JgIL6qjcYwfuR/0+lwHVfs48M3Bru5SaW8rXRcjSENgBMZRuVz9KKQa6Lx3BxqGFg== 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=jlUQxtJdDLEmChPS8ZY/p8uslEmWSAXNG0Ppo0InJHU=; b=SQ/zo/zoEoJBa2jNQ8O5/SXDptPZPWC7C+hpls8kXHmXQiAgppKdPTUGs5pUr0fAAR++I+XcOtmm88jPRy/jg9+nR1yF4cxDn2UsTGfuCuWI+oN2fGOE760yRo7fxHDlzrOHTHwNXwuorU20z+xBxftGgKIwqaeUEo21t7xjGvU= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR11MB4083.namprd11.prod.outlook.com (2603:10b6:405:7a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Wed, 15 Sep 2021 03:27:49 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::dc53:d62d:2e6:2ee9]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::dc53:d62d:2e6:2ee9%6]) with mapi id 15.20.4500.019; Wed, 15 Sep 2021 03:27:49 +0000 From: "Lin, Xueqin" To: "Huang, ZhiminX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V2 2/4] test_plans/iavf_fdir_test_plan:add esp flow test plan Thread-Index: AQHXqUy4SDpbw3kXLUix6nS6GdsFAKukcJqA Date: Wed, 15 Sep 2021 03:27:49 +0000 Message-ID: References: <20210914181204.20088-1-zhiminx.huang@intel.com> <20210914181204.20088-3-zhiminx.huang@intel.com> In-Reply-To: <20210914181204.20088-3-zhiminx.huang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 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: 81100bb7-c7d7-488d-aedb-08d977f8cb3e x-ms-traffictypediagnostic: BN6PR11MB4083: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:352; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zCnuBPUtPGQKqvDFyiAILaAxEdpUCwKweJlU1GRD+A5/VfisbcMlOuc0snO+oaF2vS8t/eAOvUxMp9NBOecHkYHb0Q2CoGvNYjzeGlmU9vNTtdcJ8jaawDvM4L/syhYRJGonDHiEzPDyaSAAg54m8SFzxRvAIE1xPz9Etb71J3FDm1cA5Xs2tOKHQ2n7ZAWxF5P55xISE6Ob40uFLiVZTAVtsS1YrVTkL/1f3ASzM4Cg7mQILh8bCrbM+zUjt5sZta2GsQCawPRKJl/p+Ex8j/DQscuDxE1eAQTJfq10c8BltYghdqjb1mPuYG1BYQjMrFSdeEVP2fEZ0QWTqtDK+06a0zkuyMT3m32dZtJWri34YHpyP7fhIPCD3/PnqHjQyzZF/Gg4PW0//mjpcDfISkKMFH540ybiZgkHeLMJM6w+/diIyDgNacarO6O4u4Mjj1dKgV/KYYasG/qBWjKoh5LyB26hqVmNuxvIsFV/OG+wCkeGfw6I3aE8bZn8q/6ck0TKhvfQSfZxsskvhQFsc2gbniFEKykwK7nY6oPGbjq+4HtBqju732IUswmNJ5iu5URvr6k+wi1eT36vaFtRMK5CXuHbaeFNajfbmvbh+bNjME+MaAlP8WNAHbHwuNfnfBdMdUpuzan2MVUiWloORmyHfKbdNZ2B9gUYMNXNy62fFAGCBI0nN1m4kFI42olG04/GAgJfLUVnGSfJN36szw== 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)(39860400002)(396003)(366004)(136003)(346002)(376002)(30864003)(52536014)(186003)(38070700005)(33656002)(110136005)(86362001)(53546011)(83380400001)(6506007)(316002)(5660300002)(8936002)(71200400001)(8676002)(122000001)(26005)(9686003)(38100700002)(7696005)(66946007)(66446008)(478600001)(66476007)(55016002)(64756008)(76116006)(66556008)(2906002)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sCd0hMdxOz/R3pg88+3miKknGZGSdQZJLQs3BK3CNOZYfu4CHxvb3jXmDTuG?= =?us-ascii?Q?1SRU2WNp97WNZhX1CPAhyspQIZqxas+DhYvjGgJMkKQldzVtybCjI1L4x7Sv?= =?us-ascii?Q?nDI2eMLVwvbK4LH18Rk4AKsJDw35Fc5O/OxoVNO2vBfkaq1PkMGbZzDP51ly?= =?us-ascii?Q?3FGTKI0jvB2iB6KgnFIbkJJn1+nGHCKZdba7JFN76TWNyKBucmIdm4VHaOt0?= =?us-ascii?Q?KMb6M6serYinCZIVn8hlsCfm9MYjaxUR9KSwaEiXlpiilNxkrDW9h0BjFSyU?= =?us-ascii?Q?tFy6QiiDhpj1R4iwq0ApG94MbowqpEFOa9KU2sphGTPhK2WjpCAp646gNv9P?= =?us-ascii?Q?kuwBJdKTLkOnl/zqDtvKUBVENnRGJPAqbrdXl7oJ4eM6TPYR2V4tD2Kee6Af?= =?us-ascii?Q?VU1dJndfsKExAtgTznSOyejqeAXzwr51hEcyWZt7V9ptOOC7JI3/EzswZfPo?= =?us-ascii?Q?Q6jURrwmfDYxAcQuU/o+ffPH20pmfRrg4/0/hqTUVvOBdpGVcY5JIrwbvhD3?= =?us-ascii?Q?Z1QyeTKf8quHjWmNlxxlujjKRRYgtzuIPH5MQMdXdD42xH1nfaxlUKaNTcKr?= =?us-ascii?Q?naWQiAXYwZkATmSLLHwaeWu2d+rYA7kf52FkyW+utu3ElF/0aEp51Yc//XZS?= =?us-ascii?Q?i6N8gEkQUTwBIHsqXPso8JD2NM3KR4kvzTFuVDpMD6mGlNFDKCn08sg8LRAO?= =?us-ascii?Q?fPDX3jQN9wYHYYb3lk1qE0zFi80nyks/9zjMz2x4vsY31S+1eLA0ZSssjBvA?= =?us-ascii?Q?kmg1OapN1Uqz0xD3i8xXheeBMvT4rdvPdQIGz7AUNg2Sgto+1Xyg9gkiP1iP?= =?us-ascii?Q?QCAPPqy6AgrbvOYqyN85z61lCqZn2SCeB7hU6A3yqfTje3A54xVb32XXYSrO?= =?us-ascii?Q?s40nLJaOHkzhqXeLG8n5/ipSRLz4s1d8hXo9MbZ8aipuhnE9Nq/+8e+kOUlV?= =?us-ascii?Q?plkfsc4Wzo3ZfOCwhJfy/Fb9PGF74f0P0MTxFK/cAYpFJGN839nMt6gyv0gY?= =?us-ascii?Q?X70m/Wj3Q++IQem+HT1MesK30LLjLgAAzf298ekCl2K1iewbrcYygHVtRn6E?= =?us-ascii?Q?dPgoAIaP55XNZ5iCFIJfToBaWZMeqXOJdGcMgEMXdStckxyb16ftJX8rSbrb?= =?us-ascii?Q?dDXdrSFFDdlIpFkwIbEI5ETyv30eHNZ5k7gXXCPQDbCVEG0nJLr6Nh9vNIkV?= =?us-ascii?Q?aqDcnH4KgOR3Ucka45FCeUe9cHULlf+kwYgwGrriom7C7Im0TWhTAanu+Vyf?= =?us-ascii?Q?qkeT8b/Tp5U+P6OnIgwfgVf75LNjDrhqfYMthH0SYYX+MsCCiYI6IfCPTBBJ?= =?us-ascii?Q?jAVqXPMzBquBxsTLKsVtbw2h?= 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: 81100bb7-c7d7-488d-aedb-08d977f8cb3e X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 03:27:49.3994 (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: RN1NWfJZUE3Y24I4/SY4E5SAGVTrRp3novxRTtLRXwX7nqGUpwPhn+BY4dVc5OdqIKYAl14fkV2w6pYegWClXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4083 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 2/4] test_plans/iavf_fdir_test_plan:add esp flow test plan 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: Huang, ZhiminX > Sent: Wednesday, September 15, 2021 2:12 AM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Huang, ZhiminX > > Subject: [dts] [PATCH V2 2/4] test_plans/iavf_fdir_test_plan:add esp flow > test plan >=20 > add 21.08 new feature testplan,this feature support esp flow to match out= er > ip header. > take ip src/dst and spi for inputset,add 4 new cases in iavf_fdir test pl= an. >=20 > Signed-off-by: Zhimin Huang Acked-by: Xueqin Lin > --- > test_plans/iavf_fdir_test_plan.rst | 253 +++++++++++++++++++++++++---- > 1 file changed, 217 insertions(+), 36 deletions(-) >=20 > diff --git a/test_plans/iavf_fdir_test_plan.rst > b/test_plans/iavf_fdir_test_plan.rst > index c7b8bc97..a4ea71a0 100644 > --- a/test_plans/iavf_fdir_test_plan.rst > +++ b/test_plans/iavf_fdir_test_plan.rst > @@ -80,9 +80,9 @@ Pattern and input set > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > | |MAC_IPV6_L2TPv3 | [Ses= sion ID] > | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > - | ESP |MAC_IPV4_ESP | [SPI= ] > | > + | ESP |MAC_IPV4_ESP | [Sou= rce IP], [Dest IP], [SPI] > | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > - | |MAC_IPV6_ESP | [SPI= ] > | > + | |MAC_IPV6_ESP | [Sou= rce IP], [Dest IP], [SPI] > | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > | |MAC_IPV4_AH | [SPI= ] > | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > @@ -599,23 +599,25 @@ Send packets >=20 > matched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.3",proto=3D50)= /ESP(spi > =3D7)/Raw('x'*480),iface=3D"enp134s0f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.1.3",proto=3D50)= /ESP(spi > =3D7)/Raw('x'*480),iface=3D"enp134s0f1") > - > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"1= 92.16 > + 8.0.21",proto=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > mismatched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.3",proto=3D50)= /ESP(spi > =3D17)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.22",dst=3D"192= .168.0.2 > 1",proto=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"192= .168.0.1 > 1",proto=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"1= 92.16 > + 8.0.21",proto=3D50)/ESP(spi=3D17)/Raw('x'*480),iface=3D"enp134s0f1") >=20 > * MAC_IPV6_ESP >=20 > matched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:8888",nh=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:9999",nh=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > - > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001= ::2", > + nh=3D50)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > mismatched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:8888",nh=3D50)/ESP(spi=3D17)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::8",dst=3D"2001::= 2",nh=3D5 > 0)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001::= 9",nh=3D5 > 0)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001= ::2", > + nh=3D50)/ESP(spi=3D17)/Raw('x'*480),iface=3D"enp134s0f1") >=20 > * MAC_IPV4_AH >=20 > @@ -643,25 +645,25 @@ Send packets >=20 > matched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20")/UDP(dport= =3D450 > 0)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp134s0f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"1= 92.16 > + 8.0.21")/UDP(dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f= 1") >=20 > mismatched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.10.20")/UDP(dpor= t=3D45 > 00)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp134s0f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20")/UDP(dport= =3D450 > 0)/ESP(spi=3D12)/Raw('x'*480),iface=3D"enp134s0f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(dst=3D"192.168.0.20")/UDP(dport= =3D450 > 0)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.22",dst=3D"192= .168.0.2 > 1")/UDP(dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"192= .168.0.1 > 1")/UDP(dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IP(src=3D"192.168.0.20",dst=3D"1= 92.16 > + 8.0.21")/UDP(dport=3D4500)/ESP(spi=3D17)/Raw('x'*480),iface=3D"enp134s0= f1") >=20 > * MAC_IPV6_NAT-T-ESP >=20 > matched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(dst=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp1= 34s0 > f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001= ::2") > + /UDP(dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") >=20 > mismatched packets:: >=20 > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(dst=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D12)/Raw('x'*480),iface=3D"enp= 134s > 0f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(dst=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:9999")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp1= 34s0 > f1") > - > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"1111:2222:3333:4444:55= 55:6 > 666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw('x'*480),iface=3D"enp1= 34s0 > f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::8",dst=3D"2001::= 2")/UDP( > dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001::= 9")/UDP( > dport=3D4500)/ESP(spi=3D7)/Raw('x'*480),iface=3D"enp134s0f1") > + > + sendp(Ether(dst=3D'00:11:22:33:44:55')/IPv6(src=3D"2001::1",dst=3D"2001= ::2") > + /UDP(dport=3D4500)/ESP(spi=3D17)/Raw('x'*480),iface=3D"enp134s0f1") >=20 > * MAC_IPV4_GTPU_IPV4 >=20 > @@ -3610,7 +3612,7 @@ Subcase 1: MAC_IPV4_ESP queue index >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end action= s queue > index 13 / mark id 7 / end > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / end actions queue index 13 / mark id 7 / > + end >=20 > 2. send matched packets, check the packets are distributed to queue 13 w= ith > FDIR matched ID. > send mismatched packets, check the packets are not distributed to que= ue > 13 without FDIR matched ID. > @@ -3632,7 +3634,7 @@ Subcase 2: MAC_IPV4_ESP rss queues >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end action= s rss > queues 1 2 3 4 end / mark id 6 / end > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / end actions rss queues 1 2 3 4 end / > + mark id 6 / end >=20 > 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 que= ue 1 > or 2 or 3 or 4 without FDIR matched ID. > @@ -3642,12 +3644,57 @@ Subcase 2: MAC_IPV4_ESP rss queues 4. verify > matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDI= R > matched ID. > check there is no rule listed. >=20 > -Subcase 3: MAC_IPV4_ESP mark > +Subcase 3: MAC_IPV4_ESP passthru > +----------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / end actions passthru / mark id 1 / 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. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_ESP drop > +------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / 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_ESP mark+rss > +----------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_ESP mark > ---------------------------- >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end action= s mark id > 15 / end > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / esp spi is 7 / end actions mark id 15 / end >=20 > 2. send matched packets, check the packets are received with FDIR matche= d > ID. > send mismatched packets, check the packets are received without FDIR > matched ID. > @@ -3657,7 +3704,6 @@ Subcase 3: MAC_IPV4_ESP mark 4. verify matched > packets are received without FDIR matched ID. > check there is no rule listed. >=20 > - > Test case: MAC_IPV6_ESP 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 >=20 > @@ -3666,7 +3712,7 @@ Subcase 1: MAC_IPV6_ESP queue index >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end action= s queue > index 13 / mark id 7 / end > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / end actions queue index 13 / mark id 7 / end >=20 > 2. send matched packets, check the packets are distributed to queue 13 w= ith > FDIR matched ID. > send mismatched packets, check the packets are not distributed to que= ue > 13 without FDIR matched ID. > @@ -3688,7 +3734,7 @@ Subcase 2: MAC_IPV6_ESP rss queues >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end action= s rss > queues 1 2 3 4 end / mark id 6 / end > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id > + 6 / end >=20 > 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 que= ue 1 > or 2 or 3 or 4 without FDIR matched ID. > @@ -3698,12 +3744,57 @@ Subcase 2: MAC_IPV6_ESP rss queues 4. verify > matched packets are not distributed to queue 1 or 2 or 3 or 4 without FDI= R > matched ID. > check there is no rule listed. >=20 > -Subcase 3: MAC_IPV6_ESP mark > +Subcase 3: MAC_IPV6_ESP passthru > +----------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / end actions passthru / mark id 1 / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV6_ESP drop > +------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / 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_IPV6_ESP mark+rss > +----------------------------------- > + > + 1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV6_ESP mark > ---------------------------- >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end action= s mark id > 15 / end > + flow create 0 ingress pattern eth / ipv6 dst is 2001::1 dst is > + 2001::2 / esp spi is 7 / end actions mark id 15 / end >=20 > 2. send matched packets, check the packets are received with FDIR matche= d > ID. > send mismatched packets, check the packets are received without FDIR > matched ID. > @@ -3834,7 +3925,7 @@ Subcase 1: MAC_IPV4_NAT-T-ESP queue index >=20 > 1. create filter rules:: >=20 > - 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 > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / end actions queue index 13 / mark > + id 7 / end >=20 > 2. send matched packets, check the packets are distributed to queue 13 w= ith > FDIR matched ID. > send mismatched packets, check the packets are not distributed to que= ue > 13 without FDIR matched ID. > @@ -3856,7 +3947,7 @@ Subcase 2: MAC_IPV4_NAT-T-ESP rss queues >=20 > 1. create filter rules:: >=20 > - 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 > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / end actions rss queues 1 2 3 4 end > + / mark id 6 / end >=20 > 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 que= ue 1 > or 2 or 3 or 4 without FDIR matched ID. > @@ -3866,12 +3957,57 @@ Subcase 2: MAC_IPV4_NAT-T-ESP rss queues 4. > verify matched packets are not distributed to queue 1 or 2 or 3 or 4 with= out > FDIR matched ID. > check there is no rule listed. >=20 > -Subcase 3: MAC_IPV4_NAT-T-ESP mark > ----------------------------------- > +Subcase 3: MAC_IPV4_NAT-T-ESP passthru > +----------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / end actions passthru / mark id 1 / > + end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV4_NAT-T-ESP drop > +------------------------------------- >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp /= esp spi > is 2 / end actions mark id 15 / end > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / 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_NAT-T-ESP mark+rss > +----------------------------------------- > + > + 1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV4_NAT-T-ESP mark > +----------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is > + 192.168.0.21 / udp / esp spi is 7 / end actions mark id 15 / end >=20 > 2. send matched packets, check the packets are received with FDIR matche= d > ID. > send mismatched packets, check the packets are received without FDIR > matched ID. > @@ -3890,7 +4026,7 @@ Subcase 1: MAC_IPV6_NAT-T-ESP queue index >=20 > 1. create filter rules:: >=20 > - 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 > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / end actions queue index 13 / mark id 7 > + / end >=20 > 2. send matched packets, check the packets are distributed to queue 13 w= ith > FDIR matched ID. > send mismatched packets, check the packets are not distributed to que= ue > 13 without FDIR matched ID. > @@ -3912,7 +4048,7 @@ Subcase 2: MAC_IPV6_NAT-T-ESP rss queues >=20 > 1. create filter rules:: >=20 > - 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 > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / end actions rss queues 1 2 3 4 end / > + mark id 6 / end >=20 > 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 que= ue 1 > or 2 or 3 or 4 without FDIR matched ID. > @@ -3922,12 +4058,57 @@ Subcase 2: MAC_IPV6_NAT-T-ESP rss queues 4. > verify matched packets are not distributed to queue 1 or 2 or 3 or 4 with= out > FDIR matched ID. > check there is no rule listed. >=20 > -Subcase 3: MAC_IPV6_NAT-T-ESP mark > +Subcase 3: MAC_IPV6_NAT-T-ESP passthru > +----------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / end actions passthru / mark id 1 / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 4: MAC_IPV6_NAT-T-ESP drop > +------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / 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_IPV6_NAT-T-ESP mark+rss > +----------------------------------------- > + > +1. create filter rules:: > + > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / end actions mark id 2 / rss / end > + > +2. send matched packets, check the packets are distributed by RSS with F= DIR > 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. > + check there is no rule listed. > + > +Subcase 6: MAC_IPV6_NAT-T-ESP mark > ---------------------------------- >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth / ipv6 src is 192.168.0.20 / udp /= esp spi > is 2 / end actions mark id 15 / end > + flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is > + 2001::2 / udp / esp spi is 7 / end actions mark id 15 / end >=20 > 2. send matched packets, check the packets are received with FDIR matche= d > ID. > send mismatched packets, check the packets are received without FDIR > matched ID. > -- > 2.17.1