|
| 1 | +SMC Tools |
| 2 | +========= |
| 3 | + |
| 4 | +Utilities for use with `AF_SMC` sockets. |
| 5 | + |
| 6 | +This package consists of the tools: |
| 7 | + |
| 8 | +- `libsmc-preload.so` : preload library. |
| 9 | +- `smc_run` : preload library environment setup script. |
| 10 | +- `smc_pnet` : C program for PNET Table handling |
| 11 | +- `smcss` : C program for displaying the information about active |
| 12 | + SMC sockets. |
| 13 | +- `smc_rnics` : List available RDMA NICs |
| 14 | +- `smc` : List linkgroups, links and devices. |
| 15 | + |
| 16 | +The preload shared library `libsmc-preload.so` provides mapping of TCP socket |
| 17 | +operations to SMC sockets. |
| 18 | +The environment setup script `smc_run` sets up the preload environment |
| 19 | +for the `libsmc-preload.so` shared library before starting application. |
| 20 | +The `smcss` program is used to gather and display information about the |
| 21 | +SMC sockets. |
| 22 | +The `smc_pnet` program is used to create, destroy, and change the SMC-R PNET |
| 23 | +table. |
| 24 | + |
| 25 | +In addition the package contains the `AF_SMC` manpage (`man af_smc`). |
| 26 | + |
| 27 | + |
| 28 | +License |
| 29 | +------- |
| 30 | +See [LICENSE](LICENSE). |
| 31 | + |
| 32 | + |
| 33 | +Code Contributions |
| 34 | +------------------ |
| 35 | +See [CONTRIBUTING.md](CONTRIBUTING.md). |
| 36 | + |
| 37 | + |
| 38 | +Release History: |
| 39 | +================ |
| 40 | + |
| 41 | +* __v1.4.0 (2020-11-03)__ |
| 42 | + |
| 43 | + Changes: |
| 44 | + - Add SMC-Dv2 support |
| 45 | + - `smc`: Add new tools `smcd` and `smcr` to list linkgroups, links and |
| 46 | + devices. Requires Linux kernel 5.11 or higher. |
| 47 | + - `smc_rnics`: Display enabled devices per default, add new option `--all` |
| 48 | + - `smc_rnics`: Sort output by FID |
| 49 | + |
| 50 | + Bug fixes: |
| 51 | + - `smc_rnics`/`smc_dbg`: Fix PNETID for multiport devices |
| 52 | + - `smcss`/`smc_pnet`: Consistent use of option `-v` |
| 53 | + |
| 54 | +* __v1.3.1 (2020-09-14)__ |
| 55 | + |
| 56 | + Changes: |
| 57 | + - `smcss`: Add further error codes to man page |
| 58 | + |
| 59 | + Bug fixes: |
| 60 | + - `smcss`: Display more than 321 connections |
| 61 | + - `smc_rnics`: Suppress any unknown non-networking device unless |
| 62 | + option `-r` is specified |
| 63 | + |
| 64 | +* __v1.3.0 (2020-06-16)__ |
| 65 | + |
| 66 | + Changes: |
| 67 | + - `smcss`: Add description of Linux error codes to man page |
| 68 | + - `smc_rnics`: |
| 69 | + * Sort output by PCHID |
| 70 | + * Replace spaces in output by underscores for easier parsing |
| 71 | + * Add new option `--IB-dev` to display IB-specific attributes |
| 72 | + |
| 73 | + Bug fixes: |
| 74 | + - smc_rnics: |
| 75 | + * FIDs can have up to 4 digits and are planned to be extended |
| 76 | + to a total of 8 digits - adjusting output format accordingly |
| 77 | + * Do not display port attribute for RoCE Express2 devices |
| 78 | + unless we have an accurate value |
| 79 | + |
| 80 | +* __v1.2.2 (2019-10-24)__ |
| 81 | + Changes: |
| 82 | + - Add bash autocompletion support |
| 83 | + - `Makefile`: Drop 31 Bit install due to rpmbuild conflict |
| 84 | + |
| 85 | + Bug fixes: |
| 86 | + - `smcss`: Do not show connection mode for already closed sockets |
| 87 | + - `smc_rnics`: Set interface to "n/a" for ISM devices |
| 88 | + |
| 89 | +* __v1.2.1 (2019-04-15)__ |
| 90 | + Bug fixes: |
| 91 | + - `smc_rnics`: Install man page on s390 only |
| 92 | + - `libsmc..`: Handle behavior flags in type argument to `socket()` call |
| 93 | + - `Makefile`: Fixed install target on Ubuntu for platforms other than s390 |
| 94 | + - `smc_pnet`: Changes in support of kernel 5.1 |
| 95 | + |
| 96 | +* __v1.2.0 (2019-02-08)__ |
| 97 | + Changes: |
| 98 | + - `smc_rnics`: Initial version added |
| 99 | + - `smc_dbg`: Initial version added |
| 100 | + |
| 101 | + Bug fixes: |
| 102 | + - `smcss`: Parse address family of ip address |
| 103 | + |
| 104 | +* __v1.1.0 (2018-06-29)__ |
| 105 | + Changes: |
| 106 | + - `smcss`: Add IPv6 support |
| 107 | + - `libsmc..`: Add IPv6 support |
| 108 | + - `smcss`: Output format changed |
| 109 | + - `libsmc..`: Rename preload library to `libsmc-preload.so` |
| 110 | + - `Makefile`: Improve distro compatibility |
| 111 | + - `Makefile`: Add `SONAME` to shared libraries |
| 112 | + - `Makefile`: Do not strip binaries on install |
| 113 | + - `Makefile`: Use `LDFLAGS` to allow addition of externally set link flags |
| 114 | + - `libsmc..`: Remove hardcoded reference to libc |
| 115 | + - Manpages: Formatting changes |
| 116 | + |
| 117 | + Bug fixes: |
| 118 | + - `Makefile`: Fix target `install` dependencies |
| 119 | + - `smcss`: Fix `--version` output |
| 120 | + - `smc_pnet`: Fix `--version` output |
| 121 | + - `smc_run`: Append preload library to `LD_PRELOAD` instead of potentially |
| 122 | + overwriting pre-set values |
| 123 | + - `libsmc..`: Set suid flag to work with suid executables |
| 124 | + |
| 125 | +* __v1.0.0 (2017-02-13)__ |
| 126 | + The initial version |
| 127 | + |
| 128 | + |
| 129 | +Copyright IBM Corp. 2016, 2020 |
| 130 | + |
0 commit comments