]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gve: report 64bit tx_bytes counter from gve_handle_report_stats()
authorEric Dumazet <edumazet@google.com>
Wed, 6 Oct 2021 01:01:38 +0000 (18:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 07:42:00 +0000 (09:42 +0200)
commit1fad5d7f75f7f49d9b4f821228abcfe6a80abfbd
tree89d07507728566991a394f366911159a69a21329
parentbcf4f5e4d33db4ccece3b9835d4bbbf0a8b53f69
gve: report 64bit tx_bytes counter from gve_handle_report_stats()

[ Upstream commit 17c37d748f2b122a95b6d0524d410302ff89a2b1 ]

Each tx queue maintains a 64bit counter for bytes, there is
no reason to truncate this to 32bit (or this has not been
documented)

Fixes: 24aeb56f2d38 ("gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yangchun Fu <yangchun@google.com>
Cc: Kuo Zhao <kuozhao@google.com>
Cc: David Awogbemila <awogbemila@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/google/gve/gve_main.c