netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tg3: Remove prev_vlan_tag from struct tx_ring_info
@ 2009-09-30 14:07 Eric Dumazet
  2009-09-30 17:26 ` Matt Carlson
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 2009-09-30 14:07 UTC (permalink / raw)
  To: David S. Miller; +Cc: Matt Carlson, Linux Netdev List, Michael Chan

prev_vlan_tag field is not used.

Patch saves 512*8 bytes per tx queue ring on 64bit arches.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---

diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 82b45d8..524691c 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2412,7 +2412,6 @@ struct ring_info {
 
 struct tx_ring_info {
 	struct sk_buff                  *skb;
-	u32                             prev_vlan_tag;
 };
 
 struct tg3_config_info {

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-02  4:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 14:07 [PATCH] tg3: Remove prev_vlan_tag from struct tx_ring_info Eric Dumazet
2009-09-30 17:26 ` Matt Carlson
2009-10-01 21:38   ` David Miller
2009-10-02  4:16     ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).