aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-06-02 01:28:22 +0200
committerLennert Buytenhek <buytenh@wantstofly.org>2008-06-12 08:40:37 +0200
commit3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7 (patch)
tree2fcac3edee649519921ecf88367ddab110901c67 /include/linux
parent64da80a29c7455321a7df7b47e27d639e3944c1a (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/linux')
-rw-r--r--include/linux/mv643xx_eth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
index 1afd7ba6d30..12078577aef 100644
--- a/include/linux/mv643xx_eth.h
+++ b/include/linux/mv643xx_eth.h
@@ -49,9 +49,10 @@ struct mv643xx_eth_platform_data {
int duplex;
/*
- * Which RX queues to use.
+ * Which RX/TX queues to use.
*/
int rx_queue_mask;
+ int tx_queue_mask;
/*
* Override default RX/TX queue sizes if nonzero.