All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH v7] fm10k: add helper functions for ethtool stats
@ 2016-04-01 18:15 Jacob Keller
  2016-04-01 18:15 ` [Intel-wired-lan] [PATCH v7] fm10k: add helper functions to set strings and data " Jacob Keller
  2016-04-01 18:17 ` [Intel-wired-lan] [PATCH v7] fm10k: add helper functions " Keller, Jacob E
  0 siblings, 2 replies; 4+ messages in thread
From: Jacob Keller @ 2016-04-01 18:15 UTC (permalink / raw)
  To: intel-wired-lan

This is a complete replacement for 74bf40286439 ("fm10k: add helper
functions to set strings and data for ethtool stats", 2016-03-25) on
Jeff's queue, and this the previous v6 patch should be dropped and
replaced with this one. 91daf9c6d966 ("fm10k: remove debug-statistics
support", 2016-03-25) likely depends on this patch.

This version fixes an issue with per-queue statistics due to a
copy-paste error in the queue stats structure.

inter-diff between v6 and v7:

diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
index e36ca3f43ae4..f331966ac9df 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
@@ -129,7 +129,7 @@ static const struct fm10k_stats fm10k_gstrings_mbx_stats[] = {
 
 static const struct fm10k_stats fm10k_gstrings_queue_stats[] = {
 	FM10K_QUEUE_STAT("packets", stats.packets),
-	FM10K_QUEUE_STAT("bytes", stats.packets),
+	FM10K_QUEUE_STAT("bytes", stats.bytes),
 };
 
 #define FM10K_GLOBAL_STATS_LEN ARRAY_SIZE(fm10k_gstrings_global_stats)

Jacob Keller (1):
  fm10k: add helper functions to set strings and data for ethtool stats

 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 219 ++++++++++++-----------
 1 file changed, 115 insertions(+), 104 deletions(-)

-- 
2.8.0.rc1.177.g5628860


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-13 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01 18:15 [Intel-wired-lan] [PATCH v7] fm10k: add helper functions for ethtool stats Jacob Keller
2016-04-01 18:15 ` [Intel-wired-lan] [PATCH v7] fm10k: add helper functions to set strings and data " Jacob Keller
2016-04-13 22:30   ` Singh, Krishneil K
2016-04-01 18:17 ` [Intel-wired-lan] [PATCH v7] fm10k: add helper functions " Keller, Jacob E

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.