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 6A31AA052A; Wed, 27 Jan 2021 09:45:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 557A0140D47; Wed, 27 Jan 2021 09:45:48 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 6F17C140D24 for ; Wed, 27 Jan 2021 09:45:46 +0100 (CET) IronPort-SDR: GoaOXG7wEuf9FFlgIQ3aWFhPVysOETrfI4nDSWLNf9RgZN7ocOajcebUy/h0N3sIeLTCkd14WH vsIrfb8jRgKA== X-IronPort-AV: E=McAfee;i="6000,8403,9876"; a="177470687" X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="177470687" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2021 00:45:45 -0800 IronPort-SDR: 4R+TEC4mJnjo7/T4t+kjxjTyIIUg2qzMvdJ8NfDuwfUK3hOJcaFT31n/2Jr2ifGbvSUicpQ8Il ceY8LwxSdjMQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="407033823" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 27 Jan 2021 00:45:45 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 27 Jan 2021 00:45:44 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 27 Jan 2021 00:45:44 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 27 Jan 2021 00:45:44 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 27 Jan 2021 00:45:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VTJD4g2sUvIsnuRRT8BSWUfz8qgPCyUOxpB4usA9UyzVnfpWHwhLmoKmN5Lc5GEjpzkg8q/FVR4LPkUVifQ3N4O2qQAOS1PmDHS/19UwoH61tx7jtLuZZ4qM+s45U/gJH8cF72wh9WA17BonF9qo8p/HX81ZU1YkJ4JFZQT548NSR93aeB2aYxPfY9ybNE1Xg1Qb2yCVylxA7O04vuV3cspEUParQ8q5hEOhEmS2tBPQXP0SU2jBtmp7XKykqE9Oz82TohJK4DG6QSqQ8EsaWP72yYmxaXuC56tCKQuzSu0R1m6rMfQCyRmkluPGM0fXm9pVxxct6SjaD21kCXvjJA== 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=0iaP+cU9s40ZP8bx+4q7Tv8FrJ8yEE10PXpnbUUzeiQ=; b=Vie0+5+uOj3UnM8LXRPXdWa6CFgWEkBA/TzYm9MIBj2XoDiWR5FNWYK1Dz7JOgjqEPBIPY4dmH0Ndej/BXAYMNvA6rfAPkBv33hr1NgMu7cq8CtFxNvcH456FuOvgfrXZ4NtZTRaspyLENNmD1QBrUmHwAxzZdGPNTtjy9MLOs8PmPAtop63rlSB1Od83CWNpVJcDuqdeRL6owHjJIODwbN6h52wmk+ziN91b44KX+1KgOzz8NLbiF8qRtk05Hh+2G+1iGVZkBb/LahyPlfB3tcpNrwsWOjshy6PUHywsa56+kd+Ya1K4aOGDLgS5hQqJL9y7XCchCClfnWtS+y6Jw== 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=0iaP+cU9s40ZP8bx+4q7Tv8FrJ8yEE10PXpnbUUzeiQ=; b=aN06qX4xvDKZYvQ8E+0YxDD41rt+abNSpdwGaQ2iAWy+sBRpUNKinpAHdTkN9edad65VGGhk1jsXjMPLXP+M9V9FQb483BLpM8/s5FDjHAHZc4c+y+6YZd9qW9Y4noU4a61R4nFmJrJpfu5GUJ5QXGoQZWs4MGqTwY8txobQymw= Received: from BL0PR11MB3364.namprd11.prod.outlook.com (2603:10b6:208:69::21) by MN2PR11MB4222.namprd11.prod.outlook.com (2603:10b6:208:179::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Wed, 27 Jan 2021 08:45:36 +0000 Received: from BL0PR11MB3364.namprd11.prod.outlook.com ([fe80::3862:c7e0:cb0a:950c]) by BL0PR11MB3364.namprd11.prod.outlook.com ([fe80::3862:c7e0:cb0a:950c%5]) with mapi id 15.20.3784.012; Wed, 27 Jan 2021 08:45:36 +0000 From: "Lin, Xueqin" To: "Xia, YanX" , "dts@dpdk.org" CC: "Xia, YanX" Thread-Topic: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf Thread-Index: AQHW9Hi4KRgI0R4W5UK3JSnjztQvzao7KFvQ Date: Wed, 27 Jan 2021 08:45:36 +0000 Message-ID: References: <20210127065404.19410-1-yanx.xia@intel.com> In-Reply-To: <20210127065404.19410-1-yanx.xia@intel.com> Accept-Language: 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-originating-ip: [192.198.147.220] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f6a1548d-1230-4b3e-8c60-08d8c29feae5 x-ms-traffictypediagnostic: MN2PR11MB4222: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1j21iIu2CZq82Q8CHNUB374VjPk9qWhZoN+EYLgxzG8yBzISTy+1Q1Evfn2l9t6XEkiOuc63HoYK0vKrK8zzbwsUsTToWOauY12bs/EWRkMqyJIhSFjS3NoUTTBYeuXIER7w4wEowXZ89cEP9KPY/SK4TdgyKHdeXmpooZGDLg/2mmo/1mQcq9c1Q5/oCZU3gk0vMg2QTfzQ2aNzvyDERLeo7K62KKNtPtWM5SFldzB6fSUerAcCohFOa5ylSRnza4aY91zKUoM3CKYc0coOx+ojHQrlqzpqGUsa+eSb4wQPJTy3mnxJzL4ymaOBjE0gBcZyf58/vD/zS8XRUF6wPwWFljd7o2xchwNsPp/s/Eu9Hch5vM4sGy+kJb77fMYwz2R16Jc6h945KWxO3Tz5HbEb0+hK8QJ/GTKdRB4D4sMwEQOqMzTnkao3Rsv4xilOf94Lues+355hYB76mxeHb1XbRNfU9tR43RJPOjwy4jQP8KH/IXwH0L2G9IrdMe6Q7aHRyq2hsAbn4OmZqEVDjcUTYoOI/rF4Ux6wgFdzw2A7FHgRgGT0mwY+OWAi2/LP x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3364.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(346002)(376002)(39860400002)(396003)(66556008)(55016002)(52536014)(86362001)(2906002)(5660300002)(66476007)(316002)(33656002)(26005)(76116006)(64756008)(66946007)(66446008)(7696005)(83380400001)(478600001)(8676002)(6506007)(186003)(8936002)(4326008)(71200400001)(110136005)(107886003)(53546011)(9686003)(41533002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?uYq1RKy78HNrvL21iz7U30BoPBXnPHHwOQwrO0/XIMz2qClKq0huRWbA2GaL?= =?us-ascii?Q?0H/jsyyVKIJZeQKfgvEvzcND51qRRa4VK1UwYJPoTC+cVkGRv+3fXOwx/YY6?= =?us-ascii?Q?Xg9WoxBMTFxeuVxYB0B6HUP1+t6JvCDFKzqFH8BIk9z3hYUlDHaSFFqpxxhT?= =?us-ascii?Q?9lxmEnEk3R0UFeo3uAVNWGu53u2Rv4YeROf4a9XiaJA8A1xNNNDS0ujJlpxJ?= =?us-ascii?Q?Z2Xs4g52v/IUjB9nKsquUdo2bSa9fAP2G9jMaCGLJy9roK62t5UYavTGtU5A?= =?us-ascii?Q?JhJTVf8QvaSiE7OF/PGVmSe9xEaw43TVtz2kRUGeHrsYsl9mizPxQ3YZPhKn?= =?us-ascii?Q?Jj8tf/K9Tg5/omOOvKmmaO5zIRMsK/MNiKY9QYEDp5ZxEgWKUNTbnGJWEyQa?= =?us-ascii?Q?8lWClOjHbktjrqYrHQYGpnCGlHFp7XQMruEK3oCmwTMV2jv6BNwFnVZZLvo1?= =?us-ascii?Q?/4oE4J2UGIsJvMEPrkqonLjoRcjWStNhw2X/5zYl2B5AKY4+J4gL32YUsFN7?= =?us-ascii?Q?4O08UdzHgtOXA6zF8MJiveob3WcQhdXwSJgeelvHbBxBMPTOAONf5s5yo0Hp?= =?us-ascii?Q?m1VM6kN88mxxM0sJVNeAR8T29pFCFIsEIFw95AH4GSL5AU1mwzX7BeouOoWn?= =?us-ascii?Q?bWHbDHsUTrNwwidS3kVUERnoDdfkZXuH5klpNmG00qxfcHQmvWCPsZfL052C?= =?us-ascii?Q?uk+OWdiI2WzOeplQU0QBSPqJD1zrLlCwzS4htgpxn/vC9r0EiE+lKemIOe0z?= =?us-ascii?Q?YcCpIX9mkj/qyTUSRlsSCZK73f9f3pvY6NH1KsWy4k0HkZ8RBCgznBO3dtAg?= =?us-ascii?Q?urcVcCyyhMCrVZKD1m+sQvVJF61T6qxfsvoo4+SUMh02nV15D0csgqaZOM5E?= =?us-ascii?Q?xaGhPbJhYQsqLdwMis/H+0Vel9a5kiFWL3FaH9C/RUm1wo8iqDZNrIRivvny?= =?us-ascii?Q?qPQBz4gUIA3JCu7mR5A5is65JiqWQr8IwjGqW9y2NcrXkNJEZG+RtXVMLJYt?= =?us-ascii?Q?WerS1yL8zHG9G0N6k0hOTGUydlEFM/zXAcv54GctS6EYYKDftJGyI+iQSxXF?= =?us-ascii?Q?ekexCeKZ?= 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: BL0PR11MB3364.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6a1548d-1230-4b3e-8c60-08d8c29feae5 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 08:45:36.8056 (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: s/IYVOmK9iZEkZNNC6LK1viy6SkV4kmf/MSl2ysY5HawnNTSO02C74ieBrNQyEqD1drYqdLLol/UYrgMUrzx0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4222 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf 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" Acked-by: Xueqin Lin > -----Original Message----- > From: dts On Behalf Of Xia Yan > Sent: Wednesday, January 27, 2021 2:54 PM > To: dts@dpdk.org > Cc: Xia, YanX > Subject: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify > cmd for rule of vf >=20 > add "transfer" in cmd for rule of vf >=20 > Signed-off-by: Xia Yan > --- > test_plans/generic_flow_api_test_plan.rst | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) >=20 > diff --git a/test_plans/generic_flow_api_test_plan.rst > b/test_plans/generic_flow_api_test_plan.rst > index 33f5ec1c..6a36a635 100644 > --- a/test_plans/generic_flow_api_test_plan.rst > +++ b/test_plans/generic_flow_api_test_plan.rst > @@ -252,11 +252,11 @@ Test case: Fortville fdir for ipv4 >=20 > ipv4-other-vf0:: >=20 > - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1= dst is > 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 1 / end > + testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is > 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queu= e index > 1 / end >=20 > ipv4-sctp-vf1:: >=20 > - testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / ipv4 sr= c is > 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst is = 47 tag is 1 / > vf id is 1 / end actions queue index 2 / end > + testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 2 = / ipv4 src > is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst = is 47 tag is 1 > / vf id is 1 / end actions queue index 2 / end >=20 > ipv4-sctp drop:: >=20 > @@ -357,11 +357,11 @@ Test case: Fortville fdir for ipv6 >=20 > ipv6-other-vf0:: >=20 > - testpmd> flow create 0 ingress pattern eth / vlan tci is 5 / ipv6 sr= c is > 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end ac= tions queue > index 1 / end > + testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 5 = / ipv6 src > is 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end= actions > queue index 1 / end >=20 > ipv6-tcp-vf1:: >=20 > - testpmd> flow create 0 ingress pattern eth / vlan tci is 4095 / ipv6= src is > 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33 / vf i= d is 1 / end > actions queue index 3 / end > + testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 40= 95 / ipv6 > src is 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33= / vf id is 1 / > end actions queue index 3 / end >=20 > ipv6-sctp-drop:: >=20 > @@ -369,7 +369,7 @@ Test case: Fortville fdir for ipv6 >=20 > ipv6-tcp-vf1-drop:: >=20 > - testpmd> flow create 0 ingress pattern eth / vlan tci is 8 / ipv6 sr= c is > 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / vf i= d is 1 / end > actions drop / end > + testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 8 = / ipv6 src > is 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / v= f id is 1 / end > actions drop / end >=20 > 3. send packets:: >=20 > @@ -438,7 +438,7 @@ Test case: Fortville fdir wrong parameters >=20 > If create a rule on vf that has invalid queue ID:: >=20 > - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1= dst is > 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 4 / end > + testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is > 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queu= e index > 4 / end >=20 > it shows "Caught error type 11 (specific action): cause: 0x7ffc7bb9a3= 38, > Invalid queue ID for FDIR". > @@ -501,11 +501,11 @@ Test case: Fortville tunnel vxlan >=20 > vni + inner mac + inner vlan + actions vf:: >=20 > - testpmd> flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni = is 6 / > eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf id 0 / que= ue index > 1 / end > + testpmd> flow create 0 ingress transfer pattern eth / ipv4 / udp / v= xlan > vni is 6 / eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf= id 0 / > queue index 1 / end >=20 > inner mac + outer mac + vni + actions vf:: >=20 > - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 = / ipv4 / > udp / vxlan vni is 7 / eth dst is 00:11:22:33:44:55 / end actions vf id = 0 / queue > index 3 / end > + testpmd> flow create 0 ingress transfer pattern eth dst is > 00:11:22:33:44:66 / ipv4 / udp / vxlan vni is 7 / eth dst is 00:11:22:33= :44:55 / > end actions vf id 0 / queue index 3 / end >=20 > 3. send packets:: >=20 > @@ -610,11 +610,11 @@ Test case: Fortville tunnel nvgre >=20 > tni + inner mac + inner vlan + actions vf:: >=20 > - testpmd> flow create 0 ingress pattern eth / ipv4 / nvgre tni is 0x1= 12266 / > eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf id 0 / que= ue index > 1 / end > + testpmd> flow create 0 ingress transfer pattern eth / ipv4 / nvgre t= ni is > 0x112266 / eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf= id 0 / > queue index 1 / end >=20 > inner mac + outer mac + tni + actions vf:: >=20 > - testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 = / ipv4 / > nvgre tni is 0x112277 / eth dst is 00:11:22:33:44:55 / end actions vf id= 1 / > queue index 3 / end > + testpmd> flow create 0 ingress transfer pattern eth dst is > 00:11:22:33:44:66 / ipv4 / nvgre tni is 0x112277 / eth dst is 00:11:22:3= 3:44:55 > / end actions vf id 1 / queue index 3 / end >=20 > 3. send packets:: >=20 > -- > 2.17.1