diff options
author | 2017-12-22 19:00:19 -0500 | |
---|---|---|
committer | 2017-12-27 16:44:13 -0500 | |
commit | 02583adeff12fa0a4d72558853a926867afb226c (patch) | |
tree | 61bb4d25bbfbbaa8c0912f6781f1be2214b1252a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: push full zerocopy packets (diff) | |
download | linux-dev-02583adeff12fa0a4d72558853a926867afb226c.tar.xz linux-dev-02583adeff12fa0a4d72558853a926867afb226c.zip |
tcp: place all zerocopy payload in frags
This avoids an unnecessary copy of 1-2KB and improves tso_fragment,
which has to fall back to tcp_fragment if skb->len != skb_data_len.
It also avoids a surprising inconsistency in notifications:
Zerocopy packets sent over loopback have their frags copied, so set
SO_EE_CODE_ZEROCOPY_COPIED in the notification. But this currently
does not happen for small packets, because when all data fits in the
linear fragment, data is not copied in skb_orphan_frags_rx.
Reported-by: Tom Deseyn <tom.deseyn@gmail.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions