]> git.baikalelectronics.ru Git - kernel.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)
commitfa148640e3604ec6c944b63ac69f1b00a5df80f6
tree4d593cd01e8f7783935fae566b9e2cb4a29159a6
parent2faf4e976eb9757bb6c7632bc3ea67c510019adf
parenta425f09cd2b7b55159bc61c556a1a8229e00c04e
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>