diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-09-14 10:01:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-14 13:28:02 -0700 |
commit | d5f49190def61c47b2faff170ba8fbc48bac4371 (patch) | |
tree | 32cb6e5177d7f54d34e9611758c2d7117f30e5bb /net/ipv4/tcp_output.c | |
parent | 4596a2c1b7f55b8dac9ef4d8724cbef6e11eb74c (diff) |
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>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions