🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #27546

Re: [PATCH net-next V5 1/7] net/mlx5e: Generalize TC <-> IPsec mutual exclusion

#27546
From: Alexandre Cassen
Date: Sat, 05 Dec 2026 23:40
27 lines
9806 bytes

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
Technical Details
Message-ID: <fa2825eb-5e1e-4028-8a2d-8e877449d4d4@corp.free.fr>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378181-linux-kernel-netdev=dewy.ru
References: <20261129120331.1910180-1-tariqt@nvidia.com> <20261129120331.1910180-2-tariqt@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378181-linux-kernel-netdev=dewy.ru
From: acassen@corp.free.fr (Alexandre Cassen)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next V5 1/7] net/mlx5e: Generalize TC <-> IPsec mutual
 exclusion
Date: Sun, 6 Dec 2026 00:40:07 +0100
Organization: Usenet Network
Message-ID: <fa2825eb-5e1e-4028-8a2d-8e877449d4d4@corp.free.fr>
References: <20261129120331.1910180-1-tariqt@nvidia.com>
 <20261129120331.1910180-2-tariqt@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3144686"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rwVpOMacxwTfm/tnmIVu+PUfyjE= sha256:/FWa683PoOuARwqtEKkY130Ng0Foofyyhj0RU5jOquc=
	sha1:aaU50sp0dVypUba0VSR9Upw1tWo= sha256:/qq1OudihBJqNpiA/Juk94OA01/x5vPn2VvmA9scqhI=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 15CE9117EF0; Sun,  6 Dec 2026 02:40:38 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.399
X-Spam-Status: No, score=-3.399 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=corp.free.fr
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jxzWUBHXHMA3;
	Sun,  6 Dec 2026 02:40:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-378181-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=corp.free.fr
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 8C42010E0E9; Sun,  6 Dec 2026 02:40:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4ACD1284BD; Sat,  5 Dec 2026 23:40:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796514021;
	b=KqG64z7rv088/iK1RgdXvESrZD/Xj2KqNQrwkKb6deOCuEsFcU+9dXTpHYMOIvDG+oWz
	 8jaifxQ/hSNsrTpDvvRtyXBrYBWhbBo9t6CrNMI0Rmg3E/B/SjCsddH3HS04MRylfrKDW
	 lXTyu+x+cll+s9c1ZBQcwYRFCM5mVnpguJvrUhQPlknt8GnGTMZCHWAv0iJ0+jQcRHBCa
	 DXzNrHh36MCMkaa0SW7+k3JXIDDXmV+09UD9Glernnannut+/dTbKy5VBq77x01/Fnr9j
	 CAUcbpEAFk1zb5YjVnBrSgdXTEobbXGZ35A+Og9dU2Cx+L8kx5B20jY7jnBrCD0N7/g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796514021;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=GiIB7GUgkCrOz1uJUAP0ia4NeOSrjYIWe0mDfIsftck=;
	b=quibaLkVlUGvSldZQQgCuLLdLRCfvWZaArUhOiR9j7gunDCEVtGjfbVrJwfZfNMnnCSc
	 dzSTuoR4yC84Wkm/FeTIYxfO2uDYPxMu6LTCJI6WWkMHXlYczLiV+qeBI1WGKo19RCrUw
	 tFyG77t2+u8bE5DBDH+v070UXjZDKHNAneDNt22J3Ro7+scm8TAZD5ppH9DuTf9orG1bh
	 0sOJt/CKZKuLtN5CPG6Se/CVj93V9PAwVS66y90/Rd/aNWCYYtUtbqWAy7EGBNqCoCPiE
	 UlckJWzuGYPj7PZYJvM0OBBUqj7Bd3FxFDddWMvkRBI/aUVyRs4Hot6qNpQuqIBkl8A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=corp.free.fr header.i=@corp.free.fr header.a=rsa-sha256 header.s=rcs header.b=b6YVa2d0;
	dmarc=pass header.from=corp.free.fr;
	spf=pass smtp.mailfrom=corp.free.fr;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 30919606A33B;
	Sat,  5 Dec 2026 23:40:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=corp.free.fr header.i=@corp.free.fr header.a=rsa-sha256 header.s=rcs header.b=b6YVa2d0
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=212.27.60.169
X-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==
X-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==
X-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
X-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)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DFB4D606A31F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=corp.free.fr
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=corp.free.fr
X-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==
X-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)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
 Andrea Parri <parri.andrea@gmail.com>, Boris Pismenny <borisp@nvidia.com>,
 Carolina Jubran <cjubran@nvidia.com>, Changyul Lee <lcy8047@gmail.com>,
 Cosmin Ratiu <cratiu@nvidia.com>, Daniel Zahka <daniel.zahka@gmail.com>,
 Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>,
 Doruk Tan Ozturk <doruk@0sec.ai>, Dragos Tatulea <dtatulea@nvidia.com>,
 Gal Pressman <gal@nvidia.com>, Jianbo Liu <jianbol@nvidia.com>,
 Joas Antonio dos Santos <joasantonio108@gmail.com>,
 Leon Romanovsky <leon@kernel.org>, open list <linux-kernel@vger.kernel.org>,
 linux-rdma@vger.kernel.org, Mark Bloch <mbloch@nvidia.com>,
 Patrisious Haddad <phaddad@nvidia.com>, Ralf Lici <ralf@mandelbit.com>,
 Saeed Mahameed <saeedm@nvidia.com>, Simon Horman <horms@kernel.org>
X-In-Reply-To: <20261129120331.1910180-2-tariqt@nvidia.com>