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
This commit is contained in:
Mark Post 2020-12-08 17:49:35 +00:00 committed by Git OBS Bridge
parent 7830226812
commit e7f62fae9c
4 changed files with 35 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 7 22:10:32 UTC 2020 - Mark Post <mpost@suse.com>
- 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 <mpost@suse.com>

View File

@ -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