]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add support for CBS QDISC
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 27 Jun 2018 14:57:02 +0000 (15:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 09:38:47 +0000 (18:38 +0900)
commita53e7ca3ded6c32a0e2a11089e7ce98b82898709
treee727cacc3c0f666e6771e9f4aec4dbd87c645058
parent5976c9b9da518c4ec5d97192fd48507c5658255a
net: stmmac: Add support for CBS QDISC

This adds support for CBS reconfiguration using the TC application.

A new callback was added to TC ops struct and another one to DMA ops to
reconfigure the channel mode.

Tested in GMAC5.10.

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