Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1939795rdb; Thu, 7 Dec 2023 13:08:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6X4u0k/vCpvk2nQ1qN6vlbCzCsE3efP4pb6SytluCDrVYbANCj5D7TcmL8ewdtL/rBCKy X-Received: by 2002:a05:6a00:14c4:b0:6ce:6518:702f with SMTP id w4-20020a056a0014c400b006ce6518702fmr3924292pfu.28.1701983314510; Thu, 07 Dec 2023 13:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701983314; cv=none; d=google.com; s=arc-20160816; b=CJSek/OpfHsjTe2nhTs5ipfuursblOtZKkBodaG+zJU6S8Go0AMOTJoFHT1f/y+Obf N804GZJECIqVQ/OaC9pdjeYI2qsN/KaxjQtk7Fo5ojY0YS8W/gHj+7zQAVjYYf4Ek8+v 9xoDn0FpTPn+Eol4Qjk7la1Vg97iB7j53grZP6pYlWxMv1EQAQlTn2P4Mb6xj+DXxtS6 5bYiB/+EefW9WDL/SSu6lkKdTB+IIxMSXqsvmOFhsa+9Zlxa4CiK3V0yTcQzyfi4b5Uq THlbkEo3A3CJcymbLKSSjtwBfL91mG8o9ib8t644QzyvPS/lq3WpUOGrHRXS16QtcIa4 mA3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=cT8aoY+rEUbS2cmho5uFAl6BrXELpVToy3OJdxx6OrM=; fh=hI1qGItPrYyyMLqep0UhELoOa335aRX/j0XBIDEUnnQ=; b=NHYbeOvBxJuPd9Cg9bxD2+Ap+MIOoAuyEKIZQoIvW2VWxcWJaYiC9d5lMRWqzRyaim R+Kj8tCvWDtVThMOwqaofgkKwQ/RwEuiDtWM/rWJi5SSmROw2qDCXuyAPuPUnVY42oZy NVn1sf1CNj6nP2sW2c7Qa5Opc/aNt0z26S7aOthYZgqKCez0C4cqrAH7onKOvF8kMdnh m91DLyeHGHXXEGvDXnhw3Q4Fc+6Qolp1l1KUjt6hAYPig9PJzg7Mph99316EV4xKblMZ YCTpDiLWanBzM+TO8b98f3dVqtIjGONXFlEBXAfdWeKWUAwy6YMyzF7wPsGmMezxg5Hp GD6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LyNnwWag; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d18-20020a056a00199200b006ce112788a2si309065pfl.23.2023.12.07.13.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 13:08:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LyNnwWag; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A5F8880CF54F; Thu, 7 Dec 2023 13:08:32 -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 S235229AbjLGVIU (ORCPT + 99 others); Thu, 7 Dec 2023 16:08:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235249AbjLGVIO (ORCPT ); Thu, 7 Dec 2023 16:08:14 -0500 Received: from mail-oo1-xc2f.google.com (mail-oo1-xc2f.google.com [IPv6:2607:f8b0:4864:20::c2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F34781716; Thu, 7 Dec 2023 13:08:19 -0800 (PST) Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-59064bca27dso665121eaf.0; Thu, 07 Dec 2023 13:08:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701983299; x=1702588099; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cT8aoY+rEUbS2cmho5uFAl6BrXELpVToy3OJdxx6OrM=; b=LyNnwWagJp0D7TbUx6FE+b6nvhHt1TJiXvBPdjailIhJcBWxw6alwEzS5ixQ9hRKsm /t4mg0W/VVLgZdeRAm5BA+htOhgkEB+gVHKL/l9TyMKj2ZKEBWSZ+yf0Y0uO8270/oI9 pnI45uauZjL/tLe9FtjNV5cj0J9XNmrnmuh4OtNXjjzey6Fh+ugPnd3DjL2otnzrrX78 mJk/LPn/QteA1jgzvx/JP1T5KkQJO6zdaWX/zMVwb9qE5gHeMG6Su0KKMAeMLa5bC4bu nTt4e2XjgsWk+2TVw4r6eKqV6i1RC0DUcu2TKhI0l41QIGVKxzuesqhQCh8bzxU7NxO5 xdEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701983299; x=1702588099; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cT8aoY+rEUbS2cmho5uFAl6BrXELpVToy3OJdxx6OrM=; b=YyHQeAVup2nwq8rqZQ6Pes/fBJVqX88rfosIB3skwpsnH4CgRPE3TbEC6e0IKsdrv5 MWRtocPcwZzi0+kO4CQ3K0TYR4yUoQaZ+vgmZpV4m+7X0lPsWBSbQp9KGWQDwqxxTeNa CM6VtthyTzDqR7btZmCDi+B96qI8xYdpNQIM1gCnJJJobn3xWvFFeJYMxbOcJqQ6afZA cE/nH+lip1VJJri3KkaLZnHqwfK7LrqYQxPqEch0UilKNlek+mK4cGd7PipvSavBLhh+ FEoZYx1MY/3Vu/1F5ct5bGyIlEl7CflUd/4jXnaWJhZg4PjQuG2b2A3rZyqCreMx75gR t7oQ== X-Gm-Message-State: AOJu0YwfYb8HzqicPmHgvHDifsoRPaixQEdGgCZBg8rs7LyLJSDWT6VB tk8ggguUzYgQYwCYghUqdNRzDbO7t2lnsFs6E30= X-Received: by 2002:a05:6820:1508:b0:590:69cf:d99 with SMTP id ay8-20020a056820150800b0059069cf0d99mr1980369oob.3.1701983299115; Thu, 07 Dec 2023 13:08:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Eyal Birger Date: Thu, 7 Dec 2023 13:08:08 -0800 Message-ID: Subject: Re: [devel-ipsec] [PATCH bpf-next v4 01/10] xfrm: bpf: Move xfrm_interface_bpf.c to xfrm_bpf.c To: Daniel Xu 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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]); Thu, 07 Dec 2023 13:08:32 -0800 (PST) Hi Daniel, On Thu, Dec 7, 2023 at 3:52=E2=80=AFAM 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 lik= e > > 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. Eyal.