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 B540BA0C46; Tue, 24 Aug 2021 08:09:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AEAAE4014E; Tue, 24 Aug 2021 08:09:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 59DAC4014D for ; Tue, 24 Aug 2021 08:09:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10085"; a="216967030" X-IronPort-AV: E=Sophos;i="5.84,346,1620716400"; d="scan'208";a="216967030" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2021 23:09:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,346,1620716400"; d="scan'208";a="597468032" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga001.fm.intel.com with ESMTP; 23 Aug 2021 23:09:45 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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; Mon, 23 Aug 2021 23:09:44 -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.10; Mon, 23 Aug 2021 23:09:44 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.10 via Frontend Transport; Mon, 23 Aug 2021 23:09:44 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.43) 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; Mon, 23 Aug 2021 23:09:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HKWGzGmsoPvt5pa1B/epuRIV0Ix+rOVqM3UTd95LHkmVu4P/35+fBA9vY/R0LCezPqRNSoYQC0Eu6fJAHCXWhG6B+OXg6fKYlazGsdnne3l0T8QlirBdsc+pFjxTWTO0LCVvAKDl/EwjqScNXyi5HuvRwadO0KlkLlA1dw/tqtJvanPnb+i4mRvbqoS3mEGfwSdy46IsqQoo38XFIF4loWJUxnJev91JKTFr7KDW/I4+SC5CcSxkc+2iI/uStyNAfRbjn9uOzCSydW3W61Tk/FC+RrFq/Mo+T9AEU/h0HQdJcffJzlCBjUTzKwgcSFQ72tJBHCZQ+hbkMQQ/mcbe+A== 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=t9Z9jIFGEh4NEzNRe8i/dxc9ulNTOY+xQZYQAXCT1bA=; b=IbejC7S4UdvCAyfPzpEoaqOn7V/Zw6kefPitjEaeP0zAJi5cBWlUau49uTbQfK3O6XTkpM4r0cfSg0jQX8gjvpklswwIFwcET7eXgHYjy4Y0fzXBVlTZZRQkmkpoFiCgouVMosQqJMQdXtQffxEFQSv455SZ9Ld4qQgn0GtBVUiwYZt4+uxDzefbfSL+CXodvj9z2AsIluwpNb4fXjLW2C8GQ61XVwlK1IrVC+yGPQpnUGZe6+ViOcTnOB5Lmg9gqs4v1iGQOJSojH0TXgEnM4KYO6oR1ZJaNDqf0w3i/bWHVUzujXgi7U1GImgZTnr17vt2c/idJuZ/4tFfrPM9vQ== 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=t9Z9jIFGEh4NEzNRe8i/dxc9ulNTOY+xQZYQAXCT1bA=; b=r+FfSS+zOyfGU8XzyGuxmA5QjhVn2jrvz5yBfkalhFHAhkRBNJvttcJep7udpH0R3AIzAqtI2lqt/3Ts2DYRSUZKxXBn5GNpH9ge6CVyr/vQwo/krUY2w/UYJCpJlQOXQHxvpF7HayHA3yqS5BeZ5dNF8H9I5ZSyIh3A049JMqc= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR1101MB2244.namprd11.prod.outlook.com (2603:10b6:405:52::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Tue, 24 Aug 2021 06:09:41 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::c91b:3041:2acd:a0e5]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::c91b:3041:2acd:a0e5%6]) with mapi id 15.20.4436.024; Tue, 24 Aug 2021 06:09:41 +0000 From: "Lin, Xueqin" To: "Sun, QinX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V3 1/2] test_plans/cvl_advanced_iavf_rss: add gre inner rss cases for iavf Thread-Index: AQHXmI8FFOr9F2OjIU+krl9xGzfwU6uCK/Ww Date: Tue, 24 Aug 2021 06:09:41 +0000 Message-ID: References: <20210824105413.5872-1-qinx.sun@intel.com> <20210824105413.5872-2-qinx.sun@intel.com> In-Reply-To: <20210824105413.5872-2-qinx.sun@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: 755719a3-cce6-413b-cdb3-08d966c5c31e x-ms-traffictypediagnostic: BN6PR1101MB2244: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2582; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +IhJtI5q6LBfmjsVajX8T1ypSJrhvyjIOT6nZRebNhEzOb2lBZWXGF9noJ3xVkLuvZtjR8YpXqI2cxM9zHJUUQtSo6boi6gclKkx0PpBDZDlbb1UfPVX6wzaYcW7sdpB1iAnfW6CkGJcV4nH0u8IFwYZUqGtly6jSTES+hzJv/jjo0aTKyTigv+qkankWWZGdVaFkGxBodP2Ddk958vm25Qt3NIpjry8PBqXaqRKEs8DvCZEDGrqeTMN9XD7g/jPowvYbouMZuhZ76E3LE119Ym5BeALwNmFF5utVwhf0M5LHKKr2nzT6O2sqgwBOTkxbuMNVHLQPpuXbxmbCPcmwbngYXOOPKka6AvQd8cyiLDkndIv61M9Gm/4QoZc9tdXrRwiiEWc7Sp4yy9jsU6cZci4AuBikXdIoWRYqC9MSXxi1C3wbCFmkIBEaAwhB92T4i9zGaQLYnj96u7Bvqt5bsXlUBZbT4cGy+j05DrkYBJ0WNc+d3dpApeb6KgxvaAdsjUp887TkOust4m7mMHMIim/V3TvMucwECsvkNIrWoI3uXbL18GhCo1jMJ1XPyLbEoaADfFxPe/Alnu6LlfT3mVP9LIgR0tDFumQLQ/5icSEva+oImHqXIxqdlN+nU5J4IuswxobM0U/lrKFZPhxHwkzVV9LSuck8Wipv0Lc8lhZrnxMHx0COasjqgcV4+El6+zkpiKVQhedOhFiKufAob9Vfeb035iTouRJQr0VFVw= 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)(136003)(376002)(39860400002)(366004)(66446008)(76116006)(26005)(122000001)(2906002)(64756008)(53546011)(66946007)(478600001)(66476007)(316002)(38070700005)(7696005)(66556008)(110136005)(186003)(86362001)(52536014)(8676002)(30864003)(55016002)(8936002)(38100700002)(71200400001)(33656002)(83380400001)(9686003)(6506007)(5660300002)(143363002)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QsuI+hPpmC/UTtu3LeWhyMn04jjIaH057dqSnpckWRz2qcs11pThU/U92GfV?= =?us-ascii?Q?dvMxeD4SzNsds1K2GEuzMH5oyRVV7dRZAOPUWScO0LczzJbGZq8+eDJZ4x2b?= =?us-ascii?Q?5XesfeeJie9lq0mCEWZrlAHuNmC28QgrKWfECPkNBk0fHr3JJgD/Cli4wtgr?= =?us-ascii?Q?44ogfLAGKL4FFu3G7Ja/yKAKdLyZl+sL29Rm2MKYgitGHaJ6AR3BKdtJyXPW?= =?us-ascii?Q?+Ttmw7IYpHbU5gpG18RtNpHr7XlgUM6e3bQFINyVw3x/zlvNEyztmyajL2vG?= =?us-ascii?Q?Qhb2byrUuHJOoHE5MqKCyCwcwIz6155jHQdm4+2xHGQIMbT3fG40wfPaqwxt?= =?us-ascii?Q?5s2yQOIxefB2Oxecu0i4zwhMyvpKQlgrYQr8ugOTxEPwYsmYsxWwjOByHaFx?= =?us-ascii?Q?A8G3UZOtE1z2/DQYw+Ub9ioeq5BCb7rbIjFmcC4w0Y2btMYaLvDPKfrzoIvM?= =?us-ascii?Q?tjwqIzGH0WVWLnxRi6y38ER04y/RA1PYv6h1xI5Tk2D74l1sk/fd3gt18k5j?= =?us-ascii?Q?eV2LSXpv6NgZCztkRuE/ix6RpMRzA2EAUx6J77DnAW0gz1pfZN/vCP/xVviT?= =?us-ascii?Q?o4fM/jgMzfr7lJ9DExJngSF065Nc+iHDv7YzCFIqZ+cmXX/5x+5796nvw0pc?= =?us-ascii?Q?SX5KvezLJXmMtFD0nMMmsfusJWvzvlkbP53onhBzr7vZFknOAo8iGIfpluxz?= =?us-ascii?Q?zQQyzlxhU0kgJrZwrcsjMWB+QucPLXNA3w7Z0m0pIE2D5DGjIUVTq0brR3rH?= =?us-ascii?Q?sP1ohLXDbu0KJQtlpVDh7JqNgstYe0Rghi+svllgYLut481InYoC3R9ygQg2?= =?us-ascii?Q?P2FUxAHH1rlBxWRuoX66zZj5nhDXVcCy9KGVw7wdT/GKZdfbpMmi6fNxXdkI?= =?us-ascii?Q?8RfeLqQUeQf8ig1zEM4agTUTD9R7HUtHqQjchZ7tsBAMM6cfKa8VBzdLaSls?= =?us-ascii?Q?01AIqpd6qvJIdIqc4piQa+6Y8ebSj5VCRIeiasJ8RrpB0qmmg7zx1MMIUhB9?= =?us-ascii?Q?r3nWbHs6x8AmiWBQMPgP64Khzl1BOaI+bddTGENsHqGCMMk6UR941Xkyf4Bw?= =?us-ascii?Q?ZFmIW1PKniQTqnZPtTpVc66vojLWcrie7AsEb3f84/I8pyFgooVj5NE8F/1B?= =?us-ascii?Q?f4VAY2vS+bzq2ryS7pML9UjL6IYoafK7Dtwq6rYnz0XPX/tqHsXFcoOyONVi?= =?us-ascii?Q?awgrrk+T+jam+Ess4RPcBYm5r1MHi/sNiPnw58hvJSHI2j2ZNctfopGr7CF8?= =?us-ascii?Q?8dc6Q8UFT5OUbrK2fYi9n+q0WvX+BHxNZo/ouK9rYJx0RYVgozbFM9EodHiO?= =?us-ascii?Q?D9V6yX/SE2iXg4PmTGK6dlBt?= 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: 755719a3-cce6-413b-cdb3-08d966c5c31e X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 06:09:41.6692 (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: xZZfXfoFj1RYayeYtLoaT9I1DgwAzqJHd1LdBk7ya6LYjhtrrL19B9AUxArpB4GNLFdF+dmx6mRkeeq0H7kcWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2244 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V3 1/2] test_plans/cvl_advanced_iavf_rss: add gre inner rss 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: Tuesday, August 24, 2021 6:54 PM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Sun, QinX > Subject: [dts] [PATCH V3 1/2] test_plans/cvl_advanced_iavf_rss: add gre i= nner > rss cases for iavf >=20 > as dpdk enables iavf GRE tunnel feature, so add some rss inner cases in t= est > plan, > related pattern: IPV4/IPV6+GRE+IPV4/IPV6+TCP/UDP, total 24 new cases >=20 > Signed-off-by: Qin Sun Acked-by: Xueqin Lin > --- > .../cvl_advanced_iavf_rss_test_plan.rst | 862 ++++++++++++++++++ > 1 file changed, 862 insertions(+) >=20 > diff --git a/test_plans/cvl_advanced_iavf_rss_test_plan.rst > b/test_plans/cvl_advanced_iavf_rss_test_plan.rst > index 6376a140..137382e4 100644 > --- a/test_plans/cvl_advanced_iavf_rss_test_plan.rst > +++ b/test_plans/cvl_advanced_iavf_rss_test_plan.rst > @@ -175,6 +175,38 @@ Pattern and input set > +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > | | MAC_IPV6_PFCP | pfcp > | > +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6 | MAC_IPV4_GRE_IPV4 | inner = ipv4, > inner l3-src-only, inner l3-dst-only | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4 | inner = ipv4, inner l3-src- > only, inner l3-dst-only | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6 | inner = ipv6, inner l3-src- > only, inner l3-dst-only | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6 | inner = ipv6, inner l3-src- > only, inner l3-dst-only | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+TCP | MAC_IPV4_GRE_IPV4_TCP | inner > ipv4-tcp, inner l3-src-only, inner l3-dst-only, = | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv4 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_TCP | inner = ipv4-tcp, inner l3- > src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv4 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_TCP | inner = ipv6-tcp, inner l3- > src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner iv6 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_TCP | inner = ipv6-tcp, inner l3- > src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv6 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+UDP | MAC_IPV4_GRE_IPV4_UDP | inner > ipv4-udp, inner l3-src-only, inner l3-dst-only, = | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv4 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_UDP | inner = ipv4-udp, inner > l3-src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv4 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_UDP | inner = ipv6-udp, inner > l3-src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv6 | > + +-------------------------------+---------------------------+-------= ------------------------------ > ---------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_UDP | inner = ipv6-udp, inner > l3-src-only, inner l3-dst-only, | > + | | | inner = l4-src-only, inner l4-dst-only, > inner ipv6 | > + +----------------------------- -+---------------------------+-------= ------------------------------ > ---------------------------------------------+ >=20 > .. table:: >=20 > @@ -249,6 +281,30 @@ Pattern and input set > +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > | | MAC_IPV6_GTPU_EH_IPV6_TCP | ipv6-t= cp > | > +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6 | MAC_IPV4_GRE_IPV4 | inner = ipv4 > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4 | inner = ipv4 > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6 | inner = ipv6 > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6 | inner = ipv6 > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+TCP | MAC_IPV4_GRE_IPV4_TCP | inner > ipv4-tcp = | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_TCP | inner = ipv4-tcp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_TCP | inner = ipv6-tcp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_TCP | inner = ipv6-tcp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+UDP | MAC_IPV4_GRE_IPV4_UDP | inner > ipv4-udp = | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_UDP | inner = ipv4-udp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_UDP | inner = ipv6-udp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_UDP | inner = ipv6-udp > | > + +-------------------------------+---------------------------+-------= ------------------------------ > -------------------------------------------+ >=20 > .. note:: >=20 > @@ -259,6 +315,7 @@ Pattern and input set > Rules with src/dst mac addresses as hash input set can not be applie= d > to tunnel packets. So in the test cases with input set src/dst mac a= ddresses, > matched packets do not include tunnel packets. > + For GRE tunnel rule,the input settings are for inner layer. >=20 > Prerequisites > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -1483,6 +1540,811 @@ Subcase: MAC_IPV6_SCTP_IPV6 > Subcase: MAC_IPV6_SCTP_ALL > -------------------------- >=20 > +GRE Tunnel Case Test steps > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > +all the test cases run the same test steps as below: > + > +1. validate rule. > +2. create rule and list rule. > +3. send a basic hit pattern packet,record the hash value, > + check the packet is distributed to queues by RSS. > +4. send hit pattern packet with changed input set in the rule. > + check the received packet have different hash value with basic packet= . > + check the packet is distributed to queues by rss. > +5. send hit pattern packet with changed input set not in the rule. > + check the received packet have same hash value with the basic packet. > + check the packet is distributed to queues by rss. > +6. destroy the rule and list rule. check the flow list has no rule. > + > +Test case: MAC_IPV4_GRE_IPV4 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > +basic hit pattern packets are the same in this test case: > +ipv4-proto packets:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2, proto=3D6")/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_L3SRC > +-------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / end actions = rss types > ipv4 l3-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_L3DST > +-------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / end actions = rss types > ipv4 l3-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_ALL > +------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / end actions = rss types > ipv4 end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: MAC_IPV6_GRE_IPV4 > +=3D=3D=3D=3D=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_L3SRC > +---------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV4_L3DST > +---------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV4_L4SRC > +---------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV4_L4DST > +---------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV4_ALL > +-------------------------------- > + > +each subcase is the same as the subcase of Test case: MAC_IPV4_GRE_IPV4, > just only pattern is different, > +replace it with 'eth / ipv6 / gre / ipv4' > + > +Test case: MAC_IPV4_GRE_IPV6 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > +basic hit pattern packets are the same in this test case: > +ipv6-nh packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_L3SRC > +-------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / end actions = rss types > ipv6 l3-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_L3DST > +-------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / end actions = rss types > ipv6 l3-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_ALL > +------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / end actions = rss types > ipv6 end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: MAC_IPV6_GRE_IPV6 > +=3D=3D=3D=3D=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_L3SRC > +---------------------------------- > + > +Subcase 2: MAC_IPV6_GRE_IPV4_L3DST > +---------------------------------- > + > +Subcase 3: MAC_IPV6_GRE_IPV4_L4SRC > +---------------------------------- > + > +Subcase 4: MAC_IPV6_GRE_IPV4_L4DST > +---------------------------------- > + > +Subcase 5: MAC_IPV6_GRE_IPV4_ALL > +-------------------------------- > + > +each subcase is the same as the subcase of Test case: MAC_IPV4_GRE_IPV6, > just only pattern is different, > +replace it with 'eth / ipv6 / gre / ipv6' > + > +Test case: MAC_IPV4_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > +basic hit pattern packets are the same in this test case: > +ipv4-tcp packets:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2, > proto=3D6")/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L4SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L4DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l4-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3SRC_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-src-only l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3SRC_L4DST > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-src-only l4-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3DST_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-dst-only l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_L3DST_L4DST > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp l3-dst-only l4-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_ALL > +---------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4-tcp end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV4_TCP_IPV4 > +---------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > types ipv4 end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.1.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .1.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: MAC_IPV6_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV6_GRE_IPV4_TCP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV6_GRE_IPV4_TCP_IPV4 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV4_GRE_IPV4_TCP, just only pattern is different, > +replace it with 'eth / ipv6 / gre / ipv4' > + > +Test case: MAC_IPV4_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > +basic hit pattern packets are the same in this test case: > +ipv6-nh packets:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l3-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l3-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L4SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L4DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l4-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l3-src-only l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC_L4DST > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l3-src-only l4-dst-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3DST_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp l3-dst-only l4-src-only end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_ALL > +---------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6-tcp end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_IPV6 > +---------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > types ipv6 end key_len 0 queues end / end > + > +2. hit pattern/defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 21", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > +3. hit pattern/not defined input set:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: MAC_IPV6_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV6_GRE_IPV6_TCP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV6_GRE_IPV6_TCP_IPV6 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV4_GRE_IPV6_TCP, just only pattern is different, > +replace it with 'eth / ipv6 / gre / ipv6' > + > +Test case: MAC_IPV4_GRE_IPV4_UDP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV4_GRE_IPV4_UDP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV4_GRE_IPV4_UDP_IPV4 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV4_GRE_IPV4_TCP, just only pattern is different, > +replace "tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV4_GRE_IPV6_UDP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV4_GRE_IPV6_UDP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV4_GRE_IPV6_UDP_IPV6 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV4_GRE_IPV6_TCP, just only pattern is different, > +replace "tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV6_GRE_IPV4_UDP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV6_GRE_IPV4_UDP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV6_GRE_IPV4_UDP_IPV4 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV6_GRE_IPV4_TCP, just only pattern is different, > +replace "tcp" with "udp" in all the subcases > + > +Test case: MAC_IPV6_GRE_IPV6_UDP > +=3D=3D=3D=3D=3D=3D=3D=3D=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: MAC_IPV6_GRE_IPV6_UDP_L3SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L3DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L4SRC > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L4DST > +------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L3SRC_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L3SRC_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L3DST_L4SRC > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_L3DST_L4DST > +------------------------------------------ > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_ALL > +---------------------------------- > + > +Subcase: MAC_IPV6_GRE_IPV6_UDP_IPV6 > +----------------------------------- > + > +each subcase is the same as the subcase of Test case: > MAC_IPV6_GRE_IPV6_TCP, just only pattern is different, > +replace "tcp" with "udp" in all the subcases > + > +GRE Tunnel symmetric-toeplitz Test steps > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +1. validate rule. > +2. create rule and list rule. > +3. send hit pattern packets with switched value of input set in the rule= . > + check the received packets have same hash value. > + check all the packets are distributed to queues by rss. > + > +Test case: symmetric MAC_IPV4_GRE_IPV4 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / end actions = rss func > symmetric_toeplitz types ipv4 end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.2", > src=3D"192.168.0.1", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV6_GRE_IPV4 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv6 / gre / ipv4 / end actions = rss func > symmetric_toeplitz types ipv4 end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1", proto=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV4_GRE_IPV6 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / end actions = rss func > symmetric_toeplitz types ipv6 end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:29 > 29", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV6_GRE_IPV6 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv6 / gre / ipv6 / end actions = rss func > symmetric_toeplitz types ipv6 end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:910= B:666 > 6:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2 > 020", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:910= B:666 > 6:3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2 > 929", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV4_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp / end ac= tions rss > func symmetric_toeplitz types ipv4-tcp end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.2", > src=3D"192.168.0.1", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IP(dst=3D"192.168= .0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV6_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv6 / gre / ipv4 / tcp / end ac= tions rss > func symmetric_toeplitz types ipv4-tcp end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1", > proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2", > proto=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV4_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end ac= tions rss > func symmetric_toeplitz types ipv6-tcp end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:29 > 29", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/GRE()/IPv6(src=3D"ABAB:910B:= 6666: > 3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20 > 20", nh=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV6_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv6 / gre / ipv6 / tcp / end ac= tions rss > func symmetric_toeplitz types ipv6-tcp end key_len 0 queues end / end > + > +2. hit pattern with switched value of input set in the rule:: > + > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:910= B:666 > 6:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2 > 020", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:910= B:666 > 6:3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2 > 929", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f0") > + > sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:910= B:666 > 6:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2 > 020", nh=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s0f0") > + > +Test case: symmetric MAC_IPV4_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +test steps same as Test case: symmetric MAC_IPV4_GRE_IPV4_TCP, just only > pattern is different, > +replace "tcp" with "udp" > + > +Test case: symmetric MAC_IPV6_GRE_IPV4_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +test steps same as Test case: symmetric MAC_IPV6_GRE_IPV4_TCP, just only > pattern is different, > +replace "tcp" with "udp" > + > +Test case: symmetric MAC_IPV4_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +test steps same as Test case: symmetric MAC_IPV4_GRE_IPV6_TCP, just only > pattern is different, > +replace "tcp" with "udp" > + > +Test case: symmetric MAC_IPV6_GRE_IPV6_TCP > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +test steps same as Test case: symmetric MAC_IPV6_GRE_IPV6_TCP, just only > pattern is different, > +replace "tcp" with "udp" >=20 > symmetric-toeplitz Test steps > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > -- > 2.17.1