From d9034b01f1ddc69850a554d0077db34573560569 Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Wed, 25 Oct 2023 15:01:11 +0200 Subject: [PATCH] dbginfo.sh: enhance ethtool collection for ROCE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit collect module-info for new ROCE cards via ethtool Suggested-by: Niklas Schnelle Reviewed-by: Niklas Schnelle Signed-off-by: Joern Siglen Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 77abf3d5..e2163868 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -960,6 +960,8 @@ collect_ethtool() { "${OUTPUT_FILE_ETHTOOL}" call_run_command "ethtool -T ${network_device}" \ "${OUTPUT_FILE_ETHTOOL}" + call_run_command "ethtool --module-info ${network_device}" \ + "${OUTPUT_FILE_ETHTOOL}" done else pr_skip "ethtool: no devices"