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 6EADEA0C43; Wed, 15 Sep 2021 05:28:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6209140E25; Wed, 15 Sep 2021 05:28:43 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CAFA640E25 for ; Wed, 15 Sep 2021 05:28:41 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="209291525" X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="209291525" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 20:28:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="433959509" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga003.jf.intel.com with ESMTP; 14 Sep 2021 20:28:40 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 14 Sep 2021 20:28:40 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 14 Sep 2021 20:28:40 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 14 Sep 2021 20:28:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nP6Ge0veKCKpmyQMAmVx2L5VwO7d0Z4Q+LRtUBiHJufZ5H/OmnOMTdgTjwd1zvxfp+ZsKwvJ9reDUZ/oow9KVgQBqfJxgZsZYwYL000sz+An79LhpMUkyEr/tZmuZCFvlRQklVNExnAnoDLKEqENX7JZSfk3VUNMEZ16Mbwh4R1ie5pbbkPoxlVkCxFnAuaIQe2Dst7FyGkc0vAr9MvHahNaubic02u3+9eA9PwHEIwD00sLyCpM2o5kHGeRbTd9w3AlA1hTSRdAEQSJ2RlziCsqYJX8ABe+e2U8/V3d58Um69zkaSuUu4Akkmu6J3DWFlr51/Nb6vfEh1UM6jr3tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Vxt/QNUhowvNnybG9bOFcalZZ3uGcI5vcoQxhQ8KjTI=; b=e5N8m1ycz8bxlWKJTlDtmWHBpotyOUI3vMsdf3b75OiNdMrmGcp+ubG35w8SthZTfJmg/kzYSsqJbxbgfHupsGBbxxVKOegYUkV5rR2FMUeBYRqlhIcVMJGozrXEdvjr88SjHJp06pH+z8AjlN+JMt8fVVGrX2c+CSJCvl98l9S58iOFZLExtD1MHy2NiA20FAQTrDK7KgjhdcIPHGxSHB91mgKo8fg+mPDWsJsin/v8bIIRv+gPqggJy9kXdslxbbfypxh6FrMqkV2wxf+vIY7mb6pW0/aXd7wX+a5F2jyaUlW9T8HEjXIZyILnnroDvPA2UlSJzQbsbuRckswJRg== 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=Vxt/QNUhowvNnybG9bOFcalZZ3uGcI5vcoQxhQ8KjTI=; b=QS1ev5rkr0S5sw+m+8VrsukuzLcvayOxVn0xbfD2s1I7c51xA3j018+y5MOA4MjfODHk406ESQsmy0unNm4Vf6ADxKNAk7ix9b2SAvY+VZVulljaPQbBNwQx4NNzn3EykXQeI9b29xxkCJgKvQFAd6Mt89seeF4cLXAGXXwXnnw= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR11MB4083.namprd11.prod.outlook.com (2603:10b6:405:7a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Wed, 15 Sep 2021 03:28:37 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::dc53:d62d:2e6:2ee9]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::dc53:d62d:2e6:2ee9%6]) with mapi id 15.20.4500.019; Wed, 15 Sep 2021 03:28:37 +0000 From: "Lin, Xueqin" To: "Huang, ZhiminX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V2 4/4] tests/iavf_fdir:add esp flow test case Thread-Index: AQHXqUy+qm07qnUIrUOoolQHOWKnDKukcNsA Date: Wed, 15 Sep 2021 03:28:37 +0000 Message-ID: References: <20210914181204.20088-1-zhiminx.huang@intel.com> <20210914181204.20088-5-zhiminx.huang@intel.com> In-Reply-To: <20210914181204.20088-5-zhiminx.huang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 603eccb8-984e-448b-0dfc-08d977f8e816 x-ms-traffictypediagnostic: BN6PR11MB4083: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:134; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: y5qHA49NCTwyzfSiMdKNHzJusLe3A9jhSfcVfGcWynXSbzGb7lTH+pIISR1pRR/zomSm6y98zaX6Yh2C0yblkVJJJLA0q7n3BST43EHXJnOxk+AjHAW7Y0pup6rVRyQD0XVQAeVoTG8QAERhcEadfFDPsHYRYYC3ZzS/6B5hpWEoTb/eviTxqmTRWvieBHMPKscanMXT5LWO1DoG5e0NcgGzNeSo1QL9FERMtSO0btrxJP3Mfrb25b5kWlAfkoY+iI+sn5366X55pJsHyUCG6mLwSB7DpX6TXcVhuNI3GaxZfQq+Suc29uEdQaV9TYC0+v8HojZJmpxNcqRRYdacEsnM/DVK4EM/Zfk8w+CI5Vzwe+pZe3yjwKBuV3PuQ1lD/KSsmrodQ7mBoM3xfLkIKhdp6G6wlISETMbhokR+x3lAUNmQXGnDfTBL/JOe3bQypB0xo+o1Bf6FP8jhM/4+TK3n3N3LVVz86xmkTlYCdgcEdQLRaZAkFpriYh4YH/VbAPvQek8Z0+kXloNlSu7fo0X5ug4PKbnA78NhsjCwRquz45QD8QaCjgIsxaIxPdd/zzl68omwG4RvXoIPrgxnjl0YlCZD/+EARIPvqtSPn0rCN9O3N4jyv9kAdPh6B72FUsVSH/G+UwbaOOas291fee7umyT3ErGpQIA2kKHvq+GxRWXKgpt5x69yVb4ksXJNvEafHhxn2M3s0nJ7qEVZTw== 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)(39860400002)(396003)(366004)(136003)(346002)(376002)(30864003)(52536014)(186003)(38070700005)(33656002)(110136005)(86362001)(53546011)(83380400001)(6506007)(316002)(5660300002)(8936002)(71200400001)(8676002)(122000001)(26005)(9686003)(38100700002)(7696005)(66946007)(66446008)(478600001)(66476007)(55016002)(64756008)(76116006)(66556008)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4gU5I+KZw/pTvafzJMQp/c8bd7thZoBcNoJb6ZQXw73pYP43zKSac2/cSqnj?= =?us-ascii?Q?sDfcOwvPbHxJkDeIaNmUFzVYKD3B3PaqCyaV0Jtlsggel0zGuOcC/+wP8itq?= =?us-ascii?Q?84Fpz5LF8lEkYKSVJ07tCbQm3D482T8jvmboc8kNrzYsddQqfvTCy4P7x+0N?= =?us-ascii?Q?w9WHUTtyPWhQfI1lO4MAbUWHh+I6GRDDX1iRN6B0VTv7kc4T6fiQZypJ0fGP?= =?us-ascii?Q?S/FUn4CLeKQs0SKJR0gpIKrlsyNhQjitmO2jD+veJOIMWINkzT16DUN8ecBy?= =?us-ascii?Q?+deFRN2Ir7603SWhrdM/J8QvGgo2qK1j66TBi8rYXRxiMK/N/PxIEQGQeAha?= =?us-ascii?Q?q0GmVSWLQpzf7cfNBUaoHNYe83EBDDWLN/r2OpoZ1GJJ5XamlEc9BKT/YQM4?= =?us-ascii?Q?F9r8GqIvhvxRB9ZWvYmyp8/XZ0n3YmuHgQlH+X5Y7MWiSZUvMGHrztjwY3I2?= =?us-ascii?Q?L+9xn4FPzFqv3jnCLcJ82Ma6PvDVO+1ZUrEmSt1+LSoxxAvODbTzQVhQlnag?= =?us-ascii?Q?vewqadG3sj4Z1AmC9X69YwnyFl2RbgnL0J1hWmnCjMwwAnsFfC4NNqvhXIGj?= =?us-ascii?Q?9imv2kVIejrNIc+blRKb05K0pVpxNqzHU4lAtUaNthBITIPyK+IUJ2TKfZ4J?= =?us-ascii?Q?i5PKOG76Lazhu13HRWqjMRCmbMN1urp9fE/QczZFh4Zt8mgwCXyvHRY/bPzB?= =?us-ascii?Q?wDkY8coxJDdCUNSIm3Vvt66uWEK7ZNnCL4OGdOobQCaSEg7pH7SHpv8l9eLR?= =?us-ascii?Q?A6Tqz+ZQL8Dlr8GhIQPajRF/Gz51KX6TpIes1kCkJkf2PBjwNUWAOGyJoiTW?= =?us-ascii?Q?piaX8zft0aFD3m9lkm0s/Yc03wwSwSDjb+dxuvMhP3YTYps0NR1RfnSJPOqZ?= =?us-ascii?Q?DVGzYgfMafa67HKZlW9tTE2bm3m2eBTHsGQjrGdDFi+WPuEsY4UJHOmJn2wN?= =?us-ascii?Q?RSaqflJHh/BYDSQ8jcZba0vxcedM8GcDMIHjXUctpUZbOa2B7hZLjnHWNe16?= =?us-ascii?Q?JocmZc3MusEHbIoHdGKIqWDmysUkU3yL0QUz9QWBdYJ06OuUBudum98Y6hup?= =?us-ascii?Q?3w1rEnAyM4+73QxkxghznTUub73+DMobtfPh+8TX5ui6SrUkkgV9kT+wGGRS?= =?us-ascii?Q?RrHtxifh/6ZhzLWQ+bw/Z/mhmdDW3utHtYbqWrRpPkrXcwhWvZrL1m1Te0Vo?= =?us-ascii?Q?TjUvigypqfUauhe8pzkbO+UDw17iiz6Aahcfhpv0xaWVkOxfVCqN3H5DaNvr?= =?us-ascii?Q?MA8iIJPD4/GVhugf8UkPJXJE3UaaMIcggcTMydltcD0r9AGeXK5Drn+dUCDp?= =?us-ascii?Q?tgMBxvgjHEYsrfe1oH6cOFgi?= 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: 603eccb8-984e-448b-0dfc-08d977f8e816 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 03:28:37.7850 (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: U2Uldb6jd4/QBMV72H+fEmwFP45lAvSvnIyAPuXScXkz2WtaIbnA6RtPx7ZK+OhNlimri+JT6fJHvS/W2r5zEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4083 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 4/4] tests/iavf_fdir:add esp flow test case 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: Huang, ZhiminX > Sent: Wednesday, September 15, 2021 2:12 AM > To: dts@dpdk.org > Cc: Lin, Xueqin ; Huang, ZhiminX > > Subject: [dts] [PATCH V2 4/4] tests/iavf_fdir:add esp flow test case >=20 > add 21.08 new feature testcase,this feature support esp flow to match out= er > ip header. > take ip src/dst and spi for inputset,add 4 new cases in iavf_fdir test su= ite. >=20 > Signed-off-by: Zhimin Huang Acked-by: Xueqin Lin > --- > tests/TestSuite_iavf_fdir.py | 162 +++++++++++++++++++++++++++-------- > 1 file changed, 128 insertions(+), 34 deletions(-) >=20 > diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py = index > 74771afe..fc51878a 100644 > --- a/tests/TestSuite_iavf_fdir.py > +++ b/tests/TestSuite_iavf_fdir.py > @@ -274,18 +274,22 @@ MAC_IPV6_L2TPv3 =3D { >=20 > MAC_IPV4_ESP =3D { > "match": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.3",proto=3D50)/ESP(= spi=3D7)/R > aw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.1.3",proto=3D50)/ESP(= spi=3D7)/R > aw("x"*480)'], > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.16= 8.0.2 > + 1",proto=3D50)/ESP(spi=3D7)/Raw("x"*480)'], > "mismatch": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.3",proto=3D50)/ESP(= spi=3D17)/ > Raw("x"*480)'] > + > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.22",dst=3D"192.168.= 0.21",pr > oto=3D50)/ESP(spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.168.= 0.11",pr > oto=3D50)/ESP(spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.168.= 0.21",pr > oto=3D50)/ESP(spi=3D17)/Raw("x"*480)' > + ] > } >=20 > MAC_IPV6_ESP =3D { > "match": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:8888",nh=3D50)/ESP(spi=3D7)/Raw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:9999",nh=3D50)/ESP(spi=3D7)/Raw("x"*480)'], > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::2",= nh=3D50 > + )/ESP(spi=3D7)/Raw("x"*480)'], > "mismatch": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:8888",nh=3D50)/ESP(spi=3D17)/Raw("x"*480)'] > + > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::8",dst=3D"2001::2",nh= =3D50)/ESP > (spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::9",nh= =3D50)/ESP > (spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::2",nh= =3D50)/ESP > (spi=3D17)/Raw("x"*480)' > + ] > } >=20 > MAC_IPV4_AH =3D { > @@ -306,20 +310,20 @@ MAC_IPV6_AH =3D { >=20 > MAC_IPV4_NAT_T_ESP =3D { > "match": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20")/UDP(dport=3D45= 00)/ES > P(spi=3D2)/Raw("x"*480)'], > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.16= 8.0.2 > + 1")/UDP(dport=3D4500)/ESP(spi=3D7)/Raw("x"*480)'], > "mismatch": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.10.20")/UDP(dport=3D4= 500)/E > SP(spi=3D2)/Raw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20")/UDP(dport=3D45= 00)/ES > P(spi=3D12)/Raw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IP(dst=3D"192.168.0.20")/UDP(dport=3D45= 00)/ES > P(spi=3D2)/Raw("x"*480)'] > + > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.22",dst=3D"192.168.= 0.21")/U > DP(dport=3D4500)/ESP(spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.168.= 0.11")/U > DP(dport=3D4500)/ESP(spi=3D7)/Raw("x"*480)', > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IP(src=3D"192.168.0.20",dst=3D"192.16= 8.0.2 > + 1")/UDP(dport=3D4500)/ESP(spi=3D17)/Raw("x"*480)'] > } >=20 > MAC_IPV6_NAT_T_ESP =3D { > "match": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(dst=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:8888")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw("x"*480)'], > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::2")= /UDP( > + dport=3D4500)/ESP(spi=3D7)/Raw("x"*480)'], > "mismatch": [ > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(dst=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:8888")/UDP(dport=3D4500)/ESP(spi=3D12)/Raw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(dst=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:9999")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw("x"*480)', > - > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"1111:2222:3333:4444:5555:66= 66:7 > 777:8888")/UDP(dport=3D4500)/ESP(spi=3D2)/Raw("x"*480)'] > + > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::8",dst=3D"2001::2")/U= DP(dpor > t=3D4500)/ESP(spi=3D7)/Raw("x"*480)', > + > 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::9")/U= DP(dpor > t=3D4500)/ESP(spi=3D7)/Raw("x"*480)', > + > + 'Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"2001::1",dst=3D"2001::2")= /UDP( > + dport=3D4500)/ESP(spi=3D17)/Raw("x"*480)'] > } >=20 > L2_Ethertype =3D [ > @@ -2126,44 +2130,86 @@ tv_mac_ipv6_l2tpv3_mark =3D { >=20 > tv_mac_ipv4_esp_queue_index =3D { > "name": "test_mac_ipv4_esp_queue_index", > - "rule": "flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / e= nd actions > queue index 13 / mark id 7 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions queue > + index 13 / mark id 7 / end", > "scapy_str": MAC_IPV4_ESP, > "check_param": {"port_id": 0, "queue": 13, "mark_id": 7} } >=20 > tv_mac_ipv4_esp_queue_group =3D { > "name": "test_mac_ipv4_esp_queue_group", > - "rule": "flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / e= nd actions > rss queues 1 2 3 4 end / mark id 6 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions rss > + queues 1 2 3 4 end / mark id 6 / end", > "scapy_str": MAC_IPV4_ESP, > "check_param": {"port_id": 0, "queue": [1, 2, 3, 4], "mark_id": 6} = } >=20 > +tv_mac_ipv4_esp_passthru =3D { > + "name": "test_mac_ipv4_esp_passthru", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / esp spi is 7 / end actions passthru / mark id 1 / end", > + "scapy_str": MAC_IPV4_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 1} } > + > +tv_mac_ipv4_esp_drop =3D { > + "name": "test_mac_ipv4_esp_drop", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / esp spi is 7 / end actions drop / end", > + "scapy_str": MAC_IPV4_ESP, > + "check_param": {"port_id": 0, "drop": 1} } > + > +tv_mac_ipv4_esp_mark_rss =3D { > + "name": "test_mac_ipv4_esp_mark_rss", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / esp spi is 7 / end actions mark id 2 / rss / end", > + "scapy_str": MAC_IPV4_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 2} } > + > tv_mac_ipv4_esp_mark =3D { > "name": "test_mac_ipv4_esp_mark", > - "rule": "flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / e= nd actions > mark id 15 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions mark id > + 15 / end", > "scapy_str": MAC_IPV4_ESP, > - "check_param": {"port_id": 0, "passthru": 1, "mark_id": 15} > + "check_param": {"port_id": 0, "mark_id": 15} > } >=20 > tv_mac_ipv6_esp_queue_index =3D { > "name": "test_mac_ipv6_esp_queue_index", > - "rule": "flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / e= nd actions > queue index 13 / mark id 7 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / esp spi is 7 / end actions queue index 13 / mark id 7 > + / end", > "scapy_str": MAC_IPV6_ESP, > "check_param": {"port_id": 0, "queue": 13, "mark_id": 7} } >=20 > tv_mac_ipv6_esp_queue_group =3D { > "name": "test_mac_ipv6_esp_queue_group", > - "rule": "flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / e= nd actions > rss queues 1 2 3 4 end / mark id 6 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / esp spi is 7 / end actions rss queues 1 2 3 4 end / > + mark id 6 / end", > "scapy_str": MAC_IPV6_ESP, > "check_param": {"port_id": 0, "queue": [1, 2, 3, 4], "mark_id": 6} = } >=20 > +tv_mac_ipv6_esp_passthru =3D { > + "name": "test_mac_ipv6_esp_passthru", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / esp spi is 7 / end actions passthru / mark id 1 / end", > + "scapy_str": MAC_IPV6_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 1} } > + > +tv_mac_ipv6_esp_drop =3D { > + "name": "test_mac_ipv6_esp_drop", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / esp spi is 7 / end actions drop / end", > + "scapy_str": MAC_IPV6_ESP, > + "check_param": {"port_id": 0, "drop": 1} } > + > +tv_mac_ipv6_esp_mark_rss =3D { > + "name": "test_mac_ipv6_esp_mark_rss", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / esp spi is 7 / end actions mark id 2 / rss / end", > + "scapy_str": MAC_IPV6_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 2} } > + > tv_mac_ipv6_esp_mark =3D { > "name": "test_mac_ipv6_esp_mark", > - "rule": "flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / e= nd actions > mark id 15 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / esp spi is 7 / end actions mark id 15 / end", > "scapy_str": MAC_IPV6_ESP, > - "check_param": {"port_id": 0, "passthru": 1, "mark_id": 15} > + "check_param": {"port_id": 0, "mark_id": 15} > } >=20 > tv_mac_ipv4_ah_queue_index =3D { > @@ -2210,44 +2256,86 @@ tv_mac_ipv6_ah_mark =3D { >=20 > tv_mac_ipv4_nat_t_esp_queue_index =3D { > "name": "test_mac_ipv4_nat_t_esp_queue_index", > - "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 / udp / > esp spi is 2 / end actions queue index 13 / mark id 7 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions > + queue index 13 / mark id 7 / end", > "scapy_str": MAC_IPV4_NAT_T_ESP, > "check_param": {"port_id": 0, "queue": 13, "mark_id": 7} } >=20 > tv_mac_ipv4_nat_t_esp_queue_group =3D { > "name": "test_mac_ipv4_nat_t_esp_queue_group", > - "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 / udp / > esp spi is 2 / end actions rss queues 1 2 3 4 end / mark id 6 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions > + rss queues 1 2 3 4 end / mark id 6 / end", > "scapy_str": MAC_IPV4_NAT_T_ESP, > "check_param": {"port_id": 0, "queue": [1, 2, 3, 4], "mark_id": 6} = } >=20 > +tv_mac_ipv4_nat_t_esp_passthru =3D { > + "name": "test_mac_ipv4_nat_t_esp_passthru", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / udp / esp spi is 7 / end actions passthru / mark id 1 / en= d", > + "scapy_str": MAC_IPV4_NAT_T_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 1} } > + > +tv_mac_ipv4_nat_t_esp_drop =3D { > + "name": "test_mac_ipv4_nat_t_esp_drop", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / udp / esp spi is 7 / end actions drop / end", > + "scapy_str": MAC_IPV4_NAT_T_ESP, > + "check_param": {"port_id": 0, "drop": 1} } > + > +tv_mac_ipv4_nat_t_esp_mark_rss =3D { > + "name": "test_mac_ipv4_nat_t_esp_mark_rss", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 dst is > 192.168.0.21 / udp / esp spi is 7 / end actions mark id 2 / rss / end", > + "scapy_str": MAC_IPV4_NAT_T_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 2} } > + > tv_mac_ipv4_nat_t_esp_mark =3D { > "name": "test_mac_ipv4_nat_t_esp_mark", > - "rule": "flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2= 0 / udp / > esp spi is 2 / end actions mark id 15 / end", > + "rule": "flow create 0 ingress pattern eth / ipv4 src is > + 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions > + mark id 15 / end", > "scapy_str": MAC_IPV4_NAT_T_ESP, > - "check_param": {"port_id": 0, "passthru": 1, "mark_id": 15} > + "check_param": {"port_id": 0, "mark_id": 15} > } >=20 > tv_mac_ipv6_nat_t_esp_queue_index =3D { > "name": "test_mac_ipv6_nat_t_esp_queue_index", > - "rule": "flow create 0 ingress pattern eth / ipv6 dst is > 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end action= s > queue index 13 / mark id 7 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / udp / esp spi is 7 / end actions queue index 13 / > + mark id 7 / end", > "scapy_str": MAC_IPV6_NAT_T_ESP, > "check_param": {"port_id": 0, "queue": 13, "mark_id": 7} } >=20 > tv_mac_ipv6_nat_t_esp_queue_group =3D { > "name": "test_mac_ipv6_nat_t_esp_queue_group", > - "rule": "flow create 0 ingress pattern eth / ipv6 dst is > 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end action= s > rss queues 1 2 3 4 end / mark id 6 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / udp / esp spi is 7 / end actions rss queues 1 2 3 4 > + end / mark id 6 / end", > "scapy_str": MAC_IPV6_NAT_T_ESP, > "check_param": {"port_id": 0, "queue": [1, 2, 3, 4], "mark_id": 6} = } >=20 > +tv_mac_ipv6_nat_t_esp_passthru =3D { > + "name": "test_mac_ipv6_nat_t_esp_passthru", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / udp / esp spi is 7 / end actions passthru / mark id 1 / end", > + "scapy_str": MAC_IPV6_NAT_T_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 1} } > + > +tv_mac_ipv6_nat_t_esp_drop =3D { > + "name": "test_mac_ipv6_nat_t_esp_drop", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / udp / esp spi is 7 / end actions drop / end", > + "scapy_str": MAC_IPV6_NAT_T_ESP, > + "check_param": {"port_id": 0, "drop": 1} } > + > +tv_mac_ipv6_nat_t_esp_mark_rss =3D { > + "name": "test_mac_ipv6_nat_t_esp_mark_rss", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst= is 2001::2 > / udp / esp spi is 7 / end actions mark id 2 / rss / end", > + "scapy_str": MAC_IPV6_NAT_T_ESP, > + "check_param": {"port_id": 0, "passthru": 1, "mark_id": 2} } > + > tv_mac_ipv6_nat_t_esp_mark =3D { > "name": "test_mac_ipv6_nat_t_esp_mark", > - "rule": "flow create 0 ingress pattern eth / ipv6 dst is > 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end action= s > mark id 15 / end", > + "rule": "flow create 0 ingress pattern eth / ipv6 src is 2001::1 > + dst is 2001::2 / udp / esp spi is 7 / end actions mark id 15 / end", > "scapy_str": MAC_IPV6_NAT_T_ESP, > - "check_param": {"port_id": 0, "passthru": 1, "mark_id": 15} > + "check_param": {"port_id": 0, "mark_id": 15} > } >=20 > # mac_ipv4_tcp_without_input_set > @@ -6902,17 +6990,23 @@ vectors_ipv4_l2tpv3 =3D > [tv_mac_ipv4_l2tpv3_queue_index, tv_mac_ipv4_l2tpv3_queue_ >=20 > vectors_ipv6_l2tpv3 =3D [tv_mac_ipv6_l2tpv3_queue_index, > tv_mac_ipv6_l2tpv3_queue_group, tv_mac_ipv6_l2tpv3_mark] >=20 > -vectors_ipv4_esp =3D [tv_mac_ipv4_esp_queue_index, > tv_mac_ipv4_esp_queue_group, tv_mac_ipv4_esp_mark] > +vectors_ipv4_esp =3D [tv_mac_ipv4_esp_queue_index, > tv_mac_ipv4_esp_queue_group, tv_mac_ipv4_esp_mark, > + tv_mac_ipv4_esp_drop, tv_mac_ipv4_esp_mark_rss, > +tv_mac_ipv4_esp_passthru] >=20 > -vectors_ipv6_esp =3D [tv_mac_ipv6_esp_queue_index, > tv_mac_ipv6_esp_queue_group, tv_mac_ipv6_esp_mark] > +vectors_ipv6_esp =3D [tv_mac_ipv6_esp_queue_index, > tv_mac_ipv6_esp_queue_group, tv_mac_ipv6_esp_mark, > + tv_mac_ipv6_esp_drop, tv_mac_ipv6_esp_mark_rss, > +tv_mac_ipv6_esp_passthru] >=20 > vectors_ipv4_ah =3D [tv_mac_ipv4_ah_queue_index, > tv_mac_ipv4_ah_queue_group, tv_mac_ipv4_ah_mark] >=20 > vectors_ipv6_ah =3D [tv_mac_ipv6_ah_queue_index, > tv_mac_ipv6_ah_queue_group, tv_mac_ipv6_ah_mark] >=20 > -vectors_ipv4_nat_t_esp =3D [tv_mac_ipv4_nat_t_esp_queue_index, > tv_mac_ipv4_nat_t_esp_queue_group, tv_mac_ipv4_nat_t_esp_mark] > +vectors_ipv4_nat_t_esp =3D [tv_mac_ipv4_nat_t_esp_queue_index, > tv_mac_ipv4_nat_t_esp_queue_group, > + tv_mac_ipv4_nat_t_esp_mark, tv_mac_ipv4_nat_t_= esp_drop, > tv_mac_ipv4_nat_t_esp_mark_rss, > + tv_mac_ipv4_nat_t_esp_passthru] >=20 > -vectors_ipv6_nat_t_esp =3D [tv_mac_ipv6_nat_t_esp_queue_index, > tv_mac_ipv6_nat_t_esp_queue_group, tv_mac_ipv6_nat_t_esp_mark] > +vectors_ipv6_nat_t_esp =3D [tv_mac_ipv6_nat_t_esp_queue_index, > tv_mac_ipv6_nat_t_esp_queue_group, > + tv_mac_ipv6_nat_t_esp_mark, tv_mac_ipv6_nat_t_= esp_drop, > tv_mac_ipv6_nat_t_esp_mark_rss, > + tv_mac_ipv6_nat_t_esp_passthru] >=20 > vectors_ipv4_tcp_without_input_set =3D > [tv_mac_ipv4_tcp_without_input_set_queue_index, > tv_mac_ipv4_tcp_without_input_set_queue_group, > tv_mac_ipv4_tcp_without_input_set_= mark_rss, > tv_mac_ipv4_tcp_without_input_set_passthru, > -- > 2.17.1