]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add CBS support in XGMAC2
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 30 Aug 2018 14:09:48 +0000 (15:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 00:40:22 +0000 (17:40 -0700)
commit07517d640689e1c94aab5eb3270439ab87246f32
treeab4dd01982eac56f815aa739433dcd950021a0bd
parent54979a43441a87974c9a9b407b4ce22fd0705317
net: stmmac: Add CBS support in XGMAC2

XGMAC2 uses the same CBS mechanism as GMAC5, only registers offset
changes. Lets use the same TC callbacks and implement the .config_cbs
callback in XGMAC2 core.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
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/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
drivers/net/ethernet/stmicro/stmmac/hwif.c