Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package smc-tools for openSUSE:Factory checked in at 2026-09-09 16:20:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smc-tools (Old) and /work/SRC/openSUSE:Factory/.smc-tools.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smc-tools" Wed Sep 9 16:20:34 2026 rev:21 rq:1376526 version:1.8.8 Changes: -------- --- /work/SRC/openSUSE:Factory/smc-tools/smc-tools.changes 2026-08-04 21:39:21.730541181 +0200 +++ /work/SRC/openSUSE:Factory/.smc-tools.new.1265/smc-tools.changes 2026-09-09 16:22:50.715264401 +0200 @@ -1,0 +2,8 @@ +Wed Sep 9 05:37:41 UTC 2026 - Nikolay Gueorguiev <[email protected]> + +- Upgrade smc-tools to version 1.8.8 + * Bug fixes: + - smc_rnics: reflect SW PNET ID applied via IB device name (mlx) + - smc_rnics: fix Integrated Network misidentified as Network Express + +------------------------------------------------------------------- Old: ---- smc-tools-1.8.7.tar.gz New: ---- smc-tools-1.8.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smc-tools.spec ++++++ --- /var/tmp/diff_new_pack.CmMpsA/_old 2026-09-09 16:22:51.388292529 +0200 +++ /var/tmp/diff_new_pack.CmMpsA/_new 2026-09-09 16:22:51.390292612 +0200 @@ -17,7 +17,7 @@ Name: smc-tools -Version: 1.8.7 +Version: 1.8.8 Release: 0 Summary: Shared Memory Communication via RDMA License: EPL-1.0 ++++++ smc-tools-1.8.7.tar.gz -> smc-tools-1.8.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/Makefile new/smc-tools-1.8.8/Makefile --- old/smc-tools-1.8.7/Makefile 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/Makefile 2026-08-19 10:45:36.000000000 +0200 @@ -9,7 +9,7 @@ # http://www.eclipse.org/legal/epl-v10.html # -SMC_TOOLS_RELEASE = 1.8.7 +SMC_TOOLS_RELEASE = 1.8.8 VER_MAJOR = $(shell echo $(SMC_TOOLS_RELEASE) | cut -d '.' -f 1) ARCHTYPE = $(shell uname -m) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/README.md new/smc-tools-1.8.8/README.md --- old/smc-tools-1.8.7/README.md 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/README.md 2026-08-19 10:45:36.000000000 +0200 @@ -39,6 +39,12 @@ Release History: ================ +* __v1.8.8 (2026-08-18)__ + + Bug fixes: + - `smc_rnics`: reflect SW PNET ID applied via IB device name (mlx) + - `smc_rnics`: fix Integrated Network misidentified as Network Express + * __v1.8.7 (2026-02-18)__ Bug fixes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smc_chk new/smc-tools-1.8.8/smc_chk --- old/smc-tools-1.8.7/smc_chk 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smc_chk 2026-08-19 10:45:36.000000000 +0200 @@ -2,7 +2,7 @@ # Copyright IBM Corp. 2021 -VERSION="1.8.7"; +VERSION="1.8.8"; function usage() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smc_dbg new/smc-tools-1.8.8/smc_dbg --- old/smc-tools-1.8.7/smc_dbg 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smc_dbg 2026-08-19 10:45:36.000000000 +0200 @@ -2,7 +2,7 @@ # Copyright IBM Corp. 2019 -VERSION="1.8.7"; +VERSION="1.8.8"; function usage() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smc_rnics new/smc-tools-1.8.8/smc_rnics --- old/smc-tools-1.8.7/smc_rnics 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smc_rnics 2026-08-19 10:45:36.000000000 +0200 @@ -2,7 +2,7 @@ # Copyright IBM Corp. 2018, 2022 -VERSION="1.8.7"; +VERSION="1.8.8"; function usage() { @@ -23,17 +23,17 @@ function print_header() { if [ $IBdev -eq 1 ] && [ $rawIDs -eq 1 ]; then - printf "FID Power PCI_ID PCHID Type PFT VFN IPrt PNET_ID IB-Dev\n"; - echo '----------------------------------------------------------------------------------------------------'; + printf "FID Power PCI_ID PCHID Type PFT VFN IPrt PNET_ID IB-Dev\n"; + echo '-------------------------------------------------------------------------------------------------------'; elif [ $IBdev -eq 1 ]; then - printf "FID Power PCI_ID PCHID Type PFT VF IPrt PNET_ID IB-Dev\n"; - echo '----------------------------------------------------------------------------------------------------'; + printf "FID Power PCI_ID PCHID Type PFT VF IPrt PNET_ID IB-Dev\n"; + echo '-------------------------------------------------------------------------------------------------------'; elif [ $rawIDs -eq 1 ]; then - printf "FID Power PCI_ID PCHID Type PFT VFN PPrt PNET_ID Net-Dev\n"; - echo '----------------------------------------------------------------------------------------------------' + printf "FID Power PCI_ID PCHID Type PFT VFN PPrt PNET_ID Net-Dev\n"; + echo '-------------------------------------------------------------------------------------------------------' else - printf "FID Power PCI_ID PCHID Type PFT VF PPrt PNET_ID Net-Dev\n"; - echo '----------------------------------------------------------------------------------------------------'; + printf "FID Power PCI_ID PCHID Type PFT VF PPrt PNET_ID Net-Dev\n"; + echo '-------------------------------------------------------------------------------------------------------'; fi } @@ -47,7 +47,9 @@ while read -r line; do read id iface dev prt <<< $line; - if [[ ("$iface" != "n/a" && "$iface" == "$int") || ("$dev" != "n/a" && "$dev" == "$addr") ]]; then + if [[ ("$iface" != "n/a" && "$iface" == "$int") || \ + ("$dev" != "n/a" && "$dev" == "$addr") || \ + ("$ibdev_name" != "n/a" && "$dev" == "$ibdev_name") ]]; then if [ "$prt" != "255" ] && [ "$prt" != "$iport" ]; then continue; fi @@ -86,10 +88,10 @@ function print_rnic() { if [ $rawIDs -eq 1 ]; then - printf "%4x %-5s %-12s %-4s %-15s %-4s %-3s %-4s %-17s %s\n" \ + printf "%4x %-5s %-12s %-4s %-18s %-4s %-3s %-4s %-17s %s\n" \ "$((16#$fid))" "$power" "$addr" "$pchid" "$dev_type" "$pft" "${vfn:+$((16#${vfn#0x}))}" "$port" "`get_pnet_from_port`" "$int"; else - printf "%4x %-5s %-12s %-4s %-15s %-4s %-3s %-4s %-17s %s\n" \ + printf "%4x %-5s %-12s %-4s %-18s %-4s %-3s %-4s %-17s %s\n" \ "$((16#$fid))" "$power" "$addr" "$pchid" "$dev_type" "$pft" "$vfn" "$port" "`get_pnet_from_port`" "$int"; fi (( printed++ )); @@ -162,7 +164,14 @@ "0x1004") dev_type="RoCE_Express"; multiport_f=1;; "0x1016") set_RoCE_dev_and_port "RoCE_Express2";; - "0x101e") set_by_firmware_lvl;; + "0x101e") # default to Network_Express + if [ "0x0127" = "$ssid" ]; then + set_RoCE_dev_and_port "Integrated_Network"; + elif [ "0x0002" = "$ssid" ]; then + set_RoCE_dev_and_port "Network_Express"; + else + set_by_firmware_lvl + fi;; *) set_RoCE_dev_and_port "Mlx_$id";; esac;; esac @@ -181,6 +190,7 @@ port="n/a"; addr=""; int=""; + ibdev_name=""; if [ $power -eq 0 ]; then # device not yet hotplugged if [ $all -ne 0 ]; then @@ -207,8 +217,15 @@ continue; fi cd /sys/bus/pci/devices/$addr; + # Get IB device name for this PCI device + if [ -d "infiniband" ]; then + ibdev_name="`ls -1 infiniband | head -1`"; + else + ibdev_name="n/a"; + fi id=`cat device`; vend=`cat vendor`; + ssid=`cat subsystem_device`; dev_type="${vend#0x}:${id#0x}"; pft=`cat pft`; vfn=`cat vfn`; @@ -225,7 +242,12 @@ "0x0a") set_by_firmware_lvl; set_RoCE_pft_and_vfn "$pft" "$vfn";; "0x0c" | \ - "0x0f") set_RoCE_dev_and_port "Network_Express"; + "0x0f") + if [ "0x0127" = "$ssid" ]; then + set_RoCE_dev_and_port "Integrated_Network"; + else + set_RoCE_dev_and_port "Network_Express"; + fi set_RoCE_pft_and_vfn "$pft" "$vfn";; *) # but if that fails go via the pci IDs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smc_rnics.8 new/smc-tools-1.8.8/smc_rnics.8 --- old/smc-tools-1.8.7/smc_rnics.8 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smc_rnics.8 2026-08-19 10:45:36.000000000 +0200 @@ -83,7 +83,22 @@ ISM devices. .SS "Type" -Device type in human readable form. See option +Device type in human readable form. Currently just a single device type is supported that actually is not an RDMA capabe network adapter: ISM. + +The following RDMA capable network adapters are supported: +.TS +box tab(|); +l | l. +Type|IBM Z Adapter Name += +Integrated_Network|IBM Integrated Network Adapter 100G +Network_Express|Network Express +RoCE_Express3|RoCE Express 3 +RoCE_Express2|RoCE Express 2 +RoCE_Express|RoCE Express +.TE + +See option .B -r to switch to display of PCI vendor and device instead. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smc_run new/smc-tools-1.8.8/smc_run --- old/smc-tools-1.8.7/smc_run 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smc_run 2026-08-19 10:45:36.000000000 +0200 @@ -10,7 +10,7 @@ # http://www.eclipse.org/legal/epl-v10.html # LIB_NAME="libsmc-preload.so" -VERSION="1.8.7"; +VERSION="1.8.8"; function usage() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.8.7/smctools_common.h new/smc-tools-1.8.8/smctools_common.h --- old/smc-tools-1.8.7/smctools_common.h 2026-02-18 09:01:02.000000000 +0100 +++ new/smc-tools-1.8.8/smctools_common.h 2026-08-19 10:45:36.000000000 +0200 @@ -19,7 +19,7 @@ #define STRINGIFY_1(x) #x #define STRINGIFY(x) STRINGIFY_1(x) -#define RELEASE_STRING "1.8.7" +#define RELEASE_STRING "1.8.8" #define PF_SMC 43
