Skip to content

Add standard stats for HSR/PRP

MD Danish Anwar linux-arm-kernel linux-doc lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v33 patches 2 repliesSuperseded

Changes in v4 from the cover letter

*) Address AI review comments on Patch 1/3 and Patch 3/3. AI review comments on patch 2/3 were not relevant to this series.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: hsr: Add standard LRE stats via RTM_GETSTATS / IFLA_STATS_LINK_XSTATSinclude/linux/if_hsr.h include/uapi/linux/hsr_netlink.h include/uapi/linux/if_link.h +2 more+230 -80 replies
2/3net: ti: icssg: Add static_assert to guard stat array countsdrivers/net/ethernet/ti/icssg/icssg_stats.h+4 -00 replies
3/3net: ti: icssg: Add HSR offload statistics supportDocumentation/networking/device_drivers/ethernet/ti/icssg_prueth.rst drivers/net/ethernet/ti/icssg/icssg_common.c drivers/net/ethernet/ti/icssg/icssg_ethtool.c +5 more+193 -460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH net-next v4 0/3] Add standard stats for HSR/PRP

Add standard stats for HSR / PRP. This series was initially adding HSR/PRP related stats for ICSSG driver. Based on maintainers' comments on v2 I am now adding support to dump standard stats for HSR/PRP.

The drivers which support offload can populate these standard stats.

This series only implements offloaded stats. For software-only interfaces Felix Maurer had said he will do it later [1]

v3 - v4:
*) Address AI review comments on Patch 1/3 and Patch 3/3. AI review comments on patch 2/3 were not relevant to this series.

v3 https://lore.kernel.org/all/[email protected]/
v2 https://lore.kernel.org/all/[email protected]/
[1] https://lore.kernel.org/all/ag87pBZfOyccPZTc@thinkpad/

Cc Jakub Kicinski <[email protected]>
Cc Felix Maurer <[email protected]>
Cc Luka Gejak <[email protected]>

MD Danish Anwar (3):
net: hsr: Add standard LRE stats via RTM_GETSTATS /
IFLA_STATS_LINK_XSTATS
net: ti: icssg: Add static_assert to guard stat array counts
net: ti: icssg: Add HSR offload statistics support

 .../ethernet/ti/icssg_prueth.rst              |  19 +++
 drivers/net/ethernet/ti/icssg/icssg_common.c  |   7 +-
 drivers/net/ethernet/ti/icssg/icssg_ethtool.c |  10 +-
 drivers/net/ethernet/ti/icssg/icssg_prueth.c  |  92 +++++++++++++
 drivers/net/ethernet/ti/icssg/icssg_prueth.h  |  10 +-
 drivers/net/ethernet/ti/icssg/icssg_stats.c   |   6 +-
 drivers/net/ethernet/ti/icssg/icssg_stats.h   |  89 +++++++-----
 .../net/ethernet/ti/icssg/icssg_switch_map.h  |  10 ++
 include/linux/if_hsr.h                        |  48 +++++++
 include/uapi/linux/hsr_netlink.h              |  56 ++++++++
 include/uapi/linux/if_link.h                  |   2 +
 net/hsr/hsr_netlink.c                         | 130 ++++++++++++++++--
 tools/include/uapi/linux/if_link.h            |   2 +
 13 files changed, 427 insertions(+), 54 deletions(-)

base-commit: 0068940907d33217ae01217f84910a5cde606c17

Signature · 1 line
2.34.1