]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
stmmac: pci: TX and RX queue priority configuration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 May 2017 14:14:20 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 19:15:02 +0000 (15:15 -0400)
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>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c

index ae3e836f9bb664c0c4d9e116cbd57106935c9073..c015a715a8aced6d2e8d7ebd35c00e6831854047 100644 (file)
@@ -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;
 }