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 D57DCA04FD; Mon, 3 Oct 2022 16:42:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D55440DFB; Mon, 3 Oct 2022 16:42:11 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2058.outbound.protection.outlook.com [40.107.96.58]) by mails.dpdk.org (Postfix) with ESMTP id 2499440695 for ; Mon, 3 Oct 2022 16:42:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ckp6chek6FORhQmVtGtIYo73ZaxLrUr+bW8yFph6t7j3f3k7goALwtQiWzUVmeb5X9HDCfM2jgGjyP6cQdukx775MMIe8iyop9jIyQqxjITAAa0GupiGwP8rW/LtunRWNhgSOSg9FLQ8i4e8UrCRdecIf1CT4H0Djr6MkWuat9Q9RG8NWJDDFYNc6jTmOxME7yF0iiB5waxCU0qoYFmrXsTp4O8fWipa0F70WMJa/8oYSYuOLfC60BiuHq4D+whspmWYM/qGWHOodOrRI82yCzyxZ03BXmUosdiOUy+0GTeC0vNW7Ri7pSWvUpcjU9JCUXftTnoizFH/RBjvh0xOOA== 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=+gO+biyiPuXhZivLeHEIqS4kax4xm6PiDxZF/JCeCh8=; b=RS3mRQEfxFiYHWpuZrDpKc7JvQkqduoQT6U+gtvTyFj+q5ONYt9VlqP6dS8BD5oE1uR4AP7Y8DS4zMrX6IvKTSwMXv3rBpmowy5tlLTjNNpgL4z4NK/6KlA87275V1z8eVyvE8lN6AqooIXGp3FxQTT0/g0yL6CWtLL7hbGbPUGC9joVmT97dCNglqksZiAx17YRWUhER3manICNfMkwAV3BEpU83zs81/d11yjPTIchhQtHERfUsQopOOBVCwRkhMkT7i/jvLfgUYHW4lbEqzAfa5+MZijSOP6/H2nWyVBQtk2KJYP/xUdK5/bC/6Ml3sGASFahNTPsILo/lePDeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 149.199.80.198) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+gO+biyiPuXhZivLeHEIqS4kax4xm6PiDxZF/JCeCh8=; b=LNKFqVIJ3eAsbXJ4d1lYduaZcadwKEGkLBbOamJDWt4g9R9InpG04W8t6ZrHFc/d8/fvYI8YXPuyvWtWti0yw7J8X20VnmqPSPciWQU91wkizi9lq/4g5OysZhVu5SBDqglmXWzv5d2SLUOrkKN1ERUoylaawiPnHiya3jZr4HM= Received: from DM6PR06CA0024.namprd06.prod.outlook.com (2603:10b6:5:120::37) by IA0PR02MB9267.namprd02.prod.outlook.com (2603:10b6:208:434::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.15; Mon, 3 Oct 2022 14:42:06 +0000 Received: from DM3NAM02FT029.eop-nam02.prod.protection.outlook.com (2603:10b6:5:120:cafe::8) by DM6PR06CA0024.outlook.office365.com (2603:10b6:5:120::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.20 via Frontend Transport; Mon, 3 Oct 2022 14:42:05 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 149.199.80.198) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=amd.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning amd.com discourages use of 149.199.80.198 as permitted sender) Received: from xir-pvapexch01.xlnx.xilinx.com (149.199.80.198) by DM3NAM02FT029.mail.protection.outlook.com (10.13.4.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5676.17 via Frontend Transport; Mon, 3 Oct 2022 14:42:05 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 3 Oct 2022 15:42:04 +0100 Received: from smtp.xilinx.com (172.21.105.198) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Mon, 3 Oct 2022 15:42:04 +0100 Envelope-to: cristian.dumitrescu@intel.com, skori@marvell.com, aman.deep.singh@intel.com, yuying.zhang@intel.com, ndabilpuram@marvell.com, kirankumark@marvell.com, skoteshwar@marvell.com, jasvinder.singh@intel.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org Received: from [10.71.194.74] (port=50564) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1ofMdw-0007eZ-8E; Mon, 03 Oct 2022 15:42:04 +0100 Message-ID: <80236618-2b1a-073b-c6ff-fff9346c5d8a@amd.com> Date: Mon, 3 Oct 2022 15:42:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v2 1/1] ethdev: add protocol param to color table update Content-Language: en-US To: "Dumitrescu, Cristian" , "skori@marvell.com" , "Singh, Aman Deep" , "Zhang, Yuying" , Nithin Dabilpuram , Kiran Kumar K , Satha Rao , "Singh, Jasvinder" , Thomas Monjalon , Andrew Rybchenko CC: "dev@dpdk.org" References: <20220707065743.76932-1-skori@marvell.com> <20220823102255.2905191-1-skori@marvell.com> From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3NAM02FT029:EE_|IA0PR02MB9267:EE_ X-MS-Office365-Filtering-Correlation-Id: 4bbd3eb2-4583-42af-add8-08daa54d7139 X-MS-Exchange-SenderADCheck: 2 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 17Wre+3kc/RnOQYybRxQIXH57/4Gl1A1+3+BQzD2r/PIKdCZ0A7LYvdngIjgyYi+C4THHcw+SebxM1vUj/SljwozLOounSCA5iaT2mu+KKjkGdHMur2BUK0ft1oQUKSDRz5DH5Mvss1jJyj/caqZJvHpUZx3xymN/tJ2Beqsx768METV1yPZ4cpUhE6iiFCOD+WRAauHUsOrmQigyS9a3jzmc4y2ezt/19dk+BF/B8Vhye9CbGgDxVzAm+xiVS8fy/sAMBp5hV4JWfi/Y1xNLfcuCqh373R1iApwVuekcbx19EgR5v0WvbCvyVLN0m+UsJ80WszFFD7BygMUguvHUI4bfCu+o8yI9y8stlIfrwwUifzK6JxJoYM9rqaP7sJKA/uOGbyObqrf91W1aCm0AacFhyLp/HIDItJ+KM9F+ZXDuf45ErIsUATyacvFvsoLc+4P4SPoo7k9rpsoRXsM5rt2itUQ/QtyfxcNKHOJKua8mUIOxyRq0Zq8Qvr6I7sv56Jrv4MD3IKL7MkEB/5hglZoDjk0TQT7LS6hSH6ZKEajuijRa9K/rjsQ+RuIm6Unni4IV8O7+fjPscuJ2uVqkZ35k8RZ8oUesuMmweZvLM/AaGIJB9g77Q01/atvoSzGNvWK1pW23N/bwWPTVAiUxhNSYjsyquypXGHvJoe8YSmO7kP0wR2/KOVS8prUMswDSpv5l40mIagWyEO2EEl9711j14K8OU7u4KAoC87hsKdQL62m69tGnlr4WxVSOkhB8A/sfHWMQtNC3KvwpGDS/Vd9q6S4cyj2hfmugi/TgFBrR2VBhv53fkoeqSYfN9UV+XMRIlSNCC74PfImQlDR4ksmA8F7yFuZTMz3VXakOK0= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch01.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(39860400002)(136003)(376002)(346002)(451199015)(40470700004)(46966006)(86362001)(8676002)(7636003)(31696002)(921005)(36756003)(82740400003)(40460700003)(15650500001)(4326008)(70586007)(110136005)(316002)(70206006)(83380400001)(2906002)(9786002)(40480700001)(7416002)(5660300002)(41300700001)(44832011)(8936002)(336012)(2616005)(35950700001)(47076005)(498600001)(356005)(82310400005)(53546011)(26005)(31686004)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2022 14:42:05.4673 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4bbd3eb2-4583-42af-add8-08daa54d7139 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT029.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR02MB9267 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 8/23/2022 2:34 PM, Dumitrescu, Cristian wrote: > > >> -----Original Message----- >> From: skori@marvell.com >> Sent: Tuesday, August 23, 2022 11:23 AM >> To: Dumitrescu, Cristian ; Singh, Aman Deep >> ; Zhang, Yuying ; >> Nithin Dabilpuram ; Kiran Kumar K >> ; Sunil Kumar Kori ; Satha >> Rao ; Singh, Jasvinder >> ; Thomas Monjalon ; >> Ferruh Yigit ; Andrew Rybchenko >> >> Cc: dev@dpdk.org >> Subject: [PATCH v2 1/1] ethdev: add protocol param to color table update >> >> From: Sunil Kumar Kori >> >> Using rte_mtr_color_in_protocol_set(), user can configure >> combination of protocol headers, like outer_vlan and outer_ip, >> can be enabled on given meter object. >> >> But rte_mtr_meter_vlan_table_update() and >> rte_mtr_meter_dscp_table_update() do not have information that >> which table needs to be updated corresponding to protocol header >> i.e. inner or outer. >> >> Adding protocol paramreter will allow user to provide required >> protocol information so that corresponding inner or outer table >> can be updated corresponding to protocol header. >> >> If user wishes to configure both inner and outer table then >> API must be called twice with correct protocol information. >> >> Signed-off-by: Sunil Kumar Kori >> --- >> v1..v2: >> - Rebase on ToT of dpdk-next-net-mrvl/for-next-net branch. >> - Remove "Depends On:" tag as dependent patch is merged. >> > > Acked-by: Cristian Dumitrescu > Applied to dpdk-next-net/main, thanks. 'rte_eth_softnic_meter.c' changes dropped while merging since that file is already removed in upstream.