diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-02 01:28:22 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-12 08:40:37 +0200 |
commit | 3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7 (patch) | |
tree | 2fcac3edee649519921ecf88367ddab110901c67 /include/linux/mv643xx_eth.h | |
parent | 64da80a29c7455321a7df7b47e27d639e3944c1a (diff) | |
download | kernel_samsung_smdk4412-3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7.tar.gz kernel_samsung_smdk4412-3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7.tar.bz2 kernel_samsung_smdk4412-3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7.zip |
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/mv643xx_eth.h')
-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 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. |