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.5 (2025-07-16)
Changes:
smc_rnics: Add support for Network Express RNIC in smc_rnicssmc_rnics: Add PFT and VF columns to smc_rnics output
Bug fixes:
libnetlink..: Fix function declaration to use a void prototypesmc_rnics: Update smc_chk to extract PNetID from column 9manpages: Update man page for --rawids option and PFT and VF columnssmc_rnics: Fix missing PPrt values in smc_rnics -r output
-
v1.8.4 (2024-12-17)
Changes:
smcd/smcrstatistics: add statistics on sndbufs/RMBs usage
Bug fixes:
smc_rnics: Fix smc_rnics showing the wrong physical portutil.h: Fix build with CFLAGS="-g"smc_run: Fix segfault issue during creating concurrent socketsMakefile: Make sure to show the right release number
-
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 targetchecksmcss/smc_pnet: Fix option--versionsmcr/smc_dbg: Fix for showing the correct hardware capabailities for RoCE Express3 cards
-
v1.8.1 (2022-04-14)
Changes:
smc_rnics: Recognize RoCE Express3 cards
-
v1.8.0 (2022-04-11)
Changes:
smc_dbg: Add stats andsmc infooutputsmc_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 commandsseidandueidto manage system and user EIDs
-
v1.6.1 (2021-10-01)
Bug fixes:
smcd/smcrstatistics:- 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 commandstatssmc_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.8on s390 onlyMakefile: Fix extra compile flags handlingsmc_rnics: Handle malformed FID arguments
-
v1.5.0 (2021-01-29)
Changes:
smcd/smcr: Add new commandinfosmc_rnics: Usen/ato indicate missing PNET IDsmc_chk: New tool to perform SMC eligilibilty checks, requiresmanandpython3to be installedmanpages: 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 toolssmcdandsmcrto list linkgroups, links and devices. Requires Linux kernel 5.11 or higher.smc_rnics: Display enabled devices per default, add new option--allsmc_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-ris 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-devto 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.soMakefile: Improve distro compatibilityMakefile: AddSONAMEto shared librariesMakefile: Do not strip binaries on installMakefile: UseLDFLAGSto allow addition of externally set link flagslibsmc..: Remove hardcoded reference to libc- Manpages: Formatting changes
Bug fixes:
Makefile: Fix targetinstalldependenciessmcss: Fix--versionoutputsmc_pnet: Fix--versionoutputsmc_run: Append preload library toLD_PRELOADinstead 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