realtek: Improve TX CPU-Tag usage
authorBirger Koblitz <git@birger-koblitz.de>
Sun, 5 Sep 2021 18:03:59 +0000 (20:03 +0200)
committerJohn Crispin <john@phrozen.org>
Sat, 9 Oct 2021 06:25:05 +0000 (08:25 +0200)
commit9eab76c84e311605e8cc197a0bc4bd53340678c3
treec3c75d5e49beb804a317c4ad9c561363d64d1f78
parentca04e2dfd02a711cb0b3ce401bd120bd3da3b973
realtek: Improve TX CPU-Tag usage

On RTL83xx enable learning of the MAC source address of the CPU port
from outgoing packets. Add documentation on bit fields. On RTL93xx
enable port-mask usage and the use of internal priority, these
SoCs automatically learn the MAC.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c