From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2 1/5] ethdev: add firmware version get Date: Thu, 8 Dec 2016 11:07:12 +0000 Message-ID: <4177103b-21af-403c-ad3f-6ab1fac94903@intel.com> References: <1479375779-46629-2-git-send-email-qiming.yang@intel.com> <1481008582-69416-1-git-send-email-qiming.yang@intel.com> <1481008582-69416-2-git-send-email-qiming.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: Thomas Monjalon To: Qiming Yang , dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7C5173DC for ; Thu, 8 Dec 2016 12:07:15 +0100 (CET) In-Reply-To: <1481008582-69416-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" Hi Qiming, On 12/6/2016 7:16 AM, Qiming Yang wrote: > This patch adds a new API 'rte_eth_dev_fwver_get' for fetching firmware > version by a given device. > > Signed-off-by: Qiming Yang <...> > @@ -1444,6 +1448,7 @@ struct eth_dev_ops { > /**< Get names of extended statistics. */ > eth_queue_stats_mapping_set_t queue_stats_mapping_set; > /**< Configure per queue stat counter mapping. */ > + eth_fw_version_get_t fw_version_get; /**< Get firmware version. */ Hi Qiming, Not sure if I am missing something but this change is for following [1] deprecation notice, right? If so, notice suggest updating rte_eth_dev_info_get() to include fw_version, but this patch adds a new eth_dev_ops. Is it agreed to add a new eth_dev_ops for this? [1] * In 17.02 ABI change is planned: the ``rte_eth_dev_info`` structure will be extended with a new member ``fw_version`` in order to store the NIC firmware version. > eth_dev_infos_get_t dev_infos_get; /**< Get device info. */ > eth_dev_supported_ptypes_get_t dev_supported_ptypes_get; > /**< Get packet types supported and identified by device*/ <...>