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)
commitebe42d169bd0b4c3e2e355374d07ba7d51744601
treed728a01ea4917f2c4036697ffd588d9cc71e6e31
parent2bbfebe2db3453f9ad5a3de56b77d383b91a7829
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
This page took 0.025791 seconds and 5 git commands to generate.