From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=212.27.60.169 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796514020; b=JuGJEyC4bWAwKCIsQNiEZVx6jMYjxF3QmI25Owp3/0c77O+VH3ZXo43YsPQynPpc4d72 GMhUetklaWY18sR3tSiKh7sXTYLoOOOEbatlW9cxXXwFfRTB2skkHmisd/DKaBW7ulf6L C9q41SSfBfwWYd75EWImh6ZtO5Iy2J8UeX+cLvH1FhiKsdcW6s2NrZ1t19wRoVDNUagF2 ks1rx6cCWNaD+RyslqMcwisEGq6euRWwZqrCV3uK6IpRsE24pCu0G3x0LWIcr7tTwDViM PPJ99Oam388Q7HVTIYWxsAboM5VMbptOSnH26rW7aIQOnD2CbDm0KX840sboIwBbPPg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796514020; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=GiIB7GUgkCrOz1uJUAP0ia4NeOSrjYIWe0mDfIsftck=; b=IWqiVu+bPLs/1OiGcoICI4hvYFWYsQcT2TkSG4uuIxonn6U+VjUqw45fglzqkvAdvdq/ gkCoSHV4+lTLWc0W1lR5THNvv7hvtEggWPw4yyIfYvQcBPD6zls3BDHjlxcrWZZ3Gf2Ri ZN4VMB77yDx4Mlz/UG8KRNGYx9ZDDyW5mthCickfHqpV4QwlMbe4ZAO7loDfQjbgIUXIU cZVfzvgv1cTtsYtP+mDeB6O+Mm+DLd7M+lm4qMOsLyjJjx5igCi1cgVJE9+MwuqbvzHbd Z0z2+ujAt0uiumraO7S7UmXHGlmnNob5Olc20GmpfmkzgmtsxgZ+NqbWbCTX7HFQBhw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=corp.free.fr; spf=pass smtp.mailfrom=corp.free.fr; dkim=pass header.d=corp.free.fr header.i=@corp.free.fr header.a=rsa-sha256 header.s=rcs header.b=b6YVa2d0; arc=none smtp.remote-ip=212.27.60.169 Received: from rcs.proxad.net (rcs.proxad.net [212.27.60.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFB4D606A31F; Sat, 5 Dec 2026 23:40:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DFB4D606A31F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=corp.free.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=corp.free.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=corp.free.fr header.i=@corp.free.fr header.a=rsa-sha256 header.s=rcs header.b=b6YVa2d0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=corp.free.fr; s=rcs; t=1796514010; bh=mzDd54eyavNwsoIkgbLsJpy6moiGLVVyrTZb0IlqzR0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=b6YVa2d0mZTFw+jbeIZJUTJ+9D+DBVEnEabC6elDCjjX7s9BUpEQvD6Eo7zNWN4Wx XGFKxayC8dy8jNoM0YwS8QRHDDvWRfsvMbYyZXwUMY1Z+OKOvbUV1iunJv1KAdlmOZ 7OOo37dTxy+0mzEZLfuCeirsLSB9KslcAM9LDEHY8i9DQ1wlZ5XHQ1tJyyifsYuoqH ELinXsRMr3Necm35/d7jv39QYUmh4bGnvllMJPgz55Bk1xHfLRf1mnLgHGgDR3sg2j DyG9HtxUXlAC7tgnFoTcRRsy3ZWoy7+YMHFjuhMB8xJquzQnFJsFT6AFW1wJY3uVOg dN5WugklidBGQ== Received: from [0.0.0.0] (unknown [213.228.1.188]) by rcs.proxad.net (Postfix) with ESMTPSA id 6997544C011A; Sun, 6 Dec 2026 00:40:08 +0100 (CET) Message-ID: Date: Sun, 6 Dec 2026 00:40:07 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next V5 1/7] net/mlx5e: Generalize TC <-> IPsec mutual exclusion To: Tariq Toukan , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni , Sabrina Dubroca , Willem de Bruijn Cc: Aleksandr Loktionov , Andrea Parri , Boris Pismenny , Carolina Jubran , Changyul Lee , Cosmin Ratiu , Daniel Zahka , Dave Miller , Doruk Tan Ozturk , Dragos Tatulea , Gal Pressman , Jianbo Liu , Joas Antonio dos Santos , Leon Romanovsky , open list , linux-rdma@vger.kernel.org, Mark Bloch , Patrisious Haddad , Ralf Lici , Saeed Mahameed , Simon Horman References: <20261129120331.1910180-1-tariqt@nvidia.com> <20261129120331.1910180-2-tariqt@nvidia.com> Content-Language: en-US From: Alexandre Cassen In-Reply-To: <20261129120331.1910180-2-tariqt@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/29/26 13:03, Tariq Toukan wrote: > This means that TC offload will not be able to coexist with any of > the currently implemented accel protocols (IPsec, MACsec, PSP). This exclusion kills offloaded flower on a device with IPsec packet offload. It forces an IPsecGW to forward every decrypted packet on the CPU while the HW can do the job. (it kills the use-case of IPsecGW with full HW data-path). Could a skip_sw FDB rule on the uplink representor be accepted next to packet offload SA ? (1) The order matches software. The FDB runs IPsec RX before TC. With packet offload a software filter on the uplink representor also see the decrypted packet. (2) skip_sw installs the rule in hardware only (explicit setting) (3) VF representor and tunnel device rules are already accepted in that FDB once the SA are installed. I can send patches running here for it. -- Alexandre