mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: mvneta: Change the number of default rx queues to one
The driver does not support multiple rx queues, and so it's a waste of resources to have a default number larger than one (1). Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e68de36072
commit
edadb7fad3
1 changed files with 4 additions and 1 deletions
|
@ -451,7 +451,10 @@ struct mvneta_rx_queue {
|
|||
int next_desc_to_proc;
|
||||
};
|
||||
|
||||
static int rxq_number = 8;
|
||||
/* The hardware supports eight (8) rx queues, but we are only allowing
|
||||
* the first one to be used. Therefore, let's just allocate one queue.
|
||||
*/
|
||||
static int rxq_number = 1;
|
||||
static int txq_number = 8;
|
||||
|
||||
static int rxq_def;
|
||||
|
|
Loading…
Add table
Reference in a new issue