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 C1B1041E65; Fri, 10 Mar 2023 16:47:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5438C40A8B; Fri, 10 Mar 2023 16:47:03 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2055.outbound.protection.outlook.com [40.107.95.55]) by mails.dpdk.org (Postfix) with ESMTP id C8FF740685; Fri, 10 Mar 2023 16:47:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QYPBPjdVBU51eVTB67S2ZC01aadnzl8iA/qtzSL6ynGkeRMqROoDpIyXStU9Y7Z/6WPFWFG5Y0GwehSYV9QGlTawgtl6BmovJQO7uMDNxj0hixqIWeCr+6N8tmp/7/MEFJK/eFjuLl4buevs9i5Uesv5Qrfq/jBH98HkvvezjxD4x60TKpd7OJtwiQVN/X2MABUS0cMfRKcHqyQlnD6jkY7VVomxHV22AeO2FBgTwU8OUe9YDfDkT527zAZvUAx9K2FhjiP6e+72x4HFJclSs6jC2MXPpuJRfGLaZYylCjAKJQqgn9EOASrULVcqIp0ZQO3ll5ETrIG9bOWRXUDIMA== 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=itNZtSD/W8marCm6TxSPHdERiGTM1+N3DEjRv2kVQ90=; b=YRQ0VYYFQh/cZVKpaEN27sH/fsDNDp/khBT/b8Iu1ZyGYewgqyXiRWcuddVM7vp6+PGmiQCwxdoPgx8MePGrznzpbjsEvLZuHtrc5HU7BSEVhHv45ZPtzxebYWffoAAwlZDCLGwMzH5lW3sGGWql5ZKlDPg/eHqaZWQSPExKaKOXC+UC/5ysuax+HIR0hHZaVspO5JuM7pMx2lGmDGo++YXDgbmTnHW8zBg8k2AroKPnu7JUkcZgeBCZdP72BMPtpJQO9E8z1PeqLbeRaMIOInJpGmr2Cf/tCB6EjsYVyBUBtgtubQyyylZCBOw1pEiSOyfnCt5ZxFav4AERrZ3bHQ== 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=itNZtSD/W8marCm6TxSPHdERiGTM1+N3DEjRv2kVQ90=; b=TQM/OBs7yCKJwza1DxO2p/koNBGF83DbDHNFQSeGZxLXD4ltFV4fGiMSAsNT37c/HPb8OISu8YZ9UXGT7ZvLm1XrMFVYJM1ck2S4N+ANApp7/mlzqLDV2mEgiFn/2SYw4hHqJuqcm60JRMg5jI+luqjqpz0n35MkK3RZBbUw/Fo= 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 CY5PR12MB6346.namprd12.prod.outlook.com (2603:10b6:930:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17; Fri, 10 Mar 2023 15:47:00 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6178.019; Fri, 10 Mar 2023 15:46:59 +0000 Message-ID: Date: Fri, 10 Mar 2023 15:46:54 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 1/2] common/sfc_efx/base: allow to request MAE mark reset action Content-Language: en-US To: Andrew Rybchenko , Ivan Malov , dev@dpdk.org Cc: stable@dpdk.org, Andy Moreton References: <20230309042842.8709-1-ivan.malov@arknetworks.am> <11b4070e-f186-3a7c-a343-4e0ad57cce09@oktetlabs.ru> From: Ferruh Yigit In-Reply-To: <11b4070e-f186-3a7c-a343-4e0ad57cce09@oktetlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0145.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c4::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CY5PR12MB6346:EE_ X-MS-Office365-Filtering-Correlation-Id: f7a78b61-bf30-43c0-2c4c-08db217eaf6b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l93jwsCiLCAUOktYkOdp0kC4n1G0lsA2d15gGAsAc6pnar4SitaMau9n3rYEWufogQI0K6gkPFMDZPpfYHlJzplHKI3Hyf2XG5H5z2anhSekfNAIUrnQbbUxPy7fdHXfgMu/p82ZWUi/rX4Jeqfi/UJ0uCSL13947fKxlQ9ZRTBsYeOzfA9RngLbKIz8TYUYZslQarde5RNXrEVkEKHnranDl2GR5H45j7mcJcryR8XJjQ0DWiF51vr4Y2rvGLl7GsmM0GWEi89nKkN8+VueAytKCvFKdvdb2+g2z71DU60JB217LUmgV4GIii2hPeDTYv3VzGsXQq5FbuR4YsaGFHT+wLajNFERU7S+LrsYq+lE2x4YIxxzu0955ZZ4hYjV2/LJN4YYVlhKEeQMWecWWQLSZeGvlRSts5tBMWXjawkyd0/CLEO8bHIkYVE6gCCg1/PG0lbbEJThmvXlVrFfKx9089cQr+HRmbe/3rvSsO7CwGcNS/w/PDgTrOatfSFsVBfLgPna5p5KowWH+y7FL7wDotQdvbv+tB5E5v1wuHrEdPQxNY1gX6YwQGFIuG0wNqosKVILNfaj3udBw4sA+5r+wP2M1SfonsFb7/xTRsgM79dLaGvRV/Nslpv9akDJrezlEEbp20lwFkeFY+gYDOcrgQxYoloO69QZzObLphwS+GK+KV1LVgx0pIoQhnusnRU11qoPCKV/yPFekMExCgPHnTQwzdr16WScpFylwCQ= 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)(366004)(136003)(39860400002)(376002)(346002)(396003)(451199018)(5660300002)(2616005)(478600001)(6486002)(36756003)(2906002)(83380400001)(6512007)(6666004)(6506007)(26005)(53546011)(186003)(44832011)(41300700001)(316002)(86362001)(110136005)(38100700002)(31686004)(31696002)(8936002)(8676002)(66476007)(4326008)(66556008)(66946007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SWR5K2hObHBUMndVR0crc3Q2RTIwMFF0SHBscUQvTUhLQkord1NUV3FvSFZQ?= =?utf-8?B?SFRtM1dnNWN3ZEl2VC9tVUVRMVdsblRXMmk2elpWVUFlYVFBMVlyZm5mUzFW?= =?utf-8?B?R2U2aXdvSExVNFI5b05mQkxBZW9hbk5RZldIS2JkZlpCVlNGWjFHcFIxdXlV?= =?utf-8?B?ZEhLVzZzWnpzRGhNb3dKck9INVhvTjY2OVU4NkxiMUZveGdUcXRHejRYbkt3?= =?utf-8?B?dklpaUtoeDdFUFN2Q2tXZmwxZUJLdzdIZXM2ZlJYZ2Q2VDk1NGI5V2pSZUxU?= =?utf-8?B?UDllcW9IYWV6aysx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?utf-8?Q?yHTuF2PFDYin3QiMgx/VPl34X?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7a78b61-bf30-43c0-2c4c-08db217eaf6b X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2023 15:46:59.8345 (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: tj4iOsPne6u37YkNLE02kqlS0g3/7xs+ediUHlLcH/xMdWJ80UpOc3f77lGycJWf X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6346 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 3/10/2023 2:20 PM, Andrew Rybchenko wrote: > On 3/9/23 07:28, Ivan Malov wrote: >> Previously, DPDK sfc driver received support for tunnel >> offload. In it, MAE needs to set intermediate mark from >> an outer rule (OR) recirculation ID in order to help >> the driver identify packets that hit the OR but miss >> on action rule (AR) lookup. But, for packets that do >> hit an AR, the driver wants to reset this mark so >> that the end receiver of traffic does not see it. >> >> The driver has a call to request such mark reset, >> but it does not work as it comes via the regular >> mark populate API, which must not be invoked >> after final delivery action has been added. >> >> Provide a suitable dedicated API for that. >> >> Fixes: 3a73dcfdb255 ("common/sfc_efx/base: match on recirc ID in >> action rules") >> Cc: stable@dpdk.org >> >> Signed-off-by: Ivan Malov >> Reviewed-by: Andy Moreton > > Acked-by: Andrew Rybchenko > > Series applied to dpdk-next-net/main, thanks.