From e7f62fae9cef3f2a9df9cf460ddbe897b0825d00bdb926ea1c4fc7c97ad56448 Mon Sep 17 00:00:00 2001 From: Mark Post Date: Tue, 8 Dec 2020 17:49:35 +0000 Subject: [PATCH 1/3] Accepting request 854101 from home:markkp:branches:network - Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707)) * Changes: - Add SMC-Dv2 support - `smc`: Add new tools `smcd` and `smcr` 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 devices - `smcss`/`smc_pnet`: Consistent use of option `-v` - Changed the %setup macro to %autosetup in the spec file. OBS-URL: https://build.opensuse.org/request/show/854101 OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=30 --- smc-tools-1.3.1.tar.gz | 3 --- smc-tools-1.4.0.tar.gz | 3 +++ smc-tools.changes | 15 +++++++++++++++ smc-tools.spec | 21 +++++++++++++++++---- 4 files changed, 35 insertions(+), 7 deletions(-) delete mode 100644 smc-tools-1.3.1.tar.gz create mode 100644 smc-tools-1.4.0.tar.gz diff --git a/smc-tools-1.3.1.tar.gz b/smc-tools-1.3.1.tar.gz deleted file mode 100644 index 85896b5..0000000 --- a/smc-tools-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5929e5ffb8610387224b49ea401620277d82e0f491b23f4ad96c9a96e172e4b0 -size 25953 diff --git a/smc-tools-1.4.0.tar.gz b/smc-tools-1.4.0.tar.gz new file mode 100644 index 0000000..2cad0ec --- /dev/null +++ b/smc-tools-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a3dcc71a2d5797a26ef1cbaff7abba76264670bb9f612068200e4e526340baa +size 44160 diff --git a/smc-tools.changes b/smc-tools.changes index 65d911e..9d25f3d 100644 --- a/smc-tools.changes +++ b/smc-tools.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Dec 7 22:10:32 UTC 2020 - Mark Post + +- Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707)) + * Changes: + - Add SMC-Dv2 support + - `smc`: Add new tools `smcd` and `smcr` 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 devices + - `smcss`/`smc_pnet`: Consistent use of option `-v` +- Changed the %setup macro to %autosetup in the spec file. + ------------------------------------------------------------------- Wed Sep 16 16:37:51 UTC 2020 - Mark Post diff --git a/smc-tools.spec b/smc-tools.spec index ac06e59..6721286 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -17,7 +17,7 @@ Name: smc-tools -Version: 1.3.1 +Version: 1.4.0 Release: 0 Summary: Shared Memory Communication via RDMA License: EPL-1.0 @@ -39,10 +39,15 @@ The tools provided in this package allow existing TCP applications to use a RoCE network without needing to make changes in them. %prep -%setup -q +%autosetup -p1 %build -MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=) +# The next two lines are to get around the Makefile not adding +# its own values to CFLAGS if it is already set. This is needed +# so that we can specify the optflags macro to pull in our own +# parameters. +MYCFLAGS=$(grep ^CFLAGS Makefile | head -n1 | cut -f2 -d=) +MYCFLAGS+=" $(pkg-config --silence-errors --cflags libnl-genl-3.0)" make %{?_smp_mflags} V=1 CFLAGS="${MYCFLAGS} %{optflags}" %install @@ -62,10 +67,12 @@ rm -Rf "%{buildroot}%{_prefix}/lib64" %files %license LICENSE -%doc README.smctools +%doc README.md %{_bindir}/smc_dbg %{_bindir}/smc_pnet %{_bindir}/smc_run +%{_bindir}/smcd +%{_bindir}/smcr %ifarch s390 s390x %{_bindir}/smc_rnics %endif @@ -77,6 +84,12 @@ rm -Rf "%{buildroot}%{_prefix}/lib64" %{_mandir}/man8/smc_rnics.8%{?ext_man} %endif %{_mandir}/man8/smc_run.8%{?ext_man} +%{_mandir}/man8/smcd-device.8%{?ext_man} +%{_mandir}/man8/smcd-linkgroup.8%{?ext_man} +%{_mandir}/man8/smcd.8%{?ext_man} +%{_mandir}/man8/smcr-device.8%{?ext_man} +%{_mandir}/man8/smcr-linkgroup.8%{?ext_man} +%{_mandir}/man8/smcr.8%{?ext_man} %{_mandir}/man8/smcss.8%{?ext_man} %changelog From afb78443c6b6ff55125642d78fd26c18b2649390c9c2a350624f5c90a083eb76 Mon Sep 17 00:00:00 2001 From: Mark Post Date: Tue, 8 Dec 2020 17:51:04 +0000 Subject: [PATCH 2/3] - Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707) OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=31 --- smc-tools.changes | 2 +- smc-tools.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smc-tools.changes b/smc-tools.changes index 9d25f3d..ee4ae50 100644 --- a/smc-tools.changes +++ b/smc-tools.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Dec 7 22:10:32 UTC 2020 - Mark Post -- Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707)) +- Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707) * Changes: - Add SMC-Dv2 support - `smc`: Add new tools `smcd` and `smcr` to list linkgroups, links and diff --git a/smc-tools.spec b/smc-tools.spec index 6721286..689fd55 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -1,7 +1,7 @@ # # spec file for package smc-tools # -# Copyright (c) 2018-2020 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 7116742ce973789a9b232dea8c9366344b6b0278ef621cf2bb6254d8595386bc Mon Sep 17 00:00:00 2001 From: Mark Post Date: Tue, 8 Dec 2020 17:51:29 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=32 --- smc-tools.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smc-tools.spec b/smc-tools.spec index 689fd55..6721286 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -1,7 +1,7 @@ # # spec file for package smc-tools # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2018-2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed