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 6E33EA0C56; Mon, 23 Aug 2021 10:53:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3952E4014D; Mon, 23 Aug 2021 10:53:08 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id F1AB040143 for ; Mon, 23 Aug 2021 10:53:05 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10084"; a="216784981" X-IronPort-AV: E=Sophos;i="5.84,344,1620716400"; d="scan'208";a="216784981" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2021 01:53:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,344,1620716400"; d="scan'208";a="492625080" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 23 Aug 2021 01:53:04 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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 01:53:04 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.10 via Frontend Transport; Mon, 23 Aug 2021 01:53:04 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.71) 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 01:53:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nxmxti8BpzLUPMYplR5GuuOkiBTIcW56ifXoXtNNzE3cJU3Z+GRV9d5sP4+LNv/L8zoTXr0cnkbpQLl/wOSApQQ6UycZeG9vRVp0CvtU4lS6N4BWrovqOUKMZ2bSck/WNidLQd5DGi5BgRjisI7NV/LCn0xAnsiRJUe/aU31w/2Q98vSvy6PjDjYEobO3ZGU/n1ICSML/vCRlBCwbNPCVMdfDcL7ORRSfZk/kBle+6x5X+OCdlImJ3KEH+9aJNmI8LYIXzDCXaFDp3aY246gdcXCdqIc2tu1eFWakAstKGaTahsCwBly3pi9cPmBylf6T3i9WWigcR2FpjbL+3v/8w== 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=Sc8CyoO5qLj/aF5tWj7rUfCuz3UaMTTvutBgJez+dKA=; b=KqUYWNTUXuKSIWv9BRBshxs59jPt614HOqmYfDJU8HbYXFgZiu5TINZXFuKPwEIgTGz9Bn5aatVMV5fJgwgEBI7vHR6FWHYCoRiWLu6q+Pao5qPD4pjElNm4/zEz1FGZ+kc4BNt8Ur+mS3nzews8FoOn3gfjw9PmzXlMw9HxlfCi6mlpL8svTSa3y+Kr0xM3gGxirJk5aSOHzu0d/jC6qBF8s+lUhLJ/yCE4bf/6rOTaha1pDdULmZIhcqOX2M4laSRaeZcrbehF52+f2czyEXQUHkgQ8yCoQxKDbK57JdE9ARfxMP0pzR7loFN3xdbnMlsWWzfq9OnCkY+hSsLCng== 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=Sc8CyoO5qLj/aF5tWj7rUfCuz3UaMTTvutBgJez+dKA=; b=yiMUAVHCJSwjiqM1Io+F9y+XYPNUDVhYbaYJpEyRODrM/f/cTSat3LT/rT9mWOZx68x3ydQfNfc2Md4MXfcBIvHocojhJqqnrKcFP+JMD48IvhsfEgrenfDrhLUkJ0nQ+46Z68aGcug4iM/gRNcZBaoCt9lNxQgMsL9uWlI+xp8= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR11MB1281.namprd11.prod.outlook.com (2603:10b6:404:47::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Mon, 23 Aug 2021 08:53:02 +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; Mon, 23 Aug 2021 08:53:01 +0000 From: "Lin, Xueqin" To: "Sun, QinX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss: add gre inner rss cases for iavf Thread-Index: AQHXlOIuNzI77Yd/fEa0rXmCATL57auAzXqA Date: Mon, 23 Aug 2021 08:53:01 +0000 Message-ID: References: <20210819184039.15497-1-qinx.sun@intel.com> <20210819184039.15497-2-qinx.sun@intel.com> In-Reply-To: <20210819184039.15497-2-qinx.sun@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4bf9ff92-8547-4544-a590-08d966136a0a x-ms-traffictypediagnostic: BN6PR11MB1281: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:800; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2s9AnpE2V875PciL9d9GvJnkuVweEyfHgm0R51jooFAqWO2XWUH3YbYl3Gmn5wuXCPJxUdMbCntPZh2kCNwWHN/ChKOvIN+7s55dZ5gSH4Kf/OjX3bfXPjpoJQV2CoZ/WgvKwHQuz2238KueGkGHgekyogxb0wV2+oGd0xLxo60UfqSU3BDENK2tftbsFIgS9zLrB26Bk/iJOKR7S7WXmo2WNyjWX/V6KJowikMDFsJNf39LqAZWCE+PapD3bk9CNUoqklyzqH6aa+sg7CTjd8noCv+Q/qHutRwsr4/OKQ2tuD+Mdhl7BLE7cUUuuhqSSxns1SnNZPfE3GbnS71ZTAqqeuDrXfqUnMlNK9MeHCnw983JuVl1t1tK9eHaosxa8nKnafvVFh3CebTWdW/qIFIdoN0VBjCUXS3X6S+6U0xme1jFYPZrioW3tGFpOajEGcQH/Bp4v0YtOv74jczWQXGzt59ab0o97+Wx/KzP0yK9iWNiAk+YOU8R8fSmXU7hsosnJOmCZG3HpHoXbPXp7iWnmpN3+qo/F3JKC+0Ig6xHpCgd9Ry7K/10biuxS5Pc3iku0ATqx91wA79X+GUck6PKMDGo+/PuryiqWhRYO9AOPDr9T4B6pykgnuTe4TuZUCLDBHotD81rcACWK5zyTFBlg60TaRgqpqI51TUq87W6dTErEkn6lKsbL3AS9tr2Bpn0YJg3BSG3cO7RAkD10UvbTiSh4K9yQVcNT3OlIaI= 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)(366004)(55016002)(9686003)(33656002)(8936002)(71200400001)(66556008)(316002)(66946007)(64756008)(8676002)(76116006)(5660300002)(66476007)(30864003)(66446008)(122000001)(110136005)(508600001)(38100700002)(52536014)(86362001)(38070700005)(6506007)(186003)(26005)(7696005)(2906002)(53546011)(83380400001)(143363002)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZRGCVTGg3zmv2ujI0AU0zT3NuGReSPsXF5GUE+7gArxk0n8G9c58PfxIUJgx?= =?us-ascii?Q?r9TJjNQk8IdDbCrbNqsu33Z/kh2lzFtIijki+nr0/KF56ZgAQVOgzLNTeCcP?= =?us-ascii?Q?8oPRw/Xj0a/jIAXavkoK+GQrW2tiPgzc8Jj/EMQv1s9HqTfAUzhUmrqBQirG?= =?us-ascii?Q?wm/X9wpf1bR9bgx5MukyficHHqf3EMyxPrp9kjiGvxa2G9qqQg9HDT45XLVu?= =?us-ascii?Q?2Y6fGW8y4/oZJ1Ae/ENCOiFUZr+pauoVMBR7zL2EfHfNEjT82jgev+cZuahW?= =?us-ascii?Q?JmL+sNCvus5RYoOiwScTviPka18voL6jITnrg4qFLM5SNbXJVkRCcAR0x/mA?= =?us-ascii?Q?cd38q51GqjORg06UurCGnDvmjYP0FYuQ+ynFNOD9Se5DO21qzkDcVhZKTOcK?= =?us-ascii?Q?i+CN4SYmD9Ks3x0BZ7KDZFbYdx3LHnPgwF1eaZqRguiqg2BVgRhD/q0fmiQp?= =?us-ascii?Q?cFpZRadCinzfdtsv5SrOpCGCyIknSoCUWG/02UmEC122HcDVwugyLQeb1m59?= =?us-ascii?Q?ESGWZZD4nhYD8XMyIrH0JEJ20uaEhRlIssuCRaYC5v5ZTD6ZVcM+A6aFJwbM?= =?us-ascii?Q?Ztj0MvAPiB8V4ysnzrgjaJkcwoM7M5g/H7ZwxVCAfl6r6VgYs82EZHOtpUu4?= =?us-ascii?Q?XtZhUrFSNw+oUd5EkZYxKh9cEkWnkLFZBI6u0AuxcRXIBWYKjnJZDYitW4jV?= =?us-ascii?Q?3D22F+/jGuzER/0VuIaCBf0CXX5V73h3otJ2e0H0QvEluS400rMavOuLHN9a?= =?us-ascii?Q?jIzWlxwty68hdmwcPM89PB/HG+wt4meaLQ3JPwspsWzTbAOpZmV63nVVDWdK?= =?us-ascii?Q?k62S1CTfDtFRg836n1MbkmMHTZlXqsBcAxIueSBLww0HWd4msqeyqecPuwQ1?= =?us-ascii?Q?hJSrILplqqfydgYp0ajcjCj6Zjk/DO9SXDAMLjMMkZQZuM29yv8iNQJeFZ3W?= =?us-ascii?Q?KQGpEEctCj/ET8H904DgnnH+8OOAaB8qeGXZrvXOO8dpDoc6KX6A2gaccNbR?= =?us-ascii?Q?wRZMTuhq2zbfF0IsFEohOX8DgbuxMREXsK6QzvYHWUQzrqzIPSK1gXgdn8FH?= =?us-ascii?Q?UkZCoKgkB4kM6NDlghDSHEExsFciX60s5NHQxjnPFVuyoF/4mKXiXfZh/rxq?= =?us-ascii?Q?mMfgioSLUuHgKjkW3lmMD10C8YGdosxZgEDTaLhOD09lOySreYX37zq7HL0P?= =?us-ascii?Q?92Nz0ad943y4D18JW5xzKLIVkFSRCUwdxuOrvXIZZMDNZlf1p6gdmq8Dd4YB?= =?us-ascii?Q?qXsZjDZ3ZhqgAxLc93e8+o1y6Xl9X8c2O3yPgHEYu2DCBW6Oh3kKTUwmxxO6?= =?us-ascii?Q?uCbLhDKEibO+brZ9U2A/MClb?= 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: 4bf9ff92-8547-4544-a590-08d966136a0a X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2021 08:53:01.7970 (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: qpeD7p71aSaaQNMDm/CxvSyUHtGT30i9oLPq5bg5Nu353LtYZT+E5GT77pe9OwUZ5rUdXrqv9toDxMJtzwJDew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1281 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 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" One comment. > -----Original Message----- > From: Sun, QinX > Sent: Friday, August 20, 2021 2:41 AM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Sun, QinX > Subject: [dts] [PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss: add gre > inner rss cases for iavf >=20 > as dpdk enables iavf GRE tunnel feature, so add some rss inner cases, rel= ated > pattern: IPV4/IPV6+GRE+IPV4/IPV6+TCP/UDP, total 24 new cases >=20 > Signed-off-by: Qin Sun > --- > .../cvl_advanced_iavf_rss_test_plan.rst | 854 ++++++++++++++++++ > 1 file changed, 854 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..34bfceb5 100644 > --- a/test_plans/cvl_advanced_iavf_rss_test_plan.rst > +++ b/test_plans/cvl_advanced_iavf_rss_test_plan.rst > @@ -175,6 +175,30 @@ Pattern and input set > +-------------------------------+---------------------------+-------= --------------------------- > ------------------------------------------------+ > | | MAC_IPV6_PFCP | pfcp > | > +-------------------------------+---------------------------+-------= --------------------------- > ------------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6 | MAC_IPV4_GRE_IPV4 | ipv4, = l3-src- > only, l3-dst-only | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4 | ipv4, = l3-src-only, l3-dst- > only | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6 | ipv6, = l3-src-only, l3-dst- > only | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6 | ipv6, = l3-src-only, l3-dst- > only | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+TCP | MAC_IPV4_GRE_IPV4_TCP | ipv4- > tcp, l3-src-only, l3-dst-only, l4-src-only, l4-dst-only, ipv4 = | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_TCP | ipv4-t= cp, l3-src-only, l3- > dst-only, l4-src-only, l4-dst-only, ipv4 | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_TCP | ipv6-t= cp, l3-src-only, l3- > dst-only, l4-src-only, l4-dst-only, ipv6 | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_TCP | ipv6-t= cp, l3-src-only, l3- > dst-only, l4-src-only, l4-dst-only, ipv6 | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+UDP | MAC_IPV4_GRE_IPV4_UDP | ipv4- > udp, l3-src-only, l3-dst-only, l4-src-only, l4-dst-only, ipv4 = | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_UDP | ipv4-u= dp, l3-src-only, > l3-dst-only, l4-src-only, l4-dst-only, ipv4 | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_UDP | ipv6-u= dp, l3-src-only, > l3-dst-only, l4-src-only, l4-dst-only, ipv6 | > + +-------------------------------+---------------------------+-------= -------------------------- > -------------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_UDP | ipv6-u= dp, l3-src-only, > l3-dst-only, l4-src-only, l4-dst-only, ipv6 | > + > + +------------------------------+----------------------------+--------- > + ---------------------------------------------------------------------- > + ---+ >=20 > .. table:: >=20 > @@ -249,6 +273,30 @@ Pattern and input set > +-------------------------------+---------------------------+-------= --------------------------- > ----------------------------------------------+ > | | MAC_IPV6_GTPU_EH_IPV6_TCP | ipv6-t= cp > | > +-------------------------------+---------------------------+-------= --------------------------- > ----------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6 | MAC_IPV4_GRE_IPV4 | ipv4 > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4 | ipv4 > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6 | ipv6 > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6 | ipv6 > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+TCP | MAC_IPV4_GRE_IPV4_TCP | ipv4- > tcp = | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_TCP | ipv4-t= cp > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_TCP | ipv6-t= cp > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_TCP | ipv6-t= cp > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | IPV4/IPV6+GRE+IPV4/IPV6+UDP | MAC_IPV4_GRE_IPV4_UDP | ipv4- > udp = | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV4_UDP | ipv4-u= dp > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV4_GRE_IPV6_UDP | ipv6-u= dp > | > + +-------------------------------+---------------------------+-------= -------------------------- > -----------------------------------------------+ > + | | MAC_IPV6_GRE_IPV6_UDP | ipv6-u= dp > | > + > + +-------------------------------+---------------------------+--------- > + ---------------------------------------------------------------------- > + -+ >=20 [xueqin] Could you add "inner" for the input pattern in above tables to cla= rify clear? > .. note:: >=20 > @@ -259,6 +307,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 +1532,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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", 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:910= B:6 > + > 666:3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2021", 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2021", 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:910= B:6 > + > 666:3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", 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:910= B:6 > + > 666:3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + actions 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 > + 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= .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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2021", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L4SRC > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L4DST > +------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3SRC_L4DST > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_L3DST_L4SRC > +------------------------------------------ > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D21,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_ALL > +---------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / end > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +Subcase: MAC_IPV4_GRE_IPV6_TCP_IPV6 > +----------------------------------- > +1. create rss rule:: > + > + flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp / 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)/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:910= B:6 > + > 666:3457:8295:3333:1800:2930",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D22,dport=3D24)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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.168.= 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:910= B:6 > + > 666:3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2929", 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:66 > 66:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > 2020", nh=3D6)/("X"*480)],iface=3D"enp134s0f0") > + > + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src=3D"ABAB:9= 10B > + :6666:3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3 > 90 > + 0:2929", 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 > + actions 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 > + actions 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.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_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 > + actions 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:910= B:6 > + > 666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > + 2020", nh=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s0f= 0") > + > +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 > + actions 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:66 > 66:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > 2020", 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:66 > 66:3457:8295:3333:1800:2020",dst=3D"CDCD:910A:2222:5498:8475:1111:3900: > 2929", 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:9= 10B > + :6666:3457:8295:3333:1800:2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3 > 90 > + 0:2020", nh=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)],iface=3D"enp134s= 0f0") > + > +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