igb: Do not use header split, instead receive all frames into a single buffer
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 25 Sep 2012 00:30:52 +0000 (00:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Oct 2012 11:27:30 +0000 (04:27 -0700)
commit1a1c225b9463038ac68b369ef05e4ee7fd9c82a5
treedc79d408e1e8bdc756315b3ded1d2097e298015e
parentb534550a17cda69a1d62acc18fff33370b5eee5b
igb: Do not use header split, instead receive all frames into a single buffer

This change makes it so that we no longer use header split.  The idea is to
reduce partial cache line writes by hardware when handling frames larger
then header size.  We can compensate for the extra overhead of having to
memcpy the header buffer by avoiding the cache misses seen by leaving an
full skb allocated and sitting on the ring.

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.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c