Dominique Leuenberger 2021-11-05 21:58:23 +00:00 committed by Git OBS Bridge
commit 64fae4428a
7 changed files with 44 additions and 71 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7344175687fba1907cabc617e5c956778afe7125db915db51b7a4b2f61d90edf
size 50600

3
smc-tools-1.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b42c8f59ab2850c4de1e511951482ce3ba77c11a2e514e39b738a3ac059c147f
size 65312

View File

@ -1 +0,0 @@
addFilter("shlib-policy-name-error")

View File

@ -1,28 +0,0 @@
From c3d1f45abff2433afefaea9d31cd9cda0a7408d3 Mon Sep 17 00:00:00 2001
From: Stefan Raspl <raspl@de.ibm.com>
Date: Mon, 8 Feb 2021 16:43:01 +0100
Subject: [PATCH 2/2] Makefile: Install smc_chk.8 on s390 only
Since smc_chk depends on smc_rnics (which is s390-only), we should not
install the man-page on non-s390 platforms, too.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
---
diff --git a/Makefile b/Makefile
index a9068d0..427fc71 100644
--- a/Makefile
+++ b/Makefile
@@ -161,9 +161,9 @@ ifeq ($(shell uname -m | cut -c1-4),s390)
install $(INSTALL_FLAGS_BIN) smc_rnics $(DESTDIR)$(BINDIR)
install $(INSTALL_FLAGS_MAN) smc_rnics.8 $(DESTDIR)$(MANDIR)/man8
install $(INSTALL_FLAGS_BIN) smc_chk $(DESTDIR)$(BINDIR)
+ install $(INSTALL_FLAGS_MAN) smc_chk.8 $(DESTDIR)$(MANDIR)/man8
endif
install $(INSTALL_FLAGS_MAN) af_smc.7 $(DESTDIR)$(MANDIR)/man7
- install $(INSTALL_FLAGS_MAN) smc_chk.8 $(DESTDIR)$(MANDIR)/man8
install $(INSTALL_FLAGS_MAN) smc_run.8 $(DESTDIR)$(MANDIR)/man8
install $(INSTALL_FLAGS_MAN) smc_pnet.8 $(DESTDIR)$(MANDIR)/man8
install $(INSTALL_FLAGS_MAN) smcss.8 $(DESTDIR)$(MANDIR)/man8
--
2.26.2

View File

@ -1,32 +0,0 @@
From d302ba9d5b891bda792d82667e11b89df0c3efc2 Mon Sep 17 00:00:00 2001
From: Stefan Raspl <raspl@de.ibm.com>
Date: Fri, 29 Jan 2021 15:49:05 +0100
Subject: [PATCH 1/2] smc_chk: Remove 'EXPERIMENTAL' flag for '-C' option
The 'EXPERIMENTAL' portion could be irritating to users of option '-C' -
this functionality is ready for prime time. However, the same code is
also called by one of the undocumented _experimental_ features, and
it makes sense in that context.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
---
diff --git a/smc_chk b/smc_chk
index ee64043..9af9c8b 100755
--- a/smc_chk
+++ b/smc_chk
@@ -221,7 +221,11 @@ function signal_handler() {
function test_iface() {
local i;
- echo " Live test (SMC-D and SMC-R, EXPERIMENTAL)";
+ if [ $mode -eq $MODE_CONNECT ]; then
+ echo " Live test (SMC-D and SMC-R)";
+ else
+ echo " Live test (SMC-D and SMC-R, EXPERIMENTAL)";
+ fi
if [ "$1" != "" ]; then
debug "Determine IP for interface $1";
ip="`get_netmasks $1 | head -1 | sed 's#/.*##'`";
--
2.26.2

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Nov 4 17:14:29 UTC 2021 - Mark Post <mpost@suse.com>
- Upgraded to version 1.7.0 (jsc#SLE-18328)
* v1.7.0 (2021-10-29)
Changes:
- Add support for SMC-Rv2
- `smcd`/`smcr`: Add support for new commands `seid` and `ueid`
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 command `stats`
- `smc_rnics`: Recognize unknown Mellanox cards
- `smc_run`: Add various command-line switches
Bug fixes:
- `smc_chk`: Remove 'EXPERIMENTAL' flag
- `smc_chk`: Improve cleanup
- `smc_chk`: Start server with intended port
- `Makefile`: Install `smc_chk.8` on s390 only
- `Makefile`: Fix extra compile flags handling
- `smc_rnics`: Handle malformed FID arguments
- Removed the following obsolete patches against version 1.5.0:
* smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch
* smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch
- Removed unnecessary smc-tools-rpmlintrc file.
-------------------------------------------------------------------
Wed Feb 10 19:12:48 UTC 2021 - Mark Post <mpost@suse.com>

View File

@ -17,16 +17,13 @@
Name: smc-tools
Version: 1.5.0
Version: 1.7.0
Release: 0
Summary: Shared Memory Communication via RDMA
License: EPL-1.0
Group: System/Kernel
URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
Source: %{name}-%{version}.tar.gz
Source1: smc-tools-rpmlintrc
Patch1: smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch
Patch2: smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch
BuildRequires: bash-completion-devel
BuildRequires: libnl3-devel
@ -100,15 +97,20 @@ rm -Rf "%{buildroot}%{_prefix}/lib64"
%{_mandir}/man8/smc_rnics.8%{?ext_man}
%{_mandir}/man8/smc_chk.8%{?ext_man}
%endif
%{_mandir}/man8/smc_run.8%{?ext_man}
%{_mandir}/man8/smcd.8%{?ext_man}
%{_mandir}/man8/smcd-device.8%{?ext_man}
%{_mandir}/man8/smcd-info.8%{?ext_man}
%{_mandir}/man8/smcd-linkgroup.8%{?ext_man}
%{_mandir}/man8/smcd.8%{?ext_man}
%{_mandir}/man8/smcd-seid.8%{?ext_man}
%{_mandir}/man8/smcd-stats.8%{?ext_man}
%{_mandir}/man8/smcd-ueid.8%{?ext_man}
%{_mandir}/man8/smcr.8%{?ext_man}
%{_mandir}/man8/smcr-device.8%{?ext_man}
%{_mandir}/man8/smcr-info.8%{?ext_man}
%{_mandir}/man8/smcr-linkgroup.8%{?ext_man}
%{_mandir}/man8/smcr.8%{?ext_man}
%{_mandir}/man8/smcr-stats.8%{?ext_man}
%{_mandir}/man8/smcr-ueid.8%{?ext_man}
%{_mandir}/man8/smc_run.8%{?ext_man}
%{_mandir}/man8/smcss.8%{?ext_man}
%files completion