gve: Stats reporting fixes
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gve: Fix stats report corruption on queue count changedrivers/ drivers/ | +36 | 1 reply | Applied |
| 2/2 | gve: Correct ethtool rx_dropped calculationdrivers/ | +17 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Joshua Washington | Jordan Rhee | Matt Olson | Jacob Keller |
|---|---|---|---|---|
| 1/2 | R-b | R-b | ||
| 2/2 | R-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH net 0/2] gve: Stats reporting fixes
From: Max Yuan <[email protected]>
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(-)
Signature · 1 line
2.53.0.rc1.225.gd81095ad13-goog