aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-08-21 15:25:14 -0700
committerJakub Kicinski <[email protected]>2023-08-22 17:31:18 -0700
commit740ebe35bd3f5c4ff8ec60e5e521e47ea8f5492c (patch)
treed3b4665e6a4d9e6e4cb332667d446d12e090d54c /lib/mpi
parentebc1e08f01ebedbf962e6417bbf6952bd4ca2142 (diff)
mptcp: add struct mptcp_sched_ops
This patch defines struct mptcp_sched_ops, which has three struct members, name, owner and list, and four function pointers: init(), release() and get_subflow(). The scheduler function get_subflow() have a struct mptcp_sched_data parameter, which contains a reinject flag for retrans or not, a subflows number and a mptcp_subflow_context array. Add the scheduler registering, unregistering and finding functions to add, delete and find a packet scheduler on the global list mptcp_sched_list. Acked-by: Paolo Abeni <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions