aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorNick Nunley <nicholasx.d.nunley@intel.com>2010-02-16 20:04:37 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-17 16:21:37 -0500
commit40e90c26f573fa5082be6e046b346e19ab0cd25f (patch)
tree5c1676d99568fa07ad144a70c57a413ab5de2d5a /drivers/net/igb/igb.h
parent717ba0893508c2c8706c1408c152aa6d286d5d80 (diff)
igb: move gso_segs into buffer_info structure
This change moves gso_segs into the buffer_info structure to avoid a possible cache line miss in clean_tx_irq. Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 8f07bc0a1d4c..7854b66648c7 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -141,6 +141,7 @@ struct igb_buffer {
141 u16 length; 141 u16 length;
142 u16 next_to_watch; 142 u16 next_to_watch;
143 u16 mapped_as_page; 143 u16 mapped_as_page;
144 u16 gso_segs;
144 }; 145 };
145 /* RX */ 146 /* RX */
146 struct { 147 struct {