Skip to content

Commit 71c863a

Browse files
author
Stefan Raspl
committed
Release: Prepare v1.4.0
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
1 parent 4e68c15 commit 71c863a

5 files changed

Lines changed: 195 additions & 148 deletions

File tree

CONTRIBUTING.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
Contributing to smc-tools
2+
=========================
3+
4+
5+
License
6+
-------
7+
All contributions have to be submitted under the Eclipse Public License v1.0.
8+
See also the [LICENSE](LICENSE) file.
9+
10+
11+
Developer's Certificate of Origin and Signed-off-by
12+
---------------------------------------------------
13+
The sign-off is a simple line at the end of the explanation for the patch,
14+
which certifies that you wrote it or otherwise have the right to pass it on as
15+
an open-source patch.
16+
17+
With the Signed-off-by line you certify the below:
18+
19+
```
20+
Developer's Certificate of Origin 1.1
21+
22+
By making a contribution to this project, I certify that:
23+
24+
(a) The contribution was created in whole or in part by me and I
25+
have the right to submit it under the open source license
26+
indicated in the file; or
27+
28+
(b) The contribution is based upon previous work that, to the best
29+
of my knowledge, is covered under an appropriate open source
30+
license and I have the right under that license to submit that
31+
work with modifications, whether created in whole or in part
32+
by me, under the same open source license (unless I am
33+
permitted to submit under a different license), as indicated
34+
in the file; or
35+
36+
(c) The contribution was provided directly to me by some other
37+
person who certified (a), (b) or (c) and I have not modified
38+
it.
39+
40+
(d) I understand and agree that this project and the contribution
41+
are public and that a record of the contribution (including all
42+
personal information I submit with it, including my sign-off) is
43+
maintained indefinitely and may be redistributed consistent with
44+
this project or the open source license(s) involved.
45+
```
46+
47+
If you can certify the above, just add a line stating the following at the
48+
bottom of each of your commit messages:
49+
50+
```
51+
Signed-off-by: Random Developer <random@developer.example.org>
52+
```
53+
54+
Please use your real name and a valid e-mail address (no pseudonyms or anonymous
55+
contributions).
56+
57+
58+
Submitting code
59+
---------------
60+
The preferred way is to create GitHub pull requests for your code contributions.
61+
Please create separate pull requests for each logical enhancement, new feature,
62+
or fix.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# http://www.eclipse.org/legal/epl-v10.html
1010
#
1111

12-
SMC_TOOLS_RELEASE = 1.3.99
12+
SMC_TOOLS_RELEASE = 1.4.0
1313
VER_MAJOR = $(shell echo $(SMC_TOOLS_RELEASE) | cut -d '.' -f 1)
1414

1515
ARCHTYPE = $(shell uname -m)

README.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
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+

README.smctools

Lines changed: 0 additions & 145 deletions
This file was deleted.

smcss.8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,11 @@ Hardware has no ISMv2 support
224224
.TP
225225
.I
226226
0x03030004
227-
Peer sent no CLC v2 extension
227+
Peer sent no SMCv2 extension
228228
.TP
229229
.I
230230
0x03030005
231-
Peer sent no CLC SMC-Dv2 extension
231+
Peer sent no SMC-Dv2 extension
232232
.TP
233233
.I
234234
0x03030006

0 commit comments

Comments
 (0)