Utilities for use with AF_SMC
sockets.
This package consists of the following tools:
libsmc-preload.so
: preload library.smc
: List linkgroups, links, devices, and moresmc_chk
: SMC support diagnosticssmc_pnet
: C program for PNET Table handlingsmc_rnics
: List available RDMA NICssmc_run
: preload library environment setup script.smcss
: C program for displaying the information about active SMC sockets.
The preload shared library libsmc-preload.so
provides mapping of TCP socket
operations to SMC sockets.
The environment setup script smc_run
sets up the preload environment
for the libsmc-preload.so
shared library before starting application.
The smcss
program is used to gather and display information about the
SMC sockets.
The smc_pnet
program is used to create, destroy, and change the SMC-R PNET
table.
In addition the package contains the AF_SMC
manpage (man af_smc
).
See LICENSE.
See CONTRIBUTING.md.
-
v1.8.3 (2023-07-28)
Bug fixes:
Makefile
: Adjust default library path for Ubuntusmc_stats
: Fix man page name
-
v1.8.2 (2022-09-26)
Bug fixes:
smc_run
: Fix for single quotes in parametersMakefile
: Fix targetcheck
smcss
/smc_pnet
: Fix option--version
smcr
/smc_dbg
: Fix for showing the correct hardware capabailities for RoCE Express3 cards
-
v1.8.1 (2022-04-14)
Changes:
smc_rncs
: Recognize RoCE Express3 cards
-
v1.8.0 (2022-04-11)
Changes:
smc_dbg
: Add stats andsmc info
outputsmc_rnics
:- List unknown devices with option
-a
- Include software-set PNET IDs
- List unknown devices with option
smc_chk
: Indicate PNET IDs set bysmc_pnet
.
Bug fixes:
smc_rnics
: Display correct PNET ID for unknown Mellanox cardssmc_run
: Fix output of version info
-
v1.7.0 (2021-10-29)
Changes:
- Add support for SMC-Rv2
smcd
/smcr
: Add support for new commandsseid
andueid
to manage system and user EIDs
-
v1.6.1 (2021-10-01)
Bug fixes:
smcd
/smcr
statistics:- Fix memory overread in is_data_consistent()
- Fix memory and file handle leaks
- Use correct fallback counter values after reset
-
v1.6.0 (2021-07-01)
Changes:
smcd
/smcr
: Add new commandstats
smc_rnics
: Recognize unknown Mellanox cardssmc_run
: Add various command-line switches
Bug fixes:
smc_chk
: Remove 'EXPERIMENTAL' flagsmc_chk
: Improve cleanupsmc_chk
: Start server with intended portMakefile
: Installsmc_chk.8
on s390 onlyMakefile
: Fix extra compile flags handlingsmc_rnics
: Handle malformed FID arguments
-
v1.5.0 (2021-01-29)
Changes:
smcd
/smcr
: Add new commandinfo
smc_rnics
: Usen/a
to indicate missing PNET IDsmc_chk
: New tool to perform SMC eligilibilty checks, requiresman
andpython3
to be installedman
pages: Consistency improvements
Bug fixes:
smc_pnet.8
: Use correct spelling for 'PNET ID'smc_rnics
: Suppress output of port attribute for offline devices
-
v1.4.0 (2020-11-03)
Changes:
- Add SMC-Dv2 support
smc
: Add new toolssmcd
andsmcr
to list linkgroups, links and devices. Requires Linux kernel 5.11 or higher.smc_rnics
: Display enabled devices per default, add new option--all
smc_rnics
: Sort output by FID
Bug fixes:
smc_rnics
/smc_dbg
: Fix PNETID for multiport devicessmcss
/smc_pnet
: Consistent use of option-v
-
v1.3.1 (2020-09-14)
Changes:
smcss
: Add further error codes to man page
Bug fixes:
smcss
: Display more than 321 connectionssmc_rnics
: Suppress any unknown non-networking device unless option-r
is specified
-
v1.3.0 (2020-06-16)
Changes:
smcss
: Add description of Linux error codes to man pagesmc_rnics
:- Sort output by PCHID
- Replace spaces in output by underscores for easier parsing
- Add new option
--IB-dev
to display IB-specific attributes
Bug fixes:
- smc_rnics:
- FIDs can have up to 4 digits and are planned to be extended to a total of 8 digits - adjusting output format accordingly
- Do not display port attribute for RoCE Express2 devices unless we have an accurate value
-
v1.2.2 (2019-10-24) Changes:
- Add bash autocompletion support
Makefile
: Drop 31 Bit install due to rpmbuild conflict
Bug fixes:
smcss
: Do not show connection mode for already closed socketssmc_rnics
: Set interface to "n/a" for ISM devices
-
v1.2.1 (2019-04-15) Bug fixes:
smc_rnics
: Install man page on s390 onlylibsmc..
: Handle behavior flags in type argument tosocket()
callMakefile
: Fixed install target on Ubuntu for platforms other than s390smc_pnet
: Changes in support of kernel 5.1
-
v1.2.0 (2019-02-08) Changes:
smc_rnics
: Initial version addedsmc_dbg
: Initial version added
Bug fixes:
smcss
: Parse address family of ip address
-
v1.1.0 (2018-06-29) Changes:
smcss
: Add IPv6 supportlibsmc..
: Add IPv6 supportsmcss
: Output format changedlibsmc..
: Rename preload library tolibsmc-preload.so
Makefile
: Improve distro compatibilityMakefile
: AddSONAME
to shared librariesMakefile
: Do not strip binaries on installMakefile
: UseLDFLAGS
to allow addition of externally set link flagslibsmc..
: Remove hardcoded reference to libc- Manpages: Formatting changes
Bug fixes:
Makefile
: Fix targetinstall
dependenciessmcss
: Fix--version
outputsmc_pnet
: Fix--version
outputsmc_run
: Append preload library toLD_PRELOAD
instead of potentially overwriting pre-set valueslibsmc..
: Set suid flag to work with suid executables
-
v1.0.0 (2017-02-13) The initial version
Copyright IBM Corp. 2016, 2020