diff options
| author | Paolo Abeni <[email protected]> | 2020-12-10 14:25:06 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-12-14 17:30:06 -0800 |
| commit | 15e6ca974b14c2dc4221738ef81b23ef694c9160 (patch) | |
| tree | 32ff1828e3dc23a2dadba291d8ad3ba41f131722 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 1bc7327b5fea60328bf72cd702eca1defa2a5655 (diff) | |
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 <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions