]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 12:47:09 +0000 (20:47 +0800)
commitb79271a10c63bb884a10ea472e76bfce44942d38
tree1fc9c1d966cb3ba46e282251a3e230712ff18ad1
parent59160981c14d43f9c25972b1d19598343e4c2cd2
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.

(cherry picked from commit ebe42d169bd0b4c3e2e355374d07ba7d51744601)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c