[I][PATCH 0/6] SMC: Statistics Support (LP: 1853290)

frank.heimes at canonical.com frank.heimes at canonical.com
Mon Aug 16 07:05:01 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1853290

Add statistics for traffic run across RoCE (RDMA) and ISM devices.
This also requires a new tool in smc-tools
that queries the stats from the smc module via netlink.

Dan Carpenter (1):
  net/smc: Fix ENODATA tests in smc_nl_get_fback_stats()

Guvenc Gulce (5):
  net/smc: Add SMC statistics support
  net/smc: Add netlink support for SMC statistics
  net/smc: Add netlink support for SMC fallback statistics
  net/smc: Make SMC statistics network namespace aware
  net/smc: Ensure correct state of the socket in send path

 include/net/net_namespace.h |   4 +
 include/net/netns/smc.h     |  16 ++
 include/uapi/linux/smc.h    |  83 ++++++++
 net/smc/Makefile            |   2 +-
 net/smc/af_smc.c            | 102 +++++++--
 net/smc/smc_core.c          |  13 +-
 net/smc/smc_netlink.c       |  11 +
 net/smc/smc_netlink.h       |   2 +-
 net/smc/smc_rx.c            |   8 +
 net/smc/smc_stats.c         | 413 ++++++++++++++++++++++++++++++++++++
 net/smc/smc_stats.h         | 266 +++++++++++++++++++++++
 net/smc/smc_tx.c            |  23 +-
 12 files changed, 920 insertions(+), 23 deletions(-)
 create mode 100644 include/net/netns/smc.h
 create mode 100644 net/smc/smc_stats.c
 create mode 100644 net/smc/smc_stats.h

-- 
2.25.1




More information about the kernel-team mailing list