Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2196410rdb; Fri, 8 Dec 2023 00:35:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvbc8dxvvg5hZcvmID0mhsioNcFR16J68iyHEUf5m0qRVhFOYRP9lIwe7tAiX4sCG5khoO X-Received: by 2002:a05:6358:730b:b0:16e:111:fafd with SMTP id d11-20020a056358730b00b0016e0111fafdmr4473738rwg.12.1702024530431; Fri, 08 Dec 2023 00:35:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702024530; cv=none; d=google.com; s=arc-20160816; b=XGM7Zf90c/8mfED9DDRYzMj8szJoW2N5Vcu27rcoswwSU4CgWpb1ik9DibVwwuXu5P CFIs34MQ2FwJK0cQA1sHParT+XarSH/rl/GeFTmlNIg5EDiTYtJfgmZ7CS6lemjz0fyv TECfOANuOMMTMoZ2rAGew1QqK3vd/xqZerPmezyg6hrNxW+VBuWEKzpyWASuC3n1vjh9 qTXVgxKSnhtSE+jrZZdM9KYHA3dO6iWzMHyQVniTeLHlHCd4vRKK+GQNYMw1wtBYvIAz tGR6yf7efuloQ2Y5oN6N61ouaNT3e0gmozGt0Q7TiwO34udDJBOZQDVFKZjOwxP9tbiK kueA== 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:dkim-signature:dkim-filter; bh=85i0GXjB5ZwUcg8pev6rLBbmnP+O9f3YCQzGI4JsW/Y=; fh=H/a+JQRljpJNqktlIyo5r0L95LNBGnMciny9oIiKy9g=; b=NkRvUTdaMYSUZI7nLPefabG4n4f9vehcqwMbAPK0h9EdMJDca6SCyj2nvrZsI6063v N3m+XJ8MqbNadyGIqDPXyHT7tQy7RSNiAk3aju0BA/1b5J7wwby4Gwpkt73Z6EaRnyKS ScQlHS9vhA7hg6F0vTh+HsC2apwY1Ni8pmcJMzkAb106XojhNOvdmLWjKdtFHTkfW/sV naO/78cN1cIoYVD8dQBq0TIXXuAW6DfyS/0Rw5o1oTEtNJQjnfBx1hqjpXSmr8+WBjp/ FycnER4uEc2qkulQV7bK6ghwgpu9lknwS3/0/vsKLOtN2gWK63MutmzLGYij9PkCeFyB 98xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=djDuRS8x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c17-20020a631c11000000b005c62adcc87csi1161890pgc.882.2023.12.08.00.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 00:35:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=djDuRS8x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id A12F282A175C; Fri, 8 Dec 2023 00:35:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233218AbjLHIfP (ORCPT + 99 others); Fri, 8 Dec 2023 03:35:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235765AbjLHIfN (ORCPT ); Fri, 8 Dec 2023 03:35:13 -0500 Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AA621729; Fri, 8 Dec 2023 00:35:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 6427B20868; Fri, 8 Dec 2023 09:35:16 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vb8e2srhxs4k; Fri, 8 Dec 2023 09:35:15 +0100 (CET) Received: from mailout2.secunet.com (mailout2.secunet.com [62.96.220.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id C9E1F206D2; Fri, 8 Dec 2023 09:35:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 a.mx.secunet.com C9E1F206D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1702024515; bh=85i0GXjB5ZwUcg8pev6rLBbmnP+O9f3YCQzGI4JsW/Y=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=djDuRS8xoK/daO1oLJphawnOZabnvGyTuKZfx+1nlXadN9DPrBqRdn4a5VgJRuCiN xTczTWVmmnx9UIOMWX7YTuRUVYyicA7He60dtUsraXLyJlARwBY2PT9k9HXIxatE/4 jmwIBIZML+uOkIf4XlT89oRKlSIvMJxl8HoWk8XuuxMrcnsnMAWMh7Np6lDRASKbmo ENCBmfOYDnLFEkbT/7EAei9A+P9+aF4A7mzyPUlhLbmQ/zswgD1pBeFpWV7ov9U38o kPccZL3/wWp/wLYDgwSo3utG5toF8fDSfGooa+7TbE3oQ9RfwOuL8vDGj9JuL9AEpq hMY1oUQf3KlGQ== Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout2.secunet.com (Postfix) with ESMTP id C4F3780004A; Fri, 8 Dec 2023 09:35:15 +0100 (CET) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 8 Dec 2023 09:35:15 +0100 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 8 Dec 2023 09:35:15 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 0918D318299E; Fri, 8 Dec 2023 09:35:15 +0100 (CET) Date: Fri, 8 Dec 2023 09:35:14 +0100 From: Steffen Klassert To: Eyal Birger CC: Daniel Xu , Herbert Xu , , , , , , , Eyal Birger , , , , , 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-ClientProxiedBy: cas-essen-01.secunet.de (10.53.40.201) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 00:35:27 -0800 (PST) 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. > > So imho it makes sense that these kfuncs would be built > as part of the module and not as part of the core. I proposed to merge all the bpf extensions into one file. With that I wanted to avoid to have 'many' files under /net/xfrm that fall basically under bpf maintainance scope. But if there are practical reasons to have these spilted, I'm OK with that too.