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.333358241 +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 @@
     <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
-    <param name="revision">9b91e2e5287160025f6fc0b555c8f0debfaf9b12</param>
+    <param name="revision">20197e29921a558c2552665b52784fcfa1fd8982</param>
        <param name="extract">suse/rdma-core.spec</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ 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.txt    2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/CMakeLists.txt    2018-02-01 
09:38:44.000000000 +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.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/buildlib/cbuild   2018-02-01 
09:38:44.000000000 +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"]);
 
         docker_cmd(args,*opts)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.1.0.9b91e2e52871/debian/changelog 
new/rdma-core-16.2.0.20197e29921a/debian/changelog
--- old/rdma-core-16.1.0.9b91e2e52871/debian/changelog  2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/debian/changelog  2018-02-01 
09:38:44.000000000 +0100
@@ -1,3 +1,9 @@
+rdma-core (16.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com>  Thu, 01 Feb 2018 
09:38:44 +0100
+
 rdma-core (16.1-1) unstable; urgency=low
 
   * New upstream release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.1.0.9b91e2e52871/iwpmd/iwarp_pm_helper.c 
new/rdma-core-16.2.0.20197e29921a/iwpmd/iwarp_pm_helper.c
--- old/rdma-core-16.1.0.9b91e2e52871/iwpmd/iwarp_pm_helper.c   2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/iwpmd/iwarp_pm_helper.c   2018-02-01 
09:38:44.000000000 +0100
@@ -578,7 +578,6 @@
 
        pthread_mutex_lock(&pending_msg_mutex);
        list_add(&pending_messages, &pending_msg->entry);
-       pthread_mutex_unlock(&pending_msg_mutex);
        pthread_mutex_unlock(&pending_msg_mutex);
        /* signal the thread that a new message has been posted */
        pthread_cond_signal(&cond_pending_msg);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/main.c 
new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/main.c
--- old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/main.c  2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/main.c  2018-02-01 
09:38:44.000000000 +0100
@@ -54,24 +54,29 @@
 
 #define CNA(v, d) VERBS_PCI_MATCH(PCI_VENDOR_ID_##v, d, NULL)
 static const struct verbs_match_ent cna_table[] = {
+       CNA(BROADCOM, 0x1605),  /* BCM57454 NPAR */
+       CNA(BROADCOM, 0x1606),  /* BCM57454 VF */
+       CNA(BROADCOM, 0x1614),  /* BCM57454 */
        CNA(BROADCOM, 0x16C0),  /* BCM57417 NPAR */
+       CNA(BROADCOM, 0x16C1),  /* BMC57414 VF */
        CNA(BROADCOM, 0x16CE),  /* BMC57311 */
        CNA(BROADCOM, 0x16CF),  /* BMC57312 */
-       CNA(BROADCOM, 0x16DF),  /* BMC57314 */
-       CNA(BROADCOM, 0x16E5),  /* BMC57314 VF */
-       CNA(BROADCOM, 0x16E2),  /* BMC57417 */
-       CNA(BROADCOM, 0x16E3),  /* BMC57416 */
        CNA(BROADCOM, 0x16D6),  /* BMC57412*/
        CNA(BROADCOM, 0x16D7),  /* BMC57414 */
        CNA(BROADCOM, 0x16D8),  /* BMC57416 Cu */
        CNA(BROADCOM, 0x16D9),  /* BMC57417 Cu */
-       CNA(BROADCOM, 0x16C1),  /* BMC57414 VF */
-       CNA(BROADCOM, 0x16EF),  /* BCM57416 NPAR */
+       CNA(BROADCOM, 0x16DF),  /* BMC57314 */
+       CNA(BROADCOM, 0x16E2),  /* BMC57417 */
+       CNA(BROADCOM, 0x16E3),  /* BMC57416 */
+       CNA(BROADCOM, 0x16E5),  /* BMC57314 VF */
        CNA(BROADCOM, 0x16ED),  /* BCM57414 NPAR */
        CNA(BROADCOM, 0x16EB),  /* BCM57412 NPAR */
+       CNA(BROADCOM, 0x16EF),  /* BCM57416 NPAR */
        CNA(BROADCOM, 0x16F0),  /* BCM58730 */
        CNA(BROADCOM, 0x16F1),  /* BCM57452 */
+       CNA(BROADCOM, 0xD800),  /* BCM880xx VF */
        CNA(BROADCOM, 0xD802),  /* BCM58802 */
+       CNA(BROADCOM, 0xD804),   /* BCM8804 SR */
        {}
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/main.h 
new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/main.h
--- old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/main.h  2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/main.h  2018-02-01 
09:38:44.000000000 +0100
@@ -76,6 +76,9 @@
        struct list_head rfhead;
        uint32_t cqe_size;
        uint8_t  phase;
+       int deferred_arm_flags;
+       bool first_arm;
+       bool deferred_arm;
 };
 
 struct bnxt_re_srq {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/verbs.c 
new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/verbs.c
--- old/rdma-core-16.1.0.9b91e2e52871/providers/bnxt_re/verbs.c 2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/providers/bnxt_re/verbs.c 2018-02-01 
09:38:44.000000000 +0100
@@ -58,12 +58,14 @@
                         struct ibv_device_attr *dev_attr)
 {
        struct ibv_query_device cmd;
-       uint64_t fw_ver;
+       uint8_t fw_ver[8];
        int status;
 
        memset(dev_attr, 0, sizeof(struct ibv_device_attr));
-       status = ibv_cmd_query_device(ibvctx, dev_attr, &fw_ver,
+       status = ibv_cmd_query_device(ibvctx, dev_attr, (uint64_t *)&fw_ver,
                                      &cmd, sizeof(cmd));
+       snprintf(dev_attr->fw_ver, 64, "%d.%d.%d.%d",
+                fw_ver[0], fw_ver[1], fw_ver[2], fw_ver[3]);
        return status;
 }
 
@@ -202,6 +204,7 @@
        cq->phase = resp.phase;
        cq->cqq.tail = resp.tail;
        cq->udpi = &cntx->udpi;
+       cq->first_arm = true;
 
        list_head_init(&cq->sfhead);
        list_head_init(&cq->rfhead);
@@ -654,6 +657,11 @@
 
        pthread_spin_lock(&cq->cqq.qlock);
        dqed = bnxt_re_poll_one(cq, nwc, wc);
+       if (cq->deferred_arm) {
+               bnxt_re_ring_cq_arm_db(cq, cq->deferred_arm_flags);
+               cq->deferred_arm = false;
+               cq->deferred_arm_flags = 0;
+       }
        pthread_spin_unlock(&cq->cqq.qlock);
        /* Check if anything is there to flush. */
        pthread_spin_lock(&cntx->fqlock);
@@ -718,7 +726,12 @@
        pthread_spin_lock(&cq->cqq.qlock);
        flags = !flags ? BNXT_RE_QUE_TYPE_CQ_ARMALL :
                         BNXT_RE_QUE_TYPE_CQ_ARMSE;
-       bnxt_re_ring_cq_arm_db(cq, flags);
+       if (cq->first_arm) {
+               bnxt_re_ring_cq_arm_db(cq, flags);
+               cq->first_arm = false;
+       }
+       cq->deferred_arm = true;
+       cq->deferred_arm_flags = flags;
        pthread_spin_unlock(&cq->cqq.qlock);
 
        return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.1.0.9b91e2e52871/redhat/rdma-core.spec 
new/rdma-core-16.2.0.20197e29921a/redhat/rdma-core.spec
--- old/rdma-core-16.1.0.9b91e2e52871/redhat/rdma-core.spec     2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/redhat/rdma-core.spec     2018-02-01 
09:38:44.000000000 +0100
@@ -1,5 +1,5 @@
 Name: rdma-core
-Version: 16.1
+Version: 16.2
 Release: 1%{?dist}
 Summary: RDMA core userspace libraries and daemons
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.1.0.9b91e2e52871/suse/rdma-core.spec 
new/rdma-core-16.2.0.20197e29921a/suse/rdma-core.spec
--- old/rdma-core-16.1.0.9b91e2e52871/suse/rdma-core.spec       2018-01-04 
09:33:06.000000000 +0100
+++ new/rdma-core-16.2.0.20197e29921a/suse/rdma-core.spec       2018-02-01 
09:38:44.000000000 +0100
@@ -19,7 +19,7 @@
 %bcond_without  systemd
 %define         git_ver %{nil}
 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


Reply via email to