Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp221979rwb; Tue, 25 Jul 2023 14:51:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5Kxr+rYJxVdhuj6IMgemjAO0TAb0D4rIb2RVL93iuOhrS83U4SEZ6+BffiQlpd7XjSrqz X-Received: by 2002:a17:906:2112:b0:994:47a5:a377 with SMTP id 18-20020a170906211200b0099447a5a377mr77061ejt.24.1690321891543; Tue, 25 Jul 2023 14:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690321891; cv=none; d=google.com; s=arc-20160816; b=Zpjtqm8I/YseNSlnG0Y4Ul2AyXvSfnipFuXkH6oveSW0c/zzHzsMdi0J+7gpRdGQvN G3lygPqod3rYPJMMtAYiH6d0TVb43xg7xCyJ+cveFiIVyyKb45FhjBKCe3Zg2nc0cuk0 tvPipyoJIuOqOlVYmIggwbcBoXcWR/F/2tVMKpcTqu7ippQSjBsRZ1EQP4qiq4+Fg9uc lRCaVrBXmfBh/Rbzqlg8R3/D0A5Oa8sXYTwI3lnEIL0EfcQa/z/Dc9Mfo+dtmvPnY0Hh btmZE/pi0lYfppBOAkNgbtvsmBj4CPkCj2sojBrGlvJcnVemfj7tREh+1JRoirY+xwmI smNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=DnOP7PNmYCn0O8SaLUFSfW11enyTMnWeyY6Yn8gL+9I=; fh=SaGbT2AH58GGsK+A+YSbJZHvguqNAZ1tv0TZfFCZ93Y=; b=HUydQKNyxA/jTKQa+OVWEpuWnOaNaR30AlnCsw+JUcYCZtAuyVs7InVlxGTIBZEP0R Bl5TWFrGs+tlXfD1DE7YdTkXRdAIxgo9aACr4XAKVwatGg3YWnX9MzSXUBO1LOwL0Ivo 7ea+WSZ91THboXdbwQO/TdOvciO+JrTiq4D3UJsuBz/WkXz5c2YSCLzLtqoJhSUEv5FI 8yZyIjhN8wvlVG2awOwwU8iCAbZS/qIntiPX0RDvmz3SHGePKHYQ8tjDx9W/7a1+rKdP Ss6tBginUkWinivF6yyMdduTJ73ej3AO7exGRKCrrT71OujlIiHw8gbxqAAwdA8N8COM apcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCc7QImp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a17090633cc00b00992ac6d8893si8292054eja.792.2023.07.25.14.50.47; Tue, 25 Jul 2023 14:51:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCc7QImp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbjGYVU0 (ORCPT + 99 others); Tue, 25 Jul 2023 17:20:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjGYVUY (ORCPT ); Tue, 25 Jul 2023 17:20:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C9A81BFA; Tue, 25 Jul 2023 14:20:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94DBB61908; Tue, 25 Jul 2023 21:20:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EEE98C433C7; Tue, 25 Jul 2023 21:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690320022; bh=qynhg+B0dn5o76K6T3oIuZMcKx5pVy2asQYuqzlGuyQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=gCc7QImp09jJfavitxZgJt34IpmKMQzkADhSErxsL7nbem5+0qMhP43x4woJBaHzU frp6O7WO+vI7bMjzd3KS1fvW91I46Rb9NWge+tppAfcxLHRlHHz2di/xluXr/vTuvw BlhzxE105J73e7XXjYzHAfcekxo2qjJKlEeu8uWjVAPo4q20oEn3KOwBifV+Rffee9 9UMc458QQIrfWw/xyxz+VU0vWfoKg1iJSU8BkP/E66I5XncRjGsdrkBa30F/SnKOOD P1J6JlIJV32CvsYbb91hRre94nOncy9KiaXFZeQJQ0Ey9/hUp/cbrvL5CnQPXucnRA arhxWRLP5QzYw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C8225C73FE4; Tue, 25 Jul 2023 21:20:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v6 0/8] Add SO_REUSEPORT support for TC bpf_sk_assign From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169032002180.5361.5393311754104928741.git-patchwork-notify@kernel.org> Date: Tue, 25 Jul 2023 21:20:21 +0000 References: <20230720-so-reuseport-v6-0-7021b683cdae@isovalent.com> In-Reply-To: <20230720-so-reuseport-v6-0-7021b683cdae@isovalent.com> To: Lorenz Bauer Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dsahern@kernel.org, willemdebruijn.kernel@gmail.com, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, joe@wand.net.nz, mykolal@fb.com, shuah@kernel.org, kuniyu@amazon.com, hemanthmalla@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, joe@cilium.io X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This series was applied to bpf/bpf-next.git (master) by Martin KaFai Lau : On Thu, 20 Jul 2023 17:30:04 +0200 you wrote: > We want to replace iptables TPROXY with a BPF program at TC ingress. > To make this work in all cases we need to assign a SO_REUSEPORT socket > to an skb, which is currently prohibited. This series adds support for > such sockets to bpf_sk_assing. > > I did some refactoring to cut down on the amount of duplicate code. The > key to this is to use INDIRECT_CALL in the reuseport helpers. To show > that this approach is not just beneficial to TC sk_assign I removed > duplicate code for bpf_sk_lookup as well. > > [...] Here is the summary with links: - [bpf-next,v6,1/8] udp: re-score reuseport groups when connected sockets are present https://git.kernel.org/bpf/bpf-next/c/f0ea27e7bfe1 - [bpf-next,v6,2/8] bpf: reject unhashed sockets in bpf_sk_assign https://git.kernel.org/bpf/bpf-next/c/67312adc96b5 - [bpf-next,v6,3/8] net: export inet_lookup_reuseport and inet6_lookup_reuseport https://git.kernel.org/bpf/bpf-next/c/ce796e60b3b1 - [bpf-next,v6,4/8] net: remove duplicate reuseport_lookup functions https://git.kernel.org/bpf/bpf-next/c/0f495f761722 - [bpf-next,v6,5/8] net: document inet[6]_lookup_reuseport sk_state requirements https://git.kernel.org/bpf/bpf-next/c/2a61776366bd - [bpf-next,v6,6/8] net: remove duplicate sk_lookup helpers https://git.kernel.org/bpf/bpf-next/c/6c886db2e78c - [bpf-next,v6,7/8] bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assign (no matching commit) - [bpf-next,v6,8/8] selftests/bpf: Test that SO_REUSEPORT can be used with sk_assign helper https://git.kernel.org/bpf/bpf-next/c/22408d58a42c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html