mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
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:
parent
89df5fdc52
commit
64da80a29c
2 changed files with 79 additions and 25 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue