From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qiming Yang Subject: [PATCH v2 0/5] example/ethtool: add bus info and fw version get Date: Tue, 6 Dec 2016 15:16:17 +0800 Message-ID: <1481008582-69416-1-git-send-email-qiming.yang@intel.com> References: <1479375779-46629-2-git-send-email-qiming.yang@intel.com> Cc: Qiming Yang To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E23FB2A66 for ; Tue, 6 Dec 2016 08:21:16 +0100 (CET) In-Reply-To: <1479375779-46629-2-git-send-email-qiming.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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