diff options
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.patch | 29 |
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 { |