Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp259967rdd; Wed, 22 Nov 2023 15:27:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkwQcNbLoR/hM04NqxmoPySwgh4DGHhkYyvnMu+Db2WpxRPkZuOKylaagjvIF/1Z+qnsp2 X-Received: by 2002:a17:902:7001:b0:1cc:548d:4252 with SMTP id y1-20020a170902700100b001cc548d4252mr3347605plk.57.1700695641340; Wed, 22 Nov 2023 15:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700695641; cv=none; d=google.com; s=arc-20160816; b=LoNDcBwIaTBTLycjqEd1imGD1/micTS8z7TMu4Pd4IXZgAsMze+8R2XVF2Tu4ug+Ay QKcHYzDvzIolTGkbyH+DcjOj2IOhyHUwrCBppHjyw3rjZp3BRvC46RLu1rpH5sE//yrV hHvu/XkHsKtzoC3VYTrCg6zQvpXgVhU/t0TK/nqqEQz/R2Emc0+QXINRci0wP5K7bCq7 Lvg3E+TEQiPv25Uf0aE9FJOWm+0fVFjI1W2FHL6KVtk4AYpI0Gu99Pm3wa8dUKW+1z1Y pacezAaDxYYeQ7CGuL5RV46/K8AZq+h0KBgkSMpL80S0HZlswiGUBYVgvxIBh48Ow/wT r0rA== 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=+7VkYcNnsFbmMqIJfU51f8QLpPwwDdC/NMyz7h+wtmI=; fh=hCReYGBTbrlIJ1QWhz2Us4pED/1eX33t7VilNCGJJSs=; b=EujKl/8u7JEFBpcDMeLM74RU9WVEf9pS3VUN/IcRT0gKhzpYoyaQaWcVve4Vqgje0j XTtD95sxc8XHo23DtFVOwAU9cLrLbkA1ggjPR5utevqP/NoMb02esl8q8ag8cK7qfY7g lssHcwLpTraKkglAkNGlGxebDg92UF8Vc5IQiVzviVoSqt2FtxXTa5/lt2zR9wOtRqqw LSF/OqwcprPvLdgRCOKRcGFr9i6uUQgEPyZkmQMh+SmqiN/sdD5Vm9FxqCp7BpmH52S0 fxyXVxIdVAeiVYIfvvY6mDcJ8KFz165FsB6hvzHdoS8N0NtgUuPn6M3kIJtJ9Y7lMZ5j BnkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="cDtZA//9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a16-20020a170902ecd000b001b81a112f9bsi426952plh.586.2023.11.22.15.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 15:27:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="cDtZA//9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 3836D820D5DD; Wed, 22 Nov 2023 15:27:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344554AbjKVX1E (ORCPT + 99 others); Wed, 22 Nov 2023 18:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235215AbjKVX1B (ORCPT ); Wed, 22 Nov 2023 18:27:01 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 111EED56; Wed, 22 Nov 2023 15:26:44 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-332ce3fa438so822512f8f.1; Wed, 22 Nov 2023 15:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700695602; x=1701300402; 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=+7VkYcNnsFbmMqIJfU51f8QLpPwwDdC/NMyz7h+wtmI=; b=cDtZA//9Sw+JOFYkCyMyhY2zY2c2txz4Kpj1XeVhKm5u+7C5Rb+l0DAjfta1JXKDrs ELcLhwxuBeYdZFCn3j/crUny0DA2Vj6AMyh4bWO3AqYDWOGDqtDGhAYNHlXWq8RnwFtj dkmTBPXvtFbjECuUgvN8CIQacxHjoQbfyUuRX5tKOqW7pVVXy+Yyr9vRU7Kc2J/e/Ye/ 6vCwm9q5E3b7BNCGJL7IRb2lfe5nHsSThCnM5jDUDki511E2vxFIVFxaiX4PzruBHYx7 Q/OmgWwd8JZDIlgwFW/Me7E61MJ2rzzuDbiTScIAio3KY0oXAPZpv1PV8qeqKYrTFmz7 0DXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700695602; x=1701300402; 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=+7VkYcNnsFbmMqIJfU51f8QLpPwwDdC/NMyz7h+wtmI=; b=vzIUyltKHvVOkXfHbQXr9E8keiJ6ZOKFkldxQjITcZ0gvFB0bKBiwj0KjIxon4BB9Y iNMxGGJj51vmSUTFuFmInS7PC6rooNV1yuHEQIG4ZLk7dBWA0JB5wq69JaeZV8p23ZLv JfGrDPZzSUskBzYZjDDg/VohLEgaDSsWDeGxeeOS2s6/jYPfYm24gRDbNvN+AmjGcOzV M7v1eD2B+XJPxjac5hC+ReQjvrRh4nIbqV7PQwxpbCbCqQVk4D7UglfKv3un1nhjRAwT ht4ZHTWaIObBT79rhJv3G7aA5CyaGoskWkjcSrnzwcn4IA06dMX+5gDBgG1o9CcDfysk Po+A== X-Gm-Message-State: AOJu0Yzq4DJeMHMD8OxHuuybbANlbXKNc+xgmYFn9QHU4JFmwCWG5Q4a ZRRMyeURaGGqd0BeFDpNABm/EE7FW1JJ2YbPktQ= X-Received: by 2002:adf:ea49:0:b0:332:ce79:cffe with SMTP id j9-20020adfea49000000b00332ce79cffemr624609wrn.35.1700695602263; Wed, 22 Nov 2023 15:26:42 -0800 (PST) MIME-Version: 1.0 References: <2443b6093691c7ae9dace98b0257f61ff2ff30ec.1700676682.git.dxu@dxuuu.xyz> In-Reply-To: <2443b6093691c7ae9dace98b0257f61ff2ff30ec.1700676682.git.dxu@dxuuu.xyz> From: Alexei Starovoitov Date: Wed, 22 Nov 2023 15:26:30 -0800 Message-ID: Subject: Re: [PATCH ipsec-next v1 1/7] bpf: xfrm: Add bpf_xdp_get_xfrm_state() kfunc To: Daniel Xu Cc: John Fastabend , Herbert Xu , "David S. Miller" , Alexei Starovoitov , Daniel Borkmann , Paolo Abeni , Jesper Dangaard Brouer , Jakub Kicinski , Eric Dumazet , Steffen Klassert , antony.antony@secunet.com, LKML , Network Development , bpf , devel@linux-ipsec.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 22 Nov 2023 15:27:19 -0800 (PST) On Wed, Nov 22, 2023 at 10:21=E2=80=AFAM Daniel Xu wrote: > > + > +__diag_push(); > +__diag_ignore_all("-Wmissing-prototypes", > + "Global functions as their definitions will be in xfrm_= state BTF"); Pls use __bpf_kfunc_start_defs() instead.