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 92B8041E65 for ; Fri, 10 Mar 2023 15:20:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8803340A81; Fri, 10 Mar 2023 15:20:26 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 8EAFA40685; Fri, 10 Mar 2023 15:20:25 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 961B466; Fri, 10 Mar 2023 17:20:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 961B466 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1678458024; bh=FTWq4SPx+6CZLd9SN7lJOFUQgEYeUrqvvx3M2u3ExrQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZovtIQ1zZKHX9i8w6PQs/WUgaTL967NxS0255odM2A/4SoCCcv2orb8VzkP7dDaUA bkhDwEEVj/q7zz/O2Hz1N7c/VBZ0bvnkovAIF2+t2wDYtNuhxoiCqhW8GPGmZ+YiZC kzv00l63Dx+1HUDZgrHWcsTMReZDoq/heK28WJeQ= Message-ID: <11b4070e-f186-3a7c-a343-4e0ad57cce09@oktetlabs.ru> Date: Fri, 10 Mar 2023 17:20:24 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: Ivan Malov , dev@dpdk.org Cc: Ferruh Yigit , stable@dpdk.org, Andy Moreton References: <20230309042842.8709-1-ivan.malov@arknetworks.am> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20230309042842.8709-1-ivan.malov@arknetworks.am> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 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