Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1445926rdh; Fri, 24 Nov 2023 12:59:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEAOnIZ887vl7aZze4Cc2r3NX7Qibu/GSJHxLsWmTms/AsU5VfCHlvt+1mdkcJ1WhhBmg3U X-Received: by 2002:a05:6808:1406:b0:3b8:402c:7081 with SMTP id w6-20020a056808140600b003b8402c7081mr5752718oiv.27.1700859585901; Fri, 24 Nov 2023 12:59:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700859585; cv=none; d=google.com; s=arc-20160816; b=dP1qqtStAlb0oiqtf1A5doXlPizJnHjxoLyVKylLY0mI9GoPueSuhIjs4shbnai6Ic pXpYQ6opmgQykZU8Ha5utosH6gR/KTIiVutGdbYTmqrXR1F93h2jln2Zw6nKpoymJxzX z2g9i3NWdJOSAlDB9Sw+c+EjomVNP3cbb4PlIDRN/9ncDcML5+sEYvN9UmcI30awvujS j5+7OzV5ZKs+YrAiWdoIpSv2RLXxmI8vIhXY+visyvyNfgvjeBNqln1R8LKaFd2H6fak ML3QFZWIIpHxw3ggXtB9TqaP5phttBcD3oAa7QAxY4ycO/BJKH0dJwdsHLzYTTYw2sGx S26g== 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=LUc6+oAUXdxf0gLuIlkH0gh0571S4Y/6Cb0mYTuCEC4=; fh=m0he1qwqfEgfrUy819DZbEE6oAfojOeuV5P4DKgpsbM=; b=VQ8Gttc3gwiuXeFbaAxfC1mZTPn83JVSrduQLK0fmivIkrIYGBqzD753IxCM8995cZ uKXYKg9tMjWbmLXVqT3fkEoYeABtZQGRFq3oncreoEtQYDdBQTgjoywmGGa0TdBvrxWV soxDF9U5Udn+I7xX9rXfa42fRNOm5/mnnWjyULMYE1Gteqc/KIS9/ROpGRzy3a44zLvP dp1BeLwBRZygzSWfb8xGINrsX6sEaminjinx1QqZADcfQ246TlZbDz6ZXZZMaT7O2NgV fOwU48fbugExRZ1t4Y6cNqD9fty9jUMjMd1PJDd5esKfT5vhdqVY5Q9ryPaAL5wWrM42 kqQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b=TJo54wDK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Bi9AtZKV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id r33-20020a635d21000000b005b96c4292bbsi4121467pgb.420.2023.11.24.12.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 12:59:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm3 header.b=TJo54wDK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Bi9AtZKV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id A5C608026E34; Fri, 24 Nov 2023 12:59:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346041AbjKXU71 (ORCPT + 99 others); Fri, 24 Nov 2023 15:59:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbjKXU7Z (ORCPT ); Fri, 24 Nov 2023 15:59:25 -0500 Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF0619A3; Fri, 24 Nov 2023 12:59:31 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 7313958049F; Fri, 24 Nov 2023 15:59:27 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Nov 2023 15:59:27 -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= 1700859567; x=1700866767; bh=LUc6+oAUXdxf0gLuIlkH0gh0571S4Y/6Cb0 mYTuCEC4=; b=TJo54wDKCgMuWkoE9drzZDiVLRQhY/GJRZQbHp7h+tibivPtYdz aoy+dD/iB6VH/tHq1lkDZSyBeUiPUKnU+CPUBLH9oDL4UiuE6hzBkHgZdpTaAyMD vGDocwfPKyrAxwD4arpe2BagHsS4TfP6SchUmq7QzlC0tl9WV6mhq4DbdDSaJCkG DiZRzg+Grk2oWd3veN4MrIlJxOdoTv80OKIq9dyWH6G+POItZfygpmv6Hde5rox+ VRCqRKdHztbDx/R3ACq9XqwpDs3mJqjXeVXTQV0qz2ku+2/FxPr2IdVbKLyeWSXT z2sPjzPCWFWfQyjSK3eu992T16Pw5NYvfrg== 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= 1700859567; x=1700866767; bh=LUc6+oAUXdxf0gLuIlkH0gh0571S4Y/6Cb0 mYTuCEC4=; b=Bi9AtZKVEzB6ILE28gGs0V2BjploLrLFm4vL9yieiaAbuReoHKj S60zq3BxmqGOrsPP16zHlbzesBhzij7oshzaUNJtfr8XyXKD7Y/f2gmFQnb1AXiu 9yrNXo063xCLmAJehlT5JPFAc6fWKVUQ3DzZcnEinVvimSEOWM5/r08H43JKgk7b tkKSbPHpzmOW7YzvYqwQeYXXntHkpV7cMBehqn2I9KbyZK+enTbdOy4mnTlSfkiC KE2fcCPj8cU+u4o6qVzO2LKoIYF4nPxii4WlldEPSRHxAAy7Ly8EArEnUf0LO8jr VGHpemmpxDrV/SevjcIIHWH6+TnbVtMJmBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehhedgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggugfgjsehtkefs tddttdejnecuhfhrohhmpeffrghnihgvlhcuighuuceougiguhesugiguhhuuhdrgiihii eqnecuggftrfgrthhtvghrnheptdfgueeuueekieekgfeiueekffelteekkeekgeegffev tddvjeeuheeuueelfeetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Nov 2023 15:59:25 -0500 (EST) Date: Fri, 24 Nov 2023 13:59:24 -0700 From: Daniel Xu To: Alexei Starovoitov Cc: John Fastabend , "David S. Miller" , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , Jakub Kicinski , Andrii Nakryiko , Shuah Khan , Steffen Klassert , antony.antony@secunet.com, Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , bpf , "open list:KERNEL SELFTEST FRAMEWORK" , LKML , Network Development , devel@linux-ipsec.org Subject: Re: [PATCH ipsec-next v1 7/7] bpf: xfrm: Add selftest for bpf_xdp_get_xfrm_state() Message-ID: References: <84111ba0ea652a7013df520c151d40d400401e9c.1700676682.git.dxu@dxuuu.xyz> 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=-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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 24 Nov 2023 12:59:43 -0800 (PST) Hi Alexei, On Wed, Nov 22, 2023 at 03:28:16PM -0800, Alexei Starovoitov wrote: > On Wed, Nov 22, 2023 at 10:21 AM Daniel Xu wrote: > > > > + > > + bpf_printk("replay-window %d\n", x->replay_esn->replay_window); > > Pls no printk in tests. Find a different way to validate. Ack. I'll migrate the ipsec tunnel tests to test_progs next rev so it can use mmaped globals. Thanks, Daniel