mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
dbginfo.sh: enhance ethtool collection for ROCE
collect module-info for new ROCE cards via ethtool Suggested-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Joern Siglen <siglen@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
488ac8c3f2
commit
d9034b01f1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user