From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 05 Dec 2016 23:21:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,751,1477983600"; d="scan'208";a="1068469736" Received: from unknown (HELO dpdk7.bj.intel.com) ([172.16.182.76]) by orsmga001.jf.intel.com with ESMTP; 05 Dec 2016 23:21:14 -0800 From: Qiming Yang To: dev@dpdk.org Cc: Qiming Yang Date: Tue, 6 Dec 2016 15:16:17 +0800 Message-Id: <1481008582-69416-1-git-send-email-qiming.yang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479375779-46629-2-git-send-email-qiming.yang@intel.com> References: <1479375779-46629-2-git-send-email-qiming.yang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/5] example/ethtool: add bus info and fw version get X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 07:21:17 -0000 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