ipq40xx: enable RX hash / CTAG TX offloading for single-phy
authorDavid Bauer <mail@david-bauer.net>
Mon, 26 Oct 2020 20:59:47 +0000 (21:59 +0100)
committerDavid Bauer <mail@david-bauer.net>
Wed, 28 Oct 2020 19:41:36 +0000 (20:41 +0100)
commitee038d41c28d89cdcda72f9a35afe5296e91479b
treeaa164c5c0a8c9f06d30780deb7516a95b99cc23b
parentc33f5d3487f6377ceb5f85991b0f6377f2e4ead9
ipq40xx: enable RX hash / CTAG TX offloading for single-phy

This re-enables offloading features disabled by
commit 9da2b567605b ("ipq40xx: fix ethernet vlan double tagging").

Single-PHY devices use port-based VLANs on the switch, therefore no
S-TAG magic is involved here. Re-enabling these features restores
throughput back to 950 Mbit/s.

Reported-by: Jannis Pinter <jannis@pinterjann.is>
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c