diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2010-11-16 19:26:47 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-11-16 19:26:47 -0800 |
commit | 8ad494b0e59950e2b4e587c32cb67a2452795ea0 (patch) | |
tree | 0a02398ca7563ef478a9ca8fde519daa86522c82 /drivers/net/ixgbe/ixgbe.h | |
parent | 4c0ec6544a0cd5e3eed08df2c14cf98185098abe (diff) | |
download | op-kernel-dev-8ad494b0e59950e2b4e587c32cb67a2452795ea0.zip op-kernel-dev-8ad494b0e59950e2b4e587c32cb67a2452795ea0.tar.gz |
ixgbe: move GSO segments and byte count processing into ixgbe_tx_map
This change simplifies the work being done by the TX interrupt handler and
pushes it into the tx_map call. This allows for fewer cache misses since
the TX cleanup now accesses almost none of the skb members.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 4f98486..93946b6 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h @@ -128,7 +128,9 @@ struct ixgbe_tx_buffer { unsigned long time_stamp; u16 length; u16 next_to_watch; - u16 mapped_as_page; + unsigned int bytecount; + u16 gso_segs; + u8 mapped_as_page; }; struct ixgbe_rx_buffer { |