Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2677472rdb; Fri, 8 Dec 2023 16:05:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVXqiDDICjl9S3GrnBti4ilzuGalh6/QgTWkevBbAnzCSiV6+f2jylLltrx4CoqEz/wGt7 X-Received: by 2002:a05:6358:9497:b0:170:8da:ade7 with SMTP id i23-20020a056358949700b0017008daade7mr854176rwb.27.1702080302488; Fri, 08 Dec 2023 16:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702080302; cv=none; d=google.com; s=arc-20160816; b=D+5k2FAvpklTB31EG5fmtTrC+jwAjBgFP95NxRCKBMVH1SKpFv8Dy0CR5NqU9oxMr5 0vEg/9IgvBONoKTodYbBRYNOlbpTwOB0Clo7LSrPSYYP2V4voNXAklkIzZifubiZ17PE tj1VVFQqDemw9yMq5v0mhc2qNAuWeP+lHPgGlwS70Vj3045ZgdI30TKPXVvqCaD87q9W JEf6KkyNQK5XpxoOCnH7/bsJdo3gNdhUeKis0ZITpJUS+tSc6Gatpiu+jF1h0i6+j9hy F5sVmIh0TCJRG/vleUQcWMHv1R+U1JGBZn3DWW6GCwV29qM3Bb/Qeb1OJ+YsnMIIiKK/ d2BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=ZlhhGC8MmDwntW/X5pZovx9haHFb4sqy2tr4l/qUhmA=; fh=52LzZ0Uw68hRoNvvkk+s0EKJmUHA6uyuDSz9Oxe3E8s=; b=1EnCif1WO3Ivvm11YZF7c3GfjnKnbsV4BFG4whOM9hh00e/7MK2TYz/XJvqnl/s/hO t9Pp1SImek8Np1hDXe/iKJjeZHf/EMFG7vykm+OHLx1kzNNRkrpgqxOAcjWs3gpM89bf 1Zc0+U7PrdXbnvzDKv6x0wLnDKBhFGNvKSX9aJcYKZc4q/AIcAMr19mW8j/y/mBBuBcl GCcXLiE37CMu7fd/lkJ4zWRTxRih3FXOHunx8TMT2vOYfNQoku6hjSrN2ISvt5mANUpo uYMChL7y3D4mEG0aPtSvmAqyFeuE/xU2vg82EeM6MsY+spB2h36j4FFLmUgldmeaLfhV haKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b="WsagpBE/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=uJCPgsY6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i14-20020a63e90e000000b0059f0cebd046si2196351pgh.729.2023.12.08.16.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 16:05:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b="WsagpBE/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=uJCPgsY6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 86D3A80AB1E0; Fri, 8 Dec 2023 16:05:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjLIAEu (ORCPT + 99 others); Fri, 8 Dec 2023 19:04:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbjLIAEt (ORCPT ); Fri, 8 Dec 2023 19:04:49 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5369123; Fri, 8 Dec 2023 16:04:55 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 796B8320029B; Fri, 8 Dec 2023 19:04:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 08 Dec 2023 19:04:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1702080290; x=1702166690; bh=ZlhhGC8MmDwntW/X5pZovx9haHFb4sqy2tr 4l/qUhmA=; b=WsagpBE/4lHxnO4cJAERP37lw5hQZJ9dA8uDrsIZaZeR3zPHnaB 6lo8X2/n+WMJQkYWQKCf3BhrM4CcISSDi1Q2du6x+lkZyBjGCf5X3wVVBFq11rL1 K/zi+NF8nvjqRH5oXglArIMBu48RegZhtqQD/K2gZhGXhin6THuNlpD5NP7vKmHt HZfscyw0ptuu6vC3r/NKZvNd0zZ+02weRZaykCk+6USnEl5919/iqQkaB9m8DrZH 3HoTuth4KDfjBZJ2kJiEccopod+ftFF9vOUkVoaRhMmIeeOHSrcf25hkl2eastVF 0wqYztwu0319mUg2aQHTrPNvhm2gIi7Z6ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702080290; x=1702166690; bh=ZlhhGC8MmDwntW/X5pZovx9haHFb4sqy2tr 4l/qUhmA=; b=uJCPgsY6B12Hjt+ZQnsxdMtY+eYFbyOYYxDIEBAklq/SjGQqeER diE56E0hdOZ/4UIuOIUOvLwTBDDAu+/5xso6zV33eQr9B3YnE5vchemDHjjUUBrR 1JBwub/kdxc22XcEnzodGTbZ4nsRJyW1fFuc17SYCM5Pq9ftp5Lkc40riUfH4MW+ yuMc1N93TtwNgD+M/kq9vSpgLFdt3yZEgqbzfPrkgYghdMFpu7GAONZv13fxxVJ/ OkHtG53RpS/zPAN3Xif9afKBn9TDxteSQPHW/I9dNF1IJC/LkWbVap8ypdmI7oYq Ob9Ts0IaEGzIJsN3+pdZybA/PE3+hBTIJ4A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekjedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtugfgjgestheksfdt tddtjeenucfhrhhomhepffgrnhhivghlucgiuhcuoegugihusegugihuuhhurdighiiiqe enucggtffrrghtthgvrhhnpedtgfeuueeukeeikefgieeukeffleetkeekkeeggeffvedt vdejueehueeuleefteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegugihusegugihuuhhurdighiii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Dec 2023 19:04:48 -0500 (EST) Date: Fri, 8 Dec 2023 17:04:47 -0700 From: Daniel Xu To: Eyal Birger Cc: Herbert Xu , Steffen Klassert , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexei.starovoitov@gmail.com, devel@linux-ipsec.org, eddyz87@gmail.com, edumazet@google.com, Eyal Birger , yonghong.song@linux.dev, kuba@kernel.org, bpf@vger.kernel.org, pabeni@redhat.com, davem@davemloft.net Subject: Re: [devel-ipsec] [PATCH bpf-next v4 01/10] xfrm: bpf: Move xfrm_interface_bpf.c to xfrm_bpf.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 16:05:00 -0800 (PST) Hi Eyal, On Thu, Dec 07, 2023 at 01:08:08PM -0800, Eyal Birger wrote: > Hi Daniel, > > On Thu, Dec 7, 2023 at 3:52 AM Steffen Klassert via Devel > wrote: > > > > On Mon, Dec 04, 2023 at 01:56:21PM -0700, Daniel Xu wrote: > > > This commit moves the contents of xfrm_interface_bpf.c into a new file, > > > xfrm_bpf.c This is in preparation for adding more xfrm kfuncs. We'd like > > > to keep all the bpf integrations in a single file. > > This takes away the nice ability to reload the xfrm interface > related kfuncs when reloading the xfrm interface. > > I also find it a little strange that the kfuncs would be available > when the xfrm interface isn't loaded. I think technically since the xfrm interface module does the kfunc registration, the kfuncs would only be available after the module is loaded. > > So imho it makes sense that these kfuncs would be built > as part of the module and not as part of the core. But yeah, point taken. I will revert this commit for v5. > > Eyal. Thanks, Daniel