diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-01 19:01:26 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-12 02:40:36 -0400 |
commit | 64da80a29c7455321a7df7b47e27d639e3944c1a (patch) | |
tree | 056eb75e01ba9af095fb6420ccd7cda4a3c2a958 /include/linux | |
parent | 89df5fdc5290681e17b8755675c59ed9607a487a (diff) |
mv643xx_eth: allow multiple RX queues
Allow the platform code to specify that we are running on hardware
that is capable of supporting multiple RX queues. If this option
is used, initialise all of the given RX queues instead of just RX
queue zero.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mv643xx_eth.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 646177660495..1afd7ba6d303 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
@@ -49,6 +49,11 @@ struct mv643xx_eth_platform_data { | |||
49 | int duplex; | 49 | int duplex; |
50 | 50 | ||
51 | /* | 51 | /* |
52 | * Which RX queues to use. | ||
53 | */ | ||
54 | int rx_queue_mask; | ||
55 | |||
56 | /* | ||
52 | * Override default RX/TX queue sizes if nonzero. | 57 | * Override default RX/TX queue sizes if nonzero. |
53 | */ | 58 | */ |
54 | int rx_queue_size; | 59 | int rx_queue_size; |