Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605704

[PATCH 3/3] net: stmmac: Use AVB mode by default

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] net: stmmac: Use AVB mode by default
Date 2017-03-21 16:20 +0100
Message-ID <tntJM-55L-9@gated-at.bofh.it> (permalink)
References <tntJM-55L-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Thierry Reding <treding@nvidia.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@nvidia.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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] net: stmmac: Use AVB mode by default Thierry Reding <thierry.reding@gmail.com> - 2017-03-21 16:20 +0100
  Re: [PATCH 3/3] net: stmmac: Use AVB mode by default Joao Pinto <Joao.Pinto@synopsys.com> - 2017-03-21 16:30 +0100
    Re: [PATCH 3/3] net: stmmac: Use AVB mode by default Thierry Reding <thierry.reding@gmail.com> - 2017-03-21 17:50 +0100
      Re: [PATCH 3/3] net: stmmac: Use AVB mode by default Joao Pinto <Joao.Pinto@synopsys.com> - 2017-03-21 18:00 +0100
      Re: [PATCH 3/3] net: stmmac: Use AVB mode by default Joao Pinto <Joao.Pinto@synopsys.com> - 2017-03-21 18:00 +0100
  Re: [PATCH 3/3] net: stmmac: Use AVB mode by default David Miller <davem@davemloft.net> - 2017-03-22 20:20 +0100

csiph-web