]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitec6ea8e3eee969fb4e04e86e7abc0e662262f443
treeab4dd01982eac56f815aa739433dcd950021a0bd
parent531778d0e3a371f05442830df954bc6215f1c19e
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