]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit366ddad540f45ecd546042d30f13af5c389b2cd0
treedc79d408e1e8bdc756315b3ded1d2097e298015e
parent7044b3fa73bac2ac0918a48e897e9ac48b4acf28
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