From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mZhbwTdWwQ8xhoBDB5eMWFnHxYYWv14b4YOnCNPqAoA=; b=FpULhWVsJ91IA0ue5zSstybq4l2xvvoLrWYnTHLihRBJyMzqMHdc1raSMdy2WEvxhP qRVPJOv/vDxXxypu7xOxlYViNwZC4zNx55LnNNPayhH/+BIIuufvdnbNzeyRv4kPSv5G K6FCu3m9P1Y8xd3YnG2YbfKLd4L18DLHJXWrXZ24tw2ERNrdtDByKFrgvTprG0W0TySc sZvk3dqVGlD2SLXXUw656+uLR6aMA9DJClCTiaxvVNsI0JiClTRYWPV2DFxlbc0v6GyA UHeGuRn7PTTk/L+XiQgwE6HgrB80TBAgXLv+IYpTO0o/OpG6nbuaTsJfrD/gEyoN9wHO gzmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mZhbwTdWwQ8xhoBDB5eMWFnHxYYWv14b4YOnCNPqAoA=; b=PwOfndF0pRW7/Eql5QVxEPlxOahrD8y+PZcmhk8o74lLU9lpIRHxT7c2EVCTEzp4DX 0h3FYe/7kCa8Ve45eFuhHOYSXuyhd1GPbZ4/WjO+X2r6ZZleUZGv1b+McD65nk8WsT7+ tTiEhMx6zwuRY/ViZrTxY59RvwSgRyHo1+KThBXJefWpDOuNoc6JkV75FJebKqKXF3dE Typ5xfohCjkCzgvbMtlvstsU231ud4RYfg0ONWgELHLob7170ssfCeqgIpIxtkHxVE3z o3S9mTAs6ng+iiXPsGLX6gAcABp1dXQv9nxT7i7HyKQx5VTcaxiWtLm0mVb6SpgjLqQZ xtVw== X-Gm-Message-State: ALyK8tK45dQ/4KcnjG5lCqCT+tSi5oHOkSZ9IagYUF6HKWmglvvO1R/sLPHPIl9GUYFrug== X-Received: by 10.98.28.84 with SMTP id c81mr1701747pfc.131.1464042264890; Mon, 23 May 2016 15:24:24 -0700 (PDT) Received: from xeon-e3 (static-50-53-72-186.bvtn.or.frontiernet.net. [50.53.72.186]) by smtp.gmail.com with ESMTPSA id vw1sm34744501pab.35.2016.05.23.15.24.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 May 2016 15:24:24 -0700 (PDT) Date: Mon, 23 May 2016 15:24:38 -0700 From: Stephen Hemminger To: Reshma Pattan Cc: dev@dpdk.org Message-ID: <20160523152438.674d3afe@xeon-e3> In-Reply-To: <1464039512-2683-4-git-send-email-reshma.pattan@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v4 3/9] librte_ether: add new fields to rte_eth_dev_info struct X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 22:24:26 -0000 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.