From nobody Sat Aug 15 20:31:30 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 83AE432B123 for ; Thu, 6 Aug 2026 09:10:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007450; cv=none; b=ReuQMX/BY2+t7/DUi0isNfROz4m53ktsdT8kzyCg+5KIrha1l4cJbNMk+NhabuS2/wGH9t0Vf7fUoiJpoY1GA46vc4f8UGWjXBa7BRHZK/o52O2bruhjeYHu7ZMWCAreofyQgBPthPChAx4yuwrxUwNqr6TVk23dop+YdnHeINk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007450; c=relaxed/simple; bh=5j3uB7u+VNfKhJzGGliAP3G+HG2XrunEG0PSLs90ejE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qkVnJ0EsWAJB8VT211jnq5QcTlEN4LXZLG4ykKrg3unVgoXULCXSDRiAGcyeWSNBBc6TTlPGocXb9ECi54SXaBFiG3z0MB7STsUKEUGwQy90B7uaZomlxX8n/6r/aoxoIip0XjQlcDLiXYxFPrcIbecmy+xK/mvH7ux0idM2nmY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GZoMR6HN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GZoMR6HN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0D041F00A3D; Thu, 6 Aug 2026 09:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786007449; bh=dpf5E4+Uj0437VmP61FkH7rlHxbOrj8rfNyaG6QU2Vk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=GZoMR6HNxhTjqPe7A4sQY/hykj7sgBbOlUOyFYu+yk09CyLItDxP5KHMGDfANLoDH W9oYjPD56eStm8Sb9n44fSQ9A9IDmzkZA1kXkF0jl3y7WoGIm3Z2FRIMV52FewWJR6 8s3y27cvy0mD5tJyeC0z5pURNGtpUuC1TmUl1W26pnzv4uqjZ7FJVEi0MPMjYmcfRl MXKnCdFTUsPB+GdE4ftDphGyF9Zi+ULB9e/5JL9xpqGKRtmL5R+Brpk+w2864N+mQu tqNx2MkE8TYsc0+nyg5jhu76ZZyGN/4kCBXr2VOyvim1bHARFpaIQl2c2FPVFqp4wX mYCRiCrcUdvSw== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 1/2] Squash to "bpf: Export mptcp packet scheduler helpers" Date: Thu, 6 Aug 2026 17:10:37 +0800 Message-ID: <95588bb2125ecb8a5250f35dd8278e6e1194c0ff.1786007209.git.tanggeliang@kylinos.cn> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang mptcp_pm_subflow_chk_stale() is removed from mptcp_subflow_get_retrans() in kernel, drop it in bpf_mptcp_common_kfunc_ids. Signed-off-by: Geliang Tang --- net/mptcp/bpf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c index 0845061ddc65..82b0ad25f700 100644 --- a/net/mptcp/bpf.c +++ b/net/mptcp/bpf.c @@ -322,7 +322,6 @@ BTF_ID_FLAGS(func, mptcp_subflow_active) BTF_ID_FLAGS(func, mptcp_set_timeout) BTF_ID_FLAGS(func, mptcp_wnd_end) BTF_ID_FLAGS(func, bpf_sk_stream_memory_free) -BTF_ID_FLAGS(func, mptcp_pm_subflow_chk_stale, KF_SLEEPABLE) BTF_KFUNCS_END(bpf_mptcp_common_kfunc_ids) =20 static int bpf_mptcp_common_kfunc_filter(const struct bpf_prog *prog, u32 = kfunc_id) --=20 2.53.0 From nobody Sat Aug 15 20:31:30 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DD89C429025 for ; Thu, 6 Aug 2026 09:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007453; cv=none; b=KYfmM1+4D+jTjcwWmG39C1GV8HrCtJvrzZo/UgBWcMLR45bn6xLc5qzus3hNN+zcFdk8S60+ervkFoof8nxMefHM/6cqm/vBuySHTcyEqnsydmmPtqR6lAq1GNEgYnG5jh33mOGrFl/ORNy0Qq6deUvSRM/ye96z1UoYj9xlA2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007453; c=relaxed/simple; bh=WlsGc20hLmrMqoAanRk8/I0Uz7Hwe6SOI/yZDNS+3Kc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ms/o2V+a9kRKrcrgdHc5l3p+3AkPbGBEW5d8rTQmSSTTRyjDNCwny6wUvWRjzzzEBq0BSwnwp27quEX2DtleI6r4+YxbKI/AK52tvU4ECnDh5WIa67ZeFzpZcJOUehlsansiYdNMJ5VCIL5vZY5aZl4dj2IfA4oaY5mp6o1k71Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GO0Dri+K; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GO0Dri+K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B1FA1F000E9; Thu, 6 Aug 2026 09:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786007451; bh=FkQFfBbx0A0TYTzJtiQ5Wcdrs9UkvX794w/NDF+Ruq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=GO0Dri+Ku9JI8XH1z3+veTzjhiNaai8lQJOvwrAtB0dwe98+4BqEUE6DYNLMqtFQM kHilp4ORjtSnuZ5WA7aIhTwz2xiMAnK01ZPnwYAHudS2JdbF9CHquWGAqQKNj6tsz0 SjAa3SO+b9GWAPbrJf1pOTzIRjY6LIheqESPl7/wSEWFjZ3UrD67ibFN/3fMEOiwpa HFxN2me9pPLudF/W8Punr4tOMcYLJrQJjYLEUEKb8pNnFMoYTF5VCYn/2gRL2LLdwG he/W+EG8kHP1sQ6gqNls7foDoMaoK/E0LO4KX2cIymN7nlboK3r+5IypXV8KzpSKId Bh1ZpxY7alYHw== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 2/2] Squash to "selftests/bpf: Add bpf_burst scheduler & test" Date: Thu, 6 Aug 2026 17:10:38 +0800 Message-ID: <4365e7acc6848e42ea3cd0bd72a28884cb995bdf.1786007209.git.tanggeliang@kylinos.cn> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang mptcp_pm_subflow_chk_stale() is removed from mptcp_subflow_get_retrans() in kernel, drop it in bpf_burst_get_retrans() too. Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c b/tools/te= sting/selftests/bpf/progs/mptcp_bpf_burst.c index 8ff529d38a59..3d512b0efe6f 100644 --- a/tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c +++ b/tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c @@ -25,7 +25,6 @@ extern bool mptcp_subflow_active(struct mptcp_subflow_con= text *subflow) __ksym; extern void mptcp_set_timeout(struct sock *sk) __ksym; extern __u64 mptcp_wnd_end(const struct mptcp_sock *msk) __ksym; extern bool bpf_sk_stream_memory_free(const struct mptcp_subflow_context *= subflow) __ksym; -extern void mptcp_pm_subflow_chk_stale(const struct mptcp_sock *msk, struc= t sock *ssk) __ksym; =20 static __always_inline __u64 div_u64(__u64 dividend, __u32 divisor) { @@ -140,7 +139,6 @@ int BPF_PROG(bpf_burst_get_retrans, struct mptcp_sock *= msk) =20 /* still data outstanding at TCP level? skip this */ if (!tcp_rtx_and_write_queues_empty(ssk)) { - mptcp_pm_subflow_chk_stale(msk, ssk); min_stale_count =3D min(min_stale_count, subflow->stale_count); continue; } --=20 2.53.0