]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Do not parse past IP header on fragments beyond the first
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 13 Nov 2012 01:13:33 +0000 (01:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 1 Dec 2012 11:44:10 +0000 (03:44 -0800)
commit8eef7de45ed3b0e50d819fc5cf49f2c9b3e67e95
tree9608397aaffd4ae63c5f4ccd5d6ecce873c34e3a
parent86a49e16471e4650abf43c7ef927a98a3d480eee
ixgbe: Do not parse past IP header on fragments beyond the first

This change makes it so that only the first fragment in a series of fragments
will have the L4 header pulled.  Previously we were always pulling the L4
header as well and in the case of UDP this can harm performance since only the
first fragment will have the header, the rest just contain data which should
be left in the paged portion of the packet.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c