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 32AD921771B for ; Wed, 18 Mar 2026 18:49:36 +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=1773859779; cv=none; b=OsDD49zKv+12JUd7E0vSS1JgFFfn3dsioQuAds+FwJUA8Pc6gFwXJ2ems0yzHJ+azTMqpMaMA1yVbKQJUqG6Salfao6hzo0MmWPxJoCfw0VfExR5v/ZtMTYmRuXNsPXOqlxbLo+1X0jF6+ZM0Infb5lR38A/r4CYzpi4YPF3Yyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773859779; c=relaxed/simple; bh=1BVuQcWFnGU8Jm/IGWdCV1cebeaZ28LawZBb57745dk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XN39m0UWHvDBOVbMCtwEjwqFnSpGonSNqppY4sA4Z4qD1dIuERkXuhEt/h7NTkua+Pbvuu0XreYsuS/D53zzKV1AiuPWkVPX60CCUX/f9j0xXd8oXwES4SOUsgfoQHOIfzB3Ycvy73Z4GCV6CXAdJrOc5GFU0XEhJo4+snOil78= 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=Y4ZHCSIK; 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="Y4ZHCSIK" 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=3ykfMi7GP7KGNx2PO7WGrOTQV3P3Y941j2eictItDMw=; b=Y4ZHCSIKItCxpxr8wnWDfTc7CO pHQwMLoNM7YJIliR2tWdM37ivsRYOlgSlT0GiaHYgIAdfqzMsXLrxcK3FtYVmVdo/AX871PqJSfeS EG457xElRkR7Fd4fawnAv1hx6FCnDSdgHHP5Qq1/0PtdiqIok+iNsf6TEhjXxbbsAp9pI2h3eFsyE 8ekQnYgZZt3UfGMVa/ezISWcSXZj5fJW19fhFwih5ULJYIKtD7iwjF8T6prHwGhdWF272fm+3eWmk 5ranuEJPW2eF1tvizRhASA8M5r3ZSPXRq+MqYAIVHAuxQdIWJzb+POfgYsAkgRDjKAeAl0quviCaj cgqkG3Cw==; Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.98.2) (envelope-from ) id 1w2vxX-000000005PS-0i0Q; Wed, 18 Mar 2026 19:49:35 +0100 Date: Wed, 18 Mar 2026 19:49:35 +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: On Wed, Mar 18, 2026 at 05:59:41PM +0100, Pablo Neira Ayuso wrote: > On Wed, Mar 18, 2026 at 05:58:25PM +0100, Pablo Neira Ayuso wrote: > > On Wed, Mar 18, 2026 at 05:23:16PM +0100, Phil Sutter wrote: > > > 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. > > > > Uoh. > > > > I did not even get here to review. > > Oh sorry, it looks good to me. Yes, you gave your Reviewed-by: for all but the first patch! O:-) > I thought you applied the one to fix "list table ...; list table ...;". > > That other series I would like to have a closer look. Yes, I also appreciate some review of that one. Also I wanted to try implementing cache update per command, if only to see how troublesome that will be. Thanks, Phil