aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-04-19 18:25:27 -0700
committerDaniel Golle <daniel@makrotopia.org>2021-04-20 10:31:06 +0100
commitb96db94fb7775dc05c22d9a9262d75a42443aaeb (patch)
tree648aa2417ed6c55e5ea0dd1fbcbf7a704623a1b4 /target/linux
parent4dcdc8249c04da01adfc57e5698ccb41dbe3b0fa (diff)
downloadupstream-b96db94fb7775dc05c22d9a9262d75a42443aaeb.tar.gz
upstream-b96db94fb7775dc05c22d9a9262d75a42443aaeb.tar.bz2
upstream-b96db94fb7775dc05c22d9a9262d75a42443aaeb.zip
kernel: move patch to backport after upstreaming
The patch is now in net-next so keep it in backport-5.10 to keep things more organized. Link: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=6ecaf81d4ac6365f9284f9d68d74f7c209e74f98 Cc: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/backport-5.10/610-v5.13-36-net-ethernet-mediatek-fix-a-typo-bug-in-flow-offload.patch (renamed from target/linux/generic/pending-5.10/615-net-ethernet-mediatek-fix-typo-in-offload-code.patch)13
1 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/generic/pending-5.10/615-net-ethernet-mediatek-fix-typo-in-offload-code.patch b/target/linux/generic/backport-5.10/610-v5.13-36-net-ethernet-mediatek-fix-a-typo-bug-in-flow-offload.patch
index 07a0867bba..de376bf78d 100644
--- a/target/linux/generic/pending-5.10/615-net-ethernet-mediatek-fix-typo-in-offload-code.patch
+++ b/target/linux/generic/backport-5.10/610-v5.13-36-net-ethernet-mediatek-fix-a-typo-bug-in-flow-offload.patch
@@ -1,12 +1,17 @@
-From ec21551331bc071ed43c814265f014029fa5f95f Mon Sep 17 00:00:00 2001
+From 6ecaf81d4ac6365f9284f9d68d74f7c209e74f98 Mon Sep 17 00:00:00 2001
From: DENG Qingfang <dqfext@gmail.com>
-Date: Thu, 15 Apr 2021 17:40:05 +0800
-Subject: [PATCH] net: ethernet: mediatek: fix typo in offload code
+Date: Sat, 17 Apr 2021 15:29:04 +0800
+Subject: [PATCH] net: ethernet: mediatek: fix a typo bug in flow offloading
-.key_offset was assigned to .head_offset instead. Fix the typo.
+Issue was traffic problems after a while with increased ping times if
+flow offload is active. It turns out that key_offset with cookie is
+needed in rhashtable_params but was re-assigned to head_offset.
+Fix the assignment.
Fixes: 502e84e2382d ("net: ethernet: mtk_eth_soc: add flow offloading support")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
+Tested-by: Frank Wunderlich <frank-w@public-files.de>
+Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/net/ethernet/mediatek/mtk_ppe_offload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)