public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] gve: Stats reporting fixes
@ 2026-02-02 19:39 Harshitha Ramamurthy
  2026-02-02 19:39 ` [PATCH net 1/2] gve: Fix stats report corruption on queue count change Harshitha Ramamurthy
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Harshitha Ramamurthy @ 2026-02-02 19:39 UTC (permalink / raw)
  To: netdev
  Cc: joshwash, hramamurthy, andrew+netdev, davem, edumazet, kuba,
	pabeni, willemb, ziweixiao, jordanrhee, nktgrg, kuozhao, yangchun,
	awogbemila, maolson, ast, daniel, hawk, john.fastabend, sdf, bpf,
	linux-kernel, stable, Max Yuan

From: Max Yuan <maxyuan@google.com>

This series addresses two issues related to statistics in the gve driver.

The first patch fixes a memory corruption issue that occurs when resizing
the stats region during queue count changes. By allocating the maximum
possible size upfront and aligning offset calculations with the NIC,
we ensure stability and accuracy across reconfigurations.

The second patch fixes the 'rx_dropped' counter by removing allocation
failures and incorporating XDP transmit and redirect errors to provide
a more accurate representation of dropped packets.

Debarghya Kundu (1):
  gve: Fix stats report corruption on queue count change

Max Yuan (1):
  gve: Correct ethtool rx_dropped calculation

 drivers/net/ethernet/google/gve/gve_ethtool.c | 77 ++++++++++++++++++++++++++--------------
 drivers/net/ethernet/google/gve/gve_main.c    |  4 +--
 2 files changed, 53 insertions(+), 28 deletions(-)

-- 
2.53.0.rc1.225.gd81095ad13-goog


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

end of thread, other threads:[~2026-02-04  3:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 19:39 [PATCH net 0/2] gve: Stats reporting fixes Harshitha Ramamurthy
2026-02-02 19:39 ` [PATCH net 1/2] gve: Fix stats report corruption on queue count change Harshitha Ramamurthy
2026-02-04  1:41   ` Jacob Keller
2026-02-02 19:39 ` [PATCH net 2/2] gve: Correct ethtool rx_dropped calculation Harshitha Ramamurthy
2026-02-04  1:42   ` Jacob Keller
2026-02-04  3:40 ` [PATCH net 0/2] gve: Stats reporting fixes patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox