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 AAB1EA0C56; Mon, 23 Aug 2021 10:54:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88F0F4014D; Mon, 23 Aug 2021 10:54:56 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 337DC40143 for ; Mon, 23 Aug 2021 10:54:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10084"; a="196637853" X-IronPort-AV: E=Sophos;i="5.84,344,1620716400"; d="scan'208";a="196637853" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2021 01:54:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,344,1620716400"; d="scan'208";a="514716976" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga004.fm.intel.com with ESMTP; 23 Aug 2021 01:54:53 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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:54:52 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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:54:52 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) 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:54:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CqkkSB2XCoDkyMXkMxNLeFVMGtGC8JiFYhUUBEbF/bEHwz1j4sqfozf8dwQvKT+wgn+MuuR24ppB5xxU9lJrLeAtuc59ruX4pB8QVlm2PUZoiR7rKQL1bxPJ6lsnvWRTR5KRMg+RdclkgHj/2FW36PVQrmSh+RXCGxNn0q80+Nr8EHYpFepizJ6ceGIkJuXyOBhBTQ/a3gae7oF6SyfITsJ+SAV11KQEt+2MhBhefKaeSTTakLK8gatqzdYOm3TTbE7KROpGtXHsd8x7VtIcrMRitbiqNTVJyqoXPgBgTvqfDLog7QqoZ2JXpQlScfXAUtXWmcTAjKusSn0zYDjvWA== 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=KFgSHPk0YNGBeQH57WsuPik/Xhk7J+RUN9NJQuVC8GI=; b=dszxBuB0Z/vNMu6DJptZvuTOEYDRx0OVeFs4xtSCwfG9vvI3oU8bVnUKTx7OLa1j/94zW7lInEwDPWfNlCj8f6JBS/forVweyQ/SgPBVehjA2S8Ux4ef0scFCiz5OF/tJGUahbE4o2aKK0OBoUhUN5Nz5SYwORyA4FCJ4DB+e/zbrtE9Hb04sf2vUIFDqDOkEBzdV2rgl4vL90+PXd8wIJeJblF8MNcS9myDt9DAgGirm2YKzHFhndFKpUXiy2yOkIi2PSIoCS+EQGT2fs+LJ96vj37xcQREXntqaEkUx5BEm1N4Y4uNY8E/xX6mRmGk6cNvqzOGsvJvZQZZgQ8f3g== 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=KFgSHPk0YNGBeQH57WsuPik/Xhk7J+RUN9NJQuVC8GI=; b=r5qm6WQHfUdwi73kAp5kdhvXd7AHLAQwkGg5yCBgp6p5uKs1CCpz3DIaLlShoTBOphZVEsQHD353g18ddWXP5hJL+FoHXMstypXKlm8kOiNxQwMDCXF7GZ73F4DlMGXu7p3i1az0BtS2WE1dRaIgs7OLm04cdhgRb/156XqWNwc= 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:54:48 +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:54:48 +0000 From: "Lin, Xueqin" To: "Sun, QinX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V2 2/2] tests/cvl_advanced_iavf_rss: add gre inner rss cases for iavf Thread-Index: AQHXlOIuBvB7YjKO4EGTlLgpAgrx4quAzyBw Date: Mon, 23 Aug 2021 08:54:48 +0000 Message-ID: References: <20210819184039.15497-1-qinx.sun@intel.com> <20210819184039.15497-3-qinx.sun@intel.com> In-Reply-To: <20210819184039.15497-3-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: 40d781b2-a99e-43a2-02f3-08d96613a9d1 x-ms-traffictypediagnostic: BN6PR11MB1281: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:113; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uZD/OvnwnrXDD4KdoPTkf6NLc6ypKIKmug176KB+Ouj2zc9ZO+RJpSSyXX7e+refqKP3uFXX8UoxGdWSXNBVkOHjjpiKdaEhj7HDo5odZbqNAyEX3occJN/ZdVjU3ZMilIcvO5HUkwn8x6hFcdqQ8+GEK3aXY5UsJkgikxEbrUyMPtzxIYSsKPMBRyHpHZk07RUYOTZXP+HNEag7emXb2QYitmSII86ciPsGXZIaCj6rq0E/r4cvYDyGkVw/LfQyOimd6Rc+9jwbXJMdaKj+wZEXWPZCvrBb/AwJLlvwnteAccMjM7f0JCRDZU9AimpcUtagRSpymuxD0zJIk9IjpWo8qCBT1rGPrJKDfp1RT4H2TEGmMJ7WAEY8PdlnEPtRqnr6k2GEi/psBc5T2JQuWh+0GaIjNGiWQ3zTeC8miQVHeASNqalzxVxLWuRouHMEoD8O9/mb7XT04Ahz+mN2vTwOwEVmqUbegiJlokqNt5cxo/Cflan81aHPlut2+oMmjCV57b3vpSr1+g9Va3HKRlRaOtZKO5KSIyx3xE4+f9V6c/oJ0nL3vepMXT48AWQgvZXv1EsHoWWtHmj5m4eRrhllrNzOpuOK/8AMW6U1/J7qsOL7ZEpBv/0n76OmCnkHE/KFk/7MFNimIGmqKGsHc1mAAfvG7P1mckB/KsdfyF3JCK7QcFOY2QuG5imYUf658EuwZSRPObNr045NpvM0tjiAum9DA9Ec2yCyxYKfAj8= 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?BVpIdzMYfH1CoTb9Zyy5pz+4bzjH0sS/LWf3j0ExvLZlQL+UcgprZGj5FhWc?= =?us-ascii?Q?QHUzbgvYABiKuHriVsMfQsJyQhSdJWhRF7pb+xj9RpodtqKvBcO1BIYsYhts?= =?us-ascii?Q?D9QV0rEM4QkJK4IOgccrwrqSvQUfIG1ascZU8CUUQ+u1tj37qBcRxIAuyZyJ?= =?us-ascii?Q?N0prjuC3s/066bw7oLt8IuTTkb7aN0SSi87CcrnbwypKSWSoT8LdCDI1ZE0L?= =?us-ascii?Q?+VkAx0azQfiVLxfgkZL0KqPkZ/sQTWEj8uj0FObl5k49l1ijoI4rTRlufdIY?= =?us-ascii?Q?A9iSTYNNWRvdlAta9D/bhUoq9l6KywU5VUf+N70q1+UHZD31xycTGITB8WJ0?= =?us-ascii?Q?dSlSQeu+w/a56mmgeCbr1c7bkW/GgtT2zK6WkV+8UzHRxs71aU0LCSGmCaMJ?= =?us-ascii?Q?3O4NgL9sKdEeSaFQ41iE7W490Cxs4UGYu1OLwzDkTm9LR60WFeqQVYjX2Db0?= =?us-ascii?Q?OKND9bp11RUEtpa48LANjlvxaUjhTXathzFxF2oOqD/z7IZfXKGZDW+X6EYo?= =?us-ascii?Q?/nrwGu5AqdJKy6GyAo8NdTwSwh2M084sG7giqiO7jjF2PLDQEn13EiSW1OqM?= =?us-ascii?Q?+IwSZHwwnP65aorYk4NGYX0N6qIhu806CKAp+metGM3e1lZpxaL+3c2TrHSW?= =?us-ascii?Q?xAie8XeFeyEDWA6hJtE+Ua6jTmsXHd2qVdpITw4QZsDu05FgeHxP2scQgPFa?= =?us-ascii?Q?hIfCBga0vcI7rXec7T84QZL+yz8PmPsHQOwwvcFIY9k6WL3W6h9pqQkBfcZY?= =?us-ascii?Q?CV+0Vejs65uKXaP/OMUIkzehMnbz34tZufYFHaS9Hv8P76YsrXcMD1wVF8yE?= =?us-ascii?Q?5kX8a8z+iuebfXJDA8yNstezS4+0H3BbICQxVLC7Mw0PEDeKwIwm+NjF+lQ7?= =?us-ascii?Q?ZFAbDAtcI1aSJqI0dXH+X05Qo1WqNeOhxJ5lyqsJHk7TkHaFpjPWXbCwoCp5?= =?us-ascii?Q?wpA+nHdNJVbmaOW4DmsBwcF4Z1XriVRR1XqgFEWNj3SKFr19iyenEdnOAduN?= =?us-ascii?Q?1rL2Ixpre2I/0YzQsOu2pbL0/i7aiVjF6j9CG1AbaJPYSp2lgAQ9TppNekX5?= =?us-ascii?Q?TEdTIFLWdzallQvW4E1ygZqeMYiefakyc6Tg9lMqyMkojDBkQBSm/gBywmCF?= =?us-ascii?Q?/XjX+E4ghGamCNQK/HkroY4JiDomXt3nW2kcerfdxMJoqB0vELoKitDtD9hs?= =?us-ascii?Q?jhraZFh5rkwE5m55zONpW5BPYuGp1+13D6M/p1Vf3pRuSja1qa3QaeV/ABqG?= =?us-ascii?Q?aXTAZY3FojZFvBEz4Rw+0ER9vO54ymTroUaJF6aWe68AVRdk33CHvz0v3QG/?= =?us-ascii?Q?24GpIM7ayRzNYmMyi1hV/y++?= 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: 40d781b2-a99e-43a2-02f3-08d96613a9d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2021 08:54:48.7855 (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: Fbe+H52MBcVHWSiS20dZMb2vV/wLx/XKzAQpGALGRjQxzslhoxx4GmdH8RP+Qxhrj9OZED95rgsz7MC9WnovNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1281 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 2/2] tests/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: Friday, August 20, 2021 2:41 AM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Sun, QinX > Subject: [dts] [PATCH V2 2/2] tests/cvl_advanced_iavf_rss: add gre inner = rss > cases for iavf >=20 > according to test plan to add 24 new cases related gre inner rss for iavf >=20 > Signed-off-by: Qin Sun Acked-by: Xueqin Lin > --- > tests/TestSuite_cvl_advanced_iavf_rss.py | 997 +++++++++++++++++++++++ > 1 file changed, 997 insertions(+) >=20 > diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py > b/tests/TestSuite_cvl_advanced_iavf_rss.py > index a7003b38..249f6bcf 100644 > --- a/tests/TestSuite_cvl_advanced_iavf_rss.py > +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py > @@ -4150,6 +4150,931 @@ ipv6_64bit_prefix_l3_src_dst_only =3D { >=20 > ipv6_64bit_prefix =3D [ipv6_64bit_prefix_l3_src_only, > ipv6_64bit_prefix_l3_dst_only, ipv6_64bit_prefix_l3_src_dst_only] >=20 > +#gre tunnel related data > +mac_ipv4_gre_ipv4_basic_pkt =3D { > + 'ipv4-proto': > + 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.168.0.1", src=3D"192.= 168.0.2", > proto=3D6)/("X"*480)' % vf0_mac, > + 'ipv4-tcp': > + 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.168.0.1", > +src=3D"192.168.0.2", proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % > +vf0_mac, } > + > +mac_ipv4_gre_ipv6_basic_pkt =3D { > + 'ipv6-nh': > + > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:2222:5498:8475:1111:3= 90 > 0:2020", src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929", > nh=3D6)/("X"*480)' % vf0_mac, > + 'ipv6-tcp': > + > +'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"CDCD:910A:2222:5498:8475:1111:= 39 > 0 > +0:2020", src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929", > +nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf0_mac, } > + > +mac_ipv4_gre_ipv4_all =3D { > + 'sub_casename': 'ipv4_gre_ipv4_all', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / end= actions rss > types ipv4 end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-proto'], > + 'action': {'save_hash': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('dst=3D"192.168.0.1"','dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('src=3D"192.168.0.2"','src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-proto'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_l3_src =3D { > + 'sub_casename': 'ipv4_gre_ipv4_l3_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-proto'], > + 'action': {'save_hash': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('src=3D"192.168.0.2"','src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('dst=3D"192.168.0.1"','dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-proto'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_l3_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv4_l3_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-proto'], > + 'action': {'save_hash': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('dst=3D"192.168.0.1"','dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-proto'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > proto'].replace('src=3D"192.168.0.2"','src=3D"192.168.1.2"'), > + 'action': {'check_hash_same': 'ipv4-proto'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_src =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_src_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_src_l4_src', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_src_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_src_l4_dst', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_dst_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_dst_l4_src', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet':mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l3_dst_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l3_dst_l4_dst', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ], > +} > + > +mac_ipv4_gre_ipv4_tcp_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l4_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': > +mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'].replace('src=3D"192.168.0.2"', > +'src=3D"192.168.1.2"'), > + > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv4_tcp_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_l4_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv4-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv4_tcp_all =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_all', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp= / end > actions rss types ipv4-tcp end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('src=3D"192.168.0.2"', 'src=3D"192.168.1.2"'), > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + ] > +} > + > +mac_ipv4_gre_ipv4_tcp_ipv4 =3D { > + 'sub_casename': 'ipv4_gre_ipv4_tcp_ipv4', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv4 / tcp= / end > actions rss types ipv4 end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'], > + 'action': {'save_hash': 'ipv4-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv4_basic_pkt['ipv4- > tcp'].replace('dst=3D"192.168.0.1"', 'dst=3D"192.168.1.1"'), > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + { > + 'send_packet': > +mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'].replace('src=3D"192.168.0.2"', > +'src=3D"192.168.1.2"'), > + > + 'action': {'check_hash_different': 'ipv4-tcp'} > + }, > + { > + 'send_packet': > + mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'].replace('sport=3D22', > + 'sport=3D21'), > + > + 'action': {'check_hash_same': 'ipv4-tcp'} > + }, > + { > + 'send_packet': > + mac_ipv4_gre_ipv4_basic_pkt['ipv4-tcp'].replace('dport=3D23', > + 'dport=3D24'), > + > + 'action': {'check_hash_same': 'ipv4-tcp'} > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_l3_src =3D { > + 'sub_casename': 'ipv4_gre_ipv6_l3_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-nh'], > + 'action': {'save_hash': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"','src=3D"AB= AB: > 910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-nh'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_l3_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv6_l3_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-nh'], > + 'action': {'save_hash': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + > 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > + > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-nh'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_all =3D { > + 'sub_casename': 'ipv4_gre_ipv6_all', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / end= actions rss > types ipv6 end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-nh'], > + 'action': {'save_hash': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + > 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-nh'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > nh'].replace('src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > + > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-nh'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_src =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-nh'].replac= e( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-nh'].replac= e( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l4_src', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l4_dst', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_src_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_src_l4_src', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_src_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_src_l4_dst', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_dst_l4_src =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_dst_l4_src', > + 'port_id': 0, > + '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 e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_l3_dst_l4_dst =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_l3_dst_l4_dst', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp= / end > actions rss types ipv6-tcp l3-dst-only l4-dst-only end key_len 0 queues e= nd / > end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_all =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_all', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp= / end > actions rss types ipv6-tcp end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv6_tcp_ipv6 =3D { > + 'sub_casename': 'ipv4_gre_ipv6_tcp_ipv6', > + 'port_id': 0, > + 'rule': 'flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / tcp= / end > actions rss types ipv6 end key_len 0 queues end / end', > + 'test': [ > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'], > + 'action': {'save_hash': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020"', > + 'dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2021"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('dport=3D23', 'dport=3D24'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6-tcp'].repla= ce( > + 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2929"', > 'src=3D"ABAB:910B:6666:3457:8295:3333:1800:2930"'), > + 'action': {'check_hash_different': 'ipv6-tcp'}, > + }, > + { > + 'send_packet': mac_ipv4_gre_ipv6_basic_pkt['ipv6- > tcp'].replace('sport=3D22', 'sport=3D21'), > + 'action': {'check_hash_same': 'ipv6-tcp'}, > + }, > + ] > +} > + > +mac_ipv4_gre_ipv4 =3D [ > + mac_ipv4_gre_ipv4_l3_src, > + mac_ipv4_gre_ipv4_l3_dst, > + mac_ipv4_gre_ipv4_all > + ] > + > +mac_ipv6_gre_ipv4 =3D > [eval(str(each).replace('ipv4_gre_ipv4','ipv6_gre_ipv4').replace('IP()','= IPv6()') > + .replace('eth / ipv4','eth / ipv6')) for > +each in mac_ipv4_gre_ipv4] > + > +mac_ipv4_gre_ipv6 =3D [ > + mac_ipv4_gre_ipv6_l3_src, > + mac_ipv4_gre_ipv6_l3_dst, > + mac_ipv4_gre_ipv6_all > + ] > + > +mac_ipv6_gre_ipv6 =3D > [eval(str(each).replace('ipv4_gre_ipv6','ipv6_gre_ipv6').replace('IP()','= IPv6()') > + .replace('eth / ipv4','eth / ipv6')) for > +each in mac_ipv4_gre_ipv6] > + > +mac_ipv4_gre_ipv4_tcp =3D [ > + mac_ipv4_gre_ipv4_tcp_l3_src, > + mac_ipv4_gre_ipv4_tcp_l3_dst, > + mac_ipv4_gre_ipv4_tcp_l4_src, > + mac_ipv4_gre_ipv4_tcp_l4_dst, > + mac_ipv4_gre_ipv4_tcp_l3_src_l4_src, > + mac_ipv4_gre_ipv4_tcp_l3_src_l4_dst, > + mac_ipv4_gre_ipv4_tcp_l3_dst_l4_src, > + mac_ipv4_gre_ipv4_tcp_l3_dst_l4_dst, > + mac_ipv4_gre_ipv4_tcp_all, > + mac_ipv4_gre_ipv4_tcp_ipv4, > + ] > + > +mac_ipv6_gre_ipv4_tcp =3D > [eval(str(each).replace('ipv4_gre_ipv4','ipv6_gre_ipv4').replace('IP()','= IPv6()') > + .replace('eth / ipv4','eth / ipv6')) for > +each in mac_ipv4_gre_ipv4_tcp] > + > +mac_ipv4_gre_ipv6_tcp =3D [ > + mac_ipv4_gre_ipv6_tcp_l3_src, > + mac_ipv4_gre_ipv6_tcp_l3_dst, > + mac_ipv4_gre_ipv6_tcp_l4_src, > + mac_ipv4_gre_ipv6_tcp_l4_dst, > + mac_ipv4_gre_ipv6_tcp_l3_src_l4_src, > + mac_ipv4_gre_ipv6_tcp_l3_src_l4_dst, > + mac_ipv4_gre_ipv6_tcp_l3_dst_l4_src, > + mac_ipv4_gre_ipv6_tcp_l3_dst_l4_dst, > + mac_ipv4_gre_ipv6_tcp_all, > + mac_ipv4_gre_ipv6_tcp_ipv6, > + ] > + > +mac_ipv6_gre_ipv6_tcp =3D > [eval(str(each).replace('ipv4_gre_ipv6','ipv6_gre_ipv6').replace('IP()','= IPv6()') > + .replace('eth / ipv4','eth / ipv6')) for > +each in mac_ipv4_gre_ipv6_tcp] > + > +mac_ipv4_gre_ipv4_udp =3D > +[eval(str(each).replace('tcp','udp').replace('TCP','UDP').replace('prot > +o=3D6','proto=3D17')) for each in mac_ipv4_gre_ipv4_tcp] > + > +mac_ipv6_gre_ipv4_udp =3D > +[eval(str(each).replace('tcp','udp').replace('TCP','UDP').replace('prot > +o=3D6','proto=3D17')) for each in mac_ipv6_gre_ipv4_tcp] > + > +mac_ipv4_gre_ipv6_udp =3D > +[eval(str(each).replace('tcp','udp').replace('TCP','UDP').replace('nh=3D= 6 > +','nh=3D17')) for each in mac_ipv4_gre_ipv6_tcp] > + > +mac_ipv6_gre_ipv6_udp =3D > +[eval(str(each).replace('tcp','udp').replace('TCP','UDP').replace('nh=3D= 6 > +','nh=3D17')) for each in mac_ipv6_gre_ipv6_tcp] > + > +mac_ipv4_gre_ipv4_symmetric =3D { > + 'sub_casename': 'mac_ipv4_gre_ipv4_symmetric', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2")/("X"*480)' % vf0_mac, > + 'action': {'save_hash': 'ipv4'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1")/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv4'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2",proto=3D6)/("X"*480)' % vf0_mac, > + 'action': {'save_hash': 'ipv4-proto'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1",proto=3D6)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv4-proto'}, > + }, > + ], > +} > + > +mac_ipv6_gre_ipv4_symmetric =3D > eval(str(mac_ipv4_gre_ipv4_symmetric).replace('ipv4_gre_ipv4','ipv6_gre_i= p > v4').replace('IP()','IPv6()') > + .replace('eth / ipv4','eth / ipv6')) > + > +mac_ipv4_gre_ipv6_symmetric =3D { > + 'sub_casename': 'mac_ipv4_gre_ipv6_symmetric', > + 'port_id': 0, > + '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', > + 'test': [ > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)' % > vf0_mac, > + 'action': {'save_hash': 'ipv6'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",src=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)' % > vf0_mac, > + 'action': {'check_hash_same': 'ipv6'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", nh=3D6)/("X"*480)= ' % > vf0_mac, > + 'action': {'save_hash': 'ipv6-nh'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",src=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", nh=3D6)/("X"*480)= ' % > vf0_mac, > + 'action': {'check_hash_same': 'ipv6-nh'}, > + }, > + ], > +} > + > +mac_ipv6_gre_ipv6_symmetric =3D > eval(str(mac_ipv4_gre_ipv6_symmetric).replace('ipv4_gre_ipv6','ipv6_gre_i= p > v6').replace('IP()','IPv6()') > + .replace('eth / ipv4','eth / ipv6')) > + > +mac_ipv4_gre_ipv4_tcp_symmetric =3D { > + 'sub_casename': 'mac_ipv4_gre_ipv4_tcp_symmetric', > + 'port_id': 0, > + '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 e= nd > / end', > + 'test': [ > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2")/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf0_mac, > + 'action': {'save_hash': 'ipv4'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1")/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv4'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2")/TCP(sport=3D23,dport=3D22)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv4'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2",proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf= 0_mac, > + 'action': {'save_hash': 'ipv4-proto'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.2", > src=3D"192.168.0.1",proto=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf= 0_mac, > + 'action': {'check_hash_same': 'ipv4-proto'}, > + }, > + { > + 'send_packet': 'Ether(dst=3D"%s")/IP()/GRE()/IP(dst=3D"192.1= 68.0.1", > src=3D"192.168.0.2",proto=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)' % vf= 0_mac, > + 'action': {'check_hash_same': 'ipv4-proto'}, > + }, > + ], > +} > + > +mac_ipv6_gre_ipv4_tcp_symmetric =3D > eval(str(mac_ipv4_gre_ipv4_tcp_symmetric).replace('ipv4_gre_ipv4','ipv6_g= r > e_ipv4').replace('IP()','IPv6()') > + .replace('eth / ipv4','eth / ipv6')) > + > +mac_ipv4_gre_ipv6_tcp_symmetric =3D { > + 'sub_casename': 'mac_ipv4_gre_ipv6_tcp_symmetric', > + 'port_id': 0, > + '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 e= nd > / end', > + 'test': [ > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=3D22,dp > ort=3D23)/("X"*480)' % vf0_mac, > + 'action': {'save_hash': 'ipv6'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",src=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=3D22,dp= o > rt=3D23)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv6'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=3D23,dp > ort=3D22)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv6'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", > nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf0_mac, > + 'action': {'save_hash': 'ipv6-nh'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(dst=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",src=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", > nh=3D6)/TCP(sport=3D22,dport=3D23)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv6-nh'}, > + }, > + { > + 'send_packet': > 'Ether(dst=3D"%s")/IP()/GRE()/IPv6(src=3D"ABAB:910B:6666:3457:8295:3333:1= 800 > :2929",dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", > nh=3D6)/TCP(sport=3D23,dport=3D22)/("X"*480)' % vf0_mac, > + 'action': {'check_hash_same': 'ipv6-nh'}, > + }, > + ], > +} > + > +mac_ipv6_gre_ipv6_tcp_symmetric =3D > eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('ipv4_gre_ipv6','ipv6_g= r > e_ipv6').replace('IP()','IPv6()') > + .replace('eth / ipv4','eth / ipv6')) > + > +mac_ipv4_gre_ipv4_udp_symmetric =3D > +eval(str(mac_ipv4_gre_ipv4_tcp_symmetric).replace('tcp','udp').replace( > +'TCP','UDP').replace('proto=3D6','proto=3D17')) > + > +mac_ipv6_gre_ipv4_udp_symmetric =3D > +eval(str(mac_ipv6_gre_ipv4_tcp_symmetric).replace('tcp','udp').replace( > +'TCP','UDP').replace('proto=3D6','proto=3D17')) > + > +mac_ipv4_gre_ipv6_udp_symmetric =3D > +eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace( > +'TCP','UDP').replace('proto=3D6','proto=3D17')) > + > +mac_ipv6_gre_ipv6_udp_symmetric =3D > +eval(str(mac_ipv6_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace( > +'TCP','UDP').replace('proto=3D6','proto=3D17')) > +#gre tunnel end > + > class AdvancedIavfRSSTest(TestCase): >=20 > def set_up_all(self): > @@ -4451,6 +5376,78 @@ class AdvancedIavfRSSTest(TestCase): > self.rssprocess.handle_tests(tests, 0) > self.verify(not self.rssprocess.error_msgs, 'some subcases faile= d') >=20 > + def test_mac_ipv4_gre_ipv4(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4) > + > + def test_mac_ipv6_gre_ipv4(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4) > + > + def test_mac_ipv4_gre_ipv6(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6) > + > + def test_mac_ipv6_gre_ipv6(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6) > + > + def test_mac_ipv4_gre_ipv4_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4_tcp) > + > + def test_mac_ipv6_gre_ipv4_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4_tcp) > + > + def test_mac_ipv4_gre_ipv6_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6_tcp) > + > + def test_mac_ipv6_gre_ipv6_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6_tcp) > + > + def test_mac_ipv4_gre_ipv4_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4_udp) > + > + def test_mac_ipv6_gre_ipv4_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4_udp) > + > + def test_mac_ipv4_gre_ipv6_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6_udp) > + > + def test_mac_ipv6_gre_ipv6_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6_udp) > + > + def test_symmetric_mac_ipv4_gre_ipv4(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv4(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4_symmetric) > + > + def test_symmetric_mac_ipv4_gre_ipv6(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv6(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6_symmetric) > + > + def test_symmetric_mac_ipv4_gre_ipv4_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4_tcp_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv4_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4_tcp_symmetric) > + > + def test_symmetric_mac_ipv4_gre_ipv6_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6_tcp_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv6_tcp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6_tcp_symmetric) > + > + def test_symmetric_mac_ipv4_gre_ipv4_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v4_udp_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv4_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v4_udp_symmetric) > + > + def test_symmetric_mac_ipv4_gre_ipv6_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv4_gre_i= p > + v6_udp_symmetric) > + > + def test_symmetric_mac_ipv6_gre_ipv6_udp(self): > + > + self.rssprocess.handle_rss_distribute_cases(cases_info=3Dmac_ipv6_gre_i= p > + v6_udp_symmetric) > + > def tear_down(self): > # destroy all flow rule on port 0 > self.dut.send_command("flow flush 0", timeout=3D1) > -- > 2.17.1