From: Qiming Yang Date: Wed, 4 Jan 2017 12:18:15 +0000 (+0800) Subject: examples/ethtool: display bus information X-Git-Tag: spdx-start~4572 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=20541112a98ba7894ee14491ecb9d2a123abd60e;p=dpdk.git 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 Acked-by: Remy Horton --- diff --git a/examples/ethtool/ethtool-app/ethapp.c b/examples/ethtool/ethtool-app/ethapp.c index 85c31ac6e5..35269ea24e 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); } }