From: Alexander Duyck Date: Thu, 24 May 2012 08:26:29 +0000 (+0000) Subject: ixgbe: Add support for IPv6 and UDP to ixgbe_get_headlen X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~583^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a048b40e0f9502bc75d7f9904c5399a0a87fa479;p=pandora-kernel.git ixgbe: Add support for IPv6 and UDP to ixgbe_get_headlen This change adds support for IPv6 and UDP to ixgbe_get_headlen. The advantage to this is that we can now handle ipv4/UDP, ipv6/TCP, and ipv6/UDP with a single memcpy instead of having to do them in multiple pskb_may_pull calls. A quick bit of testing shows that we increase throughput for a single session of netperf from 8800Mpbs to about 9300Mpbs in the case of ipv6/TCP. As such overall ipv6 performance should improve with this change. Signed-off-by: Alexander Duyck Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed