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 A6D99A054D; Wed, 25 May 2022 16:41:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F79240146; Wed, 25 May 2022 16:41:46 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 11E9E400EF for ; Wed, 25 May 2022 16:41:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653489705; x=1685025705; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DbGLva4SrAPx50cW1DLl7jdKlnq4Yc5ZsfqUhs8RV/I=; b=A3MpsXvMR/GNwC4CNcA68pBmLRz3vs4hvoFg63vgJduTk0LSQ4IBdwi8 TB1X74zO520BBLndLBXcHuYTcXwaQ3rDGalghPkbT3TK1A9k9FQf8w7wR b94Nv9dtsw3CHAHooB5nDTv6SaMwxZSHvINPoiAOHhTg2MUH4LqGkFs8B nBE2X5khKJhvyAaSiOr3Yvsv3iHlpPEA4ctXleuO//G9hii4I8rqN3CN0 dcSb9m6CS/a21Rw1/aXBYhhKzL36Zm8m5YPLbXD53EyFAuZiw4MeNjvYl WYf38cv+NgQ7f7S3YYWZTJE6af5QQxm+tHLOKHUio+G6xPzyKmJi03Gwa A==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="336881846" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="336881846" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 07:41:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="704025756" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 25 May 2022 07:41:44 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 25 May 2022 07:41:43 -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.2308.27 via Frontend Transport; Wed, 25 May 2022 07:41:43 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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.2308.27; Wed, 25 May 2022 07:41:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TtSc3LmI2wID9RJjrxUMA4HCXufn55WEwN+YAFun0wtzDWds6S+zbHy6LrFT8en9QX3vkHGm4XkowYjQZlp6EtTDt7Wy4nnjBGtFflnA6I2J6serjocOKzUgjNCjmH+G0y/1gqH9i7R2g/C5YcWPg3g0Ao/Y5xAfuVUoKE8XruXnHTNTU5E8WbAZrVfqEcuS5T32GH8S90ihpNPbcauj3Gyn8x2/WBIVa+lQEvjgXrUWD4yuXrZtYuOhdStOQ8JkOcJ0HTVMrncb/OOv45Dkb7MwRIzos4OqcgZSkgCTjcoKALfoN4RoW03B81DheZ7YJXqx/ZXzfsk3iSeDqOjCNQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X2PDPBteqgf+y6VzHEHS7zNAgqS2JfMwpRPhUCC66wQ=; b=YHJV9BB0NSCQfUlowlgMPlaSIMQ7ZNyByjGJRWJ/aKXayrRouEdcAQrtIyEYbGKbXTeS0YuwjHbRPmU4zfXzqH1J+vgjKu62kv4yS+8u2XvndA2z4+v7R5+KlaukWOMEvzj12Q0olnU1As5c6F5pJ/vuO6zGyM18tOL7wJnIpBY7DmhnGA7AePtR91+DvCQSs5YYr3/GX9uoidnDzW7d+OPguz1sJKk32YIKR/XfZ2Mihqel9OiU0zVefldcrA7ytnCn7q1Aho/pWHpa1Jb+kLzlKoqUFo5zTYn/JwxZpTlvAIuqho92QV6j/cdG7085Blq5v22josjCSpiYoLnlOg== 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 Received: from DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by IA1PR11MB6193.namprd11.prod.outlook.com (2603:10b6:208:3eb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.23; Wed, 25 May 2022 14:41:41 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b%6]) with mapi id 15.20.5273.023; Wed, 25 May 2022 14:41:41 +0000 From: "Dumitrescu, Cristian" To: "skori@marvell.com" , "Li, Xiaoyun" , "Singh, Aman Deep" , "Zhang, Yuying" CC: "dev@dpdk.org" Subject: RE: [PATCH v2 1/1] app/testpmd: support different input color method Thread-Topic: [PATCH v2 1/1] app/testpmd: support different input color method Thread-Index: AQHYb0Dy6LY8uyBBXUG0DjDTIoR1Nq0vq1oAgAAA9GA= Date: Wed, 25 May 2022 14:41:41 +0000 Message-ID: References: <20220524073554.824162-1-skori@marvell.com> <20220525143716.996398-1-skori@marvell.com> In-Reply-To: <20220525143716.996398-1-skori@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 415555da-8263-41bb-9381-08da3e5caec5 x-ms-traffictypediagnostic: IA1PR11MB6193:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EQq0yojQWlP9Oy69Buu8tBgnTK1cRVdubmpWsczHJfM1IoBY1NshiNiqMe+GLh2kAnj6FKQO3Eb0zNNJgojWs/eaDCRyW47rBsqrVRtP/1mT8iIkIG8XcRXKQvGjtibfJIXYuh8Z/qTD7oBab2Dm0LBvB0dc9YPzX+aFfXcigOw2GmgI1c2cb7OxRa8KQNMQCVv/OTB3e5vvgguk9S5wc4d9v05+zFqKApgbJMdRM9yt6RTFpP+8WvVIWz0JQrF6SHRHBUx+OmyRfYZVc29lODlqEl9/xRPRs6/+GaAN8eyawXyPmmscsvnd89XL/ZXA6RmiAteE7U6Rm/uFqdDCE3gIa8HryOH6OezvghP896TQMqOop/VgpvojFBo6SWk9KmE2MWGbDK3/TPJgfFiGB2oNAGxb4baWirnhje7+usLi6TjnguWMkWYACW6+TZHUulahLOQlqTJ+lQooV1S5Eu84Zx1W6Y20KM/IxfZodUvAd42hMCCVp+Vqj7PE87W578dKtF6eKd9NDxxW66i7WsfZ2kJ3r9mezDdBDAmwNvdgaJ3ZZh85HCOJU1YdAaW6L36qqBk/0d5Hgi1/pCen15sXFKTJVsIDsh7Q2C4XLFzz20yl4DFrbPEUAD0KuQ4GXeU+NPoSwBZCrhyK1m5cgMfqS0rqUD8UHJ1WUnY7F2JQMpjL34011Gpp/l6Cnb4EVshIy/0Eqe74mVlgzzrkaQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(9686003)(86362001)(7696005)(8676002)(66556008)(66476007)(66446008)(83380400001)(64756008)(4326008)(6506007)(76116006)(38100700002)(55016003)(71200400001)(53546011)(316002)(38070700005)(6636002)(508600001)(66946007)(82960400001)(122000001)(2906002)(186003)(110136005)(8936002)(52536014)(5660300002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Wbms3ZooiSnAMov4iHLLF3OFjdZ4vU6cevtsYzHSEh/ZxkktII4YrLasST98?= =?us-ascii?Q?YY61EpZyC/5cxBzsC5DDiWgtvW993vkTAWQ7apO1l2PKvedGFe3bPqo19fXg?= =?us-ascii?Q?s/WcEzP/1XVfJMQjAHHoS3w5qdcnGpfsGwG3JLXcFD+onAwsJEOPNrUUx8gn?= =?us-ascii?Q?ZipV32KKdqWpIr//f0E85B0ebBynqkFcNmgQoT1uQEaJH04KtoJCJsEsv/H3?= =?us-ascii?Q?RFEswfjugGsv3TVi9npIIkVEusHHGu4kl68eOj69aITNXQYkE41EeDQ0jGqE?= =?us-ascii?Q?7hzMB3uoEDKnNhnYzI0OJ7Ql5D/jbnRRjMzzojmn6A8JG6+9r0VrVUgzKbMq?= =?us-ascii?Q?STBJT3dvh5lyIVwFhldM1HEBxoKbc4TsxVjXN5SRwGgk4xJWfImTVpUtXO1y?= =?us-ascii?Q?/ckRO5el+RWP8seZIB+g1OiTs2B8M/Ox7SN0wk3KuhRnwm7mzdP5hwcYU968?= =?us-ascii?Q?+k1dZIAQrXMEnXwvV3zuto81QUXA56wtIFTxIbwuIenk7UgI6qmx65tIJGoR?= =?us-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gZM5ONJNDzn4zZxOTFXmgpOF?= =?us-ascii?Q?KQk7QybPyzxk1jB6A+h3Tf7XOJW+EkWk0H8TOyT2OeYmrhdKc3g3R9f5NRwt?= =?us-ascii?Q?qyhVRmX9tPqutcdN06ICXCSauvkiY4XW/oJueM1Xj7SVGcKw0JmL4C1gEsZ3?= =?us-ascii?Q?EOZZ3HBZaQiaWBHDJScsuHfVmJTRBRTsANjw8REr7356fbry6/3La2K2k82d?= =?us-ascii?Q?VBCU4yg1EFTdWW/JRaJwEE/QgzPAgHzyvAqcZn8EMA3stbwj45KnY5grQVIf?= =?us-ascii?Q?fSZ+Y7XTDH99v78KVe5nI0Oxxto/vDJ3n1mLu34aZFdfsqYIFwSbjhXreJ90?= =?us-ascii?Q?1NW3d+kNxfF7My7iD9hYeoh20ZmS2XA=3D?= 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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 415555da-8263-41bb-9381-08da3e5caec5 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2022 14:41:41.6287 (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: fpYiOvqyilcFOcitHVVBykqFd9s41Oq1mzcSzgyZ1/khJlbpw0wzW2sydFr0uTBU+JiZ8nbYfecgoKUpeYrMXE+Y9AgUHjG6cRME4Esd1xo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6193 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: skori@marvell.com > Sent: Wednesday, May 25, 2022 3:37 PM > To: Li, Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying ; > Dumitrescu, Cristian > Cc: dev@dpdk.org; Sunil Kumar Kori > Subject: [PATCH v2 1/1] app/testpmd: support different input color method >=20 > From: Sunil Kumar Kori >=20 > To enable input coloring, based on VLAN or DSCP, patch adds > command line interface to configure the following: >=20 > - configuring input coloring using VLAN or DSCP while creating > meter i.e. during rte_mtr_create() >=20 > - Update VLAN input coloring table at runtime. >=20 > - configures protocol priorities. >=20 > - retrieve protocol and priority information >=20 > Depends-on: patch-22751 ("ethdev: mtr: support protocol based input color > selection") >=20 > Signed-off-by: Sunil Kumar Kori > --- > v1..v2: > - Rebased to branch dpdk-next-net > - add CLIs for input coloring mechanism >=20 > app/test-pmd/cmdline.c | 4 + > app/test-pmd/cmdline_mtr.c | 558 > ++++++++++++++++++++++++++++++++++++- Acked-by: Cristian Dumitrescu