SHA256
6
0
forked from pool/rds-tools

Update to 2.3.11-1 #1

Merged
NMorey merged 1 commits from :main into main 2025-10-30 17:54:58 +01:00
6 changed files with 116 additions and 28 deletions

View File

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

BIN
rds-tools-2.3.11-1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,16 +1,23 @@
---
Makefile.in | 1 -
1 file changed, 1 deletion(-)
commit 6ca705ebad532fca898220f54b41dc731332a20d
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Feb 5 13:21:02 2025 +0100
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2016-07-13 16:56:25.836702005 +0200
+++ Makefile.in 2016-07-13 16:57:29.248354961 +0200
@@ -6,7 +6,6 @@ incdir = $(DESTDIR)@includedir@
rds-tools: external_cflags
Allow external cflags
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git Makefile.in Makefile.in
index 2ce961cde1b1..a816bd39379d 100644
--- Makefile.in
+++ Makefile.in
@@ -6,7 +6,7 @@ incdir = $(DESTDIR)@includedir@
all: all-programs
-CFLAGS = -O2 -Wall -Iinclude -g
+CFLAGS += -Iinclude
CPPFLAGS = -DDEBUG_EXE -DRDS_VERSION=\"@VERSION@\" -MD -MP -MF $(@D)/.$(basename $(@F)).d
HEADERS = kernel-list.h pfhack.h include/rds.h
rds-info : LDLIBS += -lcap -ldl

View File

@@ -1,17 +1,23 @@
---
rds-stress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit bbbb0ced7bca7d1cca50462dae139d25255e9f87
Author: Nicolas Morey <nmorey@suse.com>
Date: Wed Feb 5 13:22:13 2025 +0100
Index: rds-stress.c
===================================================================
--- rds-stress.c.orig 2016-06-08 06:45:10.000000000 +0200
+++ rds-stress.c 2016-11-21 15:56:59.357279004 +0100
@@ -1253,7 +1253,7 @@ static void rdma_build_cmsg_xfer(struct
rds-tools: uninitialized_var
Fix uninitialized var in rds-stress
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git rds-stress.c rds-stress.c
index daeec97f4c54..d925efbe944b 100644
--- rds-stress.c
+++ rds-stress.c
@@ -1593,7 +1593,7 @@ static void rdma_build_cmsg_xfer(struct msghdr *msg,
static void build_cmsg_async_send(struct msghdr *msg, uint64_t user_token)
{
- struct rds_asend_args args;
+ struct rds_asend_args args = {0};
+ struct rds_asend_args args = { 0 };
args.flags |= RDS_SEND_NOTIFY_ME;
args.flags = RDS_SEND_NOTIFY_ME;
args.user_token = user_token;

View File

@@ -1,3 +1,69 @@
-------------------------------------------------------------------
Tue Oct 28 22:24:08 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Update to 2.3.11-1
- rds-stress: Synchronize burst-mode with other processes (Gerd Rausch) [Orabug: 35861956]
- rds-stress: Add "--sync-always-bursty" to usage (Mark Haywood) [Orabug: 36050648]
- rds-stress: Fix the receive address for json option exchanges (Mark Haywood) [Orabug: 35800876]
- rds-stress: Simplify the json option exchange handshake (Mark Haywood) [Orabug: 35800910]
- rds-stress: Exchange the rds-inq value using json (Mark Haywood) [Orabug: 35800936]
- rds-stress: Facilitate json option exchange for all new options (Mark Haywood) [Orabug: 35800946]
- rds-stress: Add support for option "--always-bursty" (Gerd Rausch) [Orabug: 35792064]
- rds-ping: Add missing '-i' option to rds-ping usage (Mark Haywood) [Orabug: 34734493]
- man: Add missing '-Q' option to rds-ping(1) (Mark Haywood) [Orabug: 34734543]
- rds-stress: Clean up the internal options structure implementation (Mark Haywood) [Orabug: 34979190]
- rds-stress: Add new json options exchange logic for rds-stress (Rohit Nair) [Orabug: 34979190]
- rds-stress: Use port[0] for rds-stress reset (Rohit Nair) [Orabug: 35156783]
- rds-stress: Fix initialization of rtt_threshold (Mark Haywood) [Orabug: 35284851]
- rds-stress: Remove trailing whitespace (Mark Haywood) [Orabug: 35284851]
- rds-tools: Add a flag to rds-stress and enable rds-inq capability (Devesh Sharma) [Orabug: 35333242]
- rds-tools: Add rds-inq description to man page (Devesh Sharma) [Orabug: 35333242]
- rds-stress: Fix "-Wstringop-truncation" compiler warnings (Mark Haywood) [Orabug: 35430732]
- rds-stress: Fix "-Waddress-of-packed-member" compiler warnings (Mark Haywood) [Orabug: 35430637]
- rds-info: Fix "-Waddress-of-packed-member" compiler warnings (Mark Haywood) [Orabug: 35430597]
- rds-stress: Add percentage of IO/packet in rds-stress --show-histogram (Allison Henderson) [Orabug: 35360167]
- rds-stress: Enable rds-inq by default, disable when asked (Devesh Sharma) [Orabug: 35418380]
- rds-stress: update man page to reflect change in options (Devesh Sharma) [Orabug: 35418380]
- rds-stress: fix the type-punned build warning (Devesh Sharma) [Orabug: 35418380]
- rds-info: Add option to report information for all network namespaces (Greg Jumper) [Orabug: 34270854]
- Revert "rds-ping: add transport option" (Mark Haywood) [Orabug: 35658752]
- rds-info: Extend rds-info -Iv functionality to display SCQ and RCQ IRQ vectors (Mark Haywood) [Orabug: 34426225]
- rds-info: Move the conn_drop_reasons array from rds.h to rds-info.c (Mark Haywood) [Orabug: 34466041]
- rds-info: Add missing RDS_INFO_* options to rds.h (Mark Haywood) [Orabug: 34466041]
- rds-info: Remove unnecessary headers from rds.h (Mark Haywood) [Orabug: 34466041]
- rds-tools: Add missing SO_RDS_TRANSPORT value RDS_TRANS_GAP to rds.h (Mark Haywood) [Orabug: 34466041]
- rds-tools: Add missing netinet/in.h header to rds.h (Mark Haywood) [Orabug: 34466041]
- rds-tools: Sync with kernel rds.h version use of annotated types (Mark Haywood) [Orabug: 34466041]
- rds-info: Cast all __u64 variables when using PRIu64 macro (Mark Haywood) [Orabug: 34466041]
- rds-tools: Conditionally define __kernel_sockaddr_storage (Mark Haywood) [Orabug: 34466041]
- rds-tools: Conditionally include kernel header files in rds.h (Mark Haywood) [Orabug: 34466041]
- rds-info: Fix strcasestr() implicit declaration warning (Mark Haywood) [Orabug: 34484319]
- rds-stress: Fix usage() message compiler warning (Mark Haywood) [Orabug: 34484319]
- man: rds-stress man page does not match getopt options (Mark Haywood) [Orabug: 32229516]
- man: rds-ping man page is missing information '-n' option (Mark Haywood) [Orabug: 32682304]
- Revert "rds-stress: add transport option" (Mark Haywood) [Orabug: 34334684]
- rds-stress: Remove "cancel-sent-to"/"abort-after" as negotiated options (Mark Haywood) [Orabug: 34381733]
- rds-stress: Add options "cancel-sent-to" + "abort-after"(Gerd Rausch) [Orabug: 34290037]
- rds-info: Userspace change to display congested socket on rds-info -k (Rohit Nair) [Orabug: 34281720]
- rds-ping: add transport option (Rohit Nair) [Orabug: 34325390]
- rds-stress: add transport option (Rohit Nair) [Orabug: 34334684]
- rds-info: Add pid and comm fields to rds-info (Rohit Nair) [Orabug: 33504953]
- rds-info: Fixed missing documentation for rds-info -I (Rohit Nair) [Orabug: 33771194]
- rds-info: extend rds-info -Iv functionality (Rohit Nair) [Orabug: 33754433]
- rds-stress: Add long option syntax to usage output (Mark Haywood) [Orabug: 32218037]
- rds-stress: Add long options for the options missing them (Mark Haywood) [Orabug: 32218153]
- rds-stress: Fix usage to match getopt options (Mark Haywood) [Orabug: 32088529]
- rds-stress: Fix compiler warnings (Manjunath Patil) [Orabug: 31393110]
- rds-info: Display destination qp number (Praveen Kumar Kannoju) [Orabug: 31940566]
- rds-tools: Added '-p' option to rds-info to show paths (Rao Shoaib) [Orabug: 31650130]
- rds-stress: SIGSEGV on OL8 when running IPv4 (Mark Haywood) [Orabug: 30925458]
- rds-info: error messages need context (Mark Haywood) [Orabug: 30729862]
- rds-tools: Allow rds-ping to set the number of RDS sockets used (Ka-Cheong Poon) [Orabug: 30359242]
- rds-tools: avoid netlink calls in getaddrinfo (Wengang Wang) [Orabug: 30634764]
- rds-info: Display QP Number (Divya Indi) [Orabug: 29201281]
- rds-stress: Continue sending for other tasks when one task fails (Avinash Repaka) [Orabug: 23093216]
- rds-stress: SW fence for RDMA Rd when HW fence is disabled (Shamir Rabinovitch) [Orabug: 27154692]
-------------------------------------------------------------------
Fri Feb 23 11:48:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -15,15 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define version_extra -1
Name: rds-tools
Summary: Support tools for Reliable Datagram Sockets
License: BSD-3-Clause or GPL-2.0
Group: System/Console
Version: 2.0.7
Version: 2.3.11
Release: 0
Url: http://oss.oracle.com/projects/rds/
Source: %{name}-%{version}.tar.gz
Source: https://github.com/oracle/rds-tools/archive/refs/tags/rdma-vos/rds-tools-%{version}%{?version_extra}.tar.gz#/%{name}-%{version}%{version_extra}.tar.gz
Source100: README.md
Patch0: rds-tools-external_cflags.patch
Patch1: rds-tools-uninitialized_var.patch
@@ -31,6 +32,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libcap-devel
BuildRequires: libdhash-devel
BuildRequires: libjson-c-devel
ExcludeArch: %ix86 %arm
%description
A collection of support tools for the RDS socket API.
@@ -44,7 +49,7 @@ Group: Development/Libraries/C and C++
This package provides the header needed to use the RDS socket API.
%prep
%autosetup -p0
%autosetup -p0 -n rds-tools-rdma-vos-rds-tools-%{version}%{?version_extra}
%build
export CFLAGS="%{optflags} -Iinclude"
@@ -57,11 +62,15 @@ make DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man7/*
%doc docs examples
%{_bindir}/rds-info
%{_bindir}/rds-ping
%{_bindir}/rds-stress
%{_mandir}/man1/rds*
%{_mandir}/man7/rds*
%files devel
%doc README
%defattr(-,root,root)
%{_includedir}/net/rds.h