Skip to content

vxlan: fix stats reads after the dstats conversion

Christian Schmidbauer stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: get stats64 if device if driver is configurednet/core/dev.c+2 -00 replies
2/3net: core: Implement dstats-type stats collectionsnet/core/dev.c+50 -00 replies
3/3vxlan: Remove generic .ndo_get_stats64drivers/net/vxlan/vxlan_core.c+0 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon HormanDavid AhernSubbaraya Sundeep
1/3R-b
2/3R-b R-b
3/3R-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH 6.6.y 0/3] vxlan: fix stats reads after the dstats conversion

Hi Sasha,

This series backports the vxlan dstats reader side:

3e2f544dd8a3 ("net: get stats64 if device if driver is configured") 94b601bc4f85 ("net: core: Implement dstats-type stats collections") 195f88c57737 ("vxlan: Remove generic .ndo_get_stats64")

3e2f544dd8a3 has no effect on 6.6 by itself, but is needed by 94b601bc4f85 to apply cleanly.

Tested on 6.6.161 with and without the series on two 32-bit boards, a little-endian ARMv7 Aruba AP-325 and a big-endian PowerPC Enterasys WS-AP3715i.

Both boards miss the vxlan drops without the series and count them with it. On the AP-325 a stats read also hangs once rx_drops is odd, and the series fixes that as well.

Breno Leitao (2):
net: get stats64 if device if driver is configured
vxlan: Remove generic .ndo_get_stats64

Jeremy Kerr (1):
net: core: Implement dstats-type stats collections

 drivers/net/vxlan/vxlan_core.c |  2 --
 net/core/dev.c                 | 52 ++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 2 deletions(-)

base-commit: b5a1dc3ad4822c6edfb53429e9a3759c9b0ac2be

Signature · 1 line
2.54.0