From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from orbyte.nwl.cc (orbyte.nwl.cc [151.80.46.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BB0E3D333D for ; Wed, 18 Mar 2026 16:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=151.80.46.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773851003; cv=none; b=To5pjPgEEz4EU8Re+fra4gZlcXZrO/LS8FjWUya/G1HYieO4bC2l10O04gcrunq1FOY8otGGvPaC+Yt8NbXErK/UYgyxnqHNEg1r87UC/Na4iVwV85daZWkVw+zEHYVnXoHsdCOSQZOJes8S/QFDy9X+jkzF64nTNHzaWYp+6yY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773851003; c=relaxed/simple; bh=p1F8Sn20b3QxUsuCFzfi80nxEWRheD8p+QZAcFqTKOo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DMRIy23Kby+DV/uXj50iCCutOPHXdrHWPwONOKwe66PStQy1ZjF0Lb5ULmzpMwYmtwycZHXnIT0hKZbtYOcOtj7TPlPK0iOA3ffSMtF1hpSSlgIR01XP6Uf8YpFYsTzO1dj1HS76zp15k19Lm/ZDUx27+X9YwVL41aaPISkDA9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc; spf=pass smtp.mailfrom=nwl.cc; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b=Cq0poo8Z; arc=none smtp.client-ip=151.80.46.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nwl.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b="Cq0poo8Z" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc; s=mail2022; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GuTYUyLS6U4U+/UVZBLW5YXCUKGvwXKeJpOsg1rNfdQ=; b=Cq0poo8Z1pUqqsiok4fjkaJk/p z1+nHcqXZfV5uFCAZm3Zcw5XpU0JpYUbWZ+c+IWwJ8pQXuZPsEwmEc+xqSmfz+ERxdDgUxhAsYYUi nZ6rfGwacfOgtcHqrYTTw7YlpBj/kFfDWN0bn4GIA0c2NOGiD9jfklFeXmK6AwMTVg+iY+/P19Xyq RFIsHi1tpCXnC1ovJHjUto7tUa0MKPxIkhjH4c+t+K5RcPWurBQvlGJp22MGaHy5Ed5OT2/uDsS1E VW+yZGvFXf0Wh5R4IKdZtvH4touemt5QtqRuJFHh4Whw5gAsMtGW6KUJXwdP2x0r3Ftcafwo4owPu Wk/HQHvw==; Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.98.2) (envelope-from ) id 1w2tfw-000000002y3-48jR; Wed, 18 Mar 2026 17:23:17 +0100 Date: Wed, 18 Mar 2026 17:23:16 +0100 From: Phil Sutter To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org, Eric Garver Subject: Re: [nft PATCH 0/5] Enhance cache filter for list commands Message-ID: Mail-Followup-To: Phil Sutter , Pablo Neira Ayuso , netfilter-devel@vger.kernel.org, Eric Garver References: <20260310231115.25638-1-phil@nwl.cc> Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260310231115.25638-1-phil@nwl.cc> On Wed, Mar 11, 2026 at 12:11:10AM +0100, Phil Sutter wrote: > Reducing the amount of data fetched from kernel improves performance > with large rule sets but also reduces adverse side-effects if multiple > versions of nftables access the same kernel rule set. Being able to > ignore parts of the rule set one is not interested in allows for (more or > less) safe coexistence if each tool is operating on the data it created > itself only. > > This series reduces caching for list commands which specify a family > and/or table. To help testing this, patch 1 extends netlink debug output > to include chains, flowtables and objects so a test case may check if > they are fetched or not. > > The remaining patches actually increase filter use. > > Phil Sutter (5): > cache: Include chains, flowtables and objects in netlink debug output > cache: Respect family in all list commands > cache: Relax chain_cache_dump filter application > cache: Filter for table when listing sets or maps > cache: Filter for table when listing flowtables Series applied after inserting suggested Fixes: tags.