git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b780b9
)
examples/ethtool: display bus information
author
Qiming Yang
<qiming.yang@intel.com>
Wed, 4 Jan 2017 12:18:15 +0000
(20:18 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 9 Feb 2017 21:32:52 +0000
(22:32 +0100)
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>
examples/ethtool/ethtool-app/ethapp.c
patch
|
blob
|
history
diff --git
a/examples/ethtool/ethtool-app/ethapp.c
b/examples/ethtool/ethtool-app/ethapp.c
index
85c31ac
..
35269ea
100644
(file)
--- 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);
}
}