diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-09-20 12:01:48 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-01 02:47:57 +0200 |
commit | f1f97db627b2f82989a0f97a74bc7a3debd67ecd (patch) | |
tree | f41fd7c116246a5d3df3f5aa2715b9e61b087278 /target/linux/realtek/patches-5.10/709-lag-offloading.patch | |
parent | ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (diff) | |
download | upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.gz upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.bz2 upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.zip |
realtek: Convert incorrect v5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be
sent upstream more easily.
However, in this case, Adding proper fields also allows for `git am` to
properly function. Some of these patches are quite old, and lack much
traceable history.
This commit tries to rectify that, by digging in the history to find
where and how it was first added.
It is by no means perfect and also shows some patches that should have
been long gone.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/realtek/patches-5.10/709-lag-offloading.patch')
-rw-r--r-- | target/linux/realtek/patches-5.10/709-lag-offloading.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/709-lag-offloading.patch b/target/linux/realtek/patches-5.10/709-lag-offloading.patch index 8758953542..95f1f01d3d 100644 --- a/target/linux/realtek/patches-5.10/709-lag-offloading.patch +++ b/target/linux/realtek/patches-5.10/709-lag-offloading.patch @@ -1,3 +1,25 @@ +From afa3ab54c03d5126b14651f367b38165fab5b3cc Mon Sep 17 00:00:00 2001 +From: Birger Koblitz <git@birger-koblitz.de> +Date: Tue, 18 Jan 2022 17:18:43 +0100 +Subject: [PATCH] realtek: Backport bridge configuration for DSA + +Adds the DSA API for bridge configuration (flooding, L2 learning, +and aging) offload as found in Linux 5.12 so that we can implement +it in our drivver. + +Submitted-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> +Submitted-by: Birger Koblitz <git@birger-koblitz.de> +--- + drivers/net/bonding/bond_main.c | 2 ++ + include/net/dsa.h | 79 ++++++++++++++++- + net/dsa/dsa2.c | 88 +++++++++++++++++++ + net/dsa/dsa_priv.h | 74 ++++++++++++++ + net/dsa/port.c | 92 ++++++++++++++++++++ + net/dsa/slave.c | 88 ++++++++++++++++--- + net/dsa/switch.c | 49 ++++++++++ + net/sda/tag_dsa.c | 13 +++++- + 8 file changed, 460 insertions(+), 25 deletions(-) + --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -2046,6 +2046,8 @@ int bond_enslave(struct net_device *bond |