[PATCH mptcp-next 2/3] Squash to "bpf: Export more bpf_burst related functions"

Geliang Tang posted 3 patches 2 months, 1 week ago
[PATCH mptcp-next 2/3] Squash to "bpf: Export more bpf_burst related functions"
Posted by Geliang Tang 2 months, 1 week ago
From: Geliang Tang <geliang.tang@suse.com>

Allow mptcp_snd_nxt() helper to be accessed in BPF.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
---
 net/mptcp/bpf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c
index 9672a70c24b0..9c72f080e7ee 100644
--- a/net/mptcp/bpf.c
+++ b/net/mptcp/bpf.c
@@ -229,6 +229,7 @@ BTF_ID_FLAGS(func, bpf_mptcp_subflow_ctx_by_pos)
 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, mptcp_snd_nxt)
 BTF_ID_FLAGS(func, tcp_stream_memory_free)
 BTF_ID_FLAGS(func, bpf_mptcp_subflow_queues_empty)
 BTF_ID_FLAGS(func, mptcp_pm_subflow_chk_stale)
-- 
2.43.0
Re: [PATCH mptcp-next 2/3] Squash to "bpf: Export more bpf_burst related functions"
Posted by Geliang Tang 2 months, 1 week ago
On Wed, 2024-07-10 at 21:46 +0800, Geliang Tang wrote:
> From: Geliang Tang <geliang.tang@suse.com>
> 
> Allow mptcp_snd_nxt() helper to be accessed in BPF.
> 
> Signed-off-by: Geliang Tang <geliang.tang@suse.com>

Sorry I forgot to update the email address, luckily this is just a
squash-to patch. Please help me to update it as my new email address
tanggeliang@kylinos.cn when squashing it if this patch is acceptable.

Thanks,
-Geliang

> ---
>  net/mptcp/bpf.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/mptcp/bpf.c b/net/mptcp/bpf.c
> index 9672a70c24b0..9c72f080e7ee 100644
> --- a/net/mptcp/bpf.c
> +++ b/net/mptcp/bpf.c
> @@ -229,6 +229,7 @@ BTF_ID_FLAGS(func, bpf_mptcp_subflow_ctx_by_pos)
>  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, mptcp_snd_nxt)
>  BTF_ID_FLAGS(func, tcp_stream_memory_free)
>  BTF_ID_FLAGS(func, bpf_mptcp_subflow_queues_empty)
>  BTF_ID_FLAGS(func, mptcp_pm_subflow_chk_stale)