diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-04-22 09:42:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 21:32:58 -0400 |
commit | efe91932e79cfe59a562b70d8eb18049b36debc6 (patch) | |
tree | dade60807aa05f2b06b15321086487ee3f372cd7 /drivers/net/sky2.h | |
parent | 286d1e7f73320be063a5f6af25d3d61c741065c2 (diff) |
sky2: size status ring based on Tx/Rx ring
Sky2 status ring must be big enough to handle worst case number
of status messages. It was being oversized (to handle dual port cards),
and excessive number of tx ring entries were allowed. This patch reduces
the footprint and makes sure the value is enough.
Later patch to add RSS increases the number of possible Rx status elements.
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 0bebfb3638f6..125b5bd01524 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h | |||
@@ -2268,6 +2268,7 @@ struct sky2_hw { | |||
2268 | u8 ports; | 2268 | u8 ports; |
2269 | 2269 | ||
2270 | struct sky2_status_le *st_le; | 2270 | struct sky2_status_le *st_le; |
2271 | u32 st_size; | ||
2271 | u32 st_idx; | 2272 | u32 st_idx; |
2272 | dma_addr_t st_dma; | 2273 | dma_addr_t st_dma; |
2273 | 2274 | ||