igb: Do not parse past IP header on fragments beyond the first
commitf2fb4ab2a647d6576812cbb3ae1979538112f6c8
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 13 Nov 2012 01:13:38 +0000 (13 01:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Nov 2012 10:01:04 +0000 (22 02:01 -0800)
tree9f489e21310da7f1943dbe15797dbf03c278d8fb
parent63d4a8f963fce8fe5d8ba3d5eba34d7d7ca6f82b
igb: 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: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c