๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17783

Re: [PATCH net-next 01/13] netfilter: flowtable: do not hw offload flows in teardown state

#17783
From: Pablo Neira Ayuso
Date: Tue, 17 Nov 2026 10:26
34 lines
9960 bytes
On Tue, Nov 17, 2026 at 10:40:48AM +0100, Paolo Abeni wrote:
> On 11/17/26 01:22, netdev-bot+sashiko@kernel.org wrote:
> > Thank you for your contribution! Sashiko AI review found 2 potential
> > issue(s) to consider.
> > 
> > Critical: 0 ยท High: 1 ยท Medium: 0 ยท Low: 1
> > 
> > If you believe none of the issues are legitimate, please reply to each
> > issue of Medium severity or higher and explain why the AI is wrong.
> > If any of them are legitimate and you plan to respin, please let patchwork
> > know by including "pw-bot: cr" as a separate line at the end of your reply
> > (one such reply per series is enough).
> > 
> > - [High] The fix is incomplete.
> I understand from discussion on v1 that the above is understood and will be
> addressed as follow-up. The same for the mid issues in patch 2/13 and 3/13.
> @Pablo can you please confirm the above?

Confirmed. We'd prefer to address one thing at a time,

- The CLOSING state logic needs a review, 1/13 is focusing on the TEARDOWN
  state specifically.
- Regarding 2/13, more existing drivers need updates. Currently this
  update to retrieve stats when the flow entry is deleted is a no-op
  for nfp and mlx5 because these drivers are ignoring the stats object
  in the delete path. No harm, just those need to be updated.
  There is also a remark on different lastused type (u32 jiffies vs.
  u64 in drivers).
- The issue described in 3/13 in also a pre-existing issue, ie.
  conntrack -D or -F is also missing pending (non-accumulated) stats
  in hw.

I consider these are a pre-existing issues.
Technical Details
Message-ID: <avwr00Q8q5PK1YNZ@chamomile>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365161-linux-kernel-netdev=dewy.ru
References: <20261116001612.2806263-2-pablo@netfilter.org> <179487496421.3136.13242797618262399074@kernel.org> <9ead5297-c706-49d7-8226-99955d81ccae@redhat.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365161-linux-kernel-netdev=dewy.ru
From: pablo@netfilter.org (Pablo Neira Ayuso)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 01/13] netfilter: flowtable: do not hw offload
 flows in teardown state
Date: Tue, 17 Nov 2026 11:26:27 +0100
Organization: Usenet Network
Message-ID: <avwr00Q8q5PK1YNZ@chamomile>
References: <20261116001612.2806263-2-pablo@netfilter.org>
 <179487496421.3136.13242797618262399074@kernel.org>
 <9ead5297-c706-49d7-8226-99955d81ccae@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2302819"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:E0cWjw+lR2bYz2MWGXUAJHyYfyg= sha256:/VyYGO1BC+JM8u5wdC/p+rlUc5F5Z3+imxJTl9ZgUpk=
	sha1:/Kx+cJOzPCttesddE9h8pgR500s= sha256:498mje0j5BurEm4/kS0Px/5pXp3DNlnVvR7vwnb3V9Y=
Content-Disposition: inline
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 77E42114EF9; Tue, 17 Nov 2026 13:26:52 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=netfilter.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 SVdSpO_4_vHT;
	Tue, 17 Nov 2026 13:26:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365161-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9A407114EAB; Tue, 17 Nov 2026 13:26:36 +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 6C33B32EEF; Tue, 17 Nov 2026 10:26:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1794911194;
	b=eejauH9qve8w8DEhA2Tf1Vo1uF/3wcYNBjK1AwcEu1Ey+xt177NPlOP80pEwrDl3xWtL
	 nwXsCLJ8kM075rm2lVGNGKGneD9XQB/N/Z1kn0xN3mZv83jL2ExiiXNq3Yj73iEKpmRWI
	 30b0Yz3Ed3xSnlxzFzlIvUYz5HDOKmzQk7oC7o38q8se+/9Nt3eJtrzQKHGao7+NXwsjT
	 2O+rj5KD1EuMhqduRTvJhOuo2ozaBAUenm46/P8AMwarpWWv10YdqSopYxmwlY41mXhS+
	 lyUxwCgHrAyHAViNwmETLmUs1ZdhLUItR2CdYu4OBgsWH8Sg9iPpxYgGNBxFCJS+KTw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794911194;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=Vm8fCUb0PTrPZmrMT6GsSOC21f5tCtSd3vKAbkklXKs=;
	b=iu2rOfuWDAZSgCTyyeZDwXzQk7dEqpptzFz28YOJYECYfi+UNtdIMFx1hSzeZee80K11
	 jxKVGQtZJn93kCSSXEhYqp3fpEKbQI8l9uFozU2Fu0USYfqAWLyHI4J692o8qA6ye6kIP
	 ik1IHp6Hm1cH1W1pGuglpAi94ios6Mxeu9rf7C11SRF9x8dtOSNXQlCmuqxYZLVjRhGv6
	 EGEjVsqG6h25LZLkkb69bVutZdrUygbv4VUC+yyYzc0k+hsn1OIdbc404cQz45+062H+f
	 Zfndge8v7CU5VjT2IDJQjpFNe+zHuNDFaLmOJpbM8FF9Zqh2T8wUJe6Uhu5rakIGALQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=pfmdCEUk;
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	arc=fail 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 36165606A331;
	Tue, 17 Nov 2026 10:26:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=pfmdCEUk
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794911193;
	b=Z8BBQwOEGP+iqCEy0bA3bzDk3n9S5o1SL0rdk/683LzeVnJhLcI66J00ZAM3ik4GNeY2
	 Air0a2CwN90Ww42ygq97oOkYSN+bhcBddl1WYgYpfgXmjyd5gYkemG0KsbubZFRyLi9ER
	 pkBx29T8qiZlWCNVyCnmQtvpYXzEh+LOSfQ8eXFmuXovK63UZ98T6riAwu5W1MqivapqJ
	 HbznV8f1NJeZXOwobac0BMdfV+/LaiqmpjPtguP/TiihDSeyflQzc33P/UU7hsoa9dVL+
	 bW4Dx5B+1+MRa11FnFEGM3LRLz6RklI3K5yTMr/RZcg8I6btP/PwyyY4BpYfO4UpOJA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794911193;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-Spam-Status:
	 X-Spam-Checker-Version;
	bh=Vm8fCUb0PTrPZmrMT6GsSOC21f5tCtSd3vKAbkklXKs=;
	b=vnwY6gKUI4xicfiAs1EKhd8IZYVCCpemgVzTXfbSrvyD1rg4mN2BbrSvjXft4A8DGfYc
	 BFCFiKbkYW3O97z8ZwQkwUjvmUGKSkr5s/ZWf2qKEX6wFAUpSWfP294K1JOJZaXh0KpkK
	 4w9ct3+/eE3k0lT8+KbrUR2/9HDelmnNKAr9JoGPqjuzsckgBdbQTP/8t44xi8nYOekXP
	 Q344emwOC48q0EOfggPezJLF0n7JFFwTtSDZnpvl1SvwTr+xoTZvSDYyVL8KbjcfouSa5
	 I6ZyIcV4QuvqZKZWJarwYyuj4ftFu7ZOc3gQs4rYHcGpc2tgt1zLohavhu5Tmc0wHCQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=pfmdCEUk;
	arc=none smtp.remote-ip=217.70.190.124
X-Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124])
	(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 UTF8SMTPS id 652F6606A31C;
	Tue, 17 Nov 2026 10:26:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 652F6606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org;
	s=2025; t=1794911189;
	bh=Vm8fCUb0PTrPZmrMT6GsSOC21f5tCtSd3vKAbkklXKs=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=pfmdCEUkrydiCr1SRy9k8UNTOm6curUNlAmaQWXlJcwx7+ORxZyokfAQjJkc+zyNt
	 agTFDPrOfCqnQsXx3RcmxV8W0PgP5NksJjVQSAZ9J+hXCJJ98iaLtNNs+tTWgesThJ
	 SyzRvzCELIAY2miE69lG9ZKfFuWeXDNxvGwkUUt7hsnnDzPeGbvyGSz2BM3gmsPoXK
	 ec5X8G5W09CiEnqqnybHG3RPvPwiCBeWyHsKBCEBxQvviSUezqdIkg/Opf/zmfzOnH
	 sNQqJcIJhsZeV606iuRhEFnMo79lQEiRAZKay5eayt79He0CC6n4xDot4BCZg7WFB5
	 xqrqPqRufbJIw==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id B257060076;
	Tue, 17 Nov 2026 11:26:29 +0100 (CET)
X-Cc: netdev-bot+sashiko@kernel.org, netfilter-devel@vger.kernel.org,
	davem@davemloft.net, netdev@vger.kernel.org, kuba@kernel.org,
	edumazet@kernel.org, horms@kernel.org, fw@strlen.de, ja@ssi.bg
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: <9ead5297-c706-49d7-8226-99955d81ccae@redhat.com>