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 0A0BAA0C46; Tue, 24 Aug 2021 08:11:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F21D14014E; Tue, 24 Aug 2021 08:11:10 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 881334014D for ; Tue, 24 Aug 2021 08:11:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10085"; a="215400146" X-IronPort-AV: E=Sophos;i="5.84,346,1620716400"; d="scan'208";a="215400146" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2021 23:11:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,346,1620716400"; d="scan'208";a="455336336" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 23 Aug 2021 23:11:07 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 23 Aug 2021 23:11:06 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 23 Aug 2021 23:11:06 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 23 Aug 2021 23:11:06 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.42) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 23 Aug 2021 23:11:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axaJvcxeunsG0hHcwHn0FVPG50eOlI519Ne7hamdmCmMObMuCbP1igRW1O1briVvkPysigGRbeZ5WBbq9c9O7/WJxZrA+aOpOFbxY0/b47PZRcI6juLC/1QqbI5PfgrMDGE1napaemfa3hNsMpsOJ6RseD/rrePqhrAQq8BqwXgcNxQ2guMWqzw88eLUtPSxIh1opzW9I0FEEY2rSE6tXRyv3HT560VHbAmy+V+OyIjBMnkY3loHAleK2HQf7cZyc+fposYIMOW6pQPvZpb6JT0uRiMaDAVvrr1HaS5SVZ1hnsb+RtLndblK+QcVByY6/Frkv3vkq3HRJ5UNrU6AXA== 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=ynQ+t97cN5hG4QkA0GiyC1XT+o8NAyW2gnoXlTcrkJk=; b=MZUUMhtX9yBoZ7tuGzcJmDHbS2BMqxRaqY8MUO2F8Z4ZJ/w7fWIDILEtPKciMP/MqfUxdp8xY6Sxa6CfNodt9oUbeiwzVG8UH4k9h462+lLV88I/LOioaDpzxVlPfDRxvqerTy5Ok26RGlosRmg+Vo1ftplv6lK+BBD1tCNP/KrAqeUwfyfP0Rc4SqcFlFuZnSDhBg2W+NVDxFLdYnpl8kYlqyU3We8CF5ASL0qRCPjuh5Hx1cDS5Vgh71jw/AcYzwz77arkZ0vi4/ysjowUktJgO9UZVxguG0wY7OAGdB+5IGfeqUG6ccUFvVwgWDYWpEDFDKep/c/QPqlwXjNhSQ== 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=ynQ+t97cN5hG4QkA0GiyC1XT+o8NAyW2gnoXlTcrkJk=; b=CwOpHN/1/sGc02/w5dmOfcPtrhbqdLwKInQ4W8q1+dAXqZWD83TammfW3n+iWIwEuATqZdkvIIeFEAHRjVV9nmzQZLRQqq/Cavljw5u1P1rF7bkuKFU7IE8MrigPPpVym54E1J0Leo9V+KidAzUOb6StXMTnQrLDmkOzITsAWb0= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR1101MB2244.namprd11.prod.outlook.com (2603:10b6:405:52::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Tue, 24 Aug 2021 06:11:04 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::c91b:3041:2acd:a0e5]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::c91b:3041:2acd:a0e5%6]) with mapi id 15.20.4436.024; Tue, 24 Aug 2021 06:11:04 +0000 From: "Lin, Xueqin" To: "Sun, QinX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V3 2/2] tests/cvl_advanced_iavf_rss: add gre inner rss cases for iavf suite Thread-Index: AQHXmI8HVM/+PA1kHE2jBKvm8zzlg6uCLDEQ Date: Tue, 24 Aug 2021 06:11:03 +0000 Message-ID: References: <20210824105413.5872-1-qinx.sun@intel.com> <20210824105413.5872-3-qinx.sun@intel.com> In-Reply-To: <20210824105413.5872-3-qinx.sun@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f8381e5-dbc4-427c-f782-08d966c5f426 x-ms-traffictypediagnostic: BN6PR1101MB2244: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:214; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fATrOvPp2aaESjzhvR6qOwZr0c/4Oc/xv6Ge5v1ARosVIbLjYup2kEfHJD5zOrLzI/RzhGoFdlyKgwXQRTEFI1GGGnBQtewfI8rAgqOXdAogu17LecoOBpvSKuTnbNla+jhMulZgc+rvWJ0FbmL3MLIZ464mf5UcdB6jqgJkPCA6hHVFb1m7WyEaSu4PRki7KE1zr8DBnYNSscnY6/83NMyJY3k0cewxOI8ONBGewGW3QYo2WpQcDrPY8Wc0Y5lHCx57bfMIxF9B2RrgH/K6+HKmIaIdJ1utuHPuX+kcGjFNdB2OW0sO05RN0rQwbvxmMYVx8dAeoLZvqssGzlvUMxGqz2rHc9VlO86e3sLPnm4CIF+P3fgH84Pr3MmnivxpEGmvCknnpo+GjeGCG58NVyO8Hw0ZG7+xVzwIRMqzsPmP5WVOsYhX3LQ0JjjIRH9kgTyRnNAmm2VBOTUe/zmnBMvBsNb/cZepLF7mtXi9KIqBa9TGvw45mLEvcvQug/xW+jyr/gNAZcUgPVgw5wYnCitkPUGURt0qmVN6V5xqyFnUyfCjO7ahdocsmHBfzoxFmB+dMwvN7JqtBKmM5NyCXuDhzrms+mqSjQj60psmD64tC/EzcxmMrHCCVTswkuRY99GaY1oHlg0yu3Q8AMm5kpnGGLSkqxkA9cI8b35BKeyfhbHuAmX1Yonz6vqPZdfDLBKMCx848wV/BrKZrEo/tgC9nn80RUpZXSxOdylLxnk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR11MB2658.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(136003)(376002)(39860400002)(366004)(66446008)(76116006)(26005)(122000001)(2906002)(64756008)(53546011)(66946007)(478600001)(66476007)(316002)(38070700005)(7696005)(66556008)(110136005)(186003)(86362001)(52536014)(8676002)(30864003)(55016002)(8936002)(38100700002)(71200400001)(33656002)(83380400001)(9686003)(6506007)(5660300002)(143363002)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mZo1xkNnsqZjDaJgYLKE3xbVOd/wqi7P3FZed7drieidBwF1QMRE+Iffkhgk?= =?us-ascii?Q?+zOvrx6nsxs0eMbA+5/Pq6kWjdVGtSBGS5MyLRUWi00pC01zgBd1BvXdfjEc?= =?us-ascii?Q?EFuvB9R6W0Hs4zii947rm5ntJkkNGLaJshQKWkDTFpRr6bBar/RBmr4LagJn?= =?us-ascii?Q?O6wi1dVK3K1t78rU8Cx+28Ck0Gf7RmIlsdsQBcmolyMTo64ASLl3yt6yORq6?= =?us-ascii?Q?DiDi4uDNNyzXaWIef8oXQ3iSL7q4Nny/mfumHWAtvmTYcKEskO3CDtWReBwH?= =?us-ascii?Q?7Ht2+TdkyAahgmIZKyUrJ0/+2Kvxj2wKRmlj2+x8c9TJtfS7QuI16P3xWMqm?= =?us-ascii?Q?d0/o2Ok3+RXp2cMbPJZzAxEaQllpyk7rdYDq8w+iUwphLoCZ6V99mejE8UAH?= =?us-ascii?Q?BDnz6JwbUbq/6OGAm0I9BY093l8QUAqAcwfYnCWvpjqLp/nZ9n+7tHfnuBHZ?= =?us-ascii?Q?esKdfg+90hMZp+v59FjrDmKRrY5YNYH3qx9AWvs0TN2GqG5GVJvgEvUQBBI4?= =?us-ascii?Q?pawZnswSYuPDeNTEvSwxUkGdz3lWCZ1jOMknDxFSMYabhgzCUsJsWRd72pwV?= =?us-ascii?Q?9GTwtd3HWV/uMHxKc4Ic0eNxOukYDOfFebqAPUVQjR2NbdmJNFxrllsq6WgJ?= =?us-ascii?Q?0e21cgBQmyQ/nsNlUAMExSopml6AiphMzCy4W2ZilFmW5K+XgTX4T03ke8uv?= =?us-ascii?Q?TR+WQqrJeICR3kTQQYtYbFBiD2vGrOi6rrf7rdAPRSEqoKW55zzUCSLfkw96?= =?us-ascii?Q?h0rkOT0DUzP37s0y4gzDoPmw+Z5NTZzsUYLCL7V/tsMIw+lUzATKHWCPD6HR?= =?us-ascii?Q?tsYFD/p85HAgzAltcoDFSgXt9ZMOSlZDf9fFMbbWXCiwbl1aMPHfOMLJ4R4b?= =?us-ascii?Q?eNV0QpC/kPsaGpNgurvbS7FVI/CaJ5mG+exVpiJYLf2G7/9WS/d/U7kWJpGF?= =?us-ascii?Q?1o+zX8ZCELYEYejL7rD8IWZltaWMuPxoera6cmodwZPVDCA+/GUzzHVjFdci?= =?us-ascii?Q?+acqAJBbhTH/uI7e9g9fMpb4PfSG5F7SbNAM+uXMGsMMjzl0kWLQ3U+UsWmD?= =?us-ascii?Q?6dBEhmIBXWjfMZ7CMJDxJzZugSZ3HlFkj7Smqn/p0JjH61X0OO8fky9pe070?= =?us-ascii?Q?O26iFsrkIwAcWOKEUzCkEtqRurAY7QYJfdWJeFqYJeX8p4BUtyvZvenPEtXp?= =?us-ascii?Q?8co8aQfKMoc3O90ZMAcmHZBOTae4NYFLYzvHqGg+1L/PC8KiCGitF/RrxfBU?= =?us-ascii?Q?m9tXUCT4hJPaPYvMGokwa+2mCk157TMHKww4Xtan1O/BGqFc68FBp2LY42Q2?= =?us-ascii?Q?tQkOFBnsbEFmW5XKiFqjicfs?= 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: 0f8381e5-dbc4-427c-f782-08d966c5f426 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 06:11:03.8391 (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: vt1ISJlEylMyXFYmaWF835T+xuBVqytvJ8JrNZ9s5Cik/a/SITbyVhrbiq9eAECOd+zipFT0Gi004G0XdEnGkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2244 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V3 2/2] tests/cvl_advanced_iavf_rss: add gre inner rss cases for iavf suite X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: Sun, QinX > Sent: Tuesday, August 24, 2021 6:54 PM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Sun, QinX > Subject: [dts] [PATCH V3 2/2] tests/cvl_advanced_iavf_rss: add gre inner = rss > cases for iavf suite >=20 > according to test plan to add 24 new cases related gre inner rss for iavf= suite >=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= 900: > 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:= 390 > +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:9 > 10B: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= pv4' > ).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= pv6' > ).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= re_i > pv4').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,dpo= r > t=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,dpo= r > t=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,dpo= r > t=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= re_i > pv6').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