Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp260930rdd; Wed, 22 Nov 2023 15:29:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsMVgXEjnqmz+31Ofb4AnCSUKKpFtl81tpOY5LwdEr6ZSrSYLmyFFbCkyI2QHWlIx9Ip3V X-Received: by 2002:a05:6808:428c:b0:3b2:e765:9beb with SMTP id dq12-20020a056808428c00b003b2e7659bebmr3790061oib.56.1700695796044; Wed, 22 Nov 2023 15:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700695796; cv=none; d=google.com; s=arc-20160816; b=o3L5MX5XXLXsBEiFtJKHgqxDubGW/dVN//e0pXekqbTBPXMWsaSaw8yG1QzLPbmkJA 5ytp0fcO6g3jTcEVEmTtCrBZZfECBdbCGRtwO1B/XF8BZYPET7dh7n73Ua991I0KMHMO XrNcu3LXzRD8BpJlTKGF4pHnx33Z5znIsU+M6KMv9P8DCFxx9ap14eRfhdDZU3VsPGHF RMsUI610pQCg39cbwJ6iFZe4qIJFaqTiB6sLMgZMIEgBifoZOhPbsuYBGE61/HIAfEh3 dTa0QPg1CVuCCoGYkbY3v0560hyI7oNCFz51V41lQHyh2/rmxxyXFa0JUyK+rCDtZIMP O5bw== 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=wfE1KTkgq6xLLiPqdRtfBaDM02CW7efViNW5ZFPiv6Y=; fh=qZ5QYzvsXaw6ElKOUrOCm17ie7z9YZwjPynojaaIVpI=; b=JLRh0GXryL21Up1QYIUwrBs8p1rGV38e4O4fVOcsvI/dVUiTO5gN1WLhok4UUWjUuw pRMzXHgwL0le3YP0u3ZxcKmfswpgE+YUpwwS5rBB0U2oo3ODOogBa2e2LepJ8feaJD3p 4kmkgBI88yJJ54px6fkm2NlR0vFFe/UTHYgIZ7drJQcoLA4Oa1jrXY0bPXM4dYyBMbSs ec7DungNaCMBQOrCoN692lLIA10PeOntGLbQBVIlmblL0FCBLqLCEhpB8+q6ANZBysLA gh+43Gsz9cYWxhcqGqlYRg3n+y/Yun+Yj/2fT7JwBP97bVMZa6ALX2mnsQYJWF/UYNbZ V2rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hc1wwOrG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r14-20020a63514e000000b005b909e93e2dsi113703pgl.522.2023.11.22.15.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 15:29:56 -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=@gmail.com header.s=20230601 header.b=hc1wwOrG; 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; 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 A9DA9802C58B; Wed, 22 Nov 2023 15:28:34 -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 S229576AbjKVX2e (ORCPT + 99 others); Wed, 22 Nov 2023 18:28:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjKVX2d (ORCPT ); Wed, 22 Nov 2023 18:28:33 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA6B71B5; Wed, 22 Nov 2023 15:28:29 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-332cc1f176bso182008f8f.2; Wed, 22 Nov 2023 15:28:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700695708; x=1701300508; 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=wfE1KTkgq6xLLiPqdRtfBaDM02CW7efViNW5ZFPiv6Y=; b=hc1wwOrGT+29COZc2S5ErMm8kicGbNGH0xm+6D2Z+Y5t9lligQOnixC/Roq69MXkym KeWbv7EUnNbZbLvhTU8y7gQDi0o7O3bh5TJIPsWjFY4RFkPOGpkUJmkr0Qa6bfS2Z9G6 c/sLZJeo5BdfDEam8PGXKsnpiV5dFU8htuNh77JWtlZsNRCADghH1CIYZ1WESuhgXz3v 7QuHZb02qIe8NqzN0kiwKRdU0CzIgkbTI2O6lvQQxIJoK5y70CKiQPuxg0rKU3lixTwY lkHTHT2LQ8AmUUlT9ExmjwldepdMacPyKS/tuvQsQ8abmWnVAGjr05HwYsEkVQDsTddu f5/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700695708; x=1701300508; 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=wfE1KTkgq6xLLiPqdRtfBaDM02CW7efViNW5ZFPiv6Y=; b=VZHKwq/83gOoc5SfSFVJw+r7rL+aTGJxAxqmImPXwPjncPnhTdKXrkLpwL0OcE741M Qf4luHnRfAS+pHsfAhmUwrXmaZ1a5SQgFsJHrxhcDCu6Z4WY44LFqFGsDkwjsKqA6hlj qwyXQLj8rszhWobwXqzHxeCGRdhA6xa3FFAaoOEKcrurrQDWwGpSXoPuwfpF2h0nKnl+ i+hMwMWnXHI8Ps9kBjrgUehv1e0LHQOqxzyRoOwydV6clGBve83iH4jVgc5l+FCYmEr7 zYOIM86B3lhhs2ZnVLOH0O9sGEW+hA0K0BQ2wfyL2U6iCLKCsZu/Pyi64/cbyhEbZnn5 YhwA== X-Gm-Message-State: AOJu0YwfOYBhNoOXtud3eo7xEulrf8B8FFXnSGfJUs5D70Y/7Lhqm3Na VnkmDRm1W2HTHJZ2VnV83fexU4KWYRqZ5AgS0VtUzeIa X-Received: by 2002:a5d:5550:0:b0:332:e190:f8dd with SMTP id g16-20020a5d5550000000b00332e190f8ddmr13782wrw.37.1700695708128; Wed, 22 Nov 2023 15:28:28 -0800 (PST) MIME-Version: 1.0 References: <84111ba0ea652a7013df520c151d40d400401e9c.1700676682.git.dxu@dxuuu.xyz> In-Reply-To: <84111ba0ea652a7013df520c151d40d400401e9c.1700676682.git.dxu@dxuuu.xyz> From: Alexei Starovoitov Date: Wed, 22 Nov 2023 15:28:16 -0800 Message-ID: Subject: Re: [PATCH ipsec-next v1 7/7] bpf: xfrm: Add selftest for bpf_xdp_get_xfrm_state() To: Daniel Xu 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 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]); Wed, 22 Nov 2023 15:28:34 -0800 (PST) On Wed, Nov 22, 2023 at 10:21=E2=80=AFAM 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.