commit rdma-core for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2020-10-08 13:09:12

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.4249 (New)


Package is "rdma-core"

Thu Oct  8 13:09:12 2020 rev:41 rq:839579 version:31.0

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2020-04-15 
19:54:01.845586434 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.4249/rdma-core.changes
2020-10-08 13:10:02.427055982 +0200
@@ -1,0 +2,14 @@
+Tue Sep  8 09:58:55 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Update to v31.0 (jsc#SLE-15657, jsc#SLE-15731, jsc#SLE-15743, jsc#SLE-15810)
+  - No release notes available
+
+---
+Fri Jul 24 08:47:47 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Update to v30.0
+  - No release notes available
+- Add cxgb3-nes-fix-declaration-of-free_context.patch to fix support
+  of older providers with newer rdma-core internal ABI
+
+---

Old:

  rdma-core-27.1.0.ba66d565a860.tar.gz

New:

  cxgb3-nes-fix-declaration-of-free_context.patch
  rdma-core-31.0.0.526d559740c7.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.7lI6Ax/_old  2020-10-08 13:10:03.547056995 +0200
+++ /var/tmp/diff_new_pack.7lI6Ax/_new  2020-10-08 13:10:03.551056999 +0200
@@ -25,9 +25,9 @@
 %define with_pyverbs 0
 %endif
 
-%define git_ver .0.ba66d565a860
+%define git_ver .0.526d559740c7
 Name:   rdma-core
-Version:27.1
+Version:31.0
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -69,6 +69,7 @@
 Patch1: Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
 Patch2: Revert-Update-kernel-headers.patch
 Patch3: disable-rdma-interface-renaming.patch
+Patch4: cxgb3-nes-fix-declaration-of-free_context.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -137,7 +138,7 @@
 %else
 # Fallback to make otherwise
 BuildRequires:  make
-%define make_jobs make -v %{?_smp_mflags}
+%define make_jobs make VERBOSE=1 %{?_smp_mflags}
 %define cmake_install DESTDIR=%{buildroot} make install
 %endif
 
@@ -210,8 +211,7 @@
 Requires:   %{mlx4_lname} = %{version}-%{release}
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
-# Recommended packages for rxe_cfg
-Recommends: ethtool
+# Recommended packages for rxe
 Recommends: iproute2
 
 %description -n libibverbs
@@ -414,6 +414,7 @@
 %patch1
 %patch2
 %patch3
+%patch4
 
 %build
 
@@ -672,9 +673,7 @@
 %doc %{_docdir}/%{name}-%{version}/libibverbs.md
 %doc %{_docdir}/%{name}-%{version}/rxe.md
 %doc %{_docdir}/%{name}-%{version}/tag_matching.md
-%{_bindir}/rxe_cfg
 %{_mandir}/man7/rxe*
-%{_mandir}/man8/rxe*
 
 %files -n libibnetdisc%{ibnetdisc_major}
 %defattr(-, root, root)
@@ -712,10 +711,10 @@
 %config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
 %{_bindir}/ib_acme
 %{_sbindir}/ibacm
-%{_mandir}/man1/ibacm.*
 %{_mandir}/man1/ib_acme.*
 %{_mandir}/man7/ibacm.*
 %{_mandir}/man7/ibacm_prov.*
+%{_mandir}/man8/ibacm.*
 %{_unitdir}/ibacm.service
 %{_unitdir}/ibacm.socket
 %dir %{_libdir}/ibacm
@@ -862,10 +861,10 @@
 %{_sbindir}/srp_daemon
 %{_sbindir}/run_srp_daemon
 %{_sbindir}/rcsrp_daemon
-%{_mandir}/man1/ibsrpdm.1*
-%{_mandir}/man1/srp_daemon.1*
 %{_mandir}/man5/srp_daemon.service.5*
 %{_mandir}/man5/srp_daemon_port@.service.5*
+%{_mandir}/man8/ibsrpdm.8*
+%{_mandir}/man8/srp_daemon.8*
 %doc %{_docdir}/%{name}-%{version}/ibsrpdm.md
 
 %files -n rdma-ndd

++ _service ++
--- /var/tmp/diff_new_pack.7lI6Ax/_old  2020-10-08 13:10:03.611057054 +0200
+++ /var/tmp/diff_new_pack.7lI6Ax/_new  2020-10-08 13:10:03.615057057 +0200
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-ba66d565a860c2bed39f6a60fb53285b871522c9
+526d559740c7599e1f2d533658797290d739554a
suse/rdma-core.spec
   
   

++ cxgb3-nes-fix-declaration-of-free_context.patch ++
commit 3eb8e71b19b62fa13cfc01db34e33914b1949ea8
Author: Nicolas Morey-Chaisemartin 
Date:   Fri Jul 24 10:44:05 2020 +0200

cxgb3,nes: fix declaration of free_context

free_context got moved to another struct by
a4c102dd6b05 (verbs: Move free_context from verbs_device_ops to 
verbs_context_ops)

Backport the change to older providers we maintain

Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git providers/cxgb3/iwch.c providers/cxgb3/iwch.c
index 6f3c8b9f1439..2bfca4f58f21 100644
--- providers/cxgb3/iwch.c
+++ providers/cxgb3/iwch.c
@@ -75,6 +75,8 

commit rdma-core for openSUSE:Factory

2020-04-15 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2020-04-15 19:53:55

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.2738 (New)


Package is "rdma-core"

Wed Apr 15 19:53:55 2020 rev:40 rq:793865 version:27.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2020-02-23 
10:22:55.500955156 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.2738/rdma-core.changes
2020-04-15 19:54:01.845586434 +0200
@@ -1,0 +2,6 @@
+Tue Apr 14 11:52:18 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Update to v27.1
+  - Many bugfixes (memory leaks, use after free, etc.)
+
+---

Old:

  rdma-core-27.0.0.84caf035ae61.tar.gz

New:

  rdma-core-27.1.0.ba66d565a860.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.8voOFj/_old  2020-04-15 19:54:02.705586821 +0200
+++ /var/tmp/diff_new_pack.8voOFj/_new  2020-04-15 19:54:02.709586823 +0200
@@ -25,9 +25,9 @@
 %define with_pyverbs 0
 %endif
 
-%define git_ver .0.84caf035ae61
+%define git_ver .0.ba66d565a860
 Name:   rdma-core
-Version:27.0
+Version:27.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.8voOFj/_old  2020-04-15 19:54:02.737586837 +0200
+++ /var/tmp/diff_new_pack.8voOFj/_new  2020-04-15 19:54:02.737586837 +0200
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-84caf035ae6123e2296b72006cd2cf698c65eb46
+ba66d565a860c2bed39f6a60fb53285b871522c9
suse/rdma-core.spec
   
   

++ prebuilt-pandoc.tgz ++

++ rdma-core-27.0.0.84caf035ae61.tar.gz -> 
rdma-core-27.1.0.ba66d565a860.tar.gz ++
 52413 lines of diff (skipped)




commit rdma-core for openSUSE:Factory

2020-02-23 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2020-02-23 10:22:53

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.26092 (New)


Package is "rdma-core"

Sun Feb 23 10:22:53 2020 rev:39 rq:778518 version:27.0

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2020-01-30 
09:32:41.985210720 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.26092/rdma-core.changes   
2020-02-23 10:22:55.500955156 +0100
@@ -1,0 +2,7 @@
+Sat Feb 22 09:55:36 UTC 2020 - Dominique Leuenberger 
+
+- Eliminate the curl-mini trickery for Tumbleweed: curl-mini is
+  being eliminated in favor of cmake-mini: the original plan to
+  split the cycle at curl did not work out in the long run.
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.K3UWPi/_old  2020-02-23 10:22:56.356956900 +0100
+++ /var/tmp/diff_new_pack.K3UWPi/_new  2020-02-23 10:22:56.356956900 +0100
@@ -116,7 +116,7 @@
 # To force build without the use of curl-mini, --without=curlmini
 # should be passed to rpmbuild
 %bcond_without curlmini
-%if 0%{?suse_version} >= 1330
+%if 0%{?suse_version} >= 1330 && 0%{?suse_version} < 1550
 %if %{with curlmini}
 BuildRequires:  curl-mini
 %endif




commit rdma-core for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2020-01-30 09:32:15

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.26092 (New)


Package is "rdma-core"

Thu Jan 30 09:32:15 2020 rev:38 rq:766959 version:27.0

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2020-01-16 
18:19:30.140915809 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.26092/rdma-core.changes   
2020-01-30 09:32:41.985210720 +0100
@@ -1,0 +2,6 @@
+Fri Jan 24 15:02:50 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Add disable-rdma-interface-renaming.patch to disable interface renaming 
which causes
+  mvapich2 to fail (bsc#1161794)
+
+---

New:

  disable-rdma-interface-renaming.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.pmEJtm/_old  2020-01-30 09:32:43.577211572 +0100
+++ /var/tmp/diff_new_pack.pmEJtm/_new  2020-01-30 09:32:43.585211576 +0100
@@ -68,6 +68,7 @@
 Patch0: Revert-libnes-Remove-libnes-from-rdma-core.patch
 Patch1: Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
 Patch2: Revert-Update-kernel-headers.patch
+Patch3: disable-rdma-interface-renaming.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -412,6 +413,7 @@
 %patch0
 %patch1
 %patch2
+%patch3
 
 %build
 

++ disable-rdma-interface-renaming.patch ++
commit 435ad204d32f9f3b7a72a171e2e6d04a90ba9b6e
Author: Nicolas Morey-Chaisemartin 
Date:   Fri Jan 24 16:01:18 2020 +0100

disable rdma interface renaming

Causes issues with mvapich2

Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git kernel-boot/rdma-persistent-naming.rules 
kernel-boot/rdma-persistent-naming.rules
index 9b61e1630d56..274d7c87727e 100644
--- kernel-boot/rdma-persistent-naming.rules
+++ kernel-boot/rdma-persistent-naming.rules
@@ -25,4 +25,4 @@
 #   Device type = RoCE
 #   mlx5_0 -> rocex525400c0fe123455
 #
-ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
+#ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"



commit rdma-core for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2020-01-16 18:19:12

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.26092 (New)


Package is "rdma-core"

Thu Jan 16 18:19:12 2020 rev:37 rq:763851 version:27.0

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-12-07 
15:21:25.943745052 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.26092/rdma-core.changes   
2020-01-16 18:19:30.140915809 +0100
@@ -1,0 +2,26 @@
+Fri Jan 10 07:40:35 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Update to v27.0 (bsc#1160338)
+  - No release notes available
+- Dropped patches merged upstream:
+  - bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
+  - bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
+- Add patches to support older HW (nes, cxgb3) that was dropped upstream
+  - Revert-Update-kernel-headers.patch
+  - Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
+  - Revert-libnes-Remove-libnes-from-rdma-core.patch
+
+---
+Fri Dec 13 14:10:15 UTC 2019 - Dominique Leuenberger 
+
+- Fix post scripts to work with systemd 244: udevadm has been moved
+  from /sbin to /usr/bin and systemd is dropping the compat links
+  now.
+
+---
+Wed Dec 11 09:32:17 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Remove file listed twice
+- Disable pyverbs build for older releases that do not have python3-Cython >= 
0.25
+
+---

Old:

  bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
  bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
  rdma-core-26.1.0.9f820de9ca7d.tar.gz

New:

  Revert-Update-kernel-headers.patch
  Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
  Revert-libnes-Remove-libnes-from-rdma-core.patch
  gen-pandoc.sh
  get_build.py
  rdma-core-27.0.0.84caf035ae61.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.m81s20/_old  2020-01-16 18:19:31.072916336 +0100
+++ /var/tmp/diff_new_pack.m81s20/_new  2020-01-16 18:19:31.076916338 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rdma-core
 #
-# Copyright (c) 2019 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
@@ -19,11 +19,15 @@
 %bcond_without  systemd
 # Do not build static libs by default.
 %define with_static 0
+%if 0%{?sle_version} > 120400
 %define with_pyverbs 1
+%else
+%define with_pyverbs 0
+%endif
 
-%define git_ver .0.9f820de9ca7d
+%define git_ver .0.84caf035ae61
 Name:   rdma-core
-Version:26.1
+Version:27.0
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -59,8 +63,11 @@
 Source2:post_download.sh
 Source3:prebuilt-pandoc.tgz
 Source4:rdma-core-rpmlintrc
-Patch0: bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
-Patch1: bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
+Source5:gen-pandoc.sh
+Source6:get_build.py
+Patch0: Revert-libnes-Remove-libnes-from-rdma-core.patch
+Patch1: Revert-libcxgb3-Remove-libcxgb3-from-rdma-core.patch
+Patch2: Revert-Update-kernel-headers.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -404,6 +411,7 @@
 (cd buildlib && tar xf %{S:3})
 %patch0
 %patch1
+%patch2
 
 %build
 
@@ -517,8 +525,8 @@
 
 %post
 # we ship udev rules, so trigger an update.
-/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
-/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
+%{_bindir}/udevadm trigger --subsystem-match=infiniband --action=change || true
+%{_bindir}/udevadm trigger --subsystem-match=infiniband_mad --action=change || 
true
 
 #
 # ibacm
@@ -544,7 +552,7 @@
 %post -n srp_daemon
 %service_add_post srp_daemon.service
 # we ship udev rules, so trigger an update.
-/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change
+%{_bindir}/udevadm trigger --subsystem-match=infiniband_mad --action=change
 
 %preun -n srp_daemon
 %service_del_preun srp_daemon.service
@@ -715,7 +723,6 @@
 
 %files -n infiniband-diags
 %defattr(-, root, root)
-%config %{_sysconfdir}/infiniband-diags/error_thresholds
 %dir %{_sysconfdir}/infiniband-diags
 %config(noreplace) %{_sysconfdir}/infiniband-diags/*
 %{_sbindir}/ibaddr
@@ -870,6 +877,8 @@
 %if %{with_pyverbs}
 

commit rdma-core for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-12-07 15:17:52

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.4691 (New)


Package is "rdma-core"

Sat Dec  7 15:17:52 2019 rev:36 rq:751635 version:26.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-11-28 
10:13:19.571636683 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.4691/rdma-core.changes
2019-12-07 15:21:25.943745052 +0100
@@ -1,0 +2,7 @@
+Thu Nov 28 09:16:33 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Add Broadcom fixes (bsc#1157891)
+  - bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
+  - bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
+
+---

New:

  bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
  bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.T7woHd/_old  2019-12-07 15:21:28.895744643 +0100
+++ /var/tmp/diff_new_pack.T7woHd/_new  2019-12-07 15:21:28.899744643 +0100
@@ -59,6 +59,8 @@
 Source2:post_download.sh
 Source3:prebuilt-pandoc.tgz
 Source4:rdma-core-rpmlintrc
+Patch0: bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch
+Patch1: bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -400,6 +402,8 @@
 %setup -q -n  %{name}-%{version}%{git_ver}
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
+%patch0
+%patch1
 
 %build
 

++ bnxt_re-lib-Add-remaining-pci-ids-for-gen-P5-devices.patch ++
commit 73d13d40ce6ccd62b9e2e3ea24d5cb702b2262db
Author: Naresh Kumar PBS 
Date:   Tue Nov 26 04:05:21 2019 -0500

bnxt_re/lib: Add remaining pci ids for gen P5 devices

Making a change to add pci ids for VF and NPAR devices.

Signed-off-by: Naresh Kumar PBS 
Signed-off-by: Devesh Sharma 

diff --git providers/bnxt_re/main.c providers/bnxt_re/main.c
index b1194db78c18..e290a07bc502 100644
--- providers/bnxt_re/main.c
+++ providers/bnxt_re/main.c
@@ -76,9 +76,15 @@ static const struct verbs_match_ent cna_table[] = {
CNA(BROADCOM, 0x16F0),  /* BCM58730 */
CNA(BROADCOM, 0x16F1),  /* BCM57452 */
CNA(BROADCOM, 0x1750),  /* BCM57500 */
+   CNA(BROADCOM, 0x1751),  /* BCM57504 */
+   CNA(BROADCOM, 0x1752),  /* BCM57502 */
+   CNA(BROADCOM, 0x1803),  /* BCM57508 NPAR */
+   CNA(BROADCOM, 0x1804),  /* BCM57504 NPAR */
+   CNA(BROADCOM, 0x1805),  /* BCM57502 NPAR */
+   CNA(BROADCOM, 0x1807),  /* BCM5750x VF */
CNA(BROADCOM, 0xD800),  /* BCM880xx VF */
CNA(BROADCOM, 0xD802),  /* BCM58802 */
-   CNA(BROADCOM, 0xD804),   /* BCM8804 SR */
+   CNA(BROADCOM, 0xD804),  /* BCM8804 SR */
{}
 };
 
++ bnxt_re-lib-Recognize-additional-5750x-device-ID-s.patch ++
commit 92ce9e33ee89f2c853b47e004a31bd1cebe010c2
Author: Luke Starrett 
Date:   Tue Nov 26 04:11:28 2019 -0500

bnxt_re/lib: Recognize additional 5750x device ID's

BCM5750x family includes 57504 and 57502. Until recently the chip_num
register always conveyed 0x1750 (57508). Recent devices properly
reflect the SKU in the chip_num register. Update Phase5 checks to
reflect this.

Signed-off-by: Luke Starrett 
Signed-off-by: Devesh Sharma 

diff --git providers/bnxt_re/main.c providers/bnxt_re/main.c
index e290a07bc502..803eff79e73a 100644
--- providers/bnxt_re/main.c
+++ providers/bnxt_re/main.c
@@ -75,7 +75,7 @@ static const struct verbs_match_ent cna_table[] = {
CNA(BROADCOM, 0x16EF),  /* BCM57416 NPAR */
CNA(BROADCOM, 0x16F0),  /* BCM58730 */
CNA(BROADCOM, 0x16F1),  /* BCM57452 */
-   CNA(BROADCOM, 0x1750),  /* BCM57500 */
+   CNA(BROADCOM, 0x1750),  /* BCM57508 */
CNA(BROADCOM, 0x1751),  /* BCM57504 */
CNA(BROADCOM, 0x1752),  /* BCM57502 */
CNA(BROADCOM, 0x1803),  /* BCM57508 NPAR */
@@ -118,7 +118,9 @@ static const struct verbs_context_ops bnxt_re_cntx_ops = {
 
 bool bnxt_re_is_chip_gen_p5(struct bnxt_re_chip_ctx *cctx)
 {
-   return cctx->chip_num == CHIP_NUM_57500;
+   return (cctx->chip_num == CHIP_NUM_57508 ||
+   cctx->chip_num == CHIP_NUM_57504 ||
+   cctx->chip_num == CHIP_NUM_57502);
 }
 
 /* Context Init functions */
diff --git providers/bnxt_re/main.h providers/bnxt_re/main.h
index be5734960475..368297e68b7a 100644
--- providers/bnxt_re/main.h
+++ providers/bnxt_re/main.h
@@ -56,7 +56,10 @@
 
 #define 

commit rdma-core for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-11-28 10:12:44

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.26869 (New)


Package is "rdma-core"

Thu Nov 28 10:12:44 2019 rev:35 rq:750978 version:26.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-11-15 
22:31:56.220082268 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.26869/rdma-core.changes   
2019-11-28 10:13:19.571636683 +0100
@@ -1,0 +2,7 @@
+Mon Nov 25 15:59:01 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to rdma-core v26.1 (jsc#SLE-8388, jsc#SLE-8394, jsc#SLE-8463, 
jsc#SLE-8399,
+   jsc#SLE-8254, jsc#SLE-9840, jsc#SLE-9763, jsc#SLE-9925, jsc#SLE-9846, 
jsc#SLE-9913,
+   jsc#SLE-9729, jsc#SLE-8666)
+
+---

Old:

  rdma-core-25.1.0.1841d48eec9d.tar.gz

New:

  rdma-core-26.1.0.9f820de9ca7d.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.RaBYpF/_old  2019-11-28 10:13:20.039636688 +0100
+++ /var/tmp/diff_new_pack.RaBYpF/_new  2019-11-28 10:13:20.043636688 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rdma-core
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,9 +21,9 @@
 %define with_static 0
 %define with_pyverbs 1
 
-%define git_ver .0.1841d48eec9d
+%define git_ver .0.9f820de9ca7d
 Name:   rdma-core
-Version:25.1
+Version:26.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -53,7 +53,7 @@
 #  providers/ipathverbs/ Dual licensed using a BSD license with an extra 
patent clause
 #  providers/rxe/ Incorporates code from ipathverbs and contains the patent 
clause
 #  providers/hfi1verbs Uses the 3 Clause BSD license
-Url:https://github.com/linux-rdma/rdma-core
+URL:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
 Source2:post_download.sh

++ _service ++
--- /var/tmp/diff_new_pack.RaBYpF/_old  2019-11-28 10:13:20.063636689 +0100
+++ /var/tmp/diff_new_pack.RaBYpF/_new  2019-11-28 10:13:20.063636689 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-1841d48eec9d845daef961ac21795e5493a376ff
+9f820de9ca7d6e315be92bc830d354afad3e7960
suse/rdma-core.spec
   
   

++ prebuilt-pandoc.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pandoc-prebuilt/1f29cba8dff53abad8ec97b9d45e06dd2bef8845 
new/pandoc-prebuilt/1f29cba8dff53abad8ec97b9d45e06dd2bef8845
--- old/pandoc-prebuilt/1f29cba8dff53abad8ec97b9d45e06dd2bef8845
2019-09-26 16:11:43.775549954 +0200
+++ new/pandoc-prebuilt/1f29cba8dff53abad8ec97b9d45e06dd2bef8845
1970-01-01 01:00:00.0 +0100
@@ -1,451 +0,0 @@
-.\"t
-.\" Automatically generated by Pandoc 2.7.3
-.\"
-.TH "IBV_WR API" "3" "2018-11-27" "libibverbs" "Libibverbs Programmer\[cq]s 
Manual"
-.hy
-.SH NAME
-.PP
-ibv_wr_abort, ibv_wr_complete, ibv_wr_start - Manage regions allowed to
-post work
-.PP
-ibv_wr_atomic_cmp_swp, ibv_wr_atomic_fetch_add - Post remote atomic
-operation work requests
-.PP
-ibv_wr_bind_mw, ibv_wr_local_inv - Post work requests for memory windows
-.PP
-ibv_wr_rdma_read, ibv_wr_rdma_write, ibv_wr_rdma_write_imm - Post RDMA
-work requests
-.PP
-ibv_wr_send, ibv_wr_send_imm, ibv_wr_send_inv - Post send work requests
-.PP
-ibv_wr_send_tso - Post segmentation offload work requests
-.PP
-ibv_wr_set_inline_data, ibv_wr_set_inline_data_list - Attach inline data
-to the last work request
-.PP
-ibv_wr_set_sge, ibv_wr_set_sge_list - Attach data to the last work
-request
-.PP
-ibv_wr_set_ud_addr - Attach UD addressing info to the last work request
-.PP
-ibv_wr_set_xrc_srqn - Attach an XRC SRQN to the last work request
-.SH SYNOPSIS
-.IP
-.nf
-\f[C]
-#include 
-
-void ibv_wr_abort(struct ibv_qp_ex *qp);
-int ibv_wr_complete(struct ibv_qp_ex *qp);
-void ibv_wr_start(struct ibv_qp_ex *qp);
-
-void ibv_wr_atomic_cmp_swp(struct ibv_qp_ex *qp, uint32_t rkey,
-   uint64_t remote_addr, uint64_t compare,
-   uint64_t swap);
-void ibv_wr_atomic_fetch_add(struct ibv_qp_ex *qp, uint32_t rkey,
- uint64_t remote_addr, uint64_t add);
-
-void ibv_wr_bind_mw(struct ibv_qp_ex *qp, struct ibv_mw *mw, uint32_t rkey,
-  

commit rdma-core for openSUSE:Factory

2019-11-15 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-11-15 22:31:54

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.26869 (New)


Package is "rdma-core"

Fri Nov 15 22:31:54 2019 rev:34 rq:747710 version:25.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-10-08 
19:58:53.448024902 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.26869/rdma-core.changes   
2019-11-15 22:31:56.220082268 +0100
@@ -1,0 +2,12 @@
+Tue Nov 12 07:33:01 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Add libefa1 to baselibs.conf
+- Fix baselibs.conf
+
+---
+Wed Nov  6 23:09:09 UTC 2019 - Stefan BrĂ¼ns 
+
+- BuildRequire valgrind-client-headers instead of full valgrind-devel
+  where available.
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.albXwT/_old  2019-11-15 22:31:58.792081139 +0100
+++ /var/tmp/diff_new_pack.albXwT/_new  2019-11-15 22:31:58.796081138 +0100
@@ -73,8 +73,12 @@
 BuildRequires:  python3-devel
 %endif
 %ifnarch s390 s390x
+%if 0%{?suse_version} >= 1550
+BuildRequires:  valgrind-client-headers
+%else
 BuildRequires:  valgrind-devel
 %endif
+%endif
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libnl-3.0)
 BuildRequires:  pkgconfig(libnl-route-3.0)

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.albXwT/_old  2019-11-15 22:31:58.832081122 +0100
+++ /var/tmp/diff_new_pack.albXwT/_new  2019-11-15 22:31:58.832081122 +0100
@@ -1,9 +1,47 @@
 libibverbs
+ obsoletes "libcxgb3-rdmav2- < "
+ obsoletes "libcxgb4-rdmav2- < "
+ obsoletes "libefa-rdmav2- < "
+ obsoletes "libhfi1verbs-rdmav2- < "
+ obsoletes "libi40iw-rdmav2- < "
+ obsoletes "libipathverbs-rdmav2- < "
+ obsoletes "libmlx4-rdmav2- < "
+ obsoletes "libmlx5-rdmav2- < "
+ obsoletes "libmthca-rdmav2- < "
+ obsoletes "libnes-rdmav2- < "
+ obsoletes "libocrdma-rdmav2- < "
+ obsoletes "librxe-rdmav2- < "
+ targetarch i586 requires "libefa1- = "
+ targetarch i586 requires "libmlx4-1- = "
+ targetarch i586 requires "libmlx5-1- = "
 libibverbs1
+ requires "libibverbs- = "
+libefa1
 libmlx4-1
 libmlx5-1
 libibumad3
 libibmad5
 librdmacm1
+ obsoletes "librdmacm- < "
+ provides "librdmacm- = "
 rdma-core-devel
+ obsoletes "libibverbs-devel- < "
+ obsoletes "libibumad-devel- < "
+ obsoletes "librdmacm-devel- < "
+ obsoletes "ibacm-devel- < "
+ obsoletes "infiniband-diags-devel- < "
+ obsoletes "libibmad-devel- < "
+ provides "libibverbs-devel- = "
+ provides "libibumad-devel- = "
+ provides "librdmacm-devel- = "
+ provides "ibacm-devel- = "
+ provides "infiniband-diags-devel- = "
+ provides "libibmad-devel- = "
+ requires "librdmacm1- = "
+ requires "libibumad3- = "
+ requires "libibverbs1- = "
+ targetarch i586 requires "libefa1- = "
+ targetarch i586 requires "libmlx4-1- = "
+ targetarch i586 requires "libmlx5-1- = "
+ requires "rsocket- = "
 rsocket




commit rdma-core for openSUSE:Factory

2019-10-08 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-10-08 19:58:51

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.2352 (New)


Package is "rdma-core"

Tue Oct  8 19:58:51 2019 rev:33 rq:736003 version:25.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-10-05 
16:19:48.961513654 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.2352/rdma-core.changes
2019-10-08 19:58:53.448024902 +0200
@@ -10 +10 @@
-- Update to rdma-core v25.1
+- Update to rdma-core v25.1 (bsc#996146)



Other differences:
--



commit rdma-core for openSUSE:Factory

2019-10-05 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-10-05 16:19:47

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.2352 (New)


Package is "rdma-core"

Sat Oct  5 16:19:47 2019 rev:32 rq:734620 version:25.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-10-02 
11:55:19.327581978 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.2352/rdma-core.changes
2019-10-05 16:19:48.961513654 +0200
@@ -1,0 +2,6 @@
+Wed Oct  2 06:37:21 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Have rsocket conflicts with older librdmacm-tools (bsc#1137140)
+- Have librdmacm-utils obsolete and provide librdmacm-tools (bsc#1137138)
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.ry4dSU/_old  2019-10-05 16:19:49.541512144 +0200
+++ /var/tmp/diff_new_pack.ry4dSU/_new  2019-10-05 16:19:49.545512133 +0200
@@ -339,7 +339,9 @@
 
 %package -n rsocket
 Summary:Preloadable library to turn the socket API RDMA-aware
+# Older librdmacm-tools used to provide rsocket
 Group:  System/Libraries
+Conflicts:  librdmacm-tools < 2
 
 %description -n rsocket
 Existing applications can make use of rsockets through the use this
@@ -349,6 +351,8 @@
 %package -n librdmacm-utils
 Summary:Examples for the librdmacm library
 Group:  Productivity/Networking/Other
+Obsoletes:  librdmacm-tools < %{version}
+Provides:   librdmacm-tools = %{version}
 
 %description -n librdmacm-utils
 Example test programs for the librdmacm library.




commit rdma-core for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-10-02 11:55:14

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.2352 (New)


Package is "rdma-core"

Wed Oct  2 11:55:14 2019 rev:31 rq:733592 version:25.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-05-21 
10:21:40.255608312 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.2352/rdma-core.changes
2019-10-02 11:55:19.327581978 +0200
@@ -1,0 +2,7 @@
+Fri Sep  6 07:18:24 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to rdma-core v25.1
+  - No release notes available
+- Add rdma-core-rpmlintrc to hide non applicable rpmlint warnings
+
+---

Old:

  rdma-core-23.1.0.352dd809dde8.tar.gz

New:

  rdma-core-25.1.0.1841d48eec9d.tar.gz
  rdma-core-rpmlintrc



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.tVJpji/_old  2019-10-02 11:55:20.227579644 +0200
+++ /var/tmp/diff_new_pack.tVJpji/_new  2019-10-02 11:55:20.231579634 +0200
@@ -21,20 +21,24 @@
 %define with_static 0
 %define with_pyverbs 1
 
-%define git_ver .0.352dd809dde8
+%define git_ver .0.1841d48eec9d
 Name:   rdma-core
-Version:23.1
+Version:25.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
 Group:  Productivity/Networking/Other
 
+%define efa_so_major1
 %define verbs_so_major  1
 %define rdmacm_so_major 1
 %define umad_so_major   3
 %define mlx4_so_major   1
 %define mlx5_so_major   1
+%define ibnetdisc_major 5
+%define mad_major   5
 
+%define  efa_lnamelibefa%{efa_so_major}
 %define  verbs_lname  libibverbs%{verbs_so_major}
 %define  rdmacm_lname librdmacm%{rdmacm_so_major}
 %define  umad_lname   libibumad%{umad_so_major}
@@ -54,6 +58,7 @@
 Source1:baselibs.conf
 Source2:post_download.sh
 Source3:prebuilt-pandoc.tgz
+Source4:rdma-core-rpmlintrc
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -136,6 +141,7 @@
 Requires:   %{umad_lname} = %{version}-%{release}
 Requires:   %{verbs_lname} = %{version}-%{release}
 %if 0%{?dma_coherent}
+Requires:   %{efa_lname} = %{version}-%{release}
 Requires:   %{mlx4_lname} = %{version}-%{release}
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
@@ -160,6 +166,12 @@
 BuildRequires:  pkgconfig(libnl-route-3.0)
 %endif
 
+Requires:   infiniband-diags = %{version}-%{release}
+Provides:   infiniband-diags-devel = %{version}-%{release}
+Obsoletes:  infiniband-diags-devel < %{version}-%{release}
+Provides:   libibmad-devel = %{version}-%{release}
+Obsoletes:  libibmad-devel < %{version}
+
 %description devel
 RDMA core development libraries and headers.
 
@@ -169,6 +181,7 @@
 Requires:   %{name}%{?_isa} = %{version}-%{release}
 Obsoletes:  libcxgb3-rdmav2 < %{version}-%{release}
 Obsoletes:  libcxgb4-rdmav2 < %{version}-%{release}
+Obsoletes:  libefa-rdmav2 < %{version}-%{release}
 Obsoletes:  libhfi1verbs-rdmav2 < %{version}-%{release}
 Obsoletes:  libi40iw-rdmav2 < %{version}-%{release}
 Obsoletes:  libipathverbs-rdmav2 < %{version}-%{release}
@@ -179,6 +192,7 @@
 Obsoletes:  libocrdma-rdmav2 < %{version}-%{release}
 Obsoletes:  librxe-rdmav2 < %{version}-%{release}
 %if 0%{?dma_coherent}
+Requires:   %{efa_lname} = %{version}-%{release}
 Requires:   %{mlx4_lname} = %{version}-%{release}
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
@@ -197,6 +211,7 @@
 
 - libcxgb3: Chelsio T3 iWARP HCA
 - libcxgb4: Chelsio T4 iWARP HCA
+- libefa: Amazon Elastic Fabric Adapter
 - libhfi1: Intel Omni-Path HFI
 - libhns: HiSilicon Hip06 SoC
 - libi40iw: Intel Ethernet Connection X722 RDMA
@@ -208,6 +223,7 @@
 - libocrdma: Emulex OneConnect RDMA/RoCE Device
 - libqedr: QLogic QL4xxx RoCE HCA
 - librxe: A software implementation of the RoCE protocol
+- libsiw: A software implementation of the iWarp protocol
 - libvmw_pvrdma: VMware paravirtual RDMA device
 
 %package -n %verbs_lname
@@ -218,6 +234,13 @@
 %description -n %verbs_lname
 This package contains the ibverbs runtime library.
 
+%package -n %efa_lname
+Summary:EFA runtime library
+Group:  System/Libraries
+
+%description -n %efa_lname
+This package contains the efa runtime library.
+
 %package -n %mlx4_lname
 Summary:MLX4 runtime library
 Group:  System/Libraries
@@ -232,6 +255,14 @@
 %description -n %mlx5_lname
 This package contains the mlx5 runtime library.
 
+%package-n 

commit rdma-core for openSUSE:Factory

2019-05-21 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-05-21 10:21:38

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.5148 (New)


Package is "rdma-core"

Tue May 21 10:21:38 2019 rev:30 rq:702609 version:23.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-04-21 
09:03:36.186566979 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.5148/rdma-core.changes
2019-05-21 10:21:40.255608312 +0200
@@ -1,0 +2,8 @@
+Mon May 13 08:20:59 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to rdma-core v23.1
+  - No release notes available
+- Replace prebuild-pandoc.sh by post_download.sh to patch the spec
+  file form upstream for OBS setup
+
+---

Old:

  prebuild-pandoc.sh
  rdma-core-23.0.43adee5e3196.tar.gz

New:

  post_download.sh
  rdma-core-23.1.0.352dd809dde8.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.mH7DCz/_old  2019-05-21 10:21:41.119608136 +0200
+++ /var/tmp/diff_new_pack.mH7DCz/_new  2019-05-21 10:21:41.123608135 +0200
@@ -18,12 +18,12 @@
 
 %bcond_without  systemd
 # Do not build static libs by default.
-%define with_static %{?_with_static: 1} %{?!_with_static: 0}
-%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 1}
+%define with_static 0
+%define with_pyverbs 1
 
-%define git_ver .43adee5e3196
+%define git_ver .0.352dd809dde8
 Name:   rdma-core
-Version:23.0
+Version:23.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -52,7 +52,7 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
-Source2:prebuild-pandoc.sh
+Source2:post_download.sh
 Source3:prebuilt-pandoc.tgz
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
@@ -218,7 +218,6 @@
 %description -n %verbs_lname
 This package contains the ibverbs runtime library.
 
-%if 0%{?dma_coherent}
 %package -n %mlx4_lname
 Summary:MLX4 runtime library
 Group:  System/Libraries
@@ -232,7 +231,6 @@
 
 %description -n %mlx5_lname
 This package contains the mlx5 runtime library.
-%endif
 
 %package -n libibverbs-utils
 Summary:Examples for the libibverbs library
@@ -331,7 +329,6 @@
 hostname changes and updates the Node Description of the rdma devices based
 on those changes.
 
-%if %{with_pyverbs}
 %package -n python3-pyverbs
 Summary:Python3 API over IB verbs
 Group:  Development/Languages/Python
@@ -339,9 +336,10 @@
 %description -n python3-pyverbs
 Pyverbs is a Cython-based Python API over libibverbs, providing an
 easy, object-oriented access to IB verbs.
-%endif
 
 %prep
+# Make sure LTO is disable as rdma-core fails to compile with LTO enabled
+%define _lto_cflags %{nil}
 %setup -q -n  %{name}-%{version}%{git_ver}
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
@@ -400,7 +398,6 @@
 %global dracutlibdir %%{_sysconfdir}/dracut.conf.d
 %global sysmodprobedir %%{_sysconfdir}/modprobe.d
 
-mkdir -p %{buildroot}%{_libexecdir}/udev/rules.d
 mkdir -p %{buildroot}%{_udevrulesdir}
 mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
 mkdir -p %{buildroot}%{sysmodprobedir}
@@ -436,13 +433,11 @@
 %post -n %verbs_lname -p /sbin/ldconfig
 %postun -n %verbs_lname -p /sbin/ldconfig
 
-%if 0%{?dma_coherent}
 %post -n %mlx4_lname -p /sbin/ldconfig
 %postun -n %mlx4_lname -p /sbin/ldconfig
 
 %post -n %mlx5_lname -p /sbin/ldconfig
 %postun -n %mlx5_lname -p /sbin/ldconfig
-%endif
 
 %post -n %umad_lname -p /sbin/ldconfig
 %postun -n %umad_lname -p /sbin/ldconfig
@@ -522,12 +517,12 @@
 %dir %{_sysconfdir}/rdma
 %dir %{_sysconfdir}/rdma/modules
 %dir %{_docdir}/%{name}-%{version}
-%dir %{_libexecdir}/udev
-%dir %{_libexecdir}/udev/rules.d
+%dir %{_udevrulesdir}
 %dir %{_sysconfdir}/udev
 %dir %{_sysconfdir}/udev/rules.d
 %dir %{_sysconfdir}/modprobe.d
 %doc %{_docdir}/%{name}-%{version}/README.md
+%doc %{_docdir}/%{name}-%{version}/udev.md
 %config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
 %config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
 %config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
@@ -591,7 +586,6 @@
 %config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
 %doc %{_docdir}/%{name}-%{version}/libibverbs.md
 %doc %{_docdir}/%{name}-%{version}/rxe.md
-%doc %{_docdir}/%{name}-%{version}/udev.md
 %doc %{_docdir}/%{name}-%{version}/tag_matching.md
 %{_bindir}/rxe_cfg
 %{_mandir}/man7/rxe*
@@ -696,7 +690,7 @@
 %dir 

commit rdma-core for openSUSE:Factory

2019-04-21 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-04-21 09:03:28

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.5536 (New)


Package is "rdma-core"

Sun Apr 21 09:03:28 2019 rev:29 rq:695955 version:23.0

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-03-04 
09:08:12.936729621 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.5536/rdma-core.changes
2019-04-21 09:03:36.186566979 +0200
@@ -1,0 +2,11 @@
+Fri Apr 19 06:08:06 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to rdma-core v23
+  - No release notes available
+- Enable pyverbs package
+- Remove patches that were merged upstream
+  - Update-kernel-headers.patch
+  - bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
+
+
+---

Old:

  Update-kernel-headers.patch
  bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
  rdma-core-22.1.0.2b42a75b60aa.tar.gz

New:

  rdma-core-23.0.43adee5e3196.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.F6tujd/_old  2019-04-21 09:03:37.922569007 +0200
+++ /var/tmp/diff_new_pack.F6tujd/_new  2019-04-21 09:03:37.930569016 +0200
@@ -19,11 +19,11 @@
 %bcond_without  systemd
 # Do not build static libs by default.
 %define with_static %{?_with_static: 1} %{?!_with_static: 0}
-%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0}
+%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 1}
 
-%define git_ver .0.2b42a75b60aa
+%define git_ver .43adee5e3196
 Name:   rdma-core
-Version:22.1
+Version:23.0
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -54,8 +54,6 @@
 Source1:baselibs.conf
 Source2:prebuild-pandoc.sh
 Source3:prebuilt-pandoc.tgz
-Patch0: Update-kernel-headers.patch
-Patch1: bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -333,6 +331,7 @@
 hostname changes and updates the Node Description of the rdma devices based
 on those changes.
 
+%if %{with_pyverbs}
 %package -n python3-pyverbs
 Summary:Python3 API over IB verbs
 Group:  Development/Languages/Python
@@ -340,11 +339,10 @@
 %description -n python3-pyverbs
 Pyverbs is a Cython-based Python API over libibverbs, providing an
 easy, object-oriented access to IB verbs.
+%endif
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
-%patch0
-%patch1
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
 

++ _service ++
--- /var/tmp/diff_new_pack.F6tujd/_old  2019-04-21 09:03:38.150569274 +0200
+++ /var/tmp/diff_new_pack.F6tujd/_new  2019-04-21 09:03:38.162569287 +0200
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-2b42a75b60aacd6773d7198b4ef4f0e4aa0ceb86
+43adee5e3196fc1d1219fd1e66e54e7d18766d2d
suse/rdma-core.spec
   
   

++ prebuilt-pandoc.tgz ++
 4571 lines of diff (skipped)

++ rdma-core-22.1.0.2b42a75b60aa.tar.gz -> 
rdma-core-23.0.43adee5e3196.tar.gz ++
 42989 lines of diff (skipped)




commit rdma-core for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-03-04 09:08:09

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.28833 (New)


Package is "rdma-core"

Mon Mar  4 09:08:09 2019 rev:28 rq:680357 version:22.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2019-02-08 
13:48:00.614786564 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.28833/rdma-core.changes   
2019-03-04 09:08:12.936729621 +0100
@@ -1,0 +2,7 @@
+Fri Mar  1 07:07:49 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Add patches to enable Broadcom's 57500 RoCE adapter (bsc#1125651):
+  - Update-kernel-headers.patch
+  - bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
+
+---

New:

  Update-kernel-headers.patch
  bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.8Wywb6/_old  2019-03-04 09:08:14.516729356 +0100
+++ /var/tmp/diff_new_pack.8Wywb6/_new  2019-03-04 09:08:14.520729355 +0100
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -54,6 +54,8 @@
 Source1:baselibs.conf
 Source2:prebuild-pandoc.sh
 Source3:prebuilt-pandoc.tgz
+Patch0: Update-kernel-headers.patch
+Patch1: bnxt_re-lib-Enable-Broadcom-s-57500-RoCE-adapter.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -341,6 +343,8 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
+%patch0
+%patch1
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
 

++ Update-kernel-headers.patch ++
commit a1b591edcd84f52fc61ee945c0454f1933b1aeab
Author: Yishai Hadas 
Date:   Sun Feb 10 10:43:12 2019 +0200

Update kernel headers

To commit 2c1619edef61 ("IB/cma: Define option to set ack timeout and
pack tos_set")

Signed-off-by: Yishai Hadas 

diff --git kernel-headers/rdma/bnxt_re-abi.h kernel-headers/rdma/bnxt_re-abi.h
index a7a6111e50c7..dc52e3cf574c 100644
--- kernel-headers/rdma/bnxt_re-abi.h
+++ kernel-headers/rdma/bnxt_re-abi.h
@@ -44,6 +44,14 @@
 
 #define BNXT_RE_ABI_VERSION1
 
+#define BNXT_RE_CHIP_ID0_CHIP_NUM_SFT  0x00
+#define BNXT_RE_CHIP_ID0_CHIP_REV_SFT  0x10
+#define BNXT_RE_CHIP_ID0_CHIP_MET_SFT  0x18
+
+enum {
+   BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL
+};
+
 struct bnxt_re_uctx_resp {
__u32 dev_id;
__u32 max_qp;
@@ -51,6 +59,9 @@ struct bnxt_re_uctx_resp {
__u32 cqe_sz;
__u32 max_cqd;
__u32 rsvd;
+   __aligned_u64 comp_mask;
+   __u32 chip_id0;
+   __u32 chip_id1;
 };
 
 /*
diff --git kernel-headers/rdma/ib_user_verbs.h 
kernel-headers/rdma/ib_user_verbs.h
index 480d9a60b68e..0474c7400268 100644
--- kernel-headers/rdma/ib_user_verbs.h
+++ kernel-headers/rdma/ib_user_verbs.h
@@ -270,6 +270,8 @@ struct ib_uverbs_ex_query_device_resp {
struct ib_uverbs_tm_caps tm_caps;
struct ib_uverbs_cq_moderation_caps cq_moderation_caps;
__aligned_u64 max_dm_size;
+   __u32 xrc_odp_caps;
+   __u32 reserved;
 };
 
 struct ib_uverbs_query_port {
diff --git kernel-headers/rdma/rdma_netlink.h kernel-headers/rdma/rdma_netlink.h
index 2e18b77a817f..3a9e681e4257 100644
--- kernel-headers/rdma/rdma_netlink.h
+++ kernel-headers/rdma/rdma_netlink.h
@@ -5,8 +5,7 @@
 #include 
 
 enum {
-   RDMA_NL_RDMA_CM = 1,
-   RDMA_NL_IWCM,
+   RDMA_NL_IWCM = 2,
RDMA_NL_RSVD,
RDMA_NL_LS, /* RDMA Local Services */
RDMA_NL_NLDEV,  /* RDMA device interface */
@@ -14,8 +13,7 @@ enum {
 };
 
 enum {
-   RDMA_NL_GROUP_CM = 1,
-   RDMA_NL_GROUP_IWPM,
+   RDMA_NL_GROUP_IWPM = 2,
RDMA_NL_GROUP_LS,
RDMA_NL_NUM_GROUPS
 };
@@ -24,15 +22,17 @@ enum {
 #define RDMA_NL_GET_OP(type) (type & ((1 << 10) - 1))
 #define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op)
 
-enum {
-   RDMA_NL_RDMA_CM_ID_STATS = 0,
-   RDMA_NL_RDMA_CM_NUM_OPS
-};
+/* The minimum version that the iwpm kernel supports */
+#define IWPM_UABI_VERSION_MIN  3
 
+/* The latest version that the iwpm kernel supports */
+#define IWPM_UABI_VERSION  4
+
+/* iwarp port mapper message flags */
 enum {
-   RDMA_NL_RDMA_CM_ATTR_SRC_ADDR = 1,
-   RDMA_NL_RDMA_CM_ATTR_DST_ADDR,
-   RDMA_NL_RDMA_CM_NUM_ATTR,
+
+   /* Do not map the port for this IWPM request */
+

commit rdma-core for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2019-02-08 13:47:59

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.28833 (New)


Package is "rdma-core"

Fri Feb  8 13:47:59 2019 rev:27 rq:672084 version:22.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-12-27 
00:23:43.819940610 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.28833/rdma-core.changes   
2019-02-08 13:48:00.614786564 +0100
@@ -1,0 +2,6 @@
+Wed Feb  6 08:37:03 UTC 2019 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v22.1 (bsc#1104280)
+  * No release notes available
+
+---

Old:

  rdma-core-21.0.a4b744d2cd6e.tar.gz

New:

  rdma-core-22.1.0.2b42a75b60aa.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.xDE5at/_old  2019-02-08 13:48:01.126786405 +0100
+++ /var/tmp/diff_new_pack.xDE5at/_new  2019-02-08 13:48:01.130786403 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rdma-core
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,10 +19,11 @@
 %bcond_without  systemd
 # Do not build static libs by default.
 %define with_static %{?_with_static: 1} %{?!_with_static: 0}
+%define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0}
 
-%define git_ver .0.a4b744d2cd6e
+%define git_ver .0.2b42a75b60aa
 Name:   rdma-core
-Version:21
+Version:22.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -62,6 +63,10 @@
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
+%if %{with_pyverbs}
+BuildRequires:  python3-Cython
+BuildRequires:  python3-devel
+%endif
 %ifnarch s390 s390x
 BuildRequires:  valgrind-devel
 %endif
@@ -326,6 +331,14 @@
 hostname changes and updates the Node Description of the rdma devices based
 on those changes.
 
+%package -n python3-pyverbs
+Summary:Python3 API over IB verbs
+Group:  Development/Languages/Python
+
+%description -n python3-pyverbs
+Pyverbs is a Cython-based Python API over libibverbs, providing an
+easy, object-oriented access to IB verbs.
+
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 #Extract prebuilt pandoc file in the buildlib directory
@@ -364,7 +377,16 @@
 %if %{with_static}
  -DENABLE_STATIC=1 \
 %endif
- %{EXTRA_CMAKE_FLAGS}
+ %{EXTRA_CMAKE_FLAGS} \
+%if %{defined __python3}
+ -DPYTHON_EXECUTABLE:PATH=%{__python3} \
+ -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
+%endif
+%if %{with_pyverbs}
+ -DNO_PYVERBS=0
+%else
+-DNO_PYVERBS=1
+%endif
 %make_jobs
 
 %install
@@ -694,4 +716,9 @@
 %{_mandir}/man8/rdma-ndd.8*
 %{_libexecdir}/udev/rules.d/60-rdma-ndd.rules
 
+%if %{with_pyverbs}
+%files -n python3-pyverbs
+%{python3_sitearch}/pyverbs
+%endif
+
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.xDE5at/_old  2019-02-08 13:48:01.154786396 +0100
+++ /var/tmp/diff_new_pack.xDE5at/_new  2019-02-08 13:48:01.154786396 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-a4b744d2cd6e5ccb0c9e60ebaf681184dadb6da0
+2b42a75b60aacd6773d7198b4ef4f0e4aa0ceb86
suse/rdma-core.spec
   
   

++ prebuilt-pandoc.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6 
new/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
--- old/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
2018-12-13 17:08:13.760673762 +0100
+++ new/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
1970-01-01 01:00:00.0 +0100
@@ -1,101 +0,0 @@
-.\" Automatically generated by Pandoc 1.19.2.1
-.\"
-.TH "mlx5dv_create_qp" "3" "2018\-9\-1" "mlx5" "mlx5 Programmer\[aq]s Manual"
-.hy
-.SH NAME
-.PP
-mlx5dv_create_qp \- creates a queue pair (QP)
-.SH SYNOPSIS
-.IP
-.nf
-\f[C]
-#include\ 
-
-struct\ ibv_qp\ *mlx5dv_create_qp(struct\ ibv_context\ \ \ \ \ \ \ \ \ 
*context,
-\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ struct\ 
ibv_qp_init_attr_ex\ *qp_attr,
-\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ struct\ 
mlx5dv_qp_init_attr\ *mlx5_qp_attr)
-\f[]
-.fi
-.SH DESCRIPTION
-.PP
-\f[B]mlx5dv_create_qp()\f[] creates a queue pair (QP) with 

commit rdma-core for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-12-27 00:23:42

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new.28833 (New)


Package is "rdma-core"

Thu Dec 27 00:23:42 2018 rev:26 rq:657867 version:21

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-11-06 
14:13:20.814745678 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new.28833/rdma-core.changes   
2018-12-27 00:23:43.819940610 +0100
@@ -1,0 +2,6 @@
+Fri Nov 30 06:54:33 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v21 (fate#325939, fate#326991)
+  * No release notes available
+
+---

Old:

  rdma-core-20.1.0.222fa83a789c.tar.gz

New:

  rdma-core-21.0.a4b744d2cd6e.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.RnAG15/_old  2018-12-27 00:23:44.399940137 +0100
+++ /var/tmp/diff_new_pack.RnAG15/_new  2018-12-27 00:23:44.399940137 +0100
@@ -17,9 +17,12 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.222fa83a789c
+# Do not build static libs by default.
+%define with_static %{?_with_static: 1} %{?!_with_static: 0}
+
+%define git_ver .0.a4b744d2cd6e
 Name:   rdma-core
-Version:20.1
+Version:21
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -144,6 +147,13 @@
 #Requires:   ibacm = %%{version}-%%{release}
 Provides:   ibacm-devel = %{version}-%{release}
 Obsoletes:  ibacm-devel < %{version}-%{release}
+%if %{with_static}
+# Since our pkg-config files include private references to these packages they
+# need to have their .pc files installed too, even for dynamic linking, or
+# pkg-config breaks.
+BuildRequires:  pkgconfig(libnl-3.0)
+BuildRequires:  pkgconfig(libnl-route-3.0)
+%endif
 
 %description devel
 RDMA core development libraries and headers.
@@ -351,6 +361,9 @@
  -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
  -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{version} \
  -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
+%if %{with_static}
+ -DENABLE_STATIC=1 \
+%endif
  %{EXTRA_CMAKE_FLAGS}
 %make_jobs
 
@@ -529,6 +542,9 @@
 %dir %{_includedir}/rdma
 %{_includedir}/infiniband/*
 %{_includedir}/rdma/*
+%if %{with_static}
+%{_libdir}/lib*.a
+%endif
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
 %{_mandir}/man3/ibv_*

++ _service ++
--- /var/tmp/diff_new_pack.RnAG15/_old  2018-12-27 00:23:44.427940113 +0100
+++ /var/tmp/diff_new_pack.RnAG15/_new  2018-12-27 00:23:44.427940113 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-222fa83a789cd24a1e0900389587d47812fba086
+a4b744d2cd6e5ccb0c9e60ebaf681184dadb6da0
suse/rdma-core.spec
   
   

++ prebuilt-pandoc.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6 
new/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
--- old/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
1970-01-01 01:00:00.0 +0100
+++ new/pandoc-prebuilt/0113b8e7282fb498b6027aebc1cf2148def1e1c6
2018-12-13 17:08:13.760673762 +0100
@@ -0,0 +1,101 @@
+.\" Automatically generated by Pandoc 1.19.2.1
+.\"
+.TH "mlx5dv_create_qp" "3" "2018\-9\-1" "mlx5" "mlx5 Programmer\[aq]s Manual"
+.hy
+.SH NAME
+.PP
+mlx5dv_create_qp \- creates a queue pair (QP)
+.SH SYNOPSIS
+.IP
+.nf
+\f[C]
+#include\ 
+
+struct\ ibv_qp\ *mlx5dv_create_qp(struct\ ibv_context\ \ \ \ \ \ \ \ \ 
*context,
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ struct\ 
ibv_qp_init_attr_ex\ *qp_attr,
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ struct\ 
mlx5dv_qp_init_attr\ *mlx5_qp_attr)
+\f[]
+.fi
+.SH DESCRIPTION
+.PP
+\f[B]mlx5dv_create_qp()\f[] creates a queue pair (QP) with specific
+driver properties.
+.SH ARGUMENTS
+.PP
+Please see \f[I]ibv_create_qp_ex(3)\f[] man page for \f[I]context\f[]
+and \f[I]qp_attr\f[].
+.SS mlx5_qp_attr
+.IP
+.nf
+\f[C]
+struct\ mlx5dv_qp_init_attr\ {
+\ \ \ \ uint64_t\ comp_mask;
+\ \ \ \ uint32_t\ create_flags;
+\ \ \ \ struct\ mlx5dv_dc_init_attr\ \ dc_init_attr;
+};
+\f[]
+.fi
+.TP
+.B \f[I]comp_mask\f[]
+Bitmask specifying what fields in the structure are valid:
+MLX5DV_QP_INIT_ATTR_MASK_QP_CREATE_FLAGS: valid values in
+\f[I]create_flags\f[] MLX5DV_QP_INIT_ATTR_MASK_DC: valid values in
+\f[I]dc_init_attr\f[]
+.RS
+.RE
+.TP
+.B \f[I]create_flags\f[]
+A bitwise OR of the various values described below.
+.RS
+.PP

commit rdma-core for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-11-06 14:12:55

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Tue Nov  6 14:12:55 2018 rev:25 rq:644615 version:20.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-08-28 
09:23:14.932604180 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-11-06 
14:13:20.814745678 +0100
@@ -1,0 +2,11 @@
+Mon Oct 15 08:15:29 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v20.1 (fate#325887, fate#325919, fate#326000)
+  * No release notes available
+- Drop patches merged upstream:
+  * suse-Add-recommends-for-rxe_cfg-requirements.patch
+ adds recommends for the relevant packages
+  * rxe-switch-to-iproute2-for-rxe_cfg.patch
+switches to iproute2 commands
+
+---

Old:

  rdma-core-18.1.0.1f4780139d62.tar.gz
  rxe-switch-to-iproute2-for-rxe_cfg.patch
  suse-Add-recommends-for-rxe_cfg-requirements.patch

New:

  rdma-core-20.1.0.222fa83a789c.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.dmYPOn/_old  2018-11-06 14:13:33.006729516 +0100
+++ /var/tmp/diff_new_pack.dmYPOn/_new  2018-11-06 14:13:33.010729510 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.1f4780139d62
+%define git_ver .0.222fa83a789c
 Name:   rdma-core
-Version:18.1
+Version:20.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0-only OR BSD-2-Clause
@@ -50,8 +50,6 @@
 Source1:baselibs.conf
 Source2:prebuild-pandoc.sh
 Source3:prebuilt-pandoc.tgz
-Patch0: rxe-switch-to-iproute2-for-rxe_cfg.patch
-Patch1: suse-Add-recommends-for-rxe_cfg-requirements.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -169,6 +167,9 @@
 Requires:   %{mlx4_lname} = %{version}-%{release}
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
+# Recommended packages for rxe_cfg
+Recommends: ethtool
+Recommends: iproute2
 
 %description -n libibverbs
 libibverbs is a library that allows userspace processes to use RDMA
@@ -317,8 +318,6 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
-%patch0
-%patch1
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
 
@@ -531,6 +530,7 @@
 %{_includedir}/infiniband/*
 %{_includedir}/rdma/*
 %{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
 %{_mandir}/man3/ibv_*
 %{_mandir}/man3/rdma*
 %{_mandir}/man3/umad*

++ _service ++
--- /var/tmp/diff_new_pack.dmYPOn/_old  2018-11-06 14:13:33.038729473 +0100
+++ /var/tmp/diff_new_pack.dmYPOn/_new  2018-11-06 14:13:33.042729468 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-1f4780139d626c9d5cdd8386edf76a1c0043741e
+222fa83a789cd24a1e0900389587d47812fba086
suse/rdma-core.spec
   
   

++ prebuild-pandoc.sh ++
--- /var/tmp/diff_new_pack.dmYPOn/_old  2018-11-06 14:13:33.062729441 +0100
+++ /var/tmp/diff_new_pack.dmYPOn/_new  2018-11-06 14:13:33.062729441 +0100
@@ -1,6 +1,6 @@
 #!/bin/bash
 TARBALL=$(rpmspec --parse rdma-core.spec | grep Source: |  awk '{ print $NF}')
-OUTDIR=$(tar tf rdma-core-18.1.0.1f4780139d62.tar.gz  | head -n 1)
+OUTDIR=$(tar tf $TARBALL | head -n 1)
 
 rm -Rf $OUTDIR
 tar xf $TARBALL

++ prebuilt-pandoc.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pandoc-prebuilt/6a82b0bc695f8fd980a86aefaf5890804a010761 
new/pandoc-prebuilt/6a82b0bc695f8fd980a86aefaf5890804a010761
--- old/pandoc-prebuilt/6a82b0bc695f8fd980a86aefaf5890804a010761
1970-01-01 01:00:00.0 +0100
+++ new/pandoc-prebuilt/6a82b0bc695f8fd980a86aefaf5890804a010761
2018-10-15 10:13:55.835298730 +0200
@@ -0,0 +1,47 @@
+.\" Automatically generated by Pandoc 1.19.2.1
+.\"
+.TH "ibv_alloc_null_mr" "3" "2018\-6\-1" "libibverbs" "Libibverbs 
Programmer\[aq]s Manual"
+.hy
+.SH NAME
+.PP
+ibv_alloc_null_mr \- allocate a null memory region (MR)
+.SH SYNOPSIS
+.IP
+.nf
+\f[C]
+#include\ 
+
+struct\ ibv_mr\ *ibv_alloc_null_mr(struct\ ibv_pd\ *pd);
+\f[]
+.fi
+.SH DESCRIPTION
+.PP
+\f[B]ibv_alloc_null_mr()\f[] allocates a null memory region (MR) that is
+associated with the protection domain \f[I]pd\f[].
+.PP
+A null MR discards all data written to it, and always returns 0 on read.
+It has the maximum length and only the lkey is valid, the MR is not
+exposed as an rkey.
+.PP
+A device should implement the null MR in a way that 

commit rdma-core for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-08-28 09:23:09

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Tue Aug 28 09:23:09 2018 rev:24 rq:630815 version:18.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-07-02 
23:27:44.025673869 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-08-28 
09:23:14.932604180 +0200
@@ -1,0 +2,9 @@
+Thu Aug  2 09:25:16 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Add two patches for rxe_cfg
+  * suse-Add-recommends-for-rxe_cfg-requirements.patch
+ adds recommends for the relevant packages
+  * rxe-switch-to-iproute2-for-rxe_cfg.patch
+switches to iproute2 commands
+
+---

New:

  rxe-switch-to-iproute2-for-rxe_cfg.patch
  suse-Add-recommends-for-rxe_cfg-requirements.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.RUB0Lj/_old  2018-08-28 09:23:15.424605715 +0200
+++ /var/tmp/diff_new_pack.RUB0Lj/_new  2018-08-28 09:23:15.424605715 +0200
@@ -50,6 +50,8 @@
 Source1:baselibs.conf
 Source2:prebuild-pandoc.sh
 Source3:prebuilt-pandoc.tgz
+Patch0: rxe-switch-to-iproute2-for-rxe_cfg.patch
+Patch1: suse-Add-recommends-for-rxe_cfg-requirements.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -315,6 +317,8 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
+%patch0
+%patch1
 #Extract prebuilt pandoc file in the buildlib directory
 (cd buildlib && tar xf %{S:3})
 

++ rxe-switch-to-iproute2-for-rxe_cfg.patch ++
commit 310719781cf21b656f2bda440b85634c91093f17
Author: Nicolas Morey-Chaisemartin 
Date:   Wed Aug 1 14:59:43 2018 +0200

rxe: switch to iproute2 for rxe_cfg

ifconfig is now deprecated in most distro in favour on iproute2.
Drop ifconfig support and use iproute2

Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git debian/control debian/control
index 340e8ec96291..2e1c4b835c98 100644
--- debian/control
+++ debian/control
@@ -29,7 +29,7 @@ Depends: lsb-base (>= 3.2-14~),
  ${misc:Depends},
  ${perl:Depends},
  ${shlibs:Depends}
-Recommends: dmidecode, ethtool, net-tools
+Recommends: dmidecode, ethtool, iproute2
 Breaks: infiniband-diags (<< 2.0.0)
 Replaces: infiniband-diags (<< 2.0.0)
 Description: RDMA core userspace infrastructure and documentation
diff --git providers/rxe/rxe_cfg.in providers/rxe/rxe_cfg.in
index 0a8583da1860..e3956d82b450 100755
--- providers/rxe/rxe_cfg.in
+++ providers/rxe/rxe_cfg.in
@@ -189,22 +189,22 @@ sub get_dev_info {
$ipv4_addr{$eth} = "";
$eth_mtu{$eth} = "";
 
-   @lines = `ifconfig $eth`;
+   @lines = `ip addr show $eth`;
foreach $line (@lines) {
-   # get IP address
-   if ($line =~ /inet addr/) {
-   $line =~ s/^\s+inet addr://g;
-   @fields = split(/\s+/, $line);
-   $ipv4_addr{$eth} = $fields[0];
-   }
+   # get IP address
+   if ($line =~ /inet /) {
+   $line =~ s/^\s+inet ([0-9.]+)\//$1 /g;
+   @fields = split(/\s+/, $line);
+   $ipv4_addr{$eth} = $fields[0];
+   }
 
-   # get ethernet mtu
-   if ($line =~ /MTU:/) {
-   $line =~ s/^.*MTU://g;
-   @fields = split(/\s+/, $line);
-   $eth_mtu{$eth} = $fields[0];
-   }
-   }
+   # get ethernet mtu
+   if ($line =~ /mtu /) {
+   $line =~ s/^.*mtu //g;
+   @fields = split(/\s+/, $line);
+   $eth_mtu{$eth} = $fields[0];
+   }
+}
 }
 
 # get rxe mtu
@@ -525,8 +525,8 @@ sub do_start {
 foreach my $rxe (@rxe_array) {
my $stat = get_devinfo($rxe);
if ($stat =~ "PORT_DOWN") {
-   my $cmd = "ifconfig $eth_names{$rxe} up";
-   system($cmd);
+   my $cmd = "ip link set $eth_names{$rxe} up";
+   system($cmd);
}
 }
 
++ suse-Add-recommends-for-rxe_cfg-requirements.patch ++
commit b48bd3c32dceed87981acf27057b62658b3c5f4c
Author: Nicolas Morey-Chaisemartin 
Date:   Wed Aug 1 15:32:54 2018 +0200

suse: Add recommends for rxe_cfg requirements

rxe_cfg requires ethtool and iproute2 or net-tools.
net-tools (more precisely ifconfig) being deprecated on all recent SUSE 
version,
recommends iproute2

Signed-off-by: Nicolas Morey-Chaisemartin 


commit rdma-core for openSUSE:Factory

2018-07-02 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-07-02 23:27:40

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Mon Jul  2 23:27:40 2018 rev:23 rq:616908 version:18.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-04-30 
22:51:44.660211542 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-07-02 
23:27:44.025673869 +0200
@@ -1,0 +2,35 @@
+Thu Jun 14 08:54:13 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Remove pandoc BuildRequires
+  * Add prebuilt-pandoc.sh to pre-generate the man pages
+  * Add prebuilt-pandoc.tgz containing pre-generated man pages
+  * Extract man pages in the appropriate directory during build
+
+---
+Tue Jun 12 10:40:32 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v18.1
+  * Fix compilation issue with recent glibc
+- Drop Remove-the-obsolete-libibcm-library.patch and
+  umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch as they were
+  fixed upstream.
+
+---
+Tue Jun 12 05:47:18 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16.5
+ * Backport fixes:
+   * buildilb: Fix -msse breakage on ARM builds
+   * buildlib: Use -msse if the compiler does not support target(sse) 
(bsc#1086910)
+   * suse: do not call %service rules on a template file (bsc#1093170)
+   * mlx5: Convert ah_attr static rate to mlx5 static rate
+   * ccan: Add array_size.h file
+   * iwpmd: Initialize address of sockaddr
+   * mlx5: Fix need_uuar_lock when there are no medium bfregs
+   * verbs: Fix wrong clean up flow in ibv_rc_pingpong
+   * Match kernel ABI to for 4.17 for 32 bit
+   * librdmacm: Set errno correctly if status is positive
+   * verbs: Remove bogus cq_fd
+   * verbs: Fix typo in copying IBV_FLOW_SPEC_UDP/TCP 'val'
+
+---
@@ -74 +109 @@
-  with SRP daemon not handling SM changes (bsc#1072884)
+  with SRP daemon not handling SM changes (bsc#1072884, bsc#1049515)
@@ -159 +194,2 @@
-  * Remove dracut requirement
+  * Remove dracut requirement (bsc#1058504)
+  * Includes Broadcom patches (bsc#1060413)

Old:

  Remove-the-obsolete-libibcm-library.patch
  rdma-core-16.4.0.9cb939b92bea.tar.gz
  umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch

New:

  prebuild-pandoc.sh
  prebuilt-pandoc.tgz
  rdma-core-18.1.0.1f4780139d62.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.hajEgO/_old  2018-07-02 23:27:44.465673327 +0200
+++ /var/tmp/diff_new_pack.hajEgO/_new  2018-07-02 23:27:44.469673322 +0200
@@ -17,12 +17,12 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.9cb939b92bea
+%define git_ver .0.1f4780139d62
 Name:   rdma-core
-Version:16.4
+Version:18.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
-License:GPL-2.0 or BSD-2-Clause
+License:GPL-2.0-only OR BSD-2-Clause
 Group:  Productivity/Networking/Other
 
 %define verbs_so_major  1
@@ -48,8 +48,8 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
-Patch0: Remove-the-obsolete-libibcm-library.patch
-Patch1: umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch
+Source2:prebuild-pandoc.sh
+Source3:prebuilt-pandoc.tgz
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -315,8 +315,8 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
-%patch0
-%patch1
+#Extract prebuilt pandoc file in the buildlib directory
+(cd buildlib && tar xf %{S:3})
 
 %build
 
@@ -326,6 +326,8 @@
 %define _rundir /var/run
 %endif
 
+%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
+
 # Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
 %cmake %{CMAKE_FLAGS} \
 -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
@@ -345,7 +347,8 @@
  -DCMAKE_INSTALL_INITDDIR:PATH=%{_initddir} \
  -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
  -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{version} \
- -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir}
+ -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
+ %{EXTRA_CMAKE_FLAGS}
 %make_jobs
 
 %install
@@ -431,20 +434,18 @@
 # srp daemon
 #
 %pre -n srp_daemon
-%service_add_pre srp_daemon.service srp_daemon_port@.service
+%service_add_pre srp_daemon.service
 
 %post -n 

commit rdma-core for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-04-30 22:51:37

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Mon Apr 30 22:51:37 2018 rev:22 rq:601126 version:16.4

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-03-24 
16:10:55.461134834 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-04-30 
22:51:44.660211542 +0200
@@ -1,0 +2,6 @@
+Thu Apr 26 08:27:29 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Add umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch to fix
+  umad/ibstat support on RoCE hardware (bsc#1088441).
+
+---

New:

  umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.ehdr2N/_old  2018-04-30 22:51:46.152157106 +0200
+++ /var/tmp/diff_new_pack.ehdr2N/_new  2018-04-30 22:51:46.152157106 +0200
@@ -49,6 +49,7 @@
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
 Patch0: Remove-the-obsolete-libibcm-library.patch
+Patch1: umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -315,6 +316,7 @@
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch0
+%patch1
 
 %build
 

++ umad-Do-not-check-for-umad-sysfs-files-in-umad_init.patch ++
commit e326c6065d8daa51189abc84a968e0da7b0c2394
Author: Jason Gunthorpe 
Date:   Thu Apr 5 11:04:14 2018 -0600

umad: Do not check for umad sysfs files in umad_init

Now that we don't load the umad module if the HW doesn't use it (eg
for roce only hardware) umad_init is failing to read the ABI version
from the kernel.

Applications still want to use some libibumad services that are not
related to the char device, so move the version check to umad_open_port
instead.

Backport from:
 * abf72057c277 (umad: Do not check for umad sysfs files in umad_init)
 * c4b883dd49ae (libibumad/man/umad_init.3.md: Trivial punctuation changes)
 * b19fb6d4194e (libibumad/man/umad_open_port.3: Update return values)

Signed-off-by: Jason Gunthorpe 
Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git libibumad/man/umad_init.3 libibumad/man/umad_init.3
index 64366b9de7e4..32c41a9e9878 100644
--- libibumad/man/umad_init.3
+++ libibumad/man/umad_init.3
@@ -13,26 +13,23 @@ umad_init, umad_done \- perform library initialization and 
finalization
 .BI "int umad_done(void);
 .fi
 .SH "DESCRIPTION"
-.B umad_init()
-initializes the umad library for use. Must be called before any
-other call to this library.
-.PP
-.B umad_done()
-finalizes the use of the umad library.
+.B umad_init(), umad_done()
+do nothing.
 .SH "RETURN VALUE"
+Always 0.
+.SH "COMPATIBILITY"
+For compatibility applications should continue to call
 .B umad_init()
-and
-.B umad_done()
-return 0 on success, and \-1 on error.
-Error is returned from
+, and check the return code, prior to calling other
+.B umad_
+functions.
+.PP
+If
 .B umad_init()
-if infiniband umad
-can\'t be opened, or the abi version doesn\'t match.
-There are no errors currently returned by
-.B umad_done().
-.SH "NOTES"
-If an error occurs during the library initialization, no further use of the
-umad library should be attempted.
+returns an error, then no further use of the umad library
+should be attempted.
+If an error occurs during the library initialization,
+no further use of the umad library should be attempted.
 .SH "AUTHORS"
 .TP
 Hal Rosenstock 
diff --git libibumad/man/umad_open_port.3 libibumad/man/umad_open_port.3
index cac01a71026b..bd7026be39c0 100644
--- libibumad/man/umad_open_port.3
+++ libibumad/man/umad_open_port.3
@@ -24,11 +24,12 @@ for details).
 .SH "RETURN VALUE"
 .B umad_open_port()
 returns 0 or an unique positive value of umad device descriptor on success, 
and a negative value on error as follows:
- -ENODEV IB device can\'t be resolved
- -EINVAL port is not valid (bad
+ -EOPNOTSUPP ABI version doesn\'t match
+ -ENODEV IB device can\'t be resolved
+ -EINVAL port is not valid (bad
 .I portnum\fR
 or no umad device)
- -EIOumad device for this port can\'t be opened
+ -EIOumad device for this port can\'t be opened
 .SH "SEE ALSO"
 .BR umad_close_port (3),
 .BR umad_get_cas_names (3),
diff --git libibumad/umad.c libibumad/umad.c
index dcb2c6809eb1..08efb089d990 100644
--- libibumad/umad.c
+++ libibumad/umad.c
@@ -90,9 

commit rdma-core for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-03-24 16:10:54

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Mar 24 16:10:54 2018 rev:21 rq:589767 version:16.4

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-03-20 
21:51:52.132026454 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-03-24 
16:10:55.461134834 +0100
@@ -1,0 +2,5 @@
+Wed Mar 21 09:38:52 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Add Provide/Obsolete for librdmacm in librdmacm1 (bsc#1086173)
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.Xcc8rD/_old  2018-03-24 16:10:56.505097201 +0100
+++ /var/tmp/diff_new_pack.Xcc8rD/_new  2018-03-24 16:10:56.573094750 +0100
@@ -265,6 +265,8 @@
 Summary:Userspace RDMA Connection Manager
 Group:  System/Libraries
 Requires:   %{name} = %{version}
+Provides:   librdmacm = %{version}
+Obsoletes:  librdmacm < %{version}
 
 %description -n %rdmacm_lname
 librdmacm provides a userspace RDMA Communication Management API.




commit rdma-core for openSUSE:Factory

2018-03-20 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-03-20 21:51:48

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Tue Mar 20 21:51:48 2018 rev:20 rq:586463 version:16.4

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-03-04 
11:52:07.883163599 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-03-20 
21:51:52.132026454 +0100
@@ -1,0 +2,11 @@
+Tue Mar 13 15:53:51 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16.4 (bsc#1084456)
+ * Backport fixes:
+   * cxgb4: add new device pci ids.
+   * mlx5: Fix referencing uninitialized var in create_qp error flow
+   * Ensure all public headers compile in C++ mode
+   * providers/i40iw: Skip CQEs for destroyed QP
+   * ibacm: Support FDR and EDR rates
+
+---

Old:

  rdma-core-16.3.0.e77f84e38251.tar.gz

New:

  rdma-core-16.4.0.9cb939b92bea.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.xSpjsI/_old  2018-03-20 21:51:53.031994047 +0100
+++ /var/tmp/diff_new_pack.xSpjsI/_new  2018-03-20 21:51:53.035993903 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.e77f84e38251
+%define git_ver .0.9cb939b92bea
 Name:   rdma-core
-Version:16.3
+Version:16.4
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.xSpjsI/_old  2018-03-20 21:51:53.095991742 +0100
+++ /var/tmp/diff_new_pack.xSpjsI/_new  2018-03-20 21:51:53.095991742 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-e77f84e38251a7e8541688dffae93890eed45ed0
+9cb939b92bea70bf0bca28fd996d2019c79c5cb3
suse/rdma-core.spec
   
   

++ rdma-core-16.3.0.e77f84e38251.tar.gz -> 
rdma-core-16.4.0.9cb939b92bea.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/CMakeLists.txt 
new/rdma-core-16.4.0.9cb939b92bea/CMakeLists.txt
--- old/rdma-core-16.3.0.e77f84e38251/CMakeLists.txt2018-02-21 
08:56:00.0 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/CMakeLists.txt2018-03-13 
15:28:10.0 +0100
@@ -48,7 +48,7 @@
 set(PACKAGE_NAME "RDMA")
 
 # See Documentation/versioning.md
-set(PACKAGE_VERSION "16.3")
+set(PACKAGE_VERSION "16.4")
 # When this is changed the values in these files need changing too:
 #   debian/libibverbs1.symbols
 #   libibverbs/libibverbs.map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/debian/changelog 
new/rdma-core-16.4.0.9cb939b92bea/debian/changelog
--- old/rdma-core-16.3.0.e77f84e38251/debian/changelog  2018-02-21 
08:56:00.0 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/debian/changelog  2018-03-13 
15:28:10.0 +0100
@@ -1,3 +1,9 @@
+rdma-core (16.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolas Morey-Chaisemartin   Tue, 13 Mar 2018 
15:28:10 +0100
+
 rdma-core (16.3-1) unstable; urgency=low
 
   * New upstream release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/ibacm/include/infiniband/acm.h 
new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm.h
--- old/rdma-core-16.3.0.e77f84e38251/ibacm/include/infiniband/acm.h
2018-02-21 08:56:00.0 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm.h
2018-03-13 15:28:10.0 +0100
@@ -33,6 +33,10 @@
 #include 
 #include 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define ACM_VERSION 1
 
 #define ACM_OP_MASK 0x0F
@@ -153,4 +157,8 @@
};
 };
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ACM_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/ibacm/include/infiniband/acm_prov.h 
new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm_prov.h
--- old/rdma-core-16.3.0.e77f84e38251/ibacm/include/infiniband/acm_prov.h   
2018-02-21 08:56:00.0 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm_prov.h   
2018-03-13 15:28:10.0 +0100
@@ -34,6 +34,10 @@
 #include 
 #include 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define ACM_PROV_VERSION  1
 
 struct acm_device {
@@ -117,4 +121,8 @@
 extern const char *acm_get_opts_file(void);
 extern void 

commit rdma-core for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-03-04 11:52:01

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sun Mar  4 11:52:01 2018 rev:19 rq:580927 version:16.3

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-02-02 
22:21:01.341404550 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-03-04 
11:52:07.883163599 +0100
@@ -1,0 +2,9 @@
+Wed Feb 21 10:16:15 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16.3:
+ * Backport fixes:
+   * vmw_pvrdma: Drop the extraneous align_next_power2 for sges
+   * vmw_pvrdma: Fix SRQN returned to library
+   * mlx5: Add missing include file in mlx5dv.h
+
+---

Old:

  rdma-core-16.2.0.20197e29921a.tar.gz

New:

  rdma-core-16.3.0.e77f84e38251.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.lRb2Jc/_old  2018-03-04 11:52:09.567102990 +0100
+++ /var/tmp/diff_new_pack.lRb2Jc/_new  2018-03-04 11:52:09.571102846 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.20197e29921a
+%define git_ver .0.e77f84e38251
 Name:   rdma-core
-Version:16.2
+Version:16.3
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.lRb2Jc/_old  2018-03-04 11:52:09.603101694 +0100
+++ /var/tmp/diff_new_pack.lRb2Jc/_new  2018-03-04 11:52:09.603101694 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-20197e29921a558c2552665b52784fcfa1fd8982
+e77f84e38251a7e8541688dffae93890eed45ed0
suse/rdma-core.spec
   
   

++ rdma-core-16.2.0.20197e29921a.tar.gz -> 
rdma-core-16.3.0.e77f84e38251.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.2.0.20197e29921a/CMakeLists.txt 
new/rdma-core-16.3.0.e77f84e38251/CMakeLists.txt
--- old/rdma-core-16.2.0.20197e29921a/CMakeLists.txt2018-02-01 
09:38:44.0 +0100
+++ new/rdma-core-16.3.0.e77f84e38251/CMakeLists.txt2018-02-21 
08:56:00.0 +0100
@@ -48,7 +48,7 @@
 set(PACKAGE_NAME "RDMA")
 
 # See Documentation/versioning.md
-set(PACKAGE_VERSION "16.2")
+set(PACKAGE_VERSION "16.3")
 # When this is changed the values in these files need changing too:
 #   debian/libibverbs1.symbols
 #   libibverbs/libibverbs.map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.2.0.20197e29921a/debian/changelog 
new/rdma-core-16.3.0.e77f84e38251/debian/changelog
--- old/rdma-core-16.2.0.20197e29921a/debian/changelog  2018-02-01 
09:38:44.0 +0100
+++ new/rdma-core-16.3.0.e77f84e38251/debian/changelog  2018-02-21 
08:56:00.0 +0100
@@ -1,3 +1,9 @@
+rdma-core (16.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolas Morey-Chaisemartin   Wed, 21 Feb 2018 
08:56:00 +0100
+
 rdma-core (16.2-1) unstable; urgency=low
 
   * New upstream release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.2.0.20197e29921a/providers/mlx5/mlx5dv.h 
new/rdma-core-16.3.0.e77f84e38251/providers/mlx5/mlx5dv.h
--- old/rdma-core-16.2.0.20197e29921a/providers/mlx5/mlx5dv.h   2018-02-01 
09:38:44.0 +0100
+++ new/rdma-core-16.3.0.e77f84e38251/providers/mlx5/mlx5dv.h   2018-02-21 
08:56:00.0 +0100
@@ -35,6 +35,7 @@
 
 #include 
 #include  /* For the __be64 type */
+#include 
 #include 
 #if defined(__SSE3__)
 #include 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.2.0.20197e29921a/providers/vmw_pvrdma/qp.c 
new/rdma-core-16.3.0.e77f84e38251/providers/vmw_pvrdma/qp.c
--- old/rdma-core-16.2.0.20197e29921a/providers/vmw_pvrdma/qp.c 2018-02-01 
09:38:44.0 +0100
+++ new/rdma-core-16.3.0.e77f84e38251/providers/vmw_pvrdma/qp.c 2018-02-21 
08:56:00.0 +0100
@@ -108,12 +108,12 @@
 {
struct pvrdma_device *dev = to_vdev(pd->context->device);
struct user_pvrdma_create_srq cmd;
-   struct ibv_create_srq_resp resp;
+   struct user_pvrdma_create_srq_resp resp;
struct pvrdma_srq *srq;
int ret;
 
attr->attr.max_wr = align_next_power2(max_t(uint32_t, 1U, 
attr->attr.max_wr));
-   attr->attr.max_sge = align_next_power2(max_t(uint32_t, 1U, 
attr->attr.max_sge));
+   attr->attr.max_sge = max_t(uint32_t, 1U, attr->attr.max_sge);
 
srq = 

commit rdma-core for openSUSE:Factory

2018-02-02 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-02-02 22:20:59

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Fri Feb  2 22:20:59 2018 rev:18 rq:571752 version:16.2

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-01-21 
15:48:33.215091361 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-02-02 
22:21:01.341404550 +0100
@@ -1,0 +2,11 @@
+Thu Feb  1 14:32:48 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16.2 (bsc#1078819):
+  * Backport fixes:
+* iwpmd: fix double mutex unlock
+* libbnxt_re: Fix lat test failure in event mode
+* libbnxt_re: Update and sort device pci-id table
+* cbuild: Support distros that only ship python3
+* libbnxt_re: Display FW version using ibv_devinfo
+
+---

Old:

  rdma-core-16.1.0.9b91e2e52871.tar.gz

New:

  rdma-core-16.2.0.20197e29921a.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.I3m1xm/_old  2018-02-02 22:21:02.329358427 +0100
+++ /var/tmp/diff_new_pack.I3m1xm/_new  2018-02-02 22:21:02.58241 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.9b91e2e52871
+%define git_ver .0.20197e29921a
 Name:   rdma-core
-Version:16.1
+Version:16.2
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause

++ _service ++
--- /var/tmp/diff_new_pack.I3m1xm/_old  2018-02-02 22:21:02.365356747 +0100
+++ /var/tmp/diff_new_pack.I3m1xm/_new  2018-02-02 22:21:02.365356747 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-9b91e2e5287160025f6fc0b555c8f0debfaf9b12
+20197e29921a558c2552665b52784fcfa1fd8982
suse/rdma-core.spec
   
   

++ rdma-core-16.1.0.9b91e2e52871.tar.gz -> 
rdma-core-16.2.0.20197e29921a.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.1.0.9b91e2e52871/CMakeLists.txt 
new/rdma-core-16.2.0.20197e29921a/CMakeLists.txt
--- old/rdma-core-16.1.0.9b91e2e52871/CMakeLists.txt2018-01-04 
09:33:06.0 +0100
+++ new/rdma-core-16.2.0.20197e29921a/CMakeLists.txt2018-02-01 
09:38:44.0 +0100
@@ -48,7 +48,7 @@
 set(PACKAGE_NAME "RDMA")
 
 # See Documentation/versioning.md
-set(PACKAGE_VERSION "16.1")
+set(PACKAGE_VERSION "16.2")
 # When this is changed the values in these files need changing too:
 #   debian/libibverbs1.symbols
 #   libibverbs/libibverbs.map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.1.0.9b91e2e52871/buildlib/cbuild 
new/rdma-core-16.2.0.20197e29921a/buildlib/cbuild
--- old/rdma-core-16.1.0.9b91e2e52871/buildlib/cbuild   2018-01-04 
09:33:06.0 +0100
+++ new/rdma-core-16.2.0.20197e29921a/buildlib/cbuild   2018-02-01 
09:38:44.0 +0100
@@ -73,6 +73,7 @@
 self.lines = ["FROM %s"%(src)];
 
 class Environment(object):
+python_cmd = "python";
 aliases = set();
 use_make = False;
 proxy = True;
@@ -324,6 +325,9 @@
 name = "tumbleweed";
 specfile = "suse/rdma-core.spec";
 rpmbuild_options = [ "--without=curlmini" ];
+# tumbleweed no longer includes python2 in the base docker images, only 
python3,
+# use that instead.
+python_cmd = "python3";
 
 # -
 
@@ -458,17 +462,17 @@
 print >> F,"""
 import os,subprocess;
 with open("/etc/passwd","a") as F:
-   print >> F, {passwd!r};
+   F.write({passwd!r} + "\\n");
 with open("/etc/group","a") as F:
-   print >> F, {group!r};
+   F.write({group!r} + "\\n");
 os.setgid({gid:d});
 os.setuid({uid:d});
 
 # Get RPM to tell us the expected tar filename.
 for ln in 
subprocess.check_output(["rpmspec","-P",{tspec_file!r}]).splitlines():
-   if ln.startswith("Source:"):
-  tarfn = ln.strip().partition(' ')[2].strip();
-os.symlink({tarfn!r},os.path.join("SOURCES",tarfn));
+   if ln.startswith(b"Source:"):
+  tarfn = ln.strip().partition(b' ')[2].strip();
+os.symlink({tarfn!r},os.path.join(b"SOURCES",tarfn));
 """.format(passwd=":".join(str(I) for I in pwd.getpwuid(os.getuid())),
group=":".join(str(I) for I in grp.getgrgid(os.getgid())),
uid=os.getuid(),
@@ -489,7 +493,7 @@
 if args.run_shell:
 opts.append("/bin/bash");
 else:
-opts.extend(["python","go.py"]);
+opts.extend([env.python_cmd,"go.py"]);
 
 

commit rdma-core for openSUSE:Factory

2018-01-21 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-01-21 15:48:30

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sun Jan 21 15:48:30 2018 rev:17 rq:567771 version:16.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2018-01-06 
18:46:22.255132944 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-01-21 
15:48:33.215091361 +0100
@@ -1,0 +2,20 @@
+Fri Jan 19 10:05:18 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Add Remove-the-obsolete-libibcm-library.patch to drop obsolete libibcm.
+  * Official upstream drop will be in v17
+  * Drop now to avoid submitting libibcm to SLE15
+
+---
+Thu Jan  4 11:41:20 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16.1:
+ * Backport fixes:
+   * srp_daemon: Don't create async_ev_thread if only run once
+   * srp_daemon: handle SM lid change
+   * srp_daemon: fix CQ handling
+- Drop srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch,
+  srp_daemon-fix-CQ-handling.patch, and
+  srp_daemon-handle-SM-lid-change.patch as they were merged upstream.
+
+
+---

Old:

  rdma-core-16.0.bf2450ea.tar.gz
  srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch
  srp_daemon-fix-CQ-handling.patch
  srp_daemon-handle-SM-lid-change.patch

New:

  Remove-the-obsolete-libibcm-library.patch
  rdma-core-16.1.0.9b91e2e52871.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.rLvmkM/_old  2018-01-21 15:48:33.919058327 +0100
+++ /var/tmp/diff_new_pack.rLvmkM/_new  2018-01-21 15:48:33.923058140 +0100
@@ -17,23 +17,21 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.bf2450ea
+%define git_ver .0.9b91e2e52871
 Name:   rdma-core
-Version:16
+Version:16.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause
 Group:  Productivity/Networking/Other
 
 %define verbs_so_major  1
-%define ibcm_so_major   1
 %define rdmacm_so_major 1
 %define umad_so_major   3
 %define mlx4_so_major   1
 %define mlx5_so_major   1
 
 %define  verbs_lname  libibverbs%{verbs_so_major}
-%define  ibcm_lname   libibcm%{ibcm_so_major}
 %define  rdmacm_lname librdmacm%{rdmacm_so_major}
 %define  umad_lname   libibumad%{umad_so_major}
 %define  mlx4_lname   libmlx4-%{mlx4_so_major}
@@ -50,9 +48,7 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
-Patch1: srp_daemon-handle-SM-lid-change.patch
-Patch2: srp_daemon-fix-CQ-handling.patch
-Patch3: srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch
+Patch0: Remove-the-obsolete-libibcm-library.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -127,11 +123,10 @@
 Group:  Development/Libraries/C and C++
 Requires:   %{name}%{?_isa} = %{version}-%{release}
 
-Requires:   %{ibcm_lname} = %{version}-%{release}
 Requires:   %{rdmacm_lname} = %{version}-%{release}
 Requires:   %{umad_lname} = %{version}-%{release}
 Requires:   %{verbs_lname} = %{version}-%{release}
-%%if 0%{?dma_coherent}
+%if 0%{?dma_coherent}
 Requires:   %{mlx4_lname} = %{version}-%{release}
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
@@ -140,9 +135,6 @@
 Provides:   libibverbs-devel = %{version}-%{release}
 Obsoletes:  libibverbs-devel < %{version}-%{release}
 
-Provides:   libibcm-devel = %{version}-%{release}
-Obsoletes:  libibcm-devel < %{version}-%{release}
-
 Provides:   libibumad-devel = %{version}-%{release}
 Obsoletes:  libibumad-devel < %{version}-%{release}
 Provides:   librdmacm-devel = %{version}-%{release}
@@ -260,14 +252,6 @@
 iwpmd provides a userspace service for iWarp drivers to claim
 tcp ports through the standard socket interface.
 
-%package -n %ibcm_lname
-Summary:Userspace InfiniBand Connection Manager
-Group:  System/Libraries
-
-%description -n %ibcm_lname
-libibcm provides a userspace library that handles the majority of the low
-level work required to open an RDMA connection between two machines.
-
 %package -n %umad_lname
 Summary:OpenFabrics Alliance InfiniBand Userspace Management Datagram 
library
 Group:  System/Libraries
@@ -328,9 +312,7 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
-%patch1
-%patch2
-%patch3
+%patch0
 
 %build
 
@@ -415,9 +397,6 @@
 

commit rdma-core for openSUSE:Factory

2018-01-06 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2018-01-06 18:46:21

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Jan  6 18:46:21 2018 rev:16 rq:561307 version:16

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-12-23 
12:18:12.355329377 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2018-01-06 
18:46:22.255132944 +0100
@@ -1,0 +2,6 @@
+Wed Jan  3 09:17:10 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Add srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch
+  to fix bad exit code of ibsrpdm (bsc#1074390)
+
+---

New:

  srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.1ysiSe/_old  2018-01-06 18:46:22.971099490 +0100
+++ /var/tmp/diff_new_pack.1ysiSe/_new  2018-01-06 18:46:22.975099303 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rdma-core
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -52,6 +52,7 @@
 Source1:baselibs.conf
 Patch1: srp_daemon-handle-SM-lid-change.patch
 Patch2: srp_daemon-fix-CQ-handling.patch
+Patch3: srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -329,6 +330,7 @@
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch1
 %patch2
+%patch3
 
 %build
 

++ srp_daemon-Don-t-create-async_ev_thread-if-only-run-once.patch ++
commit b1a5128c14dbba332cf59a0e85a182374ed6
Author: Honggang Li 
Date:   Wed Dec 20 03:09:58 2017 +0800

srp_daemon: Don't create async_ev_thread if only run once

fd3005f0cd34 moves the signal handler setup from ibsrpdm path. So,
default signal handler will be used when the main pthread send signal
SIGINT to pthread async_ev_thread. ibsrpdm will exit with non-zero
exit code as default signal handler killed it. ibsrpdm should return
with exit code zero, if no error emerged.

We should not create async_ev_thread for ibsrpdm.

Fixes: fd3005f0cd34 ("srp_daemon: Move the setup of the wakeup_pipe after 
openlog")
Reviewed-by: Bart Van Assche 
Signed-off-by: Honggang Li 

diff --git srp_daemon/srp_daemon.c srp_daemon/srp_daemon.c
index 36df5c3bfe79..a7e7807774c5 100644
--- srp_daemon/srp_daemon.c
+++ srp_daemon/srp_daemon.c
@@ -1945,12 +1945,12 @@ static struct resources *alloc_res(void)
 run_thread_get_trap_notices, >res);
if (ret)
goto err;
-   }
 
-   ret = pthread_create(>res.async_ev_thread, NULL,
-run_thread_listen_to_events, >res);
-   if (ret)
-   goto err;
+   ret = pthread_create(>res.async_ev_thread, NULL,
+run_thread_listen_to_events, >res);
+   if (ret)
+   goto err;
+   }
 
if (config->retry_timeout && !config->once) {
ret = pthread_create(>res.reconnect_thread, NULL,



commit rdma-core for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-12-23 12:18:10

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Dec 23 12:18:10 2017 rev:15 rq:558103 version:16

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-12-13 
11:56:40.005607250 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-12-23 
12:18:12.355329377 +0100
@@ -1,0 +2,7 @@
+Fri Dec 15 08:28:17 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add srp_daemon-handle-SM-lid-change.patch and
+  srp_daemon-fix-CQ-handling.patch to fix issue
+  with SRP daemon not handling SM changes (bsc#1072884)
+
+---

New:

  srp_daemon-fix-CQ-handling.patch
  srp_daemon-handle-SM-lid-change.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.6Wua8g/_old  2017-12-23 12:18:13.063294857 +0100
+++ /var/tmp/diff_new_pack.6Wua8g/_new  2017-12-23 12:18:13.067294662 +0100
@@ -50,6 +50,8 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
+Patch1: srp_daemon-handle-SM-lid-change.patch
+Patch2: srp_daemon-fix-CQ-handling.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -325,6 +327,8 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
+%patch1
+%patch2
 
 %build
 

++ srp_daemon-fix-CQ-handling.patch ++
commit c1c584c34d249987d7c36ff061bc5f2eedec38fe
Author: Nicolas Morey-Chaisemartin 
Date:   Mon Dec 11 15:37:28 2017 +0100

srp_daemon: fix CQ handling

SM traps are polled through poll_cq which waited for a CQ event
before polling the CQ itself.
However it may happens that multiple completions are attached
to a single event. As stated by the ibv_get_cq_event man page,
it is required to poll the the CQ to get those completions
after the call to ibv_req_notify_cq.

As completions need to be handled one by one in an outer function,
start by polling the CQ and return the completion (if any) before
waiting for the next completion event.
This will allow emptying all pending completions, through multiple calls
to poll_cq,  before waiting for a new event.

The buggy use case seems to appear when the master SM is switched multiple
times between two nodes. As the number of ping-pong between the SMs 
increases,
the number of traps sent to notify that the SM just became master increases
too. This causes burst of completions linked to a single event.
Note that the race condition is also possible in other scenario.

Signed-off-by: Nicolas Morey-Chaisemartin 
Cc: sta...@linux-rdma.org # v14, v15, v16

diff --git srp_daemon/srp_handle_traps.c srp_daemon/srp_handle_traps.c
index 25f2b9ab..77a47db3 100644
--- srp_daemon/srp_handle_traps.c
+++ srp_daemon/srp_handle_traps.c
@@ -496,6 +496,34 @@ static int stop_threads(struct sync_resources *sync_res)
return result;
 }
 
+/*
+* Function: poll_cq_once
+* Poll a CQ once.
+* Returns the number of completion polled (0 or 1).
+* Returns a negative value on error.
+*/
+static int poll_cq_once(struct sync_resources *sync_res, struct ibv_cq *cq,
+   struct ibv_wc *wc)
+{
+   int ret;
+
+   ret = ibv_poll_cq(cq, 1, wc);
+   if (ret < 0) {
+   pr_err("poll CQ failed\n");
+   return ret;
+   }
+
+   if (ret > 0 && wc->status != IBV_WC_SUCCESS) {
+   if (!stop_threads(sync_res))
+   pr_err("got bad completion with status: 0x%x\n",
+  wc->status);
+   return -ret;
+   }
+
+   return ret;
+}
+
+
 static int poll_cq(struct sync_resources *sync_res, struct ibv_cq *cq,
   struct ibv_wc *wc, struct ibv_comp_channel *channel)
 {
@@ -504,6 +532,16 @@ static int poll_cq(struct sync_resources *sync_res, struct 
ibv_cq *cq,
void  *ev_ctx;
 
if (channel) {
+   /* There may be extra completions that
+* were associated to the previous event.
+* Only poll for the first one. If there are more than one,
+* they will be handled by later call to poll_cq */
+   ret = poll_cq_once(sync_res, cq, wc);
+   /* return 

commit rdma-core for openSUSE:Factory

2017-12-13 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-12-13 11:56:35

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Wed Dec 13 11:56:35 2017 rev:14 rq:555879 version:16

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-12-08 
21:47:41.894268890 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-12-13 
11:56:40.005607250 +0100
@@ -1,0 +2,6 @@
+Wed Dec  6 08:06:46 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v16
+  * No release notes available
+
+---

Old:

  rdma-core-15.1.0.6ade95ef.tar.gz

New:

  rdma-core-16.0.bf2450ea.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.61xxLm/_old  2017-12-13 11:56:40.565580217 +0100
+++ /var/tmp/diff_new_pack.61xxLm/_new  2017-12-13 11:56:40.569580024 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.6ade95ef
+%define git_ver .0.bf2450ea
 Name:   rdma-core
-Version:15.1
+Version:16
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause
@@ -558,6 +558,7 @@
 %doc %{_docdir}/%{name}-%{version}/libibverbs.md
 %doc %{_docdir}/%{name}-%{version}/rxe.md
 %doc %{_docdir}/%{name}-%{version}/udev.md
+%doc %{_docdir}/%{name}-%{version}/tag_matching.md
 %{_bindir}/rxe_cfg
 %{_mandir}/man7/rxe*
 %{_mandir}/man8/rxe*

++ _service ++
--- /var/tmp/diff_new_pack.61xxLm/_old  2017-12-13 11:56:40.597578673 +0100
+++ /var/tmp/diff_new_pack.61xxLm/_new  2017-12-13 11:56:40.601578480 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-6ade95efedf3099cacf05928ae7aa874f9e5c61d
+bf2450ea9afd7ec10c3f108927e2978e39823d62
suse/rdma-core.spec
   
   

++ rdma-core-15.1.0.6ade95ef.tar.gz -> rdma-core-16.0.bf2450ea.tar.gz ++
 46303 lines of diff (skipped)




commit rdma-core for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-12-08 21:47:21

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Fri Dec  8 21:47:21 2017 rev:13 rq:548060 version:15.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-12-03 
10:08:35.321531037 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-12-08 
21:47:41.894268890 +0100
@@ -1,0 +2,5 @@
+Mon Dec  4 11:30:13 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add bcond to use curl-mini by default for building
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.Ljnb3U/_old  2017-12-08 21:47:42.494243081 +0100
+++ /var/tmp/diff_new_pack.Ljnb3U/_new  2017-12-08 21:47:42.494243081 +0100
@@ -88,6 +88,7 @@
 # outside of OBS. Thus we add a bcond to allow manual build.
 # To force build without the use of curl-mini, --without=curlmini
 # should be passed to rpmbuild
+%bcond_without curlmini
 %if 0%{?suse_version} >= 1330
 %if %{with curlmini}
 BuildRequires:  curl-mini




commit rdma-core for openSUSE:Factory

2017-12-03 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-12-03 10:08:30

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sun Dec  3 10:08:30 2017 rev:12 rq:546275 version:15.1

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-11-14 
14:15:12.308033815 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-12-03 
10:08:35.321531037 +0100
@@ -1,0 +2,27 @@
+Tue Nov 28 15:56:40 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v15.1
+ * Backport CI checks on centos/SUSE from master
+ * Stable ABI auto checks
+ * Backport fixes:
+   * verbs: Do not block QP attr_masks used by older kernels
+   * libibumad/umad.c: In get_port, ignore sysfs rate file errors
+   * bnxt_re/lib: fix the memory barrier call during poll-cq
+   * bnxt_re/lib: increment psn in case of 0 length packets
+   * libqedr: fix inline data copy
+   * verbs: Fix declaration of C++ include file in C-block
+   * verbs: Fix C++ compilation break
+   * verbs: fix compilation error with ICC
+   * hns: Fix create QP structure layout
+   * ibacm: Incorrect list used for subnet list causes a segfault
+   * ibacm: Incorrect usage of BE byte order of MLID attach/detach_mcast()
+- Remove patches that were merged to v15.1:
+ * bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
+ * bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
+ * ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
+ * ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
+ * libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
+ * libqedr-fix-inline-data-copy.patch
+ * verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch
+
+---

Old:

  bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
  bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
  ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
  ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
  libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
  libqedr-fix-inline-data-copy.patch
  rdma-core-15.0.dc927a03.tar.gz
  verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch

New:

  rdma-core-15.1.0.6ade95ef.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.OSuCdk/_old  2017-12-03 10:08:36.249497298 +0100
+++ /var/tmp/diff_new_pack.OSuCdk/_new  2017-12-03 10:08:36.253497153 +0100
@@ -17,9 +17,9 @@
 
 
 %bcond_without  systemd
-%define git_ver .0.dc927a03
+%define git_ver .0.6ade95ef
 Name:   rdma-core
-Version:15
+Version:15.1
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause
@@ -50,17 +50,11 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
-Patch0: 
ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
-Patch1: 
ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
-Patch2: libqedr-fix-inline-data-copy.patch
-Patch3: 
libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
-Patch4: bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
-Patch5: bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
-Patch6: verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
 BuildRequires:  pkgconfig
+BuildRequires:  python3-base
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(systemd)
@@ -84,9 +78,21 @@
 Provides:   ofed = %{version}
 Obsoletes:  ofed < %{version}
 
+# Trickery to handle both SUSE OpenBuild System and Manual build
+# In OBS, rdma-core must use curl-mini instead of curl to avoid
+# a build dependency loop:
+# rdma-core -> cmake -> curl -> ... -> boost -> rdma-core
+# Thus we force a BuildRequires to curl-mini which as no impact
+# as it is not used during the build.
+# However curl-mini is not a published RPM. This would prevent any build
+# outside of OBS. Thus we add a bcond to allow manual build.
+# To force build without the use of curl-mini, --without=curlmini
+# should be passed to rpmbuild
 %if 0%{?suse_version} >= 1330
+%if %{with curlmini}
 BuildRequires:  curl-mini
 %endif
+%endif
 
 # Tumbleweed's cmake RPM macro adds -Wl,--no-undefined to the module flags
 # which is totally 

commit rdma-core for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-11-14 14:15:10

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Tue Nov 14 14:15:10 2017 rev:11 rq:540249 version:15

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-11-04 
19:28:06.815698401 +0100
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-11-14 
14:15:12.308033815 +0100
@@ -1,0 +2,23 @@
+Thu Nov  9 13:34:40 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Backport upstream patches
+  * bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
+Fix memory ordering issue
+  * bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
+Fix PSN getting out of sync when sending 0 length packet
+  * verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch
+Fix bits detection to allow RDMA CM to work on older kernsl
+
+- Refresh older patches to include commit logs:
+  * ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
+  * ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
+  * libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
+  * libqedr-fix-inline-data-copy.patch
+
+---
+Wed Nov  8 14:05:44 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
+   * Fix issue with umad when QSFP is not plugged in (bnc#1058539)
+
+---

New:

  bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
  bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
  libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
  verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.Rm95Y8/_old  2017-11-14 14:15:13.016007990 +0100
+++ /var/tmp/diff_new_pack.Rm95Y8/_new  2017-11-14 14:15:13.020007845 +0100
@@ -53,6 +53,10 @@
 Patch0: 
ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
 Patch1: 
ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
 Patch2: libqedr-fix-inline-data-copy.patch
+Patch3: 
libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
+Patch4: bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch
+Patch5: bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch
+Patch6: verbs-Do-not-block-QP-attr_masks-used-by-older-kernels.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -317,6 +321,10 @@
 %patch0
 %patch1
 %patch2
+%patch3
+%patch4
+%patch5
+%patch6
 
 %build
 

++ bnxt_re-lib-fix-the-memory-barrier-call-during-poll-cq.patch ++
commit e3609c2c453fc3198a759db17d660f04781f8583
Author: Devesh Sharma 
Date:   Thu Nov 9 02:31:58 2017 -0500

bnxt_re/lib: fix the memory barrier call during poll-cq

Putting a read barrier before issuing a read on valid bit
is incorrect. When checking for the validity of CQE in the
CQ buffer the code must wait for the read-barrier to finish
after issuing a read operation on CQE valid bit.

Signed-off-by: Devesh Sharma 

diff --git providers/bnxt_re/main.h providers/bnxt_re/main.h
index 9688fec6..82c89484 100644
--- providers/bnxt_re/main.h
+++ providers/bnxt_re/main.h
@@ -366,9 +366,13 @@ static inline uint8_t bnxt_re_to_ibv_wc_status(uint8_t 
bnxt_wcst,
 static inline uint8_t bnxt_re_is_cqe_valid(struct bnxt_re_cq *cq,
   struct bnxt_re_bcqe *hdr)
 {
+   uint8_t valid = 0;
+
+   valid = ((le32toh(hdr->flg_st_typ_ph) &
+ BNXT_RE_BCQE_PH_MASK) == cq->phase);
udma_from_device_barrier();
-   return ((le32toh(hdr->flg_st_typ_ph) &
-BNXT_RE_BCQE_PH_MASK) == cq->phase);
+
+   return valid;
 }
 
 static inline void bnxt_re_change_cq_phase(struct bnxt_re_cq *cq)
++ bnxt_re-lib-increment-psn-in-case-of-0-length-packets.patch ++
commit 093dadc78984c9e44ea1c86ca4527a592a42417e
Author: Devesh Sharma 
Date:   Thu Nov 9 02:42:29 2017 -0500

bnxt_re/lib: increment psn in case of 0 length packets

If application posts a 0 length packet, post send routine
is skipping to increment the psn number. This will cause
PSN number to go out of sync and eventually connection would
terminate due to sequence error.

post_send routine must increment the psn number by 1 even
 

commit rdma-core for openSUSE:Factory

2017-11-04 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-11-04 19:28:05

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Nov  4 19:28:05 2017 rev:10 rq:538289 version:15

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-10-20 
14:38:48.272076037 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-11-04 
19:28:06.815698401 +0100
@@ -1,0 +2,7 @@
+Thu Nov  2 08:39:49 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Backport patch from upstream:
+  * libqedr-fix-inline-data-copy.patch
+Fix data integrity issue while sending inline data (bsc#1050543, 
fate#322894)
+
+---

New:

  libqedr-fix-inline-data-copy.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.uauipK/_old  2017-11-04 19:28:08.507636579 +0100
+++ /var/tmp/diff_new_pack.uauipK/_new  2017-11-04 19:28:08.507636579 +0100
@@ -52,6 +52,7 @@
 Source1:baselibs.conf
 Patch0: 
ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
 Patch1: 
ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
+Patch2: libqedr-fix-inline-data-copy.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -315,6 +316,7 @@
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch0
 %patch1
+%patch2
 
 %build
 

++ libqedr-fix-inline-data-copy.patch ++
diff --git providers/qedr/qelr_verbs.c providers/qedr/qelr_verbs.c
index 4a74c50e..7db0fb32 100644
--- providers/qedr/qelr_verbs.c
+++ providers/qedr/qelr_verbs.c
@@ -874,7 +874,7 @@ static void swap_wqe_data64(uint64_t *p)
__be64 *bep=(__be64 *)p;
int i;
 
-   for (i = 0; i < ROCE_WQE_ELEM_SIZE / sizeof(uint64_t); i++, p++)
+   for (i = 0; i < ROCE_WQE_ELEM_SIZE / sizeof(uint64_t); i++, p++, bep++)
*bep = htobe64(*p);
 }
 



commit rdma-core for openSUSE:Factory

2017-10-20 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-10-20 14:38:48

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Fri Oct 20 14:38:48 2017 rev:9 rq:534982 version:15

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-09-21 
12:32:42.277338652 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-10-20 
14:38:48.272076037 +0200
@@ -1,0 +2,11 @@
+Wed Oct 18 09:01:37 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Backport patches from upstream:
+  * ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
+Fixes a byte order issue which causes ibacm to fail to join a multicast
+group on recent on recent kernels. (bsc#1063639, bsc#1063697)
+  * ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
+Fixes a sefgault of ibacm when a provider other than default
+is set (bsc#1063642, bsc#1063698)
+
+---

New:

  ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
  ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.JgGJnN/_old  2017-10-20 14:38:48.812050769 +0200
+++ /var/tmp/diff_new_pack.JgGJnN/_new  2017-10-20 14:38:48.816050582 +0200
@@ -50,6 +50,8 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
+Patch0: 
ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
+Patch1: 
ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
@@ -311,6 +313,8 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
+%patch0
+%patch1
 
 %build
 

++ ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch ++
diff --git ibacm/src/acm.c ibacm/src/acm.c
index 367a43fe..9367fe89 100644
--- ibacm/src/acm.c
+++ ibacm/src/acm.c
@@ -2585,8 +2585,8 @@ static void acm_load_prov_config(void)
return;
}
subnet->subnet_prefix = htobe64(prefix);
-   list_add_after(_list, >entry,
-   >entry);
+   list_add_tail(>subnet_list,
+ >entry);
}
}
}
++ ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch 
++
diff --git ibacm/prov/acmp/src/acmp.c ibacm/prov/acmp/src/acmp.c
index aa784166..78d9a295 100644
--- ibacm/prov/acmp/src/acmp.c
+++ ibacm/prov/acmp/src/acmp.c
@@ -732,7 +732,7 @@ static void acmp_process_join_resp(struct acm_sa_mad 
*sa_mad)
acm_log(0, "ERROR - unable to create ah\n");
goto out;
}
-   ret = ibv_attach_mcast(ep->qp, _rec->mgid, mc_rec->mlid);
+   ret = ibv_attach_mcast(ep->qp, >mgid, dest->av.dlid);
if (ret) {
acm_log(0, "ERROR - unable to attach QP to multicast 
group\n");
ibv_destroy_ah(dest->ah);
@@ -1429,7 +1429,7 @@ static void acmp_ep_join(struct acmp_ep *ep)
 
if (ep->mc_dest[0].state == ACMP_READY && ep->mc_dest[0].ah) {
ibv_detach_mcast(ep->qp, >mc_dest[0].mgid,
-be16toh(ep->mc_dest[0].av.dlid));
+ep->mc_dest[0].av.dlid);
ibv_destroy_ah(ep->mc_dest[0].ah);
ep->mc_dest[0].ah = NULL;
}



commit rdma-core for openSUSE:Factory

2017-09-21 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-09-21 12:32:33

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Thu Sep 21 12:32:33 2017 rev:8 rq:527008 version:15

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-09-04 
12:21:01.540553629 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-09-21 
12:32:42.277338652 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 08:04:29 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to rdma-core v15
+  * Remove dracut requirement
+
+---

Old:

  rdma-core-15rc3.52.d3ca56f1.tar.gz

New:

  rdma-core-15.0.dc927a03.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.AkVV8p/_old  2017-09-21 12:32:44.129078063 +0200
+++ /var/tmp/diff_new_pack.AkVV8p/_new  2017-09-21 12:32:44.129078063 +0200
@@ -17,7 +17,7 @@
 
 
 %bcond_without  systemd
-%define git_ver rc3.52.d3ca56f1
+%define git_ver .0.dc927a03
 Name:   rdma-core
 Version:15
 Release:0
@@ -65,7 +65,6 @@
 BuildRequires:  pkgconfig(libnl-3.0)
 BuildRequires:  pkgconfig(libnl-route-3.0)
 BuildRequires:  pkgconfig(systemd)
-Requires:   dracut
 Requires:   kmod
 Requires:   systemd
 Requires:   udev

++ _service ++
--- /var/tmp/diff_new_pack.AkVV8p/_old  2017-09-21 12:32:44.169072434 +0200
+++ /var/tmp/diff_new_pack.AkVV8p/_new  2017-09-21 12:32:44.169072434 +0200
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 v(.*)
 \1
-d3ca56f16b020e75ad74300c056f2ae3cedf5833
+dc927a0380346c7857f005b8ff3747a6a42ecdb0
suse/rdma-core.spec
   
   

++ rdma-core-15rc3.52.d3ca56f1.tar.gz -> rdma-core-15.0.dc927a03.tar.gz 
++
 2482 lines of diff (skipped)




commit rdma-core for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-09-04 12:20:49

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Mon Sep  4 12:20:49 2017 rev:7 rq:519959 version:15

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-08-12 
19:44:03.314811906 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-09-04 
12:21:01.540553629 +0200
@@ -1,0 +2,54 @@
+Thu Aug 31 06:52:17 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to v15-rc3-52-gd3ca56f1
+  * Fix rdma-sriov.service dependencies and remove install section
+  * 50-libmlx4.conf is not a config file
+
+---
+Wed Aug 30 14:21:25 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to v15-rc3-45-gd366c01a
+  * Drop obsolete workarounds
+  * Drop rdma.service
+  * Add rdma-sriov.service
+  * Switch to the new udev system
+- Prevent uninstall from trying to stop srp_daemon_port@.service
+
+---
+Tue Aug 29 12:41:29 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to v15-rc3-26-g2f5779a7
+- Prevent rdma-core services to be stopped or restarted during
+  uninstall and updates
+- Do not use service_* macros on services that do not need them
+- Remove provides for old -rdmav2 packages
+  as they are not compatible anymore due to ABI changes
+- Use upstream spec file.
+
+---
+Mon Aug 21 13:53:50 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to v15-rc3
+  - Add flow steering drop action
+  - mmio_flush_write fixes
+  - Fixes for uclibc
+  - Add common mmio accessor routines and remove per provider mmio
+routines
+  - qedr fixes
+  - Lots of fixes for debian packaging
+  - Copyright fixes
+  - Properly conflict with infiniband-diags
+  - Add direct verbs support to mlx4 provider
+  - Improvement to Travis CI checking
+  - Enforce kernel coding style in rdma-core
+  - Add initial verbs hotplug support
+  - Sparse annotations
+  - Systemd updates for srp_daemon and iwpmd
+  - Red Hat packaging fixes
+  - Properly make the entire rdma-core support udev hotplug activation
+  - Packaging fixes related to the joining of packages and globs that are
+no longer valid
+- Drop rdma-core-s390x.patch as it was merged upstream
+- Remove legacy systemd macros
+
+---

Old:

  rdma-core-14.tar.xz
  rdma-core-s390x.patch

New:

  rdma-core-15rc3.52.d3ca56f1.tar.gz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.rztjwS/_old  2017-09-04 12:21:02.704390011 +0200
+++ /var/tmp/diff_new_pack.rztjwS/_new  2017-09-04 12:21:02.720387762 +0200
@@ -17,11 +17,9 @@
 
 
 %bcond_without  systemd
-
-%define git_ver %{nil}
-
+%define git_ver rc3.52.d3ca56f1
 Name:   rdma-core
-Version:14
+Version:15
 Release:0
 Summary:RDMA core userspace libraries and daemons
 License:GPL-2.0 or BSD-2-Clause
@@ -31,28 +29,35 @@
 %define ibcm_so_major   1
 %define rdmacm_so_major 1
 %define umad_so_major   3
+%define mlx4_so_major   1
 %define mlx5_so_major   1
 
 %define  verbs_lname  libibverbs%{verbs_so_major}
 %define  ibcm_lname   libibcm%{ibcm_so_major}
 %define  rdmacm_lname librdmacm%{rdmacm_so_major}
 %define  umad_lname   libibumad%{umad_so_major}
+%define  mlx4_lname   libmlx4-%{mlx4_so_major}
 %define  mlx5_lname   libmlx5-%{mlx5_so_major}
 
+%ifnarch s390 %arm
+%define dma_coherent 1
+%endif
+
 # Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
 #  providers/ipathverbs/ Dual licensed using a BSD license with an extra 
patent clause
 #  providers/rxe/ Incorporates code from ipathverbs and contains the patent 
clause
 #  providers/hfi1verbs Uses the 3 Clause BSD license
 Url:https://github.com/linux-rdma/rdma-core
-Source0:%{name}-%{version}%{git_ver}.tar.xz
+Source: rdma-core-%{version}%{git_ver}.tar.gz
 Source1:baselibs.conf
-Patch1: rdma-core-s390x.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 %ifnarch s390 s390x
 BuildRequires:  valgrind-devel
 %endif
@@ -63,6 +68,7 @@
 Requires:   dracut
 Requires:   kmod
 Requires:   systemd
+Requires:   udev
 
 # SUSE previously shipped rdma as a stand-alone
 # package which we're 

commit rdma-core for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-08-12 19:44:02

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Aug 12 19:44:02 2017 rev:6 rq:515456 version:14

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-07-30 
11:26:25.969414168 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-08-12 
19:44:03.314811906 +0200
@@ -1,0 +2,13 @@
+Tue Aug  8 18:44:01 UTC 2017 - jeng...@inai.de
+
+- Fix RPM groups.
+
+---
+Mon Aug  7 07:33:59 UTC 2017 - co...@suse.com
+
+- To get the package out of the bootstrap line, we need to prefer
+  curl-mini as dependency of cmake. Unfortunately we need to special
+  case packages that are in the inner loop - otherwise every package
+  would get curl-mini
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.kI0C7D/_old  2017-08-12 19:44:05.018572928 +0200
+++ /var/tmp/diff_new_pack.kI0C7D/_new  2017-08-12 19:44:05.038570122 +0200
@@ -72,6 +72,10 @@
 Provides:   ofed = %{version}
 Obsoletes:  ofed < %{version}
 
+%if 0%{?suse_version} >= 1330
+BuildRequires:  curl-mini
+%endif
+
 # Tumbleweed's cmake RPM macro adds -Wl,--no-undefined to the module flags
 # which is totally inappropriate and breaks building 'ENABLE_EXPORTS' style
 # module libraries (eg ibacmp).
@@ -274,7 +278,7 @@
 
 %package -n srp_daemon
 Summary:Tools for using the InfiniBand SRP protocol devices
-Group:  Development/Libraries/C and C++
+Group:  Productivity/Networking/Other
 Requires:   %{name} = %{version}
 Obsoletes:  srptools <= 1.0.3
 Provides:   srptools = %{version}
@@ -286,7 +290,7 @@
 
 %package -n rdma-ndd
 Summary:Daemon to manage RDMA Node Description
-Group:  System Environment/Daemons
+Group:  System/Daemons
 Requires:   %{name} = %{version}
 # The udev rules in rdma need to be aware of rdma-ndd:
 Conflicts:  rdma < 2.1




commit rdma-core for openSUSE:Factory

2017-07-30 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-07-30 11:25:41

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sun Jul 30 11:25:41 2017 rev:5 rq:511833 version:14

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-07-12 
19:34:23.262064570 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-07-30 
11:26:25.969414168 +0200
@@ -1,0 +2,10 @@
+Thu Jul 20 13:44:16 UTC 2017 - nmoreychaisemar...@suse.com
+
+- ibacm now obsoletes libibacmp1 (bsc#1049854)
+
+---
+Thu Jul 13 13:42:09 UTC 2017 - sch...@suse.de
+
+- No mlx5 on %arm
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.cQ9rGG/_old  2017-07-30 11:26:26.765301863 +0200
+++ /var/tmp/diff_new_pack.cQ9rGG/_new  2017-07-30 11:26:26.769301298 +0200
@@ -105,7 +105,7 @@
 Requires:   %{rdmacm_lname} = %{version}-%{release}
 Requires:   %{umad_lname} = %{version}-%{release}
 Requires:   %{verbs_lname} = %{version}-%{release}
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
 Requires:   rsocket = %{version}-%{release}
@@ -154,7 +154,7 @@
 Obsoletes:  libocrdma-rdmav2 < %{version}-%{release}
 Provides:   librxe-rdmav2 = %{version}-%{release}
 Obsoletes:  librxe-rdmav2 < %{version}-%{release}
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
 
@@ -187,7 +187,7 @@
 %description -n %verbs_lname
 This package contains the ibverbs runtime library.
 
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 %package -n %mlx5_lname
 Summary:MLX5 runtime library
 Group:  System/Libraries
@@ -209,6 +209,7 @@
 Summary:InfiniBand Communication Manager Assistant
 Group:  Productivity/Networking/Other
 Requires:   %{name} = %{version}
+Obsoletes:  libibacmp1 < %{version}
 
 %description -n ibacm
 The ibacm daemon helps reduce the load of managing path record lookups on
@@ -385,7 +386,7 @@
 %post -n %verbs_lname -p /sbin/ldconfig
 %postun -n %verbs_lname -p /sbin/ldconfig
 
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 %post -n %mlx5_lname -p /sbin/ldconfig
 %postun -n %mlx5_lname -p /sbin/ldconfig
 %endif
@@ -503,7 +504,7 @@
 %{_mandir}/man3/umad*
 %{_mandir}/man3/*_to_ibv_rate.*
 %{_mandir}/man7/rdma_cm.*
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 %{_mandir}/man3/mlx5*
 %{_mandir}/man7/mlx5*
 %endif
@@ -524,7 +525,7 @@
 %defattr(-,root,root)
 %{_libdir}/libibverbs*.so.*
 
-%ifnarch s390 armv7hl
+%ifnarch s390 %arm
 %files -n %mlx5_lname
 %defattr(-,root,root)
 %{_libdir}/libmlx5*.so.*




commit rdma-core for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-07-12 19:34:18

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Wed Jul 12 19:34:18 2017 rev:4 rq:508740 version:14

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-06-17 
10:21:31.916086322 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-07-12 
19:34:23.262064570 +0200
@@ -1,0 +2,7 @@
+Fri Jul  7 09:50:14 UTC 2017 - dims...@opensuse.org
+
+- BuildRequire pkgconfig(libudev) instead of libudev-devel: this
+  allows OBS to chose libudev-devel-mini and produce a better
+  rebuild-chain (and break cycles).
+
+---



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.4kX6TR/_old  2017-07-12 19:34:23.905973609 +0200
+++ /var/tmp/diff_new_pack.4kX6TR/_new  2017-07-12 19:34:23.909973044 +0200
@@ -50,8 +50,8 @@
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
-BuildRequires:  libudev-devel
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(systemd)
 %ifnarch s390 s390x
 BuildRequires:  valgrind-devel




commit rdma-core for openSUSE:Factory

2017-06-17 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-06-17 10:21:30

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Sat Jun 17 10:21:30 2017 rev:3 rq:503764 version:14

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-06-02 
10:33:21.507683493 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-06-17 
10:21:31.916086322 +0200
@@ -1,0 +2,15 @@
+Wed Jun  7 18:45:12 UTC 2017 - dims...@opensuse.org
+
+- BuildRequire pkgconfig(systemd) instead of systemd-devel: this
+  allows OBS to chose systemd-mini and produce a better
+  rebuild-chain.
+
+---
+Wed Jun  7 13:02:09 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add patch rdma-core-s390x.patch to fix s390x build (bsc#1043105).
+  * Add missing verbs providers for s390x
+  * Add mlx5 package for s390x
+- libibverbs1 requires libibverbs (bsc#1042840).
+
+---

New:

  rdma-core-s390x.patch



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.gUEqgU/_old  2017-06-17 10:21:32.559995490 +0200
+++ /var/tmp/diff_new_pack.gUEqgU/_new  2017-06-17 10:21:32.563994925 +0200
@@ -46,12 +46,13 @@
 Url:https://github.com/linux-rdma/rdma-core
 Source0:%{name}-%{version}%{git_ver}.tar.xz
 Source1:baselibs.conf
+Patch1: rdma-core-s390x.patch
 BuildRequires:  binutils
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  gcc
 BuildRequires:  libudev-devel
 BuildRequires:  pkgconfig
-BuildRequires:  systemd-devel
+BuildRequires:  pkgconfig(systemd)
 %ifnarch s390 s390x
 BuildRequires:  valgrind-devel
 %endif
@@ -104,7 +105,7 @@
 Requires:   %{rdmacm_lname} = %{version}-%{release}
 Requires:   %{umad_lname} = %{version}-%{release}
 Requires:   %{verbs_lname} = %{version}-%{release}
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
 Requires:   rsocket = %{version}-%{release}
@@ -153,7 +154,7 @@
 Obsoletes:  libocrdma-rdmav2 < %{version}-%{release}
 Provides:   librxe-rdmav2 = %{version}-%{release}
 Obsoletes:  librxe-rdmav2 < %{version}-%{release}
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
 
@@ -181,11 +182,12 @@
 %package -n %verbs_lname
 Summary:Ibverbs runtime library
 Group:  System/Libraries
+Requires:   libibverbs = %{version}
 
 %description -n %verbs_lname
 This package contains the ibverbs runtime library.
 
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 %package -n %mlx5_lname
 Summary:MLX5 runtime library
 Group:  System/Libraries
@@ -296,6 +298,7 @@
 
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
+%patch1
 
 %build
 
@@ -382,7 +385,7 @@
 %post -n %verbs_lname -p /sbin/ldconfig
 %postun -n %verbs_lname -p /sbin/ldconfig
 
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 %post -n %mlx5_lname -p /sbin/ldconfig
 %postun -n %mlx5_lname -p /sbin/ldconfig
 %endif
@@ -500,7 +503,7 @@
 %{_mandir}/man3/umad*
 %{_mandir}/man3/*_to_ibv_rate.*
 %{_mandir}/man7/rdma_cm.*
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 %{_mandir}/man3/mlx5*
 %{_mandir}/man7/mlx5*
 %endif
@@ -521,7 +524,7 @@
 %defattr(-,root,root)
 %{_libdir}/libibverbs*.so.*
 
-%ifnarch s390 s390x armv7hl
+%ifnarch s390 armv7hl
 %files -n %mlx5_lname
 %defattr(-,root,root)
 %{_libdir}/libmlx5*.so.*

++ rdma-core-s390x.patch ++
diff --git util/udma_barrier.h util/udma_barrier.h
index 9932a687..23acf233 100644
--- util/udma_barrier.h
+++ util/udma_barrier.h
@@ -192,6 +192,7 @@
 #define mmio_flush_writes() asm volatile("dsb st" ::: "memory");
 #elif defined(__sparc__) || defined(__s390x__)
 #define mmio_flush_writes() asm volatile("" ::: "memory")
+#else
 #error No architecture specific memory barrier defines found!
 #endif
 



commit rdma-core for openSUSE:Factory

2017-06-02 Thread root
Hello community,

here is the log from the commit of package rdma-core for openSUSE:Factory 
checked in at 2017-06-02 10:32:44

Comparing /work/SRC/openSUSE:Factory/rdma-core (Old)
 and  /work/SRC/openSUSE:Factory/.rdma-core.new (New)


Package is "rdma-core"

Fri Jun  2 10:32:44 2017 rev:2 rq:500404 version:14

Changes:

--- /work/SRC/openSUSE:Factory/rdma-core/rdma-core.changes  2017-05-18 
20:45:03.998809622 +0200
+++ /work/SRC/openSUSE:Factory/.rdma-core.new/rdma-core.changes 2017-06-02 
10:33:21.507683493 +0200
@@ -1,0 +2,28 @@
+Tue May 30 08:36:52 UTC 2017 - nmoreychaisemar...@suse.com
+
+ - Update to v14 (bsc#321907).
+  * Introduction of bnxt_re driver
+  * Rework srp_daemon's systemd integration
+  * Various fixes in qedr, mlx4, mlx5, bnxrt_re and rxe drivers
+  * New supported PCI ID were added to mlx5
+  * Addition of manual pages for cmtime and udpong programs
+  * Multiple fixes of spelling types and documentation clarifications
+  * Sparse fixes
+  * rping gained ability to bind to source IP address
+  * Various improvements in cmake and cbuild infrastructures
+  * Add support for flow tag, CVLAN and VXLAN specifications
+  * Provide ability to pass private data to create CQ
+  * Exposure various device capabilities to user applications
+
+
+---
+Mon May 29 14:11:24 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Fix all references to /usr/libexec (bsc#103)
+
+---
+Tue May 23 14:28:23 CEST 2017 - p...@suse.de
+
+- Fix rdma.service which had /usr/libexec hardcoded (bsc#103).
+
+---

Old:

  rdma-core-14-rc1-40-g706fc2af.tar.xz

New:

  rdma-core-14.tar.xz



Other differences:
--
++ rdma-core.spec ++
--- /var/tmp/diff_new_pack.ziOVOJ/_old  2017-06-02 10:33:22.095600424 +0200
+++ /var/tmp/diff_new_pack.ziOVOJ/_new  2017-06-02 10:33:22.099599858 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without  systemd
 
-%define git_ver -rc1-40-g706fc2af
+%define git_ver %{nil}
 
 Name:   rdma-core
 Version:14
@@ -100,10 +100,10 @@
 Group:  Development/Libraries/C and C++
 Requires:   %{name}%{?_isa} = %{version}-%{release}
 
-Requires:   %{verbs_lname} = %{version}-%{release}
 Requires:   %{ibcm_lname} = %{version}-%{release}
-Requires:   %{umad_lname} = %{version}-%{release}
 Requires:   %{rdmacm_lname} = %{version}-%{release}
+Requires:   %{umad_lname} = %{version}-%{release}
+Requires:   %{verbs_lname} = %{version}-%{release}
 %ifnarch s390 s390x armv7hl
 Requires:   %{mlx5_lname} = %{version}-%{release}
 %endif
@@ -341,21 +341,28 @@
 mkdir -p %{buildroot}%{_udevrulesdir}
 mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
 mkdir -p %{buildroot}%{sysmodprobedir}
+mkdir -p %{buildroot}%{_unitdir}
+#
 install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
+sed 's%/usr/libexec%/usr/lib%' redhat/rdma.service > 
%{buildroot}%{_unitdir}/rdma.service
+chmod 0644 %{buildroot}%{_unitdir}/rdma.service
 install -D -m0644 redhat/rdma.sriov-vfs 
%{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
 install -D -m0644 redhat/rdma.mlx4.conf 
%{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
-install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
 install -D -m0644 redhat/rdma.udev-ipoib-naming.rules 
%{buildroot}%{_udevrulesdir}/70-persistent-ipoib.rules
 install -D -m0644 redhat/rdma.mlx4.user.modprobe 
%{buildroot}%{_sysconfdir}/modprobe.d/50-mlx4.conf
-install -D -m0755 redhat/rdma.modules-setup.sh 
%{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
+sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.modules-setup.sh > 
%{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
+chmod 0755 %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
 install -D -m0644 redhat/rdma.udev-rules 
%{buildroot}%{_udevrulesdir}/98-rdma.rules
-install -D -m0644 redhat/rdma.mlx4.sys.modprobe 
%{buildroot}%{sysmodprobedir}/50-libmlx4.conf
+sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.mlx4.sys.modprobe > 
%{buildroot}%{sysmodprobedir}/50-libmlx4.conf
+chmod 0644 %{buildroot}%{sysmodprobedir}/50-libmlx4.conf
 install -D -m0644 redhat/rdma.cxgb3.sys.modprobe 
%{buildroot}%{sysmodprobedir}/50-cxgb3.conf
 install -D -m0644 redhat/rdma.cxgb4.sys.modprobe 
%{buildroot}%{sysmodprobedir}/50-cxgb4.conf
-install -D -m0755 redhat/rdma.kernel-init 
%{buildroot}%{_libexecdir}/rdma-init-kernel
+sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.kernel-init > 
%{buildroot}%{_libexecdir}/rdma-init-kernel
+chmod 0755 %{buildroot}%{_libexecdir}/rdma-init-kernel
 install -D -m0755 redhat/rdma.sriov-init