🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24376

Re: [PATCH net] net/mlx5: E-Switch, Fix offloaded nf flowtable rules never being hit

#24376
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 03:50
29 lines
9040 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:

On Wed, 25 Nov 2026 13:58:15 +0200 you wrote:
> In switchdev mode, nf flowtable entries offloaded to the FDB are
> installed but never hit, and the traffic keeps going through the slow
> path.
> 
> esw_chains_create() opens the nf flowtable chain, then the root table
> (chain 0, prio 1), and only then sets the nf flowtable table as the end
> table of the chains. mlx5_chains_create_prio() takes the miss
> destination of a new prio from the end table when the prio is created,
> which for the root is still the default table, i.e. the slow path. So
> the root misses to the slow path, and the nf flowtable chain is never
> reached.
> 
> [...]

Here is the summary with links:
  - [net] net/mlx5: E-Switch, Fix offloaded nf flowtable rules never being hit
    https://git.kernel.org/netdev/net/c/a00e4afd118e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179601061974.3033121.13537698682317114835.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373843-linux-kernel-netdev=dewy.ru
References: <20261125115815.87909-1-tariqt@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373843-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/mlx5: E-Switch,
 Fix offloaded nf flowtable rules never being hit
Date: Mon, 30 Nov 2026 03:50:19 +0000
Organization: Usenet Network
Message-ID: <179601061974.3033121.13537698682317114835.git-patchwork-notify@kernel.org>
References: <20261125115815.87909-1-tariqt@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1326168"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MXYKaV86lTuPMZX9/zSv5CiMRyw= sha256:NwgBBuIvn564kMEpvBWWEynbBPY1tsyT3zBJuLD0MJw=
	sha1:d9wDzP7yPRb7oLyt0hufe5PPfTI= sha256:iCeg5JGR+xRCf100Ps8hn2wRHw244xSMdcpMl1UCzuA=
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 A5429125FBC; Mon, 30 Nov 2026 06:51:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 oEWKpJV3-6f9;
	Mon, 30 Nov 2026 06:51:12 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-373843-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 38DE7125D6D; Mon, 30 Nov 2026 06:51:03 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 18D5329D8B; Mon, 30 Nov 2026 03:50:25 +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=1796010622;
	b=S8MflVCpH1JWnt4RAt6o8qvI7slXYS7P456DwYc9RYNZm+iEf08P5q+zyc9vSwPmV9VX
	 NAlJJ2of8iZf1ux6hvJQJmxdK5XDYagYLQ90PvtlmNNkJm5tgAqW8P/J+KeRB4FfGySjf
	 SEtAHk6glRej8A+2gsNmZiiBcFdMYmfj8WU3kvLdw+GoK5tspmJwo5/cXWsU4HtR7vA5m
	 z57K5Gq+iuM/vCQUSEnSkWM+6W10BqinVSeIM6ybVhHXxZ7naf9aNqmyDl8cIZld+wA58
	 OHAMcJVCQ62od1j7bPQDFjJR/G2NwQc6DRm2tf7KQigK4bBWrRYJAiyoaueFE9DIjTQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796010622;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=iRoszklwLKbmUUNfVr/n/vmfoP8meLZZV/DSSHRyhXY=;
	b=MxgJxGqeQuswOJhp8coD6ZIQfuS+jcsLbvaAVRS67nG0/j4jJ2W/HSfRrdOoDpaP9ZLI
	 rBYyPfmZzugWqpSzEjoshuRdnx7K7qYiZDG5/fMQuiMPOJ70aUGF9J/X5TtJM9tZ39ECf
	 FfaGaiZsBxPTObhpvNvZq4qgFFurOQtgbhWPndWUdbKolKUFqzyVYi7qfk7FyozV0BJVP
	 bAKOzGXhOQnPLr3AOVOHyxqqJHGZspeG1Wk0JBdyvbv+2Pz5iogchjCYhnCpzbMf3R+fC
	 zuVK75CbdmF+I6yKbSW6y/cidwer3MYArvALQ9DEsh5J0/PsfHvD5zCIBIKGQuxqofw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eTVcmy+7;
	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 75B41606A32D;
	Mon, 30 Nov 2026 03:50:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eTVcmy+7
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796010621;
	b=YAv4JiyivN6O0TVnCl7ItCte11IiXAIU9D0yHHg2ynqmYx6j6AkJtI6ofWZUtNOZxk6c
	 iC0UFE2PXL5VlMMK0tcIeF+MMvrv1EYkvWJvO04NexZ3lR6OZdfjhjKVEFzQ9trVowtB9
	 tSKHEzdPwRPwuqNQf+R1hFd3glHhZogS5gen7um79Ejacg6iXLQ2cdpi6n6rOkWmmOlBO
	 js3AmcGwtXv5kVb7cmb4NOaDB49orthgB050BnKu64XBU9I2PCske9UaeFvF39Y4JqHTH
	 gYAVvxRlUaGVil9HICkN5KbCm+ZTKDxc/OoHdZaFC1pljr2mlv//+j9wyoZT+afkaLw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796010621;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=iRoszklwLKbmUUNfVr/n/vmfoP8meLZZV/DSSHRyhXY=;
	b=AW1LVD+ext7+OUoqe3W73QqWoE9JB8rLDv+ujhDFzZOeS6faMm7wLM1F3QmOInBNYQIm
	 2JE1hpOBDS4J4HJGBvJOjKUfvFDZ1nvnvmtF3IiqPcX4zJN0UpoqvbDLuDsQol8wPFkNe
	 2Y2gOu9vuQxuv6RfY9onVUi2XgELiiWS+0ROjwPfhpNdBoFGLu9/U0QgYkmHv+u6ddGhu
	 MdRW7kjEmZL/kFYqOKBdBnmlmaJxCkMJ3zmjuexpwWERngtW5KrLjRzJh+fssK1MwE5tM
	 wJqdi6uR+336oupXgLU4e34JvyVliNBnNNdrpYM/JLzciS5Pq01jqBgr/zePk2y5gww==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eTVcmy+7;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 977FF606A32A;
	Mon, 30 Nov 2026 03:50:21 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4393E1F00931;
	Mon, 30 Nov 2026 03:50:21 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796010621;
	bh=iRoszklwLKbmUUNfVr/n/vmfoP8meLZZV/DSSHRyhXY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=eTVcmy+7eWMfx3QPoWFDvaOVLDfW9rPfqmfZ/kGjN8J3C27uPzu7EVmAMk98IlcLz
	 XDiKW+hMdtFAGkSPLgccRlAZvQMmh1QKcPKzzHG6BNpEFPiblxKaRXraODLtnwsE97
	 A6LfMZfH4R2oo+Zb/N9+B74lEi254PFD0ywQQLux123XDPOKI47wI8zqc8Qw+cYAlF
	 JgULc8VlmLNjJGFJQslgjnsOBK5PthU8pKFZSfuQsjUHUnpaqhasv/dPNA2gWZ3T64
	 cpaqOKZQopzRQF8jCKL12z8fTNFj2ciZeg/S7rpJ08mxZZOoWit3rM4POLEi01aexz
	 skQIT55fzWAGA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 34885392EA7F;
	Mon, 30 Nov 2026 03:50:21 +0000 (UTC)
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-In-Reply-To: <20261125115815.87909-1-tariqt@nvidia.com>
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com,
 willemb@google.com, lariel@mellanox.com, cratiu@nvidia.com, gal@nvidia.com,
 leon@kernel.org, linux-rdma@vger.kernel.org, mbloch@nvidia.com,
 mzuhayr@earthlink.iq, roid@mellanox.com, saeedm@mellanox.com,
 saeedm@nvidia.com