stmmac: pci: RX queue routing configuration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 May 2017 14:14:21 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 19:15:02 +0000 (15:15 -0400)
The commit abe80fdc6ee6

    ("net: stmmac: RX queue routing configuration")

missed Intel Quark configuration. Append it here.

Fixes: abe80fdc6ee6 ("net: stmmac: RX queue routing 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 c015a715a8aced6d2e8d7ebd35c00e6831854047..2456e0a945ef63b7d5f3ce8ad0b43f5f53156014 100644 (file)
@@ -153,6 +153,9 @@ static int quark_default_data(struct plat_stmmacenet_data *plat,
        plat->tx_queues_cfg[0].use_prio = false;
        plat->rx_queues_cfg[0].use_prio = false;
 
+       /* Disable RX queues routing by default */
+       plat->rx_queues_cfg[0].pkt_route = 0x0;
+
        return 0;
 }