]> 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)
commit6755fdef067e3fa6f8ef10ad84e7cbc627980439
tree9f489e21310da7f1943dbe15797dbf03c278d8fb
parentb068c5aae032ffbbf6f624fe69dfe73f98465cf4
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