diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-05-08 17:14:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-08 15:15:02 -0400 |
commit | a1437e57af1c07ef01b921c4a1ab8efd5134b597 (patch) | |
tree | f75e7cfcec9620e490bf59ffc54673f8059368d2 | |
parent | 05c5d0041972d3f3c6d881e94aa351f89a62eb2a (diff) | |
download | linux-a1437e57af1c07ef01b921c4a1ab8efd5134b597.tar.bz2 |
stmmac: pci: TX and RX queue priority configuration
The commit a8f5102af2a7
("net: stmmac: TX and RX queue priority configuration")
missed Intel Quark configuration. Append it here.
Fixes: a8f5102af2a7 ("net: stmmac: TX and RX queue priority configuration")
Cc: Joao Pinto <Joao.Pinto@synopsys.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c index ae3e836f9bb6..c015a715a8ac 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c @@ -149,6 +149,10 @@ static int quark_default_data(struct plat_stmmacenet_data *plat, plat->tx_queues_to_use = 1; plat->rx_queues_to_use = 1; + /* Disable Priority config by default */ + plat->tx_queues_cfg[0].use_prio = false; + plat->rx_queues_cfg[0].use_prio = false; + return 0; } |