Hello community, here is the log from the commit of package perftest for openSUSE:Factory checked in at 2019-04-26 22:56:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perftest (Old) and /work/SRC/openSUSE:Factory/.perftest.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perftest" Fri Apr 26 22:56:11 2019 rev:7 rq:698277 version:4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/perftest/perftest.changes 2019-03-22 15:11:21.281299391 +0100 +++ /work/SRC/openSUSE:Factory/.perftest.new.5536/perftest.changes 2019-04-26 22:56:20.109237856 +0200 @@ -1,0 +2,6 @@ +Fri Apr 26 14:43:40 UTC 2019 - Nicolas Morey-Chaisemartin <[email protected]> + +- Add Fixed-ToS-Type-of-Service-variable-size-issue.patch to fix + issue when setting the ToS whith any test. (bsc#1133533) + +------------------------------------------------------------------- New: ---- Fixed-ToS-Type-of-Service-variable-size-issue.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perftest.spec ++++++ --- /var/tmp/diff_new_pack.LS5se4/_old 2019-04-26 22:56:20.633237359 +0200 +++ /var/tmp/diff_new_pack.LS5se4/_new 2019-04-26 22:56:20.641237351 +0200 @@ -27,7 +27,7 @@ Source0: %{name}-%{version}%{extra_version}.tar.gz Patch1: Add-Intel-devices-to-the-perftest-device-list.patch Patch2: perftest-add-Broadcom-s-netxtreme-pci-ids.patch - +Patch3: Fixed-ToS-Type-of-Service-variable-size-issue.patch Url: https://github.com/linux-rdma/perftest BuildRoot: %{_tmppath}/%{name}-%{version}-build # For transition to rdma-core make sure the new packages are selected @@ -47,6 +47,7 @@ %setup -q -n %{name}-%{version} %patch1 %patch2 +%patch3 %build ./autogen.sh @@ -59,7 +60,8 @@ %files %defattr(-, root, root) -%doc README COPYING runme +%doc README runme +%license COPYING %{_bindir}/ib_atomic_lat %{_bindir}/ib_atomic_bw %{_bindir}/ib_write_lat ++++++ Fixed-ToS-Type-of-Service-variable-size-issue.patch ++++++ commit b8367bea6d2a7a505809f5b420778fb73283c639 Author: Simon Raviv <[email protected]> Date: Thu Oct 11 13:47:21 2018 +0300 Fixed ToS(Type of Service) variable size issue Signed-off-by: Simon Raviv <[email protected]> diff --git src/perftest_communication.c src/perftest_communication.c index 0f80f4d2584c..7155b48c345a 100755 --- src/perftest_communication.c +++ src/perftest_communication.c @@ -2023,7 +2023,7 @@ int rdma_cm_address_handler(struct pingpong_context *ctx, if (user_param->tos != DEF_TOS) { rc = rdma_set_option(cma_id, RDMA_OPTION_ID, - RDMA_OPTION_ID_TOS, &user_param->tos, sizeof(user_param->tos)); + RDMA_OPTION_ID_TOS, &user_param->tos, sizeof(uint8_t)); if (rc) { error_message = \ "Failed to set ToS(Type of Service) option for RDMA "
