public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pve-manager] fix #7187: report: add ethtool output for physical interfaces
@ 2026-05-08 12:40 Erik Fastermann
  0 siblings, 0 replies; only message in thread
From: Erik Fastermann @ 2026-05-08 12:40 UTC (permalink / raw)
  To: pve-devel; +Cc: Erik Fastermann

Signed-off-by: Erik Fastermann <e.fastermann@proxmox.com>
---

 NOTE: A similar patch was applied to all products:
 pmg, pve, pbs, pdm.

 PVE/Report.pm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 29433d4a..b3a5c08c 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -3,6 +3,7 @@ package PVE::Report;
 use strict;
 use warnings;
 
+use PVE::IPRoute2;
 use PVE::Tools;
 
 # output the content of all the files of a directory
@@ -142,6 +143,14 @@ my $init_report_cmds = sub {
         },
     };
 
+    my $interfaces = PVE::IPRoute2::ip_link_details();
+
+    for my $iface (sort keys %{$interfaces}) {
+        if (PVE::IPRoute2::ip_link_is_physical($interfaces->{$iface})) {
+            push @{ $report_def->{network}->{cmds} }, "ethtool $iface";
+        }
+    }
+
     if (cmd_exists('zfs')) {
         push @{ $report_def->{volumes}->{cmds} },
             'zpool status',
-- 
2.47.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-08 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 12:40 [PATCH pve-manager] fix #7187: report: add ethtool output for physical interfaces Erik Fastermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal