realtek: add QoS and rate control
authorBirger Koblitz <git@birger-koblitz.de>
Thu, 21 Jan 2021 13:29:52 +0000 (14:29 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 26 Jan 2021 14:06:50 +0000 (15:06 +0100)
commitdc9cc0d3e2a1ede4bcf2e6b5b0aded4dc50244af
tree155a4accd84d3b7b997ee7b0d27a9229fe743f4d
parent4237488cf3de13b56484f728b77bdc746234954b
realtek: add QoS and rate control

This adds support for identifying QoS information in packets
and use this and rate control information to submit to multiple
egress queues. The ethernet driver is also made to support
2 egress and up to 32 egress queues.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/Makefile
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/qos.c [new file with mode: 0644]
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/rtl83xx.h
target/linux/realtek/files-5.4/drivers/net/ethernet/rtl838x_eth.c