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>
This commit is contained in:
Lennert Buytenhek 2008-06-02 01:01:26 +02:00
parent 89df5fdc52
commit 64da80a29c
2 changed files with 79 additions and 25 deletions

View file

@ -48,6 +48,11 @@ struct mv643xx_eth_platform_data {
int speed;
int duplex;
/*
* Which RX queues to use.
*/
int rx_queue_mask;
/*
* Override default RX/TX queue sizes if nonzero.
*/