From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 3/9] librte_ether: add new fields to rte_eth_dev_info struct Date: Mon, 23 May 2016 15:24:38 -0700 Message-ID: <20160523152438.674d3afe@xeon-e3> References: <1463503030-10318-1-git-send-email-reshma.pattan@intel.com> <1464039512-2683-1-git-send-email-reshma.pattan@intel.com> <1464039512-2683-4-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Reshma Pattan Return-path: Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 9ACAD568D for ; Tue, 24 May 2016 00:24:25 +0200 (CEST) Received: by mail-pf0-f172.google.com with SMTP id c189so70618038pfb.3 for ; Mon, 23 May 2016 15:24:25 -0700 (PDT) In-Reply-To: <1464039512-2683-4-git-send-email-reshma.pattan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 23 May 2016 22:38:26 +0100 Reshma Pattan wrote: > Add new fields to rte_eth_dev_info struct > New fields nb_rx_queues and nb_tx_queues are added to > rte_eth_dev_info structure. > Changes to API rte_eth_dev_info_get() are done to update > these new fields to rte_eth_dev_info object. > > Signed-off-by: Reshma Pattan This is an ABI break because rte_dev_info_get will clobber the the stack of the caller if the caller thinks dev_info is old size.