[dpdk-dev] [PATCH v4] ethtool: dispaly bus information
Qiming Yang
qiming.yang at intel.com
Wed Jan 4 13:18:15 CET 2017
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 at intel.com>
Acked-by: Remy Horton <remy.horton at 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
More information about the dev
mailing list