Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2023-07-26 13:24:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and      /work/SRC/openSUSE:Factory/.ibsim.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibsim"

Wed Jul 26 13:24:10 2023 rev:16 rq:1100649 version:0.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes      2021-09-02 
23:20:52.256595082 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new.15225/ibsim.changes   2023-07-26 
13:25:18.404493132 +0200
@@ -1,0 +2,9 @@
+Tue Jul 25 12:45:18 UTC 2023 - Nicolas Morey <nicolas.mo...@suse.com>
+
+- Update to 0.12
+  - Increase LFT size to 48K
+  - Support NDR when parsing enhance ibnetdiscover
+  - Enable IsLinkSpeedNDRSupported bit in PortInfo
+  - Assume QDR speed when port speed is 0
+
+-------------------------------------------------------------------

Old:
----
  ibsim-0.11.0.4588897b0f42.tar.gz

New:
----
  ibsim-0.12.0.db9c0e46bf23.tar.gz

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

Other differences:
------------------
++++++ ibsim.spec ++++++
--- /var/tmp/diff_new_pack.vCqlns/_old  2023-07-26 13:25:19.708501001 +0200
+++ /var/tmp/diff_new_pack.vCqlns/_new  2023-07-26 13:25:19.776501411 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
 #
 
 
-%define git_ver .0.4588897b0f42
+%define git_ver .0.db9c0e46bf23
 
 Name:           ibsim
-Version:        0.11
+Version:        0.12
 Release:        0
 Summary:        InfiniBand fabric simulator for management
 License:        BSD-2-Clause OR GPL-2.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.vCqlns/_old  2023-07-26 13:25:20.112503440 +0200
+++ /var/tmp/diff_new_pack.vCqlns/_new  2023-07-26 13:25:20.148503656 +0200
@@ -8,7 +8,7 @@
     <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
     <param name="versionrewrite-pattern">ibsim-(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
-    <param name="revision">4588897b0f42369f05a08ba338d9e16183e09ee7</param>
+    <param name="revision">db9c0e46bf23802e92cea5c72b5eea6d9075169a</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*ibsim*.tar</param>

++++++ ibsim-0.11.0.4588897b0f42.tar.gz -> ibsim-0.12.0.db9c0e46bf23.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.11.0.4588897b0f42/ibsim/ibsim.c 
new/ibsim-0.12.0.db9c0e46bf23/ibsim/ibsim.c
--- old/ibsim-0.11.0.4588897b0f42/ibsim/ibsim.c 2021-06-27 14:06:23.000000000 
+0200
+++ new/ibsim-0.12.0.db9c0e46bf23/ibsim/ibsim.c 2022-10-31 16:04:51.000000000 
+0100
@@ -55,7 +55,7 @@
 #include <ibsim.h>
 #include "sim.h"
 
-#define IBSIM_VERSION "0.11"
+#define IBSIM_VERSION "0.12"
 
 #undef DEBUG
 #define PDEBUG if (parsedebug) IBWARN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.11.0.4588897b0f42/ibsim/sim.h 
new/ibsim-0.12.0.db9c0e46bf23/ibsim/sim.h
--- old/ibsim-0.11.0.4588897b0f42/ibsim/sim.h   2021-06-27 14:06:23.000000000 
+0200
+++ new/ibsim-0.12.0.db9c0e46bf23/ibsim/sim.h   2022-10-31 16:04:51.000000000 
+0100
@@ -43,7 +43,7 @@
 #define MAXNETPORTS    (MAXNETSWITCHS*36+MAXNETNODES*2)
 #define MAXNETALIASES  MAXNETPORTS
 
-#define MAXLINEARCAP   (30*1024)
+#define MAXLINEARCAP   (48*1024)
 #define MAXMCASTCAP    1024
 #define LASTBLOCK32    (MAXMCASTCAP/32-1)
 #define MCASTMASKSIZE    16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.11.0.4588897b0f42/ibsim/sim_net.c 
new/ibsim-0.12.0.db9c0e46bf23/ibsim/sim_net.c
--- old/ibsim-0.11.0.4588897b0f42/ibsim/sim_net.c       2021-06-27 
14:06:23.000000000 +0200
+++ new/ibsim-0.12.0.db9c0e46bf23/ibsim/sim_net.c       2022-10-31 
16:04:51.000000000 +0100
@@ -82,7 +82,7 @@
        0x14, 0x52, 0x00, 0x11, 0x10, 0x40, 0x00, 0x08,
        0x08, 0x03, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x01, 0x1F, 0x08, 0x00, 0x00, 0x00,
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x00, 0x00,
 };
 
 static const uint8_t swport[] = {
@@ -115,7 +115,7 @@
        0x12, 0x52, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
        0x08, 0x04, 0xFF, 0x10, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
+       0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
 };
 
 static const uint8_t hcaport_down[] = {
@@ -126,7 +126,7 @@
        0x11, 0x22, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
        0x08, 0x04, 0xE9, 0x10, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
+       0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
 };
 
 static const uint8_t switchinfo[] = {
@@ -424,9 +424,9 @@
 
 static int is_linkspeedext_valid(int speed)
 {
-       /* extended speed is none, FDR, EDR, HDR, or some combination */
-       if (speed < 0 || speed > 7) {
-               IBWARN("bad extended speed %d = should be between 0 to 7", 
speed);
+       /* extended speed is none, FDR, EDR, HDR, NDR, or some combination */
+       if (speed < 0 || speed > 15) {
+               IBWARN("bad extended speed %d = should be between 0 to 15", 
speed);
                return 0;
        }
        return 1;
@@ -577,9 +577,12 @@
                break;
        case 's':
                v = strtoul(val, NULL, 0);
-               if (!is_linkspeed_valid(v))
+               if (v && !is_linkspeed_valid(v))
                        return -1;
 
+               /* If 0, assume QDR */
+               v = v ? v : LINKSPEED_QDR;
+
                port->linkspeedena = v;
                DEBUG("port %p linkspeed enabled set to %d", port,
                      port->linkspeedena);

Reply via email to