]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev/net: update log message 37337/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 May 2025 16:46:37 +0000 (01:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 May 2025 13:07:04 +0000 (22:07 +0900)
src/udev/net/link-config.c

index d684f76982d5ee7334e0194e09788fa9edbbfc03..85a2d8490ab8d70e4a98641631769f945c132760 100644 (file)
@@ -905,17 +905,17 @@ static int link_apply_sr_iov_config(Link *link) {
 
         r = sr_iov_get_num_vfs(link->event->dev, &n);
         if (r < 0) {
-                log_link_warning_errno(link, r, "Failed to get the number of SR-IOV virtual functions, ignoring [SR-IOV] sections: %m");
+                log_link_warning_errno(link, r, "Failed to get the number of SR-IOV virtual functions, ignoring all [SR-IOV] sections: %m");
                 return 0;
         }
         if (n == 0) {
-                log_link_warning(link, "No SR-IOV virtual function exists, ignoring [SR-IOV] sections: %m");
+                log_link_warning(link, "No SR-IOV virtual function exists, ignoring all [SR-IOV] sections: %m");
                 return 0;
         }
 
         ORDERED_HASHMAP_FOREACH(sr_iov, link->config->sr_iov_by_section) {
                 if (sr_iov->vf >= n) {
-                        log_link_warning(link, "SR-IOV virtual function %"PRIu32" does not exist, ignoring.", sr_iov->vf);
+                        log_link_warning(link, "SR-IOV virtual function %"PRIu32" does not exist, ignoring [SR-IOV] section for the virtual function.", sr_iov->vf);
                         continue;
                 }