From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/ixgbe: Put correct id values in ixgbevf_dev_xstats_get Date: Thu, 9 Mar 2017 16:46:02 +0000 Message-ID: References: <20170307141824.69411-1-ibarnea@cisco.com> <2C3EBBD2-41D9-4E03-B53A-2EF140C3B15D@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "helin.zhang@intel.com" , "konstantin.ananyev@intel.com" To: "Ido Barnea (ibarnea)" , "dev@dpdk.org" Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id EBE02234 for ; Thu, 9 Mar 2017 17:46:06 +0100 (CET) In-Reply-To: <2C3EBBD2-41D9-4E03-B53A-2EF140C3B15D@cisco.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" On 3/7/2017 2:28 PM, Ido Barnea (ibarnea) wrote: > Without setting the id, calling xstats_get twice with same array causes memory corruption. > Also, if IXGBEVF_NB_XSTATS will be different than 1 in the future, this will cause issues. > > Signed-off-by: Ido Barnea Acked-by: Ferruh Yigit