]> git.baikalelectronics.ru Git - kernel.git/commit
igb: consolidate creation of Tx buffer info and data descriptor
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:45:09 +0000 (07:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Oct 2011 07:09:20 +0000 (00:09 -0700)
commit79f6676fd0c4a397a1197f71ba262f70a81cabf0
treed728a01ea4917f2c4036697ffd588d9cc71e6e31
parentbe20f59ef7ef45e5e1ab05e8647e18b264587fb3
igb: consolidate creation of Tx buffer info and data descriptor

This change will combine the writes of tx_buffer_info and the Tx data
descriptors into a single function. The advantage of this is that we can
avoid needless memory reads from the buffer info struct and speed things up
by keeping the accesses to the local registers.

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