This fixes Hardware Offload on MT7621

Signed-off-by: Lucian Cristian <lucian.crist...@gmail.com>
diff --git 
a/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
 
b/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
index 82e3ddec3f..660ac77dce 100644
--- 
a/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
+++ 
b/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
@@ -127,7 +127,7 @@ Signed-off-by: Pablo Neira Ayuso <pa...@netfilter.org>
 +
 +static const struct rhashtable_params mtk_flow_ht_params = {
 +      .head_offset = offsetof(struct mtk_flow_entry, node),
-+      .head_offset = offsetof(struct mtk_flow_entry, cookie),
++      .key_offset = offsetof(struct mtk_flow_entry, cookie),
 +      .key_len = sizeof(unsigned long),
 +      .automatic_shrinking = true,
 +};
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to