patchew/[email protected]
tagged this
09 Dec 09:51
The mptcp_subflow bpf_iter is added now, it's better to use the helper bpf_for_each(mptcp_subflow) to traverse all subflows on the conn_list of an MPTCP socket and then call kfunc to modify the fields of each subflow in the WIP MPTCP BPF packet scheduler examples, instead of converting them to a fixed array. With this helper, we can get rid of this subflow array "contexts" and the size of it "subflows" in struct mptcp_sched_data. Signed-off-by: Geliang Tang <[email protected]> Message-Id: <eb159e61a1d28c9a3fea01b515927e73fc6b62af.1733737459.git.tanggeliang@kylinos.cn>