aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorArjun Roy <[email protected]>2020-12-02 14:53:43 -0800
committerJakub Kicinski <[email protected]>2020-12-04 13:40:52 -0800
commit2cd81161848daa9c1b5ba13ceb6ff067fbb86aa9 (patch)
tree2cb311ff0f097436d225885b7d9e1b25163de9f3 /tools/perf/scripts/python/net_dropmonitor.py
parent18fb76ed53865c1b5d5f0157b1b825704590beb5 (diff)
net-tcp: Introduce tcp_recvmsg_locked().
Refactor tcp_recvmsg() by splitting it into locked and unlocked portions. Callers already holding the socket lock and not using ERRQUEUE/cmsg/busy polling can simply call tcp_recvmsg_locked(). This is in preparation for a short-circuit copy performed by TCP receive zerocopy for small (< PAGE_SIZE, or otherwise requested by the user) reads. Signed-off-by: Arjun Roy <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Soheil Hassas Yeganeh <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions