kernel: improve skb hash on the mtk ethernet driver
authorFelix Fietkau <nbd@nbd.name>
Fri, 18 Dec 2020 16:10:04 +0000 (17:10 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 18 Dec 2020 17:10:52 +0000 (18:10 +0100)
commit6244b0b6c942a6257c612622a5761f05277025e9
treef79a9b40f3deb50571edc5ee737ecb43a2b880fc
parentfca0eb2d927c2c5587a3105108374abd7c97ca25
kernel: improve skb hash on the mtk ethernet driver

The PPE only provides a 14 bit hash, however many uses of the skb hash
expect the hash to use the full 32 bit range.
Use jhash to extend the hash to the full size

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/pending-5.4/770-13-net-ethernet-mtk_eth_soc-fix-parsing-packets-in-GDM.patch
target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
target/linux/generic/pending-5.4/770-15-net-ethernet-mediatek-mtk_eth_soc-add-support-for-in.patch
target/linux/generic/pending-5.4/770-16-net-ethernet-mediatek-mtk_eth_soc-add-flow-offloadin.patch
target/linux/mediatek/patches-5.4/1011-net-ethernet-mtk_eth_soc-add-support-for-coherent-DM.patch