stmmac: pci: set default number of rx and tx queues
The commit26d6851fd2("net: stmmac: set default number of rx and tx queues in stmmac_pci") missed Intel Quark configuration. Append it here. Fixes:26d6851fd2("net: stmmac: set default number of rx and tx queues in stmmac_pci") Cc: Joao Pinto <Joao.Pinto@synopsys.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Joao Pinto <jpinto@synopsys.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8ed508fd4b
commit
05c5d00419
@@ -145,6 +145,10 @@ static int quark_default_data(struct plat_stmmacenet_data *plat,
|
|||||||
/* Set the maxmtu to a default of JUMBO_LEN */
|
/* Set the maxmtu to a default of JUMBO_LEN */
|
||||||
plat->maxmtu = JUMBO_LEN;
|
plat->maxmtu = JUMBO_LEN;
|
||||||
|
|
||||||
|
/* Set default number of RX and TX queues to use */
|
||||||
|
plat->tx_queues_to_use = 1;
|
||||||
|
plat->rx_queues_to_use = 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user