diff options
author | Michael Chan <mchan@broadcom.com> | 2005-07-25 12:31:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-25 12:31:17 -0700 |
commit | 7e72aad48c3790636bfa006f3b0027852ccad47e (patch) | |
tree | ba2f201b4554f95b3e432f75f6cc7a2cbb296f70 /drivers/net/tg3.h | |
parent | 0f893dc6ec890058d926224c8aa254d8621e0ea3 (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.h | 2 |
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 { struct tg3_rx_buffer_desc *rx_rcb; dma_addr_t rx_rcb_mapping; + u32 rx_pkt_buf_sz; + /* begin "everything else" cacheline(s) section */ struct net_device_stats net_stats; struct net_device_stats net_stats_prev; |