net: ethernet: mtk_eth_soc: add ipv6 flow offload support
authorDavid Bentham <db260179@gmail.com>
Tue, 5 Apr 2022 19:57:50 +0000 (21:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2022 13:08:50 +0000 (14:08 +0100)
commit817b2fdf166766b462a034a8cc87d0b53c0054ec
treed7e8473ae6c15071f252d9846d401e0221287cdb
parente9b65ecb7c3050dd34ee22ce17f1cf95e8405b15
net: ethernet: mtk_eth_soc: add ipv6 flow offload support

Add the missing IPv6 flow offloading support for routing only.
Hardware flow offloading is done by the packet processing engine (PPE)
of the Ethernet MAC and as it doesn't support mangling of IPv6 packets,
IPv6 NAT cannot be supported.

Signed-off-by: David Bentham <db260179@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_ppe_offload.c