From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (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 50D3529ACD1; Thu, 29 Jan 2026 12:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769689281; cv=none; b=tmINFhie6hZ/ZcB1SQAsIaHK84DWU8grZBh1lAt9ob6JWQIlRasjqPOvcG9SyiQjIJPicETs3fAHmNDl83kL+Iohn5Fq4nTDBSemsAMi2yXD6Vl46oeanX0Kk6VOfdXnPOHL062BdzttVmIUfzeWiNH/K0gZzxFyVNcmLp1g8c0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769689281; c=relaxed/simple; bh=N88fNO7e6FBpx/dQ/XRljTfmNBuMN/7svA6A6osVWaY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IxW0cyV2uNhcZjel9Uu5tY094OdllbC6oJhBOLnSyDIBb69Arx1owMRSTVeITN/7yQOlEAKWz0qNx6xkhorqUSWvX3W3Tc98g79dBjv7Z/dY5CUXqwp3a7tb+nhdkmZyEXEQ+4Mhe452Yto1FkmFk2ibjDTlfvzzRi1xbzRgAYo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 68D3360516; Thu, 29 Jan 2026 13:21:15 +0100 (CET) Date: Thu, 29 Jan 2026 13:21:15 +0100 From: Florian Westphal To: Qingfang Deng Cc: Pablo Neira Ayuso , Phil Sutter , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Bianconi Subject: Re: [PATCH nf-next] netfilter: flowtable: dedicated slab for flow entry Message-ID: References: <20260129101213.74557-1-dqfext@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Qingfang Deng wrote: > On Thu, Jan 29, 2026 at 6:26 PM Florian Westphal wrote: > > Ok, but please use KMEM_CACHE(), we've had a bunch of patches > > that removed kmem_cache_create() in several places, I would like > > to avoid a followup patch. > > But I'm creating a slab with a different name (`nf_flow_offload`) from > the struct name (`flow_offload`). Should I keep the `nf_` prefix? Then add a comment that its intentional due to the name, else we'll get a followup 'cleanup patch' to switch to KMEM_CACHE().