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

++++++ 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.txt    2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/CMakeLists.txt    2018-03-13 
15:28:10.000000000 +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.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/debian/changelog  2018-03-13 
15:28:10.000000000 +0100
@@ -1,3 +1,9 @@
+rdma-core (16.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com>  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.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm.h    
2018-03-13 15:28:10.000000000 +0100
@@ -33,6 +33,10 @@
 #include <infiniband/verbs.h>
 #include <infiniband/sa.h>
 
+#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.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/ibacm/include/infiniband/acm_prov.h       
2018-03-13 15:28:10.000000000 +0100
@@ -34,6 +34,10 @@
 #include <infiniband/umad.h>
 #include <infiniband/umad_sa.h>
 
+#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 acm_increment_counter(int type);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ACM_PROV_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/ibacm/src/acm.c 
new/rdma-core-16.4.0.9cb939b92bea/ibacm/src/acm.c
--- old/rdma-core-16.3.0.e77f84e38251/ibacm/src/acm.c   2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/ibacm/src/acm.c   2018-03-13 
15:28:10.000000000 +0100
@@ -1818,32 +1818,44 @@
 enum ibv_rate acm_get_rate(uint8_t width, uint8_t speed)
 {
        switch (width) {
-       case 1:
+       case 1: /* 1x */
                switch (speed) {
                case 1: return IBV_RATE_2_5_GBPS;
                case 2: return IBV_RATE_5_GBPS;
-               case 4: return IBV_RATE_10_GBPS;
+               case 4: /* fall through */
+               case 8: return IBV_RATE_10_GBPS;
+               case 16: return IBV_RATE_14_GBPS;
+               case 32: return IBV_RATE_25_GBPS;
                default: return IBV_RATE_MAX;
                }
-       case 2:
+       case 2: /* 4x */
                switch (speed) {
                case 1: return IBV_RATE_10_GBPS;
                case 2: return IBV_RATE_20_GBPS;
-               case 4: return IBV_RATE_40_GBPS;
+               case 4: /* fall through */
+               case 8: return IBV_RATE_40_GBPS;
+               case 16: return IBV_RATE_56_GBPS;
+               case 32: return IBV_RATE_100_GBPS;
                default: return IBV_RATE_MAX;
                }
-       case 4:
+       case 4: /* 8x */
                switch (speed) {
                case 1: return IBV_RATE_20_GBPS;
                case 2: return IBV_RATE_40_GBPS;
-               case 4: return IBV_RATE_80_GBPS;
+               case 4: /* fall through */
+               case 8: return IBV_RATE_80_GBPS;
+               case 16: return IBV_RATE_112_GBPS;
+               case 32: return IBV_RATE_200_GBPS;
                default: return IBV_RATE_MAX;
                }
-       case 8:
+       case 8: /* 12x */
                switch (speed) {
                case 1: return IBV_RATE_30_GBPS;
                case 2: return IBV_RATE_60_GBPS;
-               case 4: return IBV_RATE_120_GBPS;
+               case 4: /* fall through */
+               case 8: return IBV_RATE_120_GBPS;
+               case 16: return IBV_RATE_168_GBPS;
+               case 32: return IBV_RATE_300_GBPS;
                default: return IBV_RATE_MAX;
                }
        default:
@@ -1876,6 +1888,14 @@
        case 60:  return IBV_RATE_60_GBPS;
        case 80:  return IBV_RATE_80_GBPS;
        case 120: return IBV_RATE_120_GBPS;
+       case 14:  return IBV_RATE_14_GBPS;
+       case 56:  return IBV_RATE_56_GBPS;
+       case 112: return IBV_RATE_112_GBPS;
+       case 168: return IBV_RATE_168_GBPS;
+       case 25:  return IBV_RATE_25_GBPS;
+       case 100: return IBV_RATE_100_GBPS;
+       case 200: return IBV_RATE_200_GBPS;
+       case 300: return IBV_RATE_300_GBPS;
        default:  return IBV_RATE_10_GBPS;
        }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/providers/cxgb4/t4_pci_id_tbl.h 
new/rdma-core-16.4.0.9cb939b92bea/providers/cxgb4/t4_pci_id_tbl.h
--- old/rdma-core-16.3.0.e77f84e38251/providers/cxgb4/t4_pci_id_tbl.h   
2018-02-21 08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/providers/cxgb4/t4_pci_id_tbl.h   
2018-03-13 15:28:10.000000000 +0100
@@ -168,6 +168,22 @@
        CH_PCI_ID_TABLE_FENTRY(0x509a), /* Custom T520-CR */
        CH_PCI_ID_TABLE_FENTRY(0x509b), /* Custom T540-CR LOM */
        CH_PCI_ID_TABLE_FENTRY(0x509c), /* Custom T520-CR*/
+       CH_PCI_ID_TABLE_FENTRY(0x509d), /* Custom T540-CR*/
+       CH_PCI_ID_TABLE_FENTRY(0x509e), /* Custom T520-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x509f), /* Custom T540-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a0), /* Custom T540-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a1), /* Custom T540-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a2), /* Custom T540-KR4 */
+       CH_PCI_ID_TABLE_FENTRY(0x50a3), /* Custom T580-KR4 */
+       CH_PCI_ID_TABLE_FENTRY(0x50a4), /* Custom 2x T540-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a5), /* Custom T522-BT */
+       CH_PCI_ID_TABLE_FENTRY(0x50a6), /* Custom T522-BT-SO */
+       CH_PCI_ID_TABLE_FENTRY(0x50a7), /* Custom T580-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a8), /* Custom T580-KR */
+       CH_PCI_ID_TABLE_FENTRY(0x50a9), /* Custom T580-KR */
+       CH_PCI_ID_TABLE_FENTRY(0x50aa), /* Custom T580-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50ab), /* Custom T520-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x50ac), /* Custom T540-BT */
 
        /* T6 adapters:
         */
@@ -178,12 +194,21 @@
        CH_PCI_ID_TABLE_FENTRY(0x6005),
        CH_PCI_ID_TABLE_FENTRY(0x6006),
        CH_PCI_ID_TABLE_FENTRY(0x6007),
+       CH_PCI_ID_TABLE_FENTRY(0x6008),
        CH_PCI_ID_TABLE_FENTRY(0x6009),
        CH_PCI_ID_TABLE_FENTRY(0x600d),
        CH_PCI_ID_TABLE_FENTRY(0x6010),
        CH_PCI_ID_TABLE_FENTRY(0x6011),
        CH_PCI_ID_TABLE_FENTRY(0x6014),
        CH_PCI_ID_TABLE_FENTRY(0x6015),
+       CH_PCI_ID_TABLE_FENTRY(0x6080),
+       CH_PCI_ID_TABLE_FENTRY(0x6081),
+       CH_PCI_ID_TABLE_FENTRY(0x6082), /* Custom T6225-CR SFP28 */
+       CH_PCI_ID_TABLE_FENTRY(0x6083), /* Custom T62100-CR QSFP28 */
+       CH_PCI_ID_TABLE_FENTRY(0x6084), /* Custom T64100-CR QSFP28 */
+       CH_PCI_ID_TABLE_FENTRY(0x6085), /* Custom T6240-SO */
+       CH_PCI_ID_TABLE_FENTRY(0x6086), /* Custom T6225-SO-CR */
+       CH_PCI_ID_TABLE_FENTRY(0x6087), /* Custom T6225-CR */
 CH_PCI_DEVICE_ID_TABLE_DEFINE_END;
 
 #endif /* __T4_PCI_ID_TBL_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/providers/i40iw/i40iw_uverbs.c 
new/rdma-core-16.4.0.9cb939b92bea/providers/i40iw/i40iw_uverbs.c
--- old/rdma-core-16.3.0.e77f84e38251/providers/i40iw/i40iw_uverbs.c    
2018-02-21 08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/providers/i40iw/i40iw_uverbs.c    
2018-03-13 15:28:10.000000000 +0100
@@ -342,6 +342,8 @@
                ret = iwucq->cq.ops.iw_cq_poll_completion(&iwucq->cq, 
&cq_poll_info);
                if (ret == I40IW_ERR_QUEUE_EMPTY) {
                        break;
+               } else if (ret == I40IW_ERR_QUEUE_DESTROYED) {
+                       continue;
                } else if (ret) {
                        fprintf(stderr, PFX "%s: Error polling CQ, status 
%d\n", __func__, ret);
                        if (!cqe_count)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/providers/mlx4/mlx4dv.h 
new/rdma-core-16.4.0.9cb939b92bea/providers/mlx4/mlx4dv.h
--- old/rdma-core-16.3.0.e77f84e38251/providers/mlx4/mlx4dv.h   2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/providers/mlx4/mlx4dv.h   2018-03-13 
15:28:10.000000000 +0100
@@ -37,6 +37,10 @@
 #include <endian.h>
 #include <infiniband/verbs.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Always inline the functions */
 #ifdef __GNUC__
 #define MLX4DV_ALWAYS_INLINE inline __attribute__((always_inline))
@@ -529,4 +533,9 @@
 int mlx4dv_set_context_attr(struct ibv_context *context,
                            enum mlx4dv_set_ctx_attr_type attr_type,
                            void *attr);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _MLX4DV_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rdma-core-16.3.0.e77f84e38251/providers/mlx5/mlx5dv.h 
new/rdma-core-16.4.0.9cb939b92bea/providers/mlx5/mlx5dv.h
--- old/rdma-core-16.3.0.e77f84e38251/providers/mlx5/mlx5dv.h   2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/providers/mlx5/mlx5dv.h   2018-03-13 
15:28:10.000000000 +0100
@@ -46,6 +46,10 @@
 #include <infiniband/verbs.h>
 #include <infiniband/tm_types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Always inline the functions */
 #ifdef __GNUC__
 #define MLX5DV_ALWAYS_INLINE inline __attribute__((always_inline))
@@ -787,4 +791,9 @@
 int mlx5dv_set_context_attr(struct ibv_context *context,
                enum mlx5dv_set_ctx_attr_type type, void *attr);
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _MLX5DV_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/providers/mlx5/verbs.c 
new/rdma-core-16.4.0.9cb939b92bea/providers/mlx5/verbs.c
--- old/rdma-core-16.3.0.e77f84e38251/providers/mlx5/verbs.c    2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/providers/mlx5/verbs.c    2018-03-13 
15:28:10.000000000 +0100
@@ -1170,7 +1170,7 @@
 
        return 0;
 rq_buf:
-       mlx5_free_actual_buf(to_mctx(qp->verbs_qp.qp.context), &qp->buf);
+       mlx5_free_actual_buf(to_mctx(context), &qp->buf);
 ex_wrid:
        if (qp->rq.wrid)
                free(qp->rq.wrid);
@@ -1186,10 +1186,8 @@
        return err;
 }
 
-static void mlx5_free_qp_buf(struct mlx5_qp *qp)
+static void mlx5_free_qp_buf(struct mlx5_context *ctx, struct mlx5_qp *qp)
 {
-       struct mlx5_context *ctx = to_mctx(qp->ibv_qp->context);
-
        mlx5_free_actual_buf(ctx, &qp->buf);
 
        if (qp->sq_buf.buf)
@@ -1503,7 +1501,7 @@
        mlx5_free_db(to_mctx(context), qp->db);
 
 err_free_qp_buf:
-       mlx5_free_qp_buf(qp);
+       mlx5_free_qp_buf(ctx, qp);
 
 err:
        free(qp);
@@ -1614,7 +1612,7 @@
                mlx5_clear_uidx(ctx, qp->rsc.rsn);
 
        mlx5_free_db(ctx, qp->db);
-       mlx5_free_qp_buf(qp);
+       mlx5_free_qp_buf(ctx, qp);
 free:
        free(qp);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/redhat/rdma-core.spec 
new/rdma-core-16.4.0.9cb939b92bea/redhat/rdma-core.spec
--- old/rdma-core-16.3.0.e77f84e38251/redhat/rdma-core.spec     2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/redhat/rdma-core.spec     2018-03-13 
15:28:10.000000000 +0100
@@ -1,5 +1,5 @@
 Name: rdma-core
-Version: 16.3
+Version: 16.4
 Release: 1%{?dist}
 Summary: RDMA core userspace libraries and daemons
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rdma-core-16.3.0.e77f84e38251/suse/rdma-core.spec 
new/rdma-core-16.4.0.9cb939b92bea/suse/rdma-core.spec
--- old/rdma-core-16.3.0.e77f84e38251/suse/rdma-core.spec       2018-02-21 
08:56:00.000000000 +0100
+++ new/rdma-core-16.4.0.9cb939b92bea/suse/rdma-core.spec       2018-03-13 
15:28:10.000000000 +0100
@@ -19,7 +19,7 @@
 %bcond_without  systemd
 %define         git_ver %{nil}
 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


Reply via email to