Searched hist:d5f49190def61c47b2faff170ba8fbc48bac4371 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/mptcp/ |
H A D | protocol.h | diff d5f49190def61c47b2faff170ba8fbc48bac4371 Mon Sep 14 03:01:17 CDT 2020 Paolo Abeni <pabeni@redhat.com> mptcp: allow picking different xmit subflows
Update the scheduler to less trivial heuristic: cache the last used subflow, and try to send on it a reasonably long burst of data.
When the burst or the subflow send space is exhausted, pick the subflow with the lower ratio between write space and send buffer - that is, the subflow with the greater relative amount of free space.
v1 -> v2: - fix 32 bit build breakage due to 64bits div - fix checkpath issues (uint64_t -> u64)
Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | protocol.c | diff d5f49190def61c47b2faff170ba8fbc48bac4371 Mon Sep 14 03:01:17 CDT 2020 Paolo Abeni <pabeni@redhat.com> mptcp: allow picking different xmit subflows
Update the scheduler to less trivial heuristic: cache the last used subflow, and try to send on it a reasonably long burst of data.
When the burst or the subflow send space is exhausted, pick the subflow with the lower ratio between write space and send buffer - that is, the subflow with the greater relative amount of free space.
v1 -> v2: - fix 32 bit build breakage due to 64bits div - fix checkpath issues (uint64_t -> u64)
Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|