Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2478945lqo; Mon, 13 May 2024 22:52:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUm2J0hFJhXwLbf1AcvtQG95rhJAnvaoeWELR6bxhM7LNoSfkS3Jbs4pgXRRl4UQGUfPB1KBfqdaoy0oi9If1zDPYCFvAcZnVkw8+yxw== X-Google-Smtp-Source: AGHT+IGDq+lBlkth1gEOzMYvbQtDEVNsXaX+q9xuSTJ6Xc36Ebhcy2iMedw2KD0Op4qQ8cgEc/6j X-Received: by 2002:a50:9506:0:b0:572:5630:d8d6 with SMTP id 4fb4d7f45d1cf-5734d5ceb38mr9998255a12.22.1715665928546; Mon, 13 May 2024 22:52:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715665928; cv=pass; d=google.com; s=arc-20160816; b=jewyqJZ5jQr2t5x846pDmt+ERQS4uxqhcJ0l5zyYsF4C+/B76Vm5omhBSfy7ovgxC6 cjzCtf1dF3W1OAG56EhxNhk7ymtV7e7saDx11w+xI0XaKAzkjdEWgVZf3mRC2sQ3fp3C QjczyzRJcSm5O5f+mdHiqIe6A+4EXGH3AfdJWHvBCPbOmpt5LhgUI9azPD+v3ySNFGfY giE0t3G4g/jCLe7eAz6c4+wBt/sUghGRBWGbrL7Q8bN5x+PDj5HyX/W8+fHXcV3+slLh s8Vt4ho5t1KVLBLj7GIMifdOVI0d2xwg7Z7VcEB/gjWieK7DWGEg3MhqoYxffBeLMIut GUrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=9O9Ejw22nDJ+XJ+5sgwYg4fopr3qkoG1FgsTPvT968U=; fh=Ia0wQnNeKNn9oAYKQzSEKoNA6fTO2TuSApFBIu4Ut00=; b=g7iJqyw4e728uev+nMmDRF10+VjTErRSzanW9IS9fqPHYuaSRuLr9e2sj4u3qC9jCD zuX/nryssmTsOT6APnkeLfryTHdfwc8lIyhwYRMW/AdGAK4l23pnRBvDdWU6cO7V2H35 BJLRLFTPvp+iEPJg+8/id4jCrimHjVeTaKhCBYwp8bqfZ6NJzHt4vP2S83ywFu6CwglJ 3r1tDA8av0bNhgFZWDVaBBJoJZ9C+4Pw6JRvh6p/3+ZwvknP0wzyVNuUitT2sqMZRnr+ iHN340qpq4vSuZH8Jj+Bh19lYEp3iwmIO1fo2QRols/fMnntP0uGnPvExbF1Hvy8BdX4 RXlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y5Ekx+uP; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-178333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d5280si5639507a12.209.2024.05.13.22.52.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 22:52:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y5Ekx+uP; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-178333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8BBF51F24C1A for ; Tue, 14 May 2024 05:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 266F21BC49; Tue, 14 May 2024 05:43:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Y5Ekx+uP"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="7LbllTbg" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B385217FF; Tue, 14 May 2024 05:43:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665428; cv=none; b=H2mRRgc09XJxe/+Uag98xiMwdlVXktXHPynbug/q7+X77KztY2JjYCxX4BNYiqJIAOMPQgFdbdJDIBzSoKx0zJFyEJF1z5aXZLz5mr4Y0gsUaYqy4F5Z1kHwpanOQD1N+fd4RTBMMpDXinbvQ41CpAsXNf/WqzJXOA4fciNhwUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665428; c=relaxed/simple; bh=UJ0ZvK/WSzetvXXNGTyaHtYTIc+ARlYjLld/hzVS+Ho=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xam6H+rbWvo3HaBCfrD4JSF6u3DRvJjY1NBRVg8vTHDFzL0T5CZB0AI8fsegKRJSqXMgGvQFmZ8eW9MQfpZ5bAVU7Y4oBHL4QJlJVRjVZw5H6UPcRdXnL7HC2Bvs7PLdpN1/DnTRfu5z+6r/SDoiWTIUgrUtqQt0Te6QoldLAuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Y5Ekx+uP; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=7LbllTbg; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 14 May 2024 07:43:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715665424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9O9Ejw22nDJ+XJ+5sgwYg4fopr3qkoG1FgsTPvT968U=; b=Y5Ekx+uPvpFUOBQdfxueDtmM2GHFez2zSU71zsXGSTvyC1Iha5A4Zb6IXE+nvZyJyuiOa7 cSGEzWevZcnnJdLGCJTE/POcINFVE5e4yXQZgYHWw+QA1fLVeipye8tiy8da4wVo0TapVz +g1ZUj9skwCRVE9Bi7K43oY34SrnPs1oumoxHkrMZe7Le44XYOQS6YHDGRMEfjUUxebADB Hfz4ZYThqeb4hhjGD+COEgHby8wv0Q5BzUKfw0mJuOdQnddDSj6nrRkHU8Tmvj3KXsoLhe IlF6WqDGSbl2G4k1SDadOTDijQsznmjgJ8/a2UG/iw5zpu/vxP6amr9IscUC1g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715665424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9O9Ejw22nDJ+XJ+5sgwYg4fopr3qkoG1FgsTPvT968U=; b=7LbllTbgkamC+qJqVaY87jy5HU7T3t65CvMCyr6Per5fjFpPDRHgSszV9x9/aLahtJ4qIW p768q+BCI0o9b/Bw== From: Sebastian Andrzej Siewior To: Jesper Dangaard Brouer Cc: Alexei Starovoitov , Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , LKML , Network Development , "David S. Miller" , Boqun Feng , Daniel Borkmann , Eric Dumazet , Frederic Weisbecker , Ingo Molnar , Jakub Kicinski , Paolo Abeni , Peter Zijlstra , Thomas Gleixner , Waiman Long , Will Deacon , Alexei Starovoitov , Andrii Nakryiko , Eduard Zingerman , Hao Luo , Jiri Olsa , John Fastabend , KP Singh , Martin KaFai Lau , Song Liu , Stanislav Fomichev , Yonghong Song , bpf Subject: Re: [PATCH net-next 14/15 v2] net: Reference bpf_redirect_info via task_struct on PREEMPT_RT. Message-ID: <20240514054345.DZkx7fJs@linutronix.de> References: <20240503182957.1042122-1-bigeasy@linutronix.de> <20240503182957.1042122-15-bigeasy@linutronix.de> <87y18mohhp.fsf@toke.dk> <20240507123636.cTnT7TvU@linutronix.de> <93062ce7-8dfa-48a9-a4ad-24c5a3993b41@kernel.org> <20240510162121.f-tvqcyf@linutronix.de> <20240510162214.zNWRKgFU@linutronix.de> <4949dca0-377a-45b1-a0fd-17bdf5a6ab10@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4949dca0-377a-45b1-a0fd-17bdf5a6ab10@kernel.org> On 2024-05-14 07:07:21 [+0200], Jesper Dangaard Brouer wrote: > > pktgen_sample03_burst_single_flow.sh has been used to send packets and > > "xdp-bench drop $nic -e" to receive them. > > > > Sorry, but a XDP_DROP test will not activate the code you are modifying. > Thus, this test is invalid and doesn't tell us anything about your code > changes. > > The code is modifying the XDP_REDIRECT handling system. Thus, the > benchmark test needs to activate this code. This was a misunderstanding on my side then. What do you suggest instead? Same setup but "redirect" on the same interface instead of "drop"? Sebastian