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 6F19641C95; Tue, 14 Feb 2023 14:21:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FE58410EF; Tue, 14 Feb 2023 14:21:30 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2049.outbound.protection.outlook.com [40.107.93.49]) by mails.dpdk.org (Postfix) with ESMTP id 3E738410D1 for ; Tue, 14 Feb 2023 14:21:29 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gF32c5hDTa2chgPrXxDpyNPAsSDoNOKe8uaybPF0LnlMiR0H67Mv9SaZ6TWg491fQQLN4QbbGivaWVJPF9l4vBgGip9tu35OkgAABTqq6c0+n+5VQIG4Qm1m1smAlQjJZFO7xr1+HFND/o4zeZ8mIJTCIHLJiEhIoDvsJX5Rz06xelaiwrpm0Sld1ceookhZe8Wy//RGZHbQLvVXV6CjouZGUIQU1mW+yuZGnWkNrXHM7g34WUERrQ4cGRT3hRSrva830KRSSFzmhmFzsv59KcEOPyMw0J3n5NyQRg36hbchpxZUxKe4aCXnw4zZyAyvKheCYvp7sOjBsH/Dbl6A+Q== 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=AyeTC9AsBLap9S+rgFv2x2vfjEmtTnhFvqWa807IBcw=; b=V+0HkFl7p4mmEpHX8k/ilwtZaFOVhla31YpjSb/GiOag3fHL/RSF7OJKVeDj5Uny170RiTM1zHuC+lUQ04j3mW12BV/uFzBA00r9KGUzqQ2X1Vok03+hkhGbzUQCRCprBv7tF16jxzfoxL5xdQgNLyVZH8TTrZJPTzX7HcmxumvCkXAAn0F8nhuQJDJSQu5zDrCe9bXr+8VCiqyOXLC4pamkXn22Kj9nv4azFjEOCVpTUawzBkg/zm3NyIE7emV2OX4Eml+w+W18NzFAeUi9wf5l7tLKE/EChFaFygdYFTcqxUzYfLWZbfSPChokmCdCaVU+81S+pMeo5vFDMB85Rw== 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=AyeTC9AsBLap9S+rgFv2x2vfjEmtTnhFvqWa807IBcw=; b=3bMobwhKn6NMsAJb+KIkJnIpX9JLKOwRs0pCiIp9CVBoVLC3OKLe4iGInL/Z3L+2IoHUY8wLqosiaJQqIRMsMZQPTjCxoe7ojBlmcC4/QrHlycnqnkZGu8fxpmeYIugysEqEaXQ3pOp0/yoUDTFlZxhCTi8jYdkx8Ga8AoQCZuE= 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 MW3PR12MB4506.namprd12.prod.outlook.com (2603:10b6:303:53::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Tue, 14 Feb 2023 13:21:24 +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.026; Tue, 14 Feb 2023 13:21:24 +0000 Message-ID: Date: Tue, 14 Feb 2023 13:21:18 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v8 2/4] 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: <20230212090003.1095419-1-rkudurumalla@marvell.com> <20230214130458.1114765-1-rkudurumalla@marvell.com> <20230214130458.1114765-2-rkudurumalla@marvell.com> From: Ferruh Yigit In-Reply-To: <20230214130458.1114765-2-rkudurumalla@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0190.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::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_|MW3PR12MB4506:EE_ X-MS-Office365-Filtering-Correlation-Id: 23f46446-0caa-4662-64f5-08db0e8e5ee8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RV//ZaodXNaMRmNkRoXpXFFDF00Vds4iLlpxR+hakYHvhNryOWAabDKNnuyQCUkeqE3KArseRK6FlElsdMr3dkCqUC9mQ3FNNiL5coEvGJJG492Q8ZxUa8beaNjTyORr8lIyTrLDgbUlbhUxYK2ikIKG5o70u9FuX6dS90CQohKI2IG3f9ppgWqVGqxMD6WHvQ4HgKqFN70JUHhf5XKW/85lEDqh+qXtj0jtyhMMZCjveK51r31k2yyRyFGNuK9U/C5BdqkFjM0551tbAVEkcfhKDolzhaaZ1kFxg2AqAe+YL0YNc24+kHSJcnmxaDzG/P0apc7fAYPnFiM0z7Hmek78Fq+OUdHlwPT12Bk23bZSe4Zk9IuQvOSHxdmHYFKfJBLpXu4DzDBQpImWN7/M2H0voaolwyDn8AVPXwZxuQEG2NkHUoTEjhlW5t15eT/hlfquFO1Xxd1i3R6p801hcId2WUo4z7VnTKeAo0Gmg9Ap7dWF0P80dcL6Bq/j5TOP25DbwlMHVWIfuvyehN9lxMdc2Hzc/jed6JBl8EdmtxsKjwCZrwpXQvxOiYcV+GCpOUwAP2QVJqupFUvTnSNoFEuAuz6l4kJRYIBgl+7Vm9iTnOX7V+4Pu70qylhsCrZ1ynGrc7ZGmHzu/jOiHSjiSlcaxMwRa94Adxlbzqfti4xocQ/yr0GB1carAjLciBxmk5F4nZFdtTAquUIVn9KzCOuRZa7FzXXCw/qqztNEl+w= 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)(136003)(376002)(346002)(366004)(396003)(39860400002)(451199018)(44832011)(86362001)(8936002)(2616005)(4326008)(5660300002)(36756003)(41300700001)(66946007)(66556008)(66476007)(31696002)(8676002)(316002)(110136005)(38100700002)(6666004)(6512007)(31686004)(6506007)(53546011)(186003)(6486002)(478600001)(2906002)(26005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L1lGRFduQnc1VXN6QlBtaW9wRGo5QkRyZnZJd1VueTBBNlczNkFHcjdEeDZ2?= =?utf-8?B?VEV5aGJubWF3RGlLcEtCbi9vVTlaWm5ZTVlzWm5POFMyMUtXQlgzVitiWFpE?= =?utf-8?B?clErejZITGU2bUhHME5lV1JmR3Bsc052UE5WNGY0S2RWcDhtSnYwYldWNVBD?= =?utf-8?B?VjE5TDFuRWJ1K0cwTVJRTkZveTdrUkpFQ1AwMkVWYzBjSHV2dlJCSFFSWUNl?= =?utf-8?B?MitpaExFM3NyUy84Zk9ibkc5V0YvNFk1UHhWSWk3VjdTWFBqVHY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1dyNDF6NmZwVjkvc2hzQTBVMzBuTUFURSs4eDJu?= =?utf-8?Q?STC8CegS3Zjo2qsoDY4N2os/F?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23f46446-0caa-4662-64f5-08db0e8e5ee8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2023 13:21:24.5677 (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: raTJriIIQ3ZV3dMpT6VP/AbCCQtjZLfXwDmDBwMjIJ2l8EbXkyx1OX3Q/vqDVTyZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4506 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/14/2023 1:04 PM, Rakesh Kudurumalla wrote: > added support for testpmd application to accept > skip_cman action while configuring policy action > > 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", Hi Ori, any objection to this patch?