From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0085.outbound.protection.outlook.com [104.47.32.85]) by dpdk.org (Postfix) with ESMTP id 7634E4C9D for ; Mon, 10 Sep 2018 17:40:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xn0tea+LHiYHY695w1Mf95eXWP6ddO73ezfISUeH5H8=; b=Mgh9Fi5YVTS8u+L7PSWo+eVezP37PnmYBTx3Y2lrfbDO5SPYWrIPOkt6maCAC7K6YMpf2mMpQ3pU5Te/bgPyMLT3LRZpFtli4QYzy/yA8LbYbrDrZCSMG6PUnK4ToMSuzT7jDmR818bIdY7hCf4Nh9MwWCmGJ2eGWrdgvmEDxLQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (223.226.45.236) by BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.16; Mon, 10 Sep 2018 15:39:55 +0000 Date: Mon, 10 Sep 2018 21:09:39 +0530 From: Jerin Jacob To: Krzysztof Kanas Cc: dev@dpdk.org, Jerin.JacobKollanukkaran@cavium.com, Nithin.Dabilpuram@cavium.com, wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, cristian.dumitrescu@intel.com Message-ID: <20180910153938.GA20620@jerin> References: <20180817113919.32095-1-krzysztof.kanas@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180817113919.32095-1-krzysztof.kanas@caviumnetworks.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [223.226.45.236] X-ClientProxiedBy: SG2PR04CA0157.apcprd04.prod.outlook.com (2603:1096:4::19) To BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a0621849-09ec-4d7b-5c6a-08d61733aa6a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4995; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 3:xBjfT+HcnlspUXUlKZzZnflHkJ/UNOH7jYCRQH1XSETwEb1fRZMoAXF8S/XSNRC34plDozODgapu/PEE/c8+6ktR/DGCswoRuq2g0vAbaF4YEE3Rm7idl4VoCPPYj2hl5dNrKJeMGMz78aAU0Sd6KdxZD/El+Ogxz3aWlmCcKOVYDI+8qlithRXrDhNd1sTKb2eKdnby9gkS0bOc3oB7Akhxr3ves6qjcDqIQlSgNnAJ+d9LGaJaI42iwc+I8J6Y; 25:Rk3t3WnFEDpcgGwjdFirBleQZt1Nt50aSpG3EtT28QNUVjX0FVkhKzE8AXnjjH3QntrTzUrpKUGRfNzohwbj9akicrImUitKu3/qT2ojTs7ci7mqTCX1hUkVpIKGgRODMo2sJ9oJTyryyoX5uqsxofg3/8CUbyqR4C6GpOcPYip05aAthGIHGkYQv9Fubvc570Buwg0eI1DKxOHyVmJB1ZGku8v+ux0d270JHfRAoSOAT+w/ugP19f6JEGgChSbygh9V0mD5poX0kBmeTkXoYejBzUA4zrSy1dwo7w73ImiRBK1LLrhlRofzy1/Yn206HKF1GlDcVCNzeQZA14wmGw==; 31:hjHoxldhWd+VdFTMBIcTt09/9MVPTLUDQvh+zChtBhraYEjTJQEh7TyQ7fA0je3tqfvIK6ZCbLO0MlrJVGhU2IaPNgQwOpTlhpYmOmFOIwAFzkZSy7seQfKo3BqBWkWzp7a8gELZVZufc0Gdv/bg520RfSqiadF0FmMdfaXqP3VaFE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: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3231311)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699050); SRVR:BL0PR07MB4995; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4995; X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(346002)(366004)(136003)(13464003)(199004)(189003)(7736002)(25786009)(8676002)(68736007)(2906002)(8936002)(6666003)(6636002)(97736004)(50466002)(33656002)(305945005)(81156014)(81166006)(4326008)(106356001)(229853002)(6246003)(478600001)(105586002)(5660300001)(47776003)(72206003)(66066001)(6496006)(52116002)(3846002)(1076002)(6116002)(23726003)(26005)(9686003)(76176011)(386003)(33896004)(53936002)(16586007)(316002)(16526019)(33716001)(956004)(58126008)(11346002)(44832011)(42882007)(476003)(486006)(446003)(55016002)(6862004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4995; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR07MB4995; 23:0uwmaFtuHXfKLW3p679Bz525IpwgCjnyk2tpLvjwn?= =?us-ascii?Q?KHx/9A1wDrh2fuD5o9S7zalrlPc4Vr76WXVkrNZMR4flfQgqR+IzLrM9GrpA?= =?us-ascii?Q?JwR9naLGaNFUE3qltcAdYSOcSzOm322jPlX3zErF4ljXRM10rMNQONVZtFTq?= =?us-ascii?Q?xCzD7CMIV7GaqMJQKCKEcDKp0Ln32ZpWjn5K0Rvh4puQ0uhFEmj1sDG6dpdg?= =?us-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JhE/5oX3jriKzNSXC1yUQGmhD5EsaSlXgQx/lDw0kEUMFgmDTp9WbdubFbr3s8D/MgXgXJlD+MFuYI36Lqg5SIA2dP7AVREyGaCw==; 5:mzWVMABWZbKlT6WQvVxAjDutK2tUED202kUtAURa6n0GFNWZ9y5Kn9/bdzOwfYnyMl5Vlko1VmNrD6m7iC2hyMB1VkTftJB7NaSwISJiU8cf3LyITxAF3pJ7YzihD2zQPtn14Z64qGbhgx7vpMawai6oXFn2AHFq048syjYVfhY=; 7:4LIjj1CfQrBY1uY+xeZ8PvvvWOx6L+XscFYW2aIElFzBg99pgApTWhWAd3iC15iOHcaiacp4DR/+zdXQgLkvy9iXTZVwSNj/PLoTT2TAHoptuk/o8n4khdh6Lw33tq044Tv5N7CFkhGUjfBd2rC5Iuu7JzYh+rlYcyJGDUZPTonU2tH/w7nJeDM0xlG/MwntrDSwck/qnhgJ86Azat6v7BxHgsqAr/025ypiQ4P17Cfs4DW1K3l3VKOK34tH8QOd SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2018 15:39:55.4683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a0621849-09ec-4d7b-5c6a-08d61733aa6a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4995 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: add commands for TM to mark pkts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 15:40:01 -0000 -----Original Message----- > Date: Fri, 17 Aug 2018 13:39:19 +0200 > From: Krzysztof Kanas > To: dev@dpdk.org > Cc: krzysztof.kanas@caviumnetworks.com, > Jerin.JacobKollanukkaran@cavium.com, Nithin.Dabilpuram@cavium.com > Subject: [dpdk-dev] [PATCH] app/testpmd: add commands for TM to mark pkts > X-Mailer: git-send-email 2.18.0 > > Add following testpmd run-time commands to support test of TM packet > marking: > > set port tm mark ip_ecn > set port tm mark ip_dscp > set port tm mark vlan_dei > > Signed-off-by: Krzysztof Kanas > --- > app/test-pmd/cmdline.c | 3 + > app/test-pmd/cmdline_tm.c | 260 ++++++++++++++++++++ > app/test-pmd/cmdline_tm.h | 3 + + Cristian, Wenzhuo, Jingjing, Bernard In addition to this slow path change, IMO, we need test engine similar to checksum(app/test-pmd/csumonly.c) to generate traffic(app/test-pmd/markonly.c) with struct rte_mbuf::tx_offload populated so that we can test the packet marking. Cristian, Any thoughts as a rte_tm maintainer?