igb: Support using build_skb in the case that jumbo frames are disabled
commit74e238eada573540f82530f8ae4f3343c023d774
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 2 Feb 2013 05:07:11 +0000 (2 05:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 15 Feb 2013 09:11:29 +0000 (15 01:11 -0800)
tree69086119adb9bea30dd8e866aded4e0190521332
parent9754e293491e3a4e6c1ac020d25140b1ed3d9cd2
igb: Support using build_skb in the case that jumbo frames are disabled

This change makes it so that we can enable the use of build_skb for cases
where jumbo frames are disabled.  The advantage to this is that we do not
have to perform a memcpy to populate the header and as a result we see a
significant performance improvement.

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_main.c