Now, the example ethtool can only show the driver information. From customers' point of view, it should be better if we can have the same way that the Linux kernel ethtool does to show the bus-info and firmware-version.
These five patches add a new API to fetch firmware version and implement the display in example ethtool. Qiming Yang (5): ethdev: add firmware version get net/e1000: add firmware version get net/ixgbe: add firmware version get net/i40e: add firmware version get ethtool: dispaly bus info and firmware version drivers/net/e1000/igb_ethdev.c | 46 ++++++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.c | 15 +++++++++++ drivers/net/ixgbe/ixgbe_ethdev.c | 18 +++++++++++++ examples/ethtool/ethtool-app/ethapp.c | 2 ++ examples/ethtool/lib/rte_ethtool.c | 3 +++ lib/librte_ether/rte_ethdev.c | 12 +++++++++ lib/librte_ether/rte_ethdev.h | 18 +++++++++++++ lib/librte_ether/rte_ether_version.map | 7 ++++++ 8 files changed, 121 insertions(+) -- 2.7.4