[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170321151211.31841-3-thierry.reding@gmail.com>
Date: Tue, 21 Mar 2017 16:12:11 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...com>,
Joao Pinto <Joao.Pinto@...opsys.com>,
LABBE Corentin <clabbe.montjoie@...il.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] net: stmmac: Use AVB mode by default
From: Thierry Reding <treding@...dia.com>
Prior to the recent multi-queue changes the driver would configure the
queues to use the AVB mode, but the mode then got switched to DCB. The
hardware still works fine in DCB mode, but my testing capabilities are
limited, so it's safer to revert to the prior setting anyway.
Signed-off-by: Thierry Reding <treding@...dia.com>
---
include/linux/stmmac.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index be47b859e954..8349a5c1537b 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -56,8 +56,8 @@
#define MTL_RX_ALGORITHM_WSP 0x5
/* RX/TX Queue Mode */
-#define MTL_QUEUE_DCB 0x0
-#define MTL_QUEUE_AVB 0x1
+#define MTL_QUEUE_AVB 0x0
+#define MTL_QUEUE_DCB 0x1
/* The MDC clock could be set higher than the IEEE 802.3
* specified frequency limit 0f 2.5 MHz, by programming a clock divider
--
2.12.0
Powered by blists - more mailing lists