Re: [PATCH bpf-next v2 3/5] bpf: add 'bpf_mptcp_sock' structure and helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 11, 2020 at 8:15 AM Nicolas Rybowski
<nicolas.rybowski@xxxxxxxxxxxx> wrote:
>
> In order to precisely identify the parent MPTCP connection of a subflow,
> it is required to access the mptcp_sock's token which uniquely identify a
> MPTCP connection.
>
> This patch adds a new structure 'bpf_mptcp_sock' exposing the 'token' field
> of the 'mptcp_sock' extracted from a subflow's 'tcp_sock'. It also adds the
> declaration of a new BPF helper of the same name to expose the newly
> defined structure in the userspace BPF API.
>
> This is the foundation to expose more MPTCP-specific fields through BPF.
>
> Currently, it is limited to the field 'token' of the msk but it is
> easily extensible.
>
> Acked-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
> Acked-by: Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx>
> Signed-off-by: Nicolas Rybowski <nicolas.rybowski@xxxxxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux