mbox series

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

Message ID 20210816070507.17263-1-frank.heimes@canonical.com
Headers show
Series SMC: Statistics Support (LP: 1853290) | expand

Message

Frank Heimes Aug. 16, 2021, 7:05 a.m. UTC
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

Comments

Tim Gardner Aug. 16, 2021, 11:29 a.m. UTC | #1
Acked-by: Tim Gardner <tim.gardner@canonical.com>

On 8/16/21 1:05 AM, frank.heimes@canonical.com wrote:
> 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
>
Krzysztof Kozlowski Aug. 16, 2021, 2:30 p.m. UTC | #2
On 16/08/2021 09:05, frank.heimes@canonical.com wrote:
> 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
> 


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Best regards,
Krzysztof
Andrea Righi Aug. 17, 2021, 7:33 a.m. UTC | #3
On Mon, Aug 16, 2021 at 09:05:01AM +0200, frank.heimes@canonical.com wrote:
> 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.

Applied to impish:linux 5.13.

Thanks,
-Andrea