diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-18 17:17:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-19 05:26:48 +0200 |
commit | ee5f68fea27b53b16c265b1f9ed8aa3bc9024c96 (patch) | |
tree | f24199e39c59f88516e0914faf74c26d991815a1 /drivers/net/sky2.h | |
parent | sky2: simplify list element error (diff) | |
download | linux-ee5f68fea27b53b16c265b1f9ed8aa3bc9024c96.tar.xz linux-ee5f68fea27b53b16c265b1f9ed8aa3bc9024c96.zip |
sky2: dynamic size transmit ring
Allocate and size transmit ring based on parameters. Saves excess
space and allows configuring larger rings for testing.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index feb3204134ed..2c262f763f93 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -2011,6 +2011,7 @@ struct sky2_port { struct tx_ring_info *tx_ring; struct sky2_tx_le *tx_le; + u16 tx_ring_size; u16 tx_cons; /* next le to check */ u16 tx_prod; /* next le to use */ u16 tx_next; /* debug only */ |