diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-01 19:28:22 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-12 02:40:37 -0400 |
commit | 3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7 (patch) | |
tree | 2fcac3edee649519921ecf88367ddab110901c67 /include | |
parent | 64da80a29c7455321a7df7b47e27d639e3944c1a (diff) |
mv643xx_eth: allow multiple TX queues
As with the multiple RX queue support, allow the platform code to
specify that the hardware we are running on supports multiple TX
queues. This patch only uses the highest-numbered enabled queue
to send packets to for now, this can be extended later to enable
QoS and such.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mv643xx_eth.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 1afd7ba6d303..12078577aef6 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
@@ -49,9 +49,10 @@ struct mv643xx_eth_platform_data { | |||
49 | int duplex; | 49 | int duplex; |
50 | 50 | ||
51 | /* | 51 | /* |
52 | * Which RX queues to use. | 52 | * Which RX/TX queues to use. |
53 | */ | 53 | */ |
54 | int rx_queue_mask; | 54 | int rx_queue_mask; |
55 | int tx_queue_mask; | ||
55 | 56 | ||
56 | /* | 57 | /* |
57 | * Override default RX/TX queue sizes if nonzero. | 58 | * Override default RX/TX queue sizes if nonzero. |