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 C452141C62; Sat, 11 Feb 2023 00:08:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E7D840E50; Sat, 11 Feb 2023 00:08:37 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2069.outbound.protection.outlook.com [40.107.212.69]) by mails.dpdk.org (Postfix) with ESMTP id 64E0F40E0F for ; Sat, 11 Feb 2023 00:08:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O8fvaNyS/n17o8uXk3zpLsYNKguTt1VRqnP8+8MKTZgbEuTmTxh+nIiNY7iLIsCpHnXPRCjtNoDry2SpovFj7SePepal9ZPU5ZyFPT1YeoaokvvgDPjII3sGAFcmOWaES4BrowJhRew+niaoe33FvnfstjiY0sf/Wz+p1fmgIBmC0+RMzMTkytaYhOZlPeW+OvU0EewIiYUfeUWvxQqpP6wX9vK+kzh/kyHSGwd6xjhFescJB8GePgYp6BMQ2Dsl/TSfyQrPxSXN6FjT2wYOxmcyeSS080hwTa+IcnqjWmE+YuiIhwaNvkpsHwJcpFQBlFDEHGES8LoyHqxnNhQssw== 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=EQeWuU12u01kt0E3oHUgK3f8gOFMHUOFGtBeDMDMKzw=; b=Ln0BM/f5OWfsIa0T3AcHFsgRCsUUU8BBE31rhZulp+B0eJuq8BqTI4mQCDzPV7uDfDEe+9y6GDqSZDjOxtrLrtFabpEOhK2I8XS22w6EOTzRxA1y8hTZHhL9MT++3FjuN4mirxI77RHOQxLV1o9QotdbGbnGQ10iHtra6tLSItVOMLN715pXfMTJ5gpb3loNRVGcM0JYw3cLVaFc7bGEIcJXax78MgClAXJbsH29IUaH3S6XgR1RswYtOefZDBpB9ra6VDlrFYK1XegT9SoDpL2KXzR+sOmh0cEyhUcRY9ADOpfaLcU17PFqHbpZ6z/CUZtpSJj9KGbnCwfFQEVbmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EQeWuU12u01kt0E3oHUgK3f8gOFMHUOFGtBeDMDMKzw=; b=WgIy6gmWjYx8c82TKvQDb1qJAgoXQmQZe28SofeuRWjYHpt35rJU8UvrbCYKWh2q9xSI5BFREZCLgqozsg9Uc5DevtkCfytRvECMBjqWY15UTc1Pf1t5jKZ86D9GiuvdbEmSV+Mj/FTvAPXHzeUtoAIupE1khMoRakx1AEfchao= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by IA1PR12MB6187.namprd12.prod.outlook.com (2603:10b6:208:3e5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Fri, 10 Feb 2023 23:08:33 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%8]) with mapi id 15.20.6086.021; Fri, 10 Feb 2023 23:08:33 +0000 Message-ID: <8e70d8e9-ed7d-337b-205c-b6ee32e5cc48@amd.com> Date: Fri, 10 Feb 2023 23:08:27 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v6 2/3] app/testpmd: add skip cman support for testpmd Content-Language: en-US To: Rakesh Kudurumalla , Ori Kam , Aman Singh , Yuying Zhang Cc: jerinj@marvell.com, ndabilpuram@marvell.com, dev@dpdk.org References: <20230210081422.1004901-1-rkudurumalla@marvell.com> <20230210082623.1005496-1-rkudurumalla@marvell.com> <20230210082623.1005496-2-rkudurumalla@marvell.com> From: Ferruh Yigit In-Reply-To: <20230210082623.1005496-2-rkudurumalla@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0070.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::34) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB6187:EE_ X-MS-Office365-Filtering-Correlation-Id: 40eb0325-0509-4bbb-af61-08db0bbbbb1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /a+pgpx/po9L0EL52Tay+x0oUwqEoD0kXKxzf/5wIEx6xKgROzgSJ9zb3S/Y/yeS25JxOvzZswms3GTWXPA63EWsPGhOENgx8MYqRz/+zE7U7NmIOfC0r4/LfpHTDWePkcyeeQHjZ1JM8tGVyt6uG28LXjyXIp7fReyo7brdOb6H3lGkpydKsD+4SNXnBNR6NGPqO0/Jx/Bz1ypN4T9O2MlCPbbItpne7Ldg3K68QIyLkarJ3VFgbNtuv9HkPYz2a/g2ZU1ohSFWaE7RJOY0T5Hwmx5un5msVbKk2pnavdFA5M39PBk0rDQdeOGEesKLcuuE7aPCnhsWVzXhkbOIluaEalUU13ZSGE3Uig7W5md8HmYyhi98LXDGpvmXiQmzuocj4HiyEccbSgC2dnwz+BRYUUF4kRahg3bVbPdB1al9hd1Wz/Gwu8bjxch+OobcSt2cneldHGuMjRzRCc53kmrf7WwCLB7c0sGYVC+DGGRPhoP5+NnF5ia+BnZV+qmj6ZHa5g3lryiqxdDaJlsB2L0CUo0FzGpOmQHEwg3BFZV+FONX+yIjxJWcU3bgItK/HvbUEgpHX/T/Aijjzo3DNxDv11K9MIdiE46RG7sINKyNWoXsoz8a5XaAv8bGSpiyPmAF1lqisF8xgJF5WGOKPPe7XzFkdKHgqHEqCWo1WBQSa9+U9O21e9WVBBtR5vGmVQME9wxL0MmD8oevTsqDClQlozjTBVDCVOgWroiljto= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(451199018)(66476007)(66946007)(4326008)(8676002)(316002)(38100700002)(66556008)(31696002)(110136005)(86362001)(53546011)(6486002)(31686004)(478600001)(6506007)(186003)(26005)(2906002)(44832011)(6512007)(36756003)(6666004)(5660300002)(41300700001)(8936002)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R3p0c2NVZE5MdjNLVGNVZjJDSTJ3c040amFiYTRiNEl0NkxQRXJINVdoWEVx?= =?utf-8?B?dUN4ZG5Nb090YU8yMXllM1hzNlR4cForTHBkcGQyRnVwYm9aZzBQZklYNzBo?= =?utf-8?B?eWpVdFhidGEyU3ljQ213b1ZvaHRwc1MxOU1XaE1xNGdMUzNuMDRoZ0JNZWht?= =?utf-8?B?OFNsRWpHbkR2VkEyMWFRRFI1bDk5Ry9sZmd1eTJsdE9JWWRmYVcwd21NdXJq?= =?utf-8?B?RDQxc05qcU5hQzNEY09YN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ano5bGFt?= =?utf-8?B?NlQ0anQrN0pCY3d4R2MzamkzLzk2ZWlNR2VQZEZjeTB0MDRQVFlhS29aNjR0?= =?utf-8?Q?tLw8ZHAlDbYY2jIIkM2kVnCtw?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40eb0325-0509-4bbb-af61-08db0bbbbb1a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2023 23:08:33.1763 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0lBZShQ2WpzTEeNxDRqJLHWF944bG6+67KpJRnfhIv/IbeudOVs8lzOc2Y5436o9 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6187 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 On 2/10/2023 8:26 AM, Rakesh Kudurumalla wrote: > added support for testpmd application to accept > skip_cman action while configuring policy action > Can you please give some sample testpmd commands with new action in commit log, it helps. > Signed-off-by: Rakesh Kudurumalla > --- > app/test-pmd/cmdline_flow.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c > index 88108498e0..fc003e0096 100644 > --- a/app/test-pmd/cmdline_flow.c > +++ b/app/test-pmd/cmdline_flow.c > @@ -472,6 +472,7 @@ enum index { > ACTION_END, > ACTION_VOID, > ACTION_PASSTHRU, > + ACTION_SKIP_CMAN, > ACTION_JUMP, > ACTION_JUMP_GROUP, > ACTION_MARK, > @@ -1825,6 +1826,7 @@ static const enum index next_action[] = { > ACTION_END, > ACTION_VOID, > ACTION_PASSTHRU, > + ACTION_SKIP_CMAN, > ACTION_JUMP, > ACTION_MARK, > ACTION_FLAG, > @@ -5159,6 +5161,13 @@ static const struct token token_list[] = { > .next = NEXT(NEXT_ENTRY(ACTION_NEXT)), > .call = parse_vc, > }, > + [ACTION_SKIP_CMAN] = { > + .name = "skip_cman", > + .help = "bypass cman on received packets", > + .priv = PRIV_ACTION(SKIP_CMAN, 0), > + .next = NEXT(NEXT_ENTRY(ACTION_NEXT)), > + .call = parse_vc, > + }, > [ACTION_JUMP] = { > .name = "jump", > .help = "redirect traffic to a given group",