From: David S. Miller Date: Tue, 27 Jun 2017 19:43:57 +0000 (-0400) Subject: Merge branch 'udp-ipv6-use-scratch-helpers' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ed9208be8d8f3ce164892ba7ca484501c881de66;p=openwrt%2Fstaging%2Fblogic.git 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 --- ed9208be8d8f3ce164892ba7ca484501c881de66