aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-09-20 12:01:48 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-01 02:47:56 +0200
commitd5bf46bbe8f425182ea07787ae5d92145715da1b (patch)
tree2400e91eaba3059f12e39574f0e5fb3a62bb351f /target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch
parent5d09118f8e60fa151e03916f255f5511e197af68 (diff)
downloadupstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.tar.gz
upstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.tar.bz2
upstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.zip
generic: Convert incorrect generic/5.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/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch')
-rw-r--r--target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch29
1 files changed, 17 insertions, 12 deletions
diff --git a/target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch b/target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch
index 0694c5cfcb..fa3f1c8fb8 100644
--- a/target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch
+++ b/target/linux/generic/backport-5.15/604-v5.19-net-page_pool-introduce-ethtool-stats.patch
@@ -1,17 +1,22 @@
-commit f3c5264f452a5b0ac1de1f2f657efbabdea3c76a
-Author: Lorenzo Bianconi <lorenzo@kernel.org>
-Date: Tue Apr 12 18:31:58 2022 +0200
+From f3c5264f452a5b0ac1de1f2f657efbabdea3c76a Mon Sep 17 00:00:00 2001
+From: Lorenzo Bianconi <lorenzo@kernel.org>
+Date: Tue, 12 Apr 2022 18:31:58 +0200
+Subject: [PATCH] net: page_pool: introduce ethtool stats
- net: page_pool: introduce ethtool stats
-
- Introduce page_pool APIs to report stats through ethtool and reduce
- duplicated code in each driver.
-
- Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
- Reviewed-by: Jakub Kicinski <kuba@kernel.org>
- Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
- Signed-off-by: David S. Miller <davem@davemloft.net>
+Introduce page_pool APIs to report stats through ethtool and reduce
+duplicated code in each driver.
+Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
+Reviewed-by: Jakub Kicinski <kuba@kernel.org>
+Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+---
+ include/net/page_pool.h | 21 ++++++++++++++
+ net/core/page_pool.c | 63 ++++++++++++++++++++++++++++++++++++++++-
+ 2 files changed, 83 insertions(+), 1 deletion(-)
+
+diff --git a/include/net/page_pool.h b/include/net/page_pool.h
+index ea5fb70e5101..813c93499f20 100644
--- a/include/net/page_pool.h
+++ b/include/net/page_pool.h
@@ -115,6 +115,10 @@ struct page_pool_stats {