From 20541112a98ba7894ee14491ecb9d2a123abd60e Mon Sep 17 00:00:00 2001 From: Qiming Yang Date: Wed, 4 Jan 2017 20:18:15 +0800 Subject: [PATCH] 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 --- 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 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); } }