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 8685AA0C41; Mon, 2 Aug 2021 11:52:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ECF840143; Mon, 2 Aug 2021 11:52:55 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id EC01840140 for ; Mon, 2 Aug 2021 11:52:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10063"; a="193706231" X-IronPort-AV: E=Sophos;i="5.84,288,1620716400"; d="scan'208";a="193706231" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2021 02:52:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,288,1620716400"; d="scan'208";a="520447338" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga002.fm.intel.com with ESMTP; 02 Aug 2021 02:52:20 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 2 Aug 2021 02:52:20 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 2 Aug 2021 02:52:19 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) 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, 2 Aug 2021 02:52:19 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) 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, 2 Aug 2021 02:52:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TV8mlAEEYqxlWGUKVxaXeQ1/4cEKvkWn9qa+S3YbtVFvJctgqG4LwZ9URoEqCizPPe8P/mFvoYEn4qr3OlkvOiOfc6zm6oAczHWg0zf5dSiy3vN+SByZgGNlQ/s9f9KVEJ14tJu3DCdtkKuVPCZ8t9q3wB4BLzEBI+9+zc/BX1o9vF/SW9k4uBVBQ4Cy6Z3ByYVNGvZMz7DBq1em1HCQwNRXP7YkVcj+35f349ANRkB8hJ0zPKXY0otUDIC6JR2exq6TrrMFu8E1omNpEMHwR3AEXeEPMegKcFdhm+aWzNVH/MfPi8lxoI80viX/oXm3RnonRuwf+eTp0W98VPa0Bw== 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=4w4TmjMjawDsX//5VRaF9k843W44tRz4q6VVbOTZM28=; b=XDWwBvh93yTyQqsm3ZQG6mBSWHkLFHvHsZ86/fmU2Mcno0B0sd9naQUu6l9Md0QmynwBdgzt/E0YAf+6qF4IAjk9jndyVKXS5HEvMWuXvUk+Nh8i4kOvzG4yLraByU/5ILfeMZccF3dl31ukgpeHY236R9jJnOaFYZ0MCwHoXecv0fItCf8YABKV4wy8Fr58hO8+yy5c2vt+FNILrY3quyRF3/N45bgaAbeleMqqnKwBmUKtGZN5Cu3mUlWaoqixHPTmF9Hk64xOE8yrqfRx5iiThf5g+I7r06lxVw+E9ATYXbOrGc6zgSWSgLPxP1okBCifzyv3dZMlVDhGXX29gA== 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=4w4TmjMjawDsX//5VRaF9k843W44tRz4q6VVbOTZM28=; b=oB9ydtBJuc4A4qLXc7OWX6Lu5P9ILQ0r5AhwT9PGMe1GvHp4SPYihbG0i8BrSgLIihycfEkZiONXaO5RJ9LDK54jVGpwKrDOMi+tNah97CwtOcjtokH8uhfPN9rmKsuG0tewx0h50oLW8hONUCYZYPYXlJlolyxzcrwojC/1heU= Received: from BN7PR11MB2658.namprd11.prod.outlook.com (2603:10b6:406:ae::16) by BN6PR1101MB2355.namprd11.prod.outlook.com (2603:10b6:404:94::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Mon, 2 Aug 2021 09:52:16 +0000 Received: from BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::152:a489:e4ab:faf3]) by BN7PR11MB2658.namprd11.prod.outlook.com ([fe80::152:a489:e4ab:faf3%5]) with mapi id 15.20.4373.026; Mon, 2 Aug 2021 09:52:16 +0000 From: "Lin, Xueqin" To: "Chen, LingliX" , "dts@dpdk.org" CC: "Chen, LingliX" Thread-Topic: [dts] [PATCH V1] test_plans/generic_flow_api: add two test cases Thread-Index: AQHXhQbtNGbbHMpsf0qIQhhKCBl/86tf/fKg Date: Mon, 2 Aug 2021 09:52:16 +0000 Message-ID: References: <20210730135149.93906-1-linglix.chen@intel.com> In-Reply-To: <20210730135149.93906-1-linglix.chen@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: 80823b7c-b282-465b-9d60-08d9559b3640 x-ms-traffictypediagnostic: BN6PR1101MB2355: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:215; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aFJ3HndfJNXp7MZYP7YRKbIBMT3wCGVlhMu1APeOcew2u7kqJxSeVp3zTJ6mtsxzmcV0V9v1xU8IKjlAGsTpu880PByDBRGWSB0fhiBaxVhjbivdWE9pxR+scfBl+5GsMxMCswlzuW7raQgV9/6AbTnSRiUGCr28zqsbzXbYhvqJESCJNyQV8Gplr+oRPNWCDVWRJ07+lGlmrRSKjNFX2g1PrljWhMsPkFIl9SMwBoQ5IJ6qiBm9O8rDfHy933C0G9OoPT4drJs2t6qWLNEvgMGSzG5Uov0PuAww7oPGn/eEZH8JvtDUPAPbK7+wgG6KIg84tw3Vh+OUhcVq/qLGjFm/liKZbH0W8zqGrnL/twOTDNwlma50LbLizThKBeXtR0smCgAiUq+hypnUEqmGWvbK81ZK9Etp4RHdvgJAvCtaGPqEkz/N8aoBnmoujK0T9+qe/Nisr6QEs/fEw6F962+Hv3VED2zGB3sU7voH4jwxVZAsyJwsnGRLRUInE9aXzkhcwLNu6IrAXmn1OSfiKcgz4hfy+a/RMQsa6YRwLknsF8nEvwzwJQN3K450A/bTOglt2tTXXHFCYs00rOHzieszYA500H5NyXA/+2SJxLpJOLzEZV7KhK9KHhe5JZH9RoWuH7Ia9Uimw+jsEfFPICOiuwQg28/ndAcsKWySlzblMy6VB6+TurobR0FAmmpfx+ZxhaL8cMvqvKAWPU0zPyReKjzCNVCtJE59Q1lRNWo= 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)(376002)(39860400002)(136003)(366004)(396003)(346002)(2906002)(26005)(53546011)(6506007)(122000001)(83380400001)(55016002)(64756008)(66446008)(66556008)(66476007)(66946007)(38100700002)(186003)(7696005)(9686003)(38070700005)(110136005)(8936002)(33656002)(316002)(71200400001)(52536014)(4326008)(5660300002)(478600001)(8676002)(76116006)(107886003)(86362001)(41533002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WcS/zdSPvKx0/FLVbSX58l3QGhCq0UE2E0mG1rigzXI23UnHivZxbMdvARPb?= =?us-ascii?Q?o7O1025v8d+x4uxhLgxi2jThxtXD52kLiZPcZBMAYhVJY087Xr/rD9ulAwxy?= =?us-ascii?Q?7eRLtgN5OVlT2e+0sz0ObwtaMFy40LBCY/U6Y4z0Y6Ko3iQ4LrYLILoCD3cf?= =?us-ascii?Q?ULsxuX+++2je/2LSZlqaf5VQfAkJU7xSLb33XihbJDCBO+hp9y6Ne49dzasT?= =?us-ascii?Q?xCdgmpbjzBYYzmw8NamuD+eYFcWcSJo6jUwBbLe9ycpcgZV25U6GhCEyMYwS?= =?us-ascii?Q?ZtfQyAnJnQ4GMWiyLXbwRAOKg9rT4sv9hzToBd9wnVy/TUEHnroqob8nVob+?= =?us-ascii?Q?1d+o0QXH/7QAMaJDYYavrZLnN0mPNd7USsqKQNI6xb79eqTl1s40HslL8kk6?= =?us-ascii?Q?ry+ChMX6Btd6G88OJuaIjWtK0IrrXrgzdk+6ri4V1e/XWqI8Wxe/tPHsQ0uK?= =?us-ascii?Q?Z9pbzDGq2V/o4laivYmg4XkZdeZKbgLzWc902Lr4hsGpPVdQN19bpaKLQoUk?= =?us-ascii?Q?7MSdwQT1ZdXUUn2RrCEVZrOeGDCcLahQYgziZHVbXz2vyqUjIRIDZQfD0LQm?= =?us-ascii?Q?EoyxB2C6KtUGIeUySa8xvAeCJZgBjW+pc/rQ7kr2jloq8QiwlJjUJ7BCDJtr?= =?us-ascii?Q?x9Cq48TTCiKe1+Qbae+QBUCsWvYA7w5hpA5zr7VEanVTSXQEGEjUglgE+T2V?= =?us-ascii?Q?/rdqB3d+kChNj+XaJ3aEAVzqzEJToqiOUlI+Mm2xpbCKR+CBicd6ex7ySDjv?= =?us-ascii?Q?Czqg5YFh2AEiLmQ13wwUTyx5x/qD7oa2PjzQAyUbmZ1v8+PcTjvxmDzOv8ad?= =?us-ascii?Q?ZFymSd6cxai+4iQYKfSTuBJlLlQ2vbss2YVuJ7W1mcHGTxtjvPhd+XVO188w?= =?us-ascii?Q?7gphDGEIntfViIKj9OxZ9Ui7+6OBMIOm114+L3wfb0Q+sd0/KzQ4k9gjqOpO?= =?us-ascii?Q?0bCJ5Uqx/eXu7cINUPxNvlSO3b88FWgerxR6psSPUPD38cqFUiTgliDKGOq3?= =?us-ascii?Q?RJH+hH/izEqVDn2SSmmmd8cwo0xxBDFf39U6QY7MjDbs0kx2JsPvLvmB3EWO?= =?us-ascii?Q?1CnrkS5Fop1RnPQkWmyEvFIZhYin1Gkh9hYc4WumA29pnhRx3hrSCj4xWCdS?= =?us-ascii?Q?AW8SO8f534ROzUHQg6xPKgRWcZKdg6KNbhzTVdmmvXUtY/zj/ByvbyS1poih?= =?us-ascii?Q?+8+7Eu05ou9/MvZMfPWNkZqLYt/0JdttbFLIvGHsBIAdqjgZY5Mtpe2szgSZ?= =?us-ascii?Q?8ngyZJV7yFWNnXW7rjwEtkCC+ZxqdghzMjUBS9KT4vxbfUdE+JbxVy1UZt/J?= =?us-ascii?Q?z95LVQTNGxgdhKrtuKylq2/k?= 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: 80823b7c-b282-465b-9d60-08d9559b3640 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2021 09:52:16.7352 (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: M1qMHW6CM3x4Rq2OhW0AEMEHDYyLnnw5bbVlj+wH4lwsl8gokZBju0yKehsxyd+VbvXGTG7ijx4siyFfBShCng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2355 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1] test_plans/generic_flow_api: add two test cases 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: dts On Behalf Of Lingli Chen > Sent: Friday, July 30, 2021 9:52 PM > To: dts@dpdk.org > Cc: Chen, LingliX > Subject: [dts] [PATCH V1] test_plans/generic_flow_api: add two test cases >=20 > add new Test case: i40e create same rule after destroy/ i40e create diffr= ent > rule after destroy. >=20 > Signed-off-by: Lingli Chen Acked-by: Xueqin Lin > --- > test_plans/generic_flow_api_test_plan.rst | 48 +++++++++++++++++++++++ > 1 file changed, 48 insertions(+) >=20 > diff --git a/test_plans/generic_flow_api_test_plan.rst > b/test_plans/generic_flow_api_test_plan.rst > index 71f16187..6e477f43 100644 > --- a/test_plans/generic_flow_api_test_plan.rst > +++ b/test_plans/generic_flow_api_test_plan.rst > @@ -1996,3 +1996,51 @@ Test case: Dual vlan(QinQ) >=20 > 3). send packet as step 2 with changed ivlan id, got hash value and q= ueue > value that output from the testpmd on DUT, the value should be > different with the values in step 2 & step 1) & step 2). > + > +Test case: Fortville create same rule after destroy > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > + > +1. Launch the app ``testpmd`` with the following arguments:: > + > + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4,5,6,7,8= -n 4 -- - > i --disable-rss --rxq=3D16 --txq=3D16 > + testpmd> set fwd rxonly > + testpmd> set verbose 1 > + testpmd> start > + > +2. verify rules can be create after destroy:: > + > + testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is 32= / end > actions queue index 2 / end > + testpmd>flow destroy 0 rule 0 > + testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is > + 32 / end actions queue index 2 / end > + > +3. send packets match rule:: > + > + pkt1 =3D Ether()/IP()/UDP(sport=3D32)/Raw('x' * 20) > + > +4. send packets not match rule:: > + > + pkt2 =3D Ether()/IP()/UDP(dport=3D32)/Raw('x' * 20) > + > +Test case: Fortville create diffrent rule after destroy > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > + > +1. Launch the app ``testpmd`` with the following arguments:: > + > + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4,5,6,7,8= -n 4 -- - > i --disable-rss --rxq=3D16 --txq=3D16 > + testpmd> set fwd rxonly > + testpmd> set verbose 1 > + testpmd> start > + > +2. verify rules can be create after destroy:: > + > + testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is 32= / end > actions queue index 2 / end > + testpmd>flow destroy 0 rule 0 > + testpmd>flow create 0 ingress pattern eth / ipv4 / udp dst is > + 32 / end actions queue index 2 / end > + > +3. send packets match rule:: > + > + pkt1 =3D Ether()/IP()/UDP(dport=3D32)/Raw('x' * 20) > + > +4. send packets not match rule:: > + > + pkt2 =3D Ether()/IP()/UDP(sport=3D32)/Raw('x' * 20) > -- > 2.32.0