aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-07-25 15:31:17 -0400
committerDavid S. Miller <davem@davemloft.net>2005-07-25 15:31:17 -0400
commit7e72aad48c3790636bfa006f3b0027852ccad47e (patch)
treeba2f201b4554f95b3e432f75f6cc7a2cbb296f70 /drivers/net/tg3.h
parent0f893dc6ec890058d926224c8aa254d8621e0ea3 (diff)
[TG3]: add variable buffer size for standard ring
Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer sizes on the standard ring. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 7cb2eefa7aad..15eb2bdb2de1 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2088,6 +2088,8 @@ struct tg3 {
2088 struct tg3_rx_buffer_desc *rx_rcb; 2088 struct tg3_rx_buffer_desc *rx_rcb;
2089 dma_addr_t rx_rcb_mapping; 2089 dma_addr_t rx_rcb_mapping;
2090 2090
2091 u32 rx_pkt_buf_sz;
2092
2091 /* begin "everything else" cacheline(s) section */ 2093 /* begin "everything else" cacheline(s) section */
2092 struct net_device_stats net_stats; 2094 struct net_device_stats net_stats;
2093 struct net_device_stats net_stats_prev; 2095 struct net_device_stats net_stats_prev;