net: stmmac: First Queue must always be in DCB mode
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 26 Oct 2017 09:07:12 +0000 (10:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 14:32:56 +0000 (23:32 +0900)
commit6d9f0790af8d33476f936ac84a07cac42f808f6c
treeb0c67323b6efaa38600882d7bca4749078b2450e
parent4894ac6b6c25b2693dc21c611621dc9fd21f4090
net: stmmac: First Queue must always be in DCB mode

According to DWMAC databook the first queue operating mode
must always be in DCB.

As MTL_QUEUE_DCB = 1, we need to always set the first queue
operating mode to DCB otherwise driver will think that queue
is in AVB mode (because MTL_QUEUE_AVB = 0).

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c