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 50BDEA0C46; Tue, 14 Sep 2021 11:04:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E2734068F; Tue, 14 Sep 2021 11:04:26 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id B7F074003C for ; Tue, 14 Sep 2021 11:04:24 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10106"; a="221599783" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="221599783" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 02:04:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="650690085" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga005.jf.intel.com with ESMTP; 14 Sep 2021 02:04:23 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 02:04:22 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) 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 02:04:22 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.68) 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 02:04:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bwH429WjqAnXYyjHzjijpS16XYj877ZSqmvLwCziBPToGlg7EHmtUvy623feWY3OKnUwQ4xeGaNXIyIaeWPkBphBO8dW6stBHo+EveJVUyfKDNWnfMtHZ3q9HJDNMdzcxBRNtc71kxYfa20dg6DOpHnXlycKf2bJzgnDgO0XYgnN85pGpU9zpLY/cl8YXBT0L/tEZ+JGqgo1hOw2ow9mqAhlWJDxaoqXDWgyW2bFHmfmJL6rIVhuSMWlQSmvU0qzHxFJbvWOIbJ2hR0Yupmn8IN7MjgeQCJdPjfm0YZreE31UKxYM5UISxZdEjg2Lp/lBtZ8RqRlGKBgGqcyuaeV/Q== 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=tS+5tri4+w/7vMGSOW3QooQK6VkWBWeJrRNoBi3FLOo=; b=EVV7V0TYC2KkzKH9mvYB9OcY3MV8Hh9d17o5Hv7C6IYm0E5R/+WmZHf9GeXZq9g4a0U4ocepHCcuyL3XeH7+nlEXvCillF3JW+C1MYwuLjc38ruJWUyJMbTVAERSxwKi64gP1BIBymLievqY6G5ryvKN2mNyV0NTi+bxDrdXdyfmZX6sltOiGEt2r5A5JKPh+oEXxanXgfJfj5HYIcCIvMpeGQXHyO6JFHmmEi9Bq8hwCCNCCYcVbK5vJf0GvWkIrxtw6VHRtRTOxVWESIcr2HxS1PdTLo8TRhvvuB0pOEIw03aQsR8KSy/XQyCtjoz7tgcZ43QzewFXwAn96TTZvg== 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=tS+5tri4+w/7vMGSOW3QooQK6VkWBWeJrRNoBi3FLOo=; b=m67/I5Gz7H526tsVTpJ4OD4GI8XFetCNzuXPG3Or27/Yj84oBuhDczm2SKXsDryExT6kb9heYfS/XeFrr7szTIaPV+bFkhFXkivFqU+Swf0isWO+opIJRA6uV3dMTdzhniO3BU44R5BsgLlCFfh0WM3nuqJJ0KDp+YPDseVvE5M= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR11MB1554.namprd11.prod.outlook.com (2603:10b6:405:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Tue, 14 Sep 2021 09:04:17 +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; Tue, 14 Sep 2021 09:04:17 +0000 From: "Lin, Xueqin" To: "Huang, ZhiminX" , "dts@dpdk.org" CC: "Huang, ZhiminX" Thread-Topic: [dts] [PATCH V1 2/4] test_plans/iavf_fdir_test_plan:add esp flow test plan Thread-Index: AQHXm0C3gsqew8kThE+I9WkL3/J1XqujWFCA Date: Tue, 14 Sep 2021 09:04:17 +0000 Message-ID: References: <20210827211254.5114-1-zhiminx.huang@intel.com> <20210827211254.5114-3-zhiminx.huang@intel.com> In-Reply-To: <20210827211254.5114-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: c0e42fec-319a-4bb8-9506-08d9775ea1be x-ms-traffictypediagnostic: BN6PR11MB1554: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:313; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HZTv8KePHIVJryMTKxVQLaawoxvaGqYc7kv70vBhjGTqkbg8HRaW+5Vx12gllg7F+RngATEFevULFoZGevLiEUl/50nK4lhOcrKOS4/iq5XnsUhyXxKT2w1opGNwUdYIYoeA0aY6TE5JI/slZRxKFskPZRjZl1U+cpPihqinDiV2n6zqpu9BvCBBoQcnqmb0z9HQyoVckMpS76KxyG65ok0VnuEhW2wFvJBd/sKIIlMfgHsO5xl1/XwrfHuXDFZGvrjy3QUv9VS8zJv16mHMhSzAALRlgX52ZxFzGMAQXva3ExxFu9b8+XKLnBMmrEvQQdMp2tZzMho75XHd3ldglFgMDRdCeJpiUyqEWHVAzuauAW8KDkyc3dNw7aPjIHwRWVXDZebXErP+8ruVa1iDvKmypqOsiIn/IFiuferEVpCQhTeW8QpeYPERYcHm3OWl0JAOaqDPtpKdIIZCguBRZgHOnqFYvQnsJFYR4xJENsYFCtYOCGDppbTOhFxbCm3kmPyvHHc6FUwfEFil4yLCrDE0A+j9qvbriCVTx53CtqizdekItIOohqh5gNo+eyQ3KL8XZN5Q1bH5+Xk+RlHyUvwrMtFCc4Q+3lDvOy1lHkWQEdEVQEU2/BNcvjODUhxas4igQ5iyrGTVGvfBJRe8JtXoiXrKMVd3tAXaT3nyy752qS+5K42CJkYXvdSbxWrKZKSq8Sgu0EeepwVMLAGtIA== 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)(136003)(346002)(376002)(366004)(39860400002)(4326008)(5660300002)(86362001)(76116006)(66556008)(66446008)(66476007)(64756008)(8676002)(66946007)(2906002)(52536014)(107886003)(8936002)(478600001)(38100700002)(30864003)(316002)(110136005)(55016002)(9686003)(7696005)(6506007)(53546011)(33656002)(186003)(38070700005)(83380400001)(71200400001)(122000001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Iuag/VJ0e2lGgQvPG5AHtzgZ311cF/7WWaRX7O0YGytb6ZzRLQKGzXz5eBBc?= =?us-ascii?Q?edqkRKqF1V8ftv+jd4o1QSmULI3AlEAmns/h1MIyC5FTrvz6x7pIlwSry/JG?= =?us-ascii?Q?Cb5Ya778no3A2j0ZOPCQMBAwCwQiffkropMBsciWOJ5v1hdvUUtkA0/Yae4a?= =?us-ascii?Q?3Y9I69cfSu1zkW9oe1chvMV7W9jt5dBfz8aoHFfUsVSAeJSVdeqAIgc1QGUU?= =?us-ascii?Q?N9UYHXKCoi2N8OLRuRWtuTx7qLvomUL4JTxoqQIb2OYaEVSCzODhka2zsioO?= =?us-ascii?Q?vyiwC5m4IZbHdCOse5T4tvucjTdOhLfDKAgY0tz609I3YNN8x/lD8xcuZdpj?= =?us-ascii?Q?m4OCU/Kxl6PWEZLb45YlWb7qSL2pfoLJBkfLkG2q2qUWnjUXKILb0iGLh7XS?= =?us-ascii?Q?GlTelY5k9/MQUfVX/QFHEh446XNPzcmZ2aHP5tBILutzW1MMZivBLtAo/Kq6?= =?us-ascii?Q?3i1jiFycCjg0SC4tdvZhGd6CkwcBzWcuoucAmZ/3wPohDmN89Kvy6U9Qy/ja?= =?us-ascii?Q?s4dP/arEHlPSPKJR1tAgcprMridVqvJdP+8bdLCeSIeu1cYyAwT/Uw8B45kx?= =?us-ascii?Q?d1a7S6TvCPRNR35FTjge+vVg4EoJ55D1LYbeuKkqb8yaaEloQnV++KfVePEO?= =?us-ascii?Q?971w0BYVGUveXWic8N7jsaYfFpcpNPatsUZmxb+uMhtxro3RfMi+VDGccljc?= =?us-ascii?Q?FCgCPPQUxkS2BsCSiuxzBvEkEoS3vZbratX9qEafez9cHnOmzIQOnsDRKajh?= =?us-ascii?Q?ZoLWoXElpVBQlJg1SzbrH38wkKL5eGgmWEWtIlcFKw621RdwfKWLVwDE9vCR?= =?us-ascii?Q?UjnqzdJ02dcrP/olJ09kgiVOCxbPhBWikqO7us5Y29JNfuyWlIHNhDgjvhCv?= =?us-ascii?Q?oTzNHKC5OuRkBLHYACgPVwkS35OCcW0Mhg1FgIkDZk9XWrWDvfccPUW+uuAc?= =?us-ascii?Q?P3r7eBnKeY4TswbANNzB40TXOHesJYGUJBC0Z0kRLsKXt1vHtuBXb4ZmrCfh?= =?us-ascii?Q?ki8CLGxVSyzY0HtHnQ8aQPvbnOzL4gWbt2OAoNjscUaIqQMSV2oucRMjHi2C?= =?us-ascii?Q?ZunmvDI2pYJ7bGb3kqEVw1E8APRvNEF08cx72wPPMW/DIYZQVD5NxXGijZeb?= =?us-ascii?Q?CdzJy7QYGcui0525KXldMrPrFfPIEQBO9h5yR5xtBUyYmxnGuCDU/8qoLEar?= =?us-ascii?Q?NDIVOkEoQf0gxl3XBrveQtUnTx5WpAFOcHZKC+zIsWRJ/cZO4y2DOV/LEXWJ?= =?us-ascii?Q?Nne/bAdwD3/c0G52T4xahouqZvaf7aKtgn+zHJVfJmEvvFtirv2FpVgUA85x?= =?us-ascii?Q?JJcDLxphmZBBE43HziBGBsCC+MG9y48J300qPDLcSoAjjmOW2eucr/hgWghY?= =?us-ascii?Q?1I5FdVuxsU7X8yWS1eGgVnAEET/0?= 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: c0e42fec-319a-4bb8-9506-08d9775ea1be X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 09:04:17.2809 (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: 2tBd64G9oylPjcVZuOQvAocLVeh259oVO8D+zC49ruuFWQh7sUhakqD3qNBrWmOEu/263NsmNMhr0lK3QkdUfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1554 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1 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: dts On Behalf Of Zhimin Huang > Sent: Saturday, August 28, 2021 5:13 AM > To: dts@dpdk.org > Cc: Huang, ZhiminX > Subject: [dts] [PATCH V1 2/4] test_plans/iavf_fdir_test_plan:add esp flow > test plan >=20 > 21.08 new feature to support take esp,outer ip src/dst take inputset, > so add testplan in vf fdir >=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 ac423903..f79c813a 100644 > --- a/test_plans/iavf_fdir_test_plan.rst > +++ b/test_plans/iavf_fdir_test_plan.rst > @@ -79,9 +79,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= ] > | > +------------------------------+------------------------------+-----= --------------------------- > -----------------------------------+ > @@ -566,23 +566,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 > @@ -610,25 +612,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 > @@ -3514,7 +3516,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. > @@ -3536,7 +3538,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. > @@ -3546,12 +3548,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. > @@ -3561,7 +3608,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 > @@ -3570,7 +3616,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. > @@ -3592,7 +3638,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. > @@ -3602,12 +3648,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. > @@ -3738,7 +3829,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. > @@ -3760,7 +3851,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. > @@ -3770,12 +3861,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. > @@ -3794,7 +3930,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. > @@ -3816,7 +3952,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. > @@ -3826,12 +3962,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