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

libibmad: Misc. items #1497

Merged
merged 2 commits into from
Sep 16, 2024
Merged

libibmad: Misc. items #1497

merged 2 commits into from
Sep 16, 2024

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Sep 9, 2024

This series includes the below changes in libibmad:

  • Remove mad_register_port_client() from mad.h as it's not actually exported from the library.
  • Expose the XDR speed decoding functions from the library.

Further details exist in the commit logs.

Remove mad_register_port_client() definition from mad.h since it was not
exported and couldn't be used externally.

The mad_register_client_via() API which is exported can be used instead.

Fixes: 716eb86 ("ibdiags: Obsolete mad_osd.h, ibnetdisc_osd.h")
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Support for XDR speed was added in IBTA 1.7.

Add libibmad mapping for the following functions:
    mad_dump_linkspeedext2,
    mad_dump_linkspeedexten2,
    mad_dump_linkspeedextsup2.

In order to allow libibmad library users to decode XDR speed.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
@yishaih yishaih merged commit ac9aba1 into linux-rdma:master Sep 16, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants