Hello community,

here is the log from the commit of package libvma for openSUSE:Factory checked 
in at 2020-10-07 14:20:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvma (Old)
 and      /work/SRC/openSUSE:Factory/.libvma.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvma"

Wed Oct  7 14:20:05 2020 rev:8 rq:839967 version:9.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvma/libvma.changes    2020-06-05 
20:28:12.193168136 +0200
+++ /work/SRC/openSUSE:Factory/.libvma.new.4249/libvma.changes  2020-10-07 
14:20:18.117572314 +0200
@@ -1,0 +2,7 @@
+Wed Sep 23 07:47:30 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Update to 9.1.2 (jsc#SLE-15165)
+  * No short release notes available.
+    See journal.txt for a complete list
+
+-------------------------------------------------------------------

Old:
----
  libvma-9.1.0.0.6a69f4613bb3.tar.gz

New:
----
  libvma-9.1.2.0.0ed40128ffc0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libvma.spec ++++++
--- /var/tmp/diff_new_pack.m2JIxP/_old  2020-10-07 14:20:18.981573001 +0200
+++ /var/tmp/diff_new_pack.m2JIxP/_new  2020-10-07 14:20:18.981573001 +0200
@@ -17,14 +17,14 @@
 
 
 #
-%define git_ver .0.6a69f4613bb3
+%define git_ver .0.0ed40128ffc0
 %define lib_major 9
 
 Name:           libvma
 Summary:        A library for boosting TCP and UDP traffic (over RDMA hardware)
 License:        GPL-2.0-only OR BSD-2-Clause
 Group:          Development/Libraries/C and C++
-Version:        9.1.0
+Version:        9.1.2
 Release:        0
 Source0:        %{name}-%{version}%{git_ver}.tar.gz
 Source1:        vma.service

++++++ _service ++++++
--- /var/tmp/diff_new_pack.m2JIxP/_old  2020-10-07 14:20:19.021573033 +0200
+++ /var/tmp/diff_new_pack.m2JIxP/_new  2020-10-07 14:20:19.021573033 +0200
@@ -6,7 +6,7 @@
     <param name="exclude">.git</param>
     <param name="filename">libvma</param>
     <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
-    <param name="revision">6a69f4613bb3c5dc840367fc17fce2fb20636246</param>
+    <param name="revision">0ed40128ffc08626300fe6e6ee80ace632b75cf4</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">libvma*.tar</param>

++++++ libvma-9.1.0.0.6a69f4613bb3.tar.gz -> libvma-9.1.2.0.0ed40128ffc0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/README.txt 
new/libvma-9.1.2.0.0ed40128ffc0/README.txt
--- old/libvma-9.1.0.0.6a69f4613bb3/README.txt  2020-06-03 12:27:52.000000000 
+0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/README.txt  2020-08-28 17:46:59.000000000 
+0200
@@ -1068,23 +1068,6 @@
 In order to fix it - set VMA_TRACELEVEL to it's default value: 3
 
 
-* Ethernet RAW_PACKET_QP limited to privilege users
-
- VMA WARNING: 
******************************************************************************
- VMA WARNING: * Verbs RAW_PACKET QP type creation is limited for root user 
access          *
- VMA WARNING: * Working in this mode might causes VMA malfunction over 
Ethernet interfaces *
- VMA WARNING: * WARNING: the following steps will restart your network 
interface!          *
- VMA WARNING: * 1. "echo options ib_uverbs disable_raw_qp_enforcement=1 > 
/etc/modprobe.d/ib_uverbs.conf" *
- VMA WARNING: * 2. "/etc/init.d/openibd restart"                               
            *
- VMA WARNING: * Read the RAW_PACKET QP root access enforcement section in the 
VMA's User Manual for more information *
- VMA WARNING: 
******************************************************************************
-This warning message means that VMA tried to create a HW QP resource over Eth
-interface while the kernel requires this operation to be done only by 
privileged
-users. root can enable this for regular users as well by:
- 1. "echo options ib_uverbs disable_raw_qp_enforcement=1 > 
/etc/modprobe.d/ib_uverbs.conf"
- 2. Restart openibd or rdma service depending on your system configuration
-
-
 * CAP_NET_RAW and root access
 
 VMA_WARNING: 
******************************************************************************
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/configure.ac 
new/libvma-9.1.2.0.0ed40128ffc0/configure.ac
--- old/libvma-9.1.0.0.6a69f4613bb3/configure.ac        2020-06-03 
12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/configure.ac        2020-08-28 
17:46:59.000000000 +0200
@@ -14,7 +14,7 @@
 #
 define([vma_ver_major], 9)
 define([vma_ver_minor], 1)
-define([vma_ver_revision], 0)
+define([vma_ver_revision], 2)
 define([vma_ver_release], esyscmd([echo ${VMA_RELEASE:=0}]))
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/journal.txt 
new/libvma-9.1.2.0.0ed40128ffc0/journal.txt
--- old/libvma-9.1.0.0.6a69f4613bb3/journal.txt 2020-06-03 12:27:52.000000000 
+0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/journal.txt 2020-08-28 17:46:59.000000000 
+0200
@@ -1,3 +1,15 @@
+Version 9.1.2-0:
+Date + Time 2020-08-28
+=============================================================
+Fixed:
+        - RM #2269696 Provide ibv_pd for DPCP adapter
+
+Version 9.1.1-0:
+Date + Time 2020-07-09
+=============================================================
+Fixed:
+        - RM #2234519 Remove disable_raw_qp_enforcement option for rdma-core
+
 Version 9.1.0-0:
 Date + Time 2020-06-03
 =============================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvma-9.1.0.0.6a69f4613bb3/src/vma/dev/ib_ctx_handler.cpp 
new/libvma-9.1.2.0.0ed40128ffc0/src/vma/dev/ib_ctx_handler.cpp
--- old/libvma-9.1.0.0.6a69f4613bb3/src/vma/dev/ib_ctx_handler.cpp      
2020-06-03 12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/src/vma/dev/ib_ctx_handler.cpp      
2020-08-28 17:46:59.000000000 +0200
@@ -312,7 +312,7 @@
                                        goto err;
                                }
 
-                               adapter->set_pd(out_pd.pdn);
+                               adapter->set_pd(out_pd.pdn, pd);
                                status = adapter->open();
                                if (dpcp::DPCP_OK != status) {
                                        ibch_logerr("failed opening dpcp 
adapter %s got %d",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvma-9.1.0.0.6a69f4613bb3/src/vma/dev/net_device_val.cpp 
new/libvma-9.1.2.0.0ed40128ffc0/src/vma/dev/net_device_val.cpp
--- old/libvma-9.1.0.0.6a69f4613bb3/src/vma/dev/net_device_val.cpp      
2020-06-03 12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/src/vma/dev/net_device_val.cpp      
2020-08-28 17:46:59.000000000 +0200
@@ -1723,6 +1723,7 @@
                nd_logdbg("QP creation failed on interface %s (errno=%d %m), 
Traffic will not be offloaded", ifname, errno);
 qp_failure:
                int err = errno; //verify_raw_qp_privliges can overwrite errno 
so keep it before the call
+#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2)
                if (validate_raw_qp_privliges() == 0) {
                        // MLNX_OFED raw_qp_privliges file exist with bad value
                        
vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n");
@@ -1733,8 +1734,9 @@
                        vlog_printf(VLOG_WARNING,"* 2. Restart openibd or rdma 
service depending on your system configuration\n");
                        vlog_printf(VLOG_WARNING,"* Read the RAW_PACKET QP root 
access enforcement section in the VMA's User Manual for more information\n");
                        
vlog_printf(VLOG_WARNING,"******************************************************************************************************\n");
-               }
-               else if (validate_user_has_cap_net_raw_privliges() == 0 || err 
== EPERM) {
+               } else
+#endif /* DEFINED_VERBS_VERSION */
+               if (validate_user_has_cap_net_raw_privliges() == 0 || err == 
EPERM) {
                        
vlog_printf(VLOG_WARNING,"*******************************************************************************************************\n");
                        vlog_printf(VLOG_WARNING,"* Interface %s will not be 
offloaded.\n", ifname);
                        vlog_printf(VLOG_WARNING,"* Offloaded resources are 
restricted to root or user with CAP_NET_RAW privileges\n");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/sys_vars.h 
new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/sys_vars.h
--- old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/sys_vars.h     2020-06-03 
12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/sys_vars.h     2020-08-28 
17:46:59.000000000 +0200
@@ -729,7 +729,9 @@
 #define L2_ADDR_FILE_FMT                                
"/sys/class/net/%.*s/address"
 #define L2_BR_ADDR_FILE_FMT                                   
"/sys/class/net/%.*s/broadcast"
 #define OPER_STATE_PARAM_FILE                          
"/sys/class/net/%s/operstate"
+#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2)
 #define RAW_QP_PRIVLIGES_PARAM_FILE                    
"/sys/module/ib_uverbs/parameters/disable_raw_qp_enforcement"
+#endif /* DEFINED_VERBS_VERSION */
 #define FLOW_STEERING_MGM_ENTRY_SIZE_PARAM_FILE                
"/sys/module/mlx4_core/parameters/log_num_mgm_entry_size"
 #define VIRTUAL_DEVICE_FOLDER                  "/sys/devices/virtual/net/%s/"
 #define BOND_DEVICE_FILE                               "/proc/net/bonding/%s"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/utils.cpp 
new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/utils.cpp
--- old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/utils.cpp      2020-06-03 
12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/utils.cpp      2020-08-28 
17:46:59.000000000 +0200
@@ -979,6 +979,7 @@
        }
 }
 
+#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2)
 //NOTE RAW_QP_PRIVLIGES_PARAM_FILE does not exist on upstream drivers
 int validate_raw_qp_privliges()
 {
@@ -992,6 +993,7 @@
        }
        return 1;
 }
+#endif /* DEFINED_VERBS_VERSION */
 
 bool validate_user_has_cap_net_raw_privliges()
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/utils.h 
new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/utils.h
--- old/libvma-9.1.0.0.6a69f4613bb3/src/vma/util/utils.h        2020-06-03 
12:27:52.000000000 +0200
+++ new/libvma-9.1.2.0.0ed40128ffc0/src/vma/util/utils.h        2020-08-28 
17:46:59.000000000 +0200
@@ -274,7 +274,9 @@
                const char prop_file[], const char *expected_val,
                int val_size, char *filename, char* base_ifname);
 
+#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 2)
 int validate_raw_qp_privliges();
+#endif /* DEFINED_VERBS_VERSION */
 
 bool validate_user_has_cap_net_raw_privliges();
 


Reply via email to