]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'udp-ipv6-use-scratch-helpers'
authorDavid S. Miller <davem@davemloft.net>
Tue, 27 Jun 2017 19:43:57 +0000 (15:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jun 2017 19:43:57 +0000 (15:43 -0400)
commited9208be8d8f3ce164892ba7ca484501c881de66
tree4d593cd01e8f7783935fae566b9e2cb4a29159a6
parentd97af30f615eea23ecfefd0e80b2f5f2f41afe55
parent67a51780aebb683c3b217b2867e25102cdb0afbc
Merge branch 'udp-ipv6-use-scratch-helpers'

Paolo Abeni says:

====================
ipv6: udp: exploit dev_scratch helpers

When bringing in the recent cache optimization for the UDP protocol, I forgot
to leverage the newly introduced scratched area helpers in the UDPv6 code path.
As a result, the UDPv6 implementation suffers some unnecessary performance
penality when compared to v4.

This series aim to bring back UDPv6 on equal footing in respect to v4.
The first patch moves the shared helpers to the common include files, while
the second uses them in the UDPv6 code.

This gives 5-8% performance improvement for a system under flood with small
UDPv6 packets. The performance delta is less than the one reported on the
original patch set because the UDPv6 code path already leveraged some of the
optimization.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>