]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: split buffer_info into tx_buffer_info and rx_buffer_info
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:44:22 +0000 (07:44 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 11:49:59 +0000 (19:49 +0800)
commit03a34a2e17683fc4b7549b6f0e7065c65ba4d625
tree4ab55127b37ce4e021b4fa071bb64fe3933c9e34
parent1f96dcfe4b4f4f26aba2e9144a21a3d6defcd392
igb: split buffer_info into tx_buffer_info and rx_buffer_info

In order to be able to improve the performance of the TX path it has been
necessary to add addition info to the tx_buffer_info structure.  However a
side effect is that the structure has gotten larger and this in turn has
also increased the size of the RX buffer info structure.  In order to avoid
this in the future I am splitting the single buffer_info structure into two
separate ones and instead I will join them by making the buffer_info
pointer in the ring a union of the two.

(cherry picked from commit 0603464956e863810af60c08b4b2e8ab50363a54)
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_ethtool.c
drivers/net/igb/igb_main.c