Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package google-guest-configs for 
openSUSE:Factory checked in at 2026-07-14 13:48:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-configs (Old)
 and      /work/SRC/openSUSE:Factory/.google-guest-configs.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-guest-configs"

Tue Jul 14 13:48:42 2026 rev:43 rq:1365367 version:20260707.00

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/google-guest-configs/google-guest-configs.changes    
    2026-05-04 17:24:42.431377614 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-guest-configs.new.1991/google-guest-configs.changes
      2026-07-14 13:49:17.569668019 +0200
@@ -1,0 +2,12 @@
+Thu Jul  9 13:48:03 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 20260707.00
+  * add nic naming support for CX-9 with VR200
+- from version 20260623.00
+  * Avoid eval in google-dhclient-script
+- from version 20260617.00
+  * Enable SR-IOV for specific Intel PCI devices.
+- from version 20260521.00
+  * Set max queue count for IDPF devices; remove broken virtio logic
+
+-------------------------------------------------------------------

Old:
----
  google-guest-configs-20260428.00.tar.gz

New:
----
  google-guest-configs-20260707.00.tar.gz

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

Other differences:
------------------
++++++ google-guest-configs.spec ++++++
--- /var/tmp/diff_new_pack.WxPK6S/_old  2026-07-14 13:49:18.301693045 +0200
+++ /var/tmp/diff_new_pack.WxPK6S/_new  2026-07-14 13:49:18.305693182 +0200
@@ -23,7 +23,7 @@
 %define _udevdir %(pkg-config --variable udev_dir udev)
 %endif
 Name:           google-guest-configs
-Version:        20260428.00
+Version:        20260707.00
 Release:        0
 Summary:        Google Cloud Guest Configs
 License:        Apache-2.0

++++++ google-guest-configs-20260428.00.tar.gz -> 
google-guest-configs-20260707.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-configs-20260428.00/src/lib/udev/rules.d/75-gce-network.rules 
new/guest-configs-20260707.00/src/lib/udev/rules.d/75-gce-network.rules
--- old/guest-configs-20260428.00/src/lib/udev/rules.d/75-gce-network.rules     
2026-04-28 02:33:43.000000000 +0200
+++ new/guest-configs-20260707.00/src/lib/udev/rules.d/75-gce-network.rules     
2026-07-07 02:57:15.000000000 +0200
@@ -14,6 +14,11 @@
 # Must import here to make ID_NET_NAME_PATH available to program
 IMPORT{builtin}="net_id"
 
+SUBSYSTEM=="pci", ENV{PCI_ID}=="8086:1452", TAG+="enable_sriov"
+
+# Enable max number of VFs for all 'enable_sriov' tagged devices.
+TAG=="enable_sriov", TEST=="sriov_numvfs", 
ATTR{sriov_numvfs}="$attr{sriov_totalvfs}"
+
 # Rule to rename Mellanox devices
 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="mlx5_core", 
PROGRAM="/usr/bin/gce-nic-naming", NAME="%c"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-configs-20260428.00/src/sbin/google-dhclient-script 
new/guest-configs-20260707.00/src/sbin/google-dhclient-script
--- old/guest-configs-20260428.00/src/sbin/google-dhclient-script       
2026-04-28 02:33:43.000000000 +0200
+++ new/guest-configs-20260707.00/src/sbin/google-dhclient-script       
2026-07-07 02:57:15.000000000 +0200
@@ -58,12 +58,15 @@
     if need_hostname; then
         status=1
         if [ -n "${new_ip_address}" ]; then
-            eval $(/bin/ipcalc --silent --hostname ${new_ip_address} ; echo 
"status=$?")
+            ipcalc_output=$(/bin/ipcalc --silent --hostname 
"${new_ip_address}")
+            status=$?
         elif [ -n "${new_ip6_address}" ]; then
-            eval $(/bin/ipcalc --silent --hostname ${new_ip6_address} ; echo 
"status=$?")
+            ipcalc_output=$(/bin/ipcalc --silent --hostname 
"${new_ip6_address}")
+            status=$?
         fi
 
-        if [ ${status} -eq 0 ]; then
+        if [ ${status} -eq 0 ] && [[ "${ipcalc_output}" = HOSTNAME=* ]]; then
+            HOSTNAME="${ipcalc_output#HOSTNAME=}"
             domain=$(echo $HOSTNAME | cut -s -d "." -f 2-)
         fi
     else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guest-configs-20260428.00/src/usr/bin/gce-nic-naming 
new/guest-configs-20260707.00/src/usr/bin/gce-nic-naming
--- old/guest-configs-20260428.00/src/usr/bin/gce-nic-naming    2026-04-28 
02:33:43.000000000 +0200
+++ new/guest-configs-20260707.00/src/usr/bin/gce-nic-naming    2026-07-07 
02:57:15.000000000 +0200
@@ -31,13 +31,15 @@
 readonly IRDMA_DEVICES_VENDORS=('8086:145c')
 # 0x15b3:0x101e is the vendor and device ID for Mellanox CX7
 # 0x15b3:0x1023 is the vendor and device ID for Mellanox CX8
-readonly GPU_NIC_DEVICES_VENDORS=('15b3:101e' '15b3:1023')
+# 0x15b3:0x1025 is the vendor and device ID for Mellanox CX9
+readonly GPU_NIC_DEVICES_VENDORS=('15b3:101e' '15b3:1023' '15b3:1025')
 # 0x10de:0x2330 is the vendor and device ID for Nvidia H100 -> A3 (not using 
this script)
 # 0x10de:0x2335 is the vendor and device ID for Nvidia H200 -> A3U
 # 0x10de:0x2901 is the vendor and device ID for Nvidia B200 -> A4
 # 0x10de:0x2941 is the vendor and device ID for Nvidia GB200 -> A4X
 # 0x10de:0x31c2 is the vendor and device ID for Nvidia GB300 -> A4X Metal
-readonly GPU_DEVICES_VENDORS=('10de:2330' '10de:2335' '10de:2901' '10de:2941' 
'10de:31c2')
+# 0x10de:0x3041 is the vendor and device ID for Nvidia VR200 -> A5X
+readonly GPU_DEVICES_VENDORS=('10de:2330' '10de:2335' '10de:2901' '10de:2941' 
'10de:31c2' '10de:3041')
 # PCI BUS ID path is in the format of 0000:00:04.0
 readonly PCI_ID_REGEX='[0-9a-fA-F]+:[0-9a-fA-F]+:[0-9a-fA-F]+\.[0-9a-fA-F]+'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-configs-20260428.00/src/usr/bin/google_set_multiqueue 
new/guest-configs-20260707.00/src/usr/bin/google_set_multiqueue
--- old/guest-configs-20260428.00/src/usr/bin/google_set_multiqueue     
2026-04-28 02:33:43.000000000 +0200
+++ new/guest-configs-20260707.00/src/usr/bin/google_set_multiqueue     
2026-07-07 02:57:15.000000000 +0200
@@ -396,6 +396,35 @@
   done
 }
 
+# Enable max supported queue count for IDPF devices.
+function set_idpf_queue_counts() {
+  if [ ! -x "$(command -v ethtool)" ]; then
+    echo "ethtool not found: unable to configure device queue counts"
+    return
+  fi
+
+  for eth_dev in $(get_pci_network_interfaces); do
+    if ! is_idpf "$eth_dev"; then
+      continue
+    fi
+    if ! errormsg=$(ethtool -l "$eth_dev" 2>&1); then
+      echo "\`ethtool -l\` failed for $eth_dev: $errormsg."
+      continue
+    fi
+    num_max_channels=$(ethtool -l "$eth_dev" | grep -m 1 Combined | awk 
'{print $NF}')
+    if [[ -z "${num_max_channels}" || "${num_max_channels}" -eq "1" ]]; then
+      echo "num_max_channels is n/a, skipping set channels for $eth_dev"
+      continue
+    fi
+    if ! is_decimal_int "$num_max_channels"; then
+      echo "Could not set channels for $eth_dev to $num_max_channels."
+      continue
+    fi
+    set_channels "$eth_dev" "$num_max_channels"
+    echo "Set channels for $eth_dev to $num_max_channels."
+  done
+}
+
 # Special features only for x4.
 function apply_x4_configs() {
   echo "Configuring special features for x4."
@@ -440,32 +469,7 @@
 is_multinic_accelerator_platform
 IS_MULTINIC_ACCELERATOR_PLATFORM=$?
 
-# Loop through all the virtionet devices and enable multi-queue
-if [ -x "$(command -v ethtool)" ]; then
-  for dev in $VIRTIO_NET_DEVS; do
-    ETH_DEVS=${dev}/net/*
-    for eth_dev in $ETH_DEVS; do
-      eth_dev=$(basename "$eth_dev")
-      if ! errormsg=$(ethtool -l "$eth_dev" 2>&1); then
-        echo "ethtool says that $eth_dev does not support virtionet 
multiqueue: $errormsg."
-        continue
-      fi
-      num_max_channels=$(ethtool -l "$eth_dev" | grep -m 1 Combined | cut -f2)
-      if [[ -n "${num_max_channels}" || "${num_max_channels}" -eq "1" ]]; then
-        echo "num_max_channels is n/a, skipping set channels for $eth_dev"
-        continue
-      fi
-      if is_decimal_int "$num_max_channels" && \
-        set_channels "$eth_dev" "$num_max_channels"; then
-        echo "Set channels for $eth_dev to $num_max_channels."
-      else
-        echo "Could not set channels for $eth_dev to $num_max_channels."
-      fi
-    done
-  done
-else
-  echo "ethtool not found: cannot configure virtionet multiqueue."
-fi
+set_idpf_queue_counts
 
 for dev in $VIRTIO_NET_DEVS
 do

Reply via email to