net: ethernet: mtk_eth_soc: set PPE flow hash as skb hash if present
authorFelix Fietkau <nbd@nbd.name>
Fri, 23 Apr 2021 05:21:07 +0000 (22:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 20:31:58 +0000 (13:31 -0700)
commitfa817272c37ef78e25dc14e4760ac78a7043a18a
tree38a05e6ace1d98b68796391d888fb675b3b636ca
parentdb2c7b353db3b3f71b55f9ff4627d8a786446fbe
net: ethernet: mtk_eth_soc: set PPE flow hash as skb hash if present

This improves GRO performance

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[Ilya: Use MTK_RXD4_FOE_ENTRY instead of GENMASK(13, 0)]
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c