mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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>
This commit is contained in:
parent
64da80a29c
commit
3d6b35bc50
2 changed files with 105 additions and 44 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue