diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-12-11 01:25:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-15 04:30:06 +0300 |
commit | 15e6ca974b14c2dc4221738ef81b23ef694c9160 (patch) | |
tree | 32ff1828e3dc23a2dadba291d8ad3ba41f131722 /net/xdp | |
parent | 1bc7327b5fea60328bf72cd702eca1defa2a5655 (diff) | |
download | linux-15e6ca974b14c2dc4221738ef81b23ef694c9160.tar.xz |
mptcp: let MPTCP create max size skbs
Currently the xmit path of the MPTCP protocol creates smaller-
than-max-size skbs, which is suboptimal for the performances.
There are a few things to improve:
- when coalescing to an existing skb, must clear the PUSH flag
- tcp_build_frag() expect the available space as an argument.
When coalescing is enable MPTCP already subtracted the
to-be-coalesced skb len. We must increment said argument
accordingly.
Before:
./use_mptcp.sh netperf -H 127.0.0.1 -t TCP_STREAM
[...]
131072 16384 16384 30.00 24414.86
After:
./use_mptcp.sh netperf -H 127.0.0.1 -t TCP_STREAM
[...]
131072 16384 16384 30.05 28357.69
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions