[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210520062723.nora2kagi46b47lr@kafai-mbp.dhcp.thefacebook.com>
Date: Wed, 19 May 2021 23:27:23 -0700
From: Martin KaFai Lau <kafai@...com>
To: Kuniyuki Iwashima <kuniyu@...zon.co.jp>
CC: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Benjamin Herrenschmidt <benh@...zon.com>,
Kuniyuki Iwashima <kuni1840@...il.com>, <bpf@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v6 bpf-next 09/11] bpf: Support socket migration by eBPF.
On Mon, May 17, 2021 at 09:22:56AM +0900, Kuniyuki Iwashima wrote:
> This patch introduces a new bpf_attach_type for BPF_PROG_TYPE_SK_REUSEPORT
> to check if the attached eBPF program is capable of migrating sockets. When
> the eBPF program is attached, we run it for socket migration if the
> expected_attach_type is BPF_SK_REUSEPORT_SELECT_OR_MIGRATE or
> net.ipv4.tcp_migrate_req is enabled.
>
> Ccurrently, the expected_attach_type is not enforced for the
nit. 'Currenctly,'
Powered by blists - more mailing lists