summaryrefslogtreecommitdiffstats
path: root/include/linux/mv643xx_eth.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-06-02 01:01:26 +0200
committerLennert Buytenhek <buytenh@wantstofly.org>2008-06-12 08:40:36 +0200
commit64da80a29c7455321a7df7b47e27d639e3944c1a (patch)
tree056eb75e01ba9af095fb6420ccd7cda4a3c2a958 /include/linux/mv643xx_eth.h
parent89df5fdc5290681e17b8755675c59ed9607a487a (diff)
downloadlinux-64da80a29c7455321a7df7b47e27d639e3944c1a.tar.gz
linux-64da80a29c7455321a7df7b47e27d639e3944c1a.tar.bz2
linux-64da80a29c7455321a7df7b47e27d639e3944c1a.zip
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/mv643xx_eth.h')
-rw-r--r--include/linux/mv643xx_eth.h5
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 {
int duplex;
/*
+ * Which RX queues to use.
+ */
+ int rx_queue_mask;
+
+ /*
* Override default RX/TX queue sizes if nonzero.
*/
int rx_queue_size;