Re: [PATCH bpf-next/net v6 3/3] selftests/bpf: Add mptcp subflow subtest

2024-09-13 Thread Martin KaFai Lau
On 9/11/24 8:16 AM, Matthieu Baerts (NGI0) wrote: +static void test_subflow(void) +{ + int cgroup_fd, prog_fd, err; + struct mptcp_subflow *skel; + struct nstoken *nstoken; + struct bpf_link *link; + + cgroup_fd = test__join_cgroup("/mptcp_subflow"); + if (!ASS

[PATCH bpf-next/net v6 3/3] selftests/bpf: Add mptcp subflow subtest

2024-09-11 Thread Matthieu Baerts (NGI0)
From: Geliang Tang This patch adds a subtest named test_subflow in test_mptcp to load and verify the newly added MPTCP subflow BPF program. To goal is to make sure it is possible to set different socket options per subflows, while the userspace socket interface only lets the application to set th