examples/ethtool: display bus information
This patch enhances the ethtool example to support to show bus information, in the same way that the Linux kernel ethtool does. Signed-off-by: Qiming Yang <qiming.yang@intel.com> Acked-by: Remy Horton <remy.horton@intel.com>
This commit is contained in:
parent
3b780b9e9e
commit
20541112a9
@ -186,6 +186,7 @@ pcmd_drvinfo_callback(__rte_unused void *ptr_params,
|
||||
id_port, info.driver, info.version
|
||||
);
|
||||
printf("firmware-version: %s\n", info.fw_version);
|
||||
printf("bus-info: %s\n", info.bus_info);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user