]> Git Repo - J-linux.git/commitdiff
Merge branch 'udp-ipv6-optimisations'
authorJakub Kicinski <[email protected]>
Fri, 28 Jan 2022 03:46:13 +0000 (19:46 -0800)
committerJakub Kicinski <[email protected]>
Fri, 28 Jan 2022 03:46:14 +0000 (19:46 -0800)
Pavel Begunkov says:

====================
udp/ipv6 optimisations

Shed some weight from udp/ipv6. Zerocopy benchmarks over dummy showed
~5% tx/s improvement, should be similar for small payload non-zc
cases.

The performance comes from killing 4 atomics and a couple of big struct
memcpy/memset. 1/10 removes a pair of atomics on dst refcounting for
cork->skb setup, 9/10 saves another pair on cork init. 5/10 and 8/10
kill extra 88B memset and memcpy respectively.
====================

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>

Trivial merge
This page took 0.04435 seconds and 4 git commands to generate.