Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smcr/smcd: add statistics on sndbufs/RMBs usage #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Sep 4, 2024

  1. smcd/smcr: update smc netlink enum values

    The kernel introduced some new smc netlink enum values, so add them to
    smctool_common.h as well.
    
    Signed-off-by: Wen Gu <[email protected]>
    Wen Gu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ea48914 View commit details
    Browse the repository at this point in the history
  2. libnetlink: add a helper to get NLA_UINT attributes

    The NLA_UINT attribute type is introduced for variable-length integers,
    whose length are 32bits or 64bits.
    
    So add appropriate functions to get NLA_UINT attributes.
    
    Signed-off-by: Wen Gu <[email protected]>
    Wen Gu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    181b1c8 View commit details
    Browse the repository at this point in the history
  3. smcr/smcd: add statistics of linkgroup ringbuf usage

    The kernel introduced statistics on the amount of sndbufs/RMBs maintained
    by the smcr/smcd linkgroup. So show the information in smcr/smcd linkgroup
    detailed output.
    
    Signed-off-by: Wen Gu <[email protected]>
    Wen Gu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    089d42e View commit details
    Browse the repository at this point in the history
  4. smcd/smcr: Add statistics on ringbufs being used by smc conns

    The kernel introduced statistics on the amount of sndbuf/RMBs in use by
    smcr/smcd connections. So show the information in smcr/smcd stats.
    
    Signed-off-by: Wen Gu <[email protected]>
    Wen Gu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    845ab35 View commit details
    Browse the repository at this point in the history