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.y...@intel.com> Acked-by: Remy Horton <remy.hor...@intel.com> --- v4 changes: * split bus info print from patch set ethdev: add firmware version get --- --- examples/ethtool/ethtool-app/ethapp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ethtool/ethtool-app/ethapp.c b/examples/ethtool/ethtool-app/ethapp.c index 85c31ac..35269ea 100644 --- a/examples/ethtool/ethtool-app/ethapp.c +++ b/examples/ethtool/ethtool-app/ethapp.c @@ -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); } } -- 2.7.4