]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Do not parse past IP header on fragments beyond the first
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 13 Nov 2012 01:13:38 +0000 (01:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Nov 2012 10:01:04 +0000 (02:01 -0800)
commit0656e20e5d390ea48b46bc3725e1ab767339db95
tree9f489e21310da7f1943dbe15797dbf03c278d8fb
parentdd5a5bb831f338db11c344ab79b038645b09e0f4
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