diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2012-05-24 04:26:29 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-10-23 00:13:48 -0400 |
commit | a048b40e0f9502bc75d7f9904c5399a0a87fa479 (patch) | |
tree | db65df2be656ad4bf22239dd7653fe3ee07b06b2 /drivers/net/ethernet/calxeda | |
parent | d94ce9b283736a876b2e6dec665c68e5e8b5d55e (diff) |
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 <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/calxeda')
0 files changed, 0 insertions, 0 deletions