- Update to version 8.4.11 - Added: - RM #1214451 Add systemd support for daemon - RM #1214453 Improve selection of filesystem monitor method - RM #1207424 Send quickack depending on the payload size - RM #1179641 Add MTU find logic to ring - RM #1190606 VMA stats - Remove timewait interval in last cycle - RM #1179641 Override MTU from route over interface MTU - RM #1179641 Add parsing route table metrics - RM #1190054 Rename VMA_SPEC parameter 6973 to 7750 - RM #1176937 Add VMA_TCP_QUICKACK environment variable - RM #1176937 Add TCP_QUICKACK option support - RM #1176937 Add delayed ack control into LWIP - RM #1151606 Modify valgrind suppression file - RM #1182826 Check if the module parameters exists - RM #847360 Add Coverity badge to README.md - RM #1172255 Disable parser warning coverity checker - Fixed: - RM #1247358 Fix crash when VMA could not resolve neighbor - RM #1258245 Fix SYN messages are sent to invalid peer - RM #1250147 Reorder netlink event registration at startup - RM #1214453 Fix daemon for powerpc - RM #1214453 Fix issue in inotify processing - RM #1222660 Correct warning check for flow steering - RM #1192017 Fix ibv_destroy_cq() failure while VMA_TCP_3T_RULES=1 - RM #1213984 Use dst_enty to find the route MTU - RM #1175479 Inherit missing properties from the parent - RM #1175657 Fix ring statistics are not updated was flowtag is enabled - RM #1201040 Fix VMA_BUFFER_BATCHING_MODE is ignored while set from spec - RM #1182981 Fix TCP zero-window probe message sequence number - RM #1181379 Fix TCP zero window probe when there is data in-flight - RM #1185978 Fix compilation for --enable-opt-log=high - RM #1164732 Fix possible deadlock during connect - RM #1185372 Fix traffic is not offloaded for high VMA_RX_WRE values - Update vma.service to match upstream OBS-URL: https://build.opensuse.org/request/show/568832 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=6
134 lines
4.2 KiB
RPMSpec
134 lines
4.2 KiB
RPMSpec
#
|
|
# spec file for package libvma
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
#
|
|
%define git_ver .0.0ab7df63dbeb
|
|
%define lib_major 8
|
|
|
|
Name: libvma
|
|
Summary: A library for boosting TCP and UDP traffic (over RDMA hardware)
|
|
License: GPL-2.0 or BSD-2-Clause
|
|
Group: Development/Libraries/C and C++
|
|
Version: 8.4.11
|
|
Release: 0
|
|
Source0: %{name}-%{version}%{git_ver}.tar.gz
|
|
Source1: vma.service
|
|
Url: https://github.com/Mellanox/libvma
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libibverbs-devel
|
|
BuildRequires: librdmacm-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
BuildRequires: systemd-rpm-macros
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
Requires: libvma%{lib_major} = %{version}
|
|
ExclusiveArch: x86_64 aarch64 ppc64le
|
|
|
|
%description
|
|
VMA library is a performance booster of TCP and UDP traffic
|
|
Part of Mellanox enhanced services
|
|
Allows application written over standard socket API
|
|
To run over Infiniband/Ethernet from userspace with full network stack bypass
|
|
and get better throughput, latency and packets/sec rate
|
|
|
|
%package -n libvma%{lib_major}
|
|
Summary: Libvma runtime libary
|
|
Group: System/Libraries
|
|
|
|
%description -n libvma%{lib_major}
|
|
VMA library is a performance booster of TCP and UDP traffic
|
|
Part of Mellanox enhanced services
|
|
Allows application written over standard socket API
|
|
To run over Infiniband/Ethernet from userspace with full network stack bypass
|
|
and get better throughput, latency and packets/sec rate
|
|
|
|
%package devel
|
|
Summary: Header files and link required to develop with Libvma
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libvma%{lib_major} = %{version}
|
|
|
|
%description devel
|
|
Headers and symbolink link required to compile and link with the Libvma library.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}%{git_ver}
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure --docdir=%{_docdir}/%{name}-%{version}
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
rm -f %{buildroot}/etc/init.d/vma
|
|
rm -f %{buildroot}/etc/systemd/system/vma.service
|
|
|
|
install -D -m 755 tests/vma_perf_envelope/vma_perf_envelope.sh %{buildroot}/%{_datadir}/%{name}/vma_perf_envelope.sh
|
|
install -m 644 src/vma/vma_extra.h %{buildroot}/%{_includedir}/mellanox/vma_extra.h
|
|
install -m 644 src/vma/util/libvma.conf %{buildroot}/%{_sysconfdir}/
|
|
install -s -m 755 src/stats/vma_stats %{buildroot}/%{_bindir}/vma_stats
|
|
install -s -m 755 tools/daemon/vmad %{buildroot}/%{_sbindir}/vmad
|
|
install -D -m 644 %{S:1} %{buildroot}%{_unitdir}/vma.service
|
|
|
|
for service in vma; do ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${service}; done
|
|
|
|
%post -n libvma%{lib_major} -p /sbin/ldconfig
|
|
%postun -n libvma%{lib_major} -p /sbin/ldconfig
|
|
|
|
%pre
|
|
%service_add_pre vma.service
|
|
|
|
%post
|
|
%service_add_post vma.service
|
|
|
|
%preun
|
|
%service_del_preun vma.service
|
|
|
|
%postun
|
|
%service_del_postun vma.service
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%dir %{_datadir}/%{name}
|
|
%dir %{_docdir}/%{name}-%{version}
|
|
%{_docdir}/%{name}-%{version}/README.txt
|
|
%{_docdir}/%{name}-%{version}/journal.txt
|
|
%{_docdir}/%{name}-%{version}/VMA_VERSION
|
|
%config(noreplace) %{_sysconfdir}/libvma.conf
|
|
%config %{_sysconfdir}/security/limits.d/30-libvma-limits.conf
|
|
%{_sbindir}/vmad
|
|
%{_sbindir}/rcvma
|
|
%{_unitdir}/vma.service
|
|
%{_bindir}/vma_stats
|
|
%{_datadir}/%{name}/vma_perf_envelope.sh
|
|
%license COPYING
|
|
|
|
%files -n libvma%{lib_major}
|
|
%{_libdir}/%{name}*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/mellanox
|
|
%{_libdir}/%{name}.so
|
|
|
|
%changelog
|