From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 906732B8C for ; Thu, 9 Mar 2017 18:16:48 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2017 09:16:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,136,1486454400"; d="scan'208";a="1120548907" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.255.86.60]) ([10.255.86.60]) by fmsmga001.fm.intel.com with ESMTP; 09 Mar 2017 09:16:44 -0800 To: "Ido Barnea (ibarnea)" , "dev@dpdk.org" References: <20170307141824.69411-1-ibarnea@cisco.com> <2C3EBBD2-41D9-4E03-B53A-2EF140C3B15D@cisco.com> Cc: "helin.zhang@intel.com" , "konstantin.ananyev@intel.com" From: Ferruh Yigit Message-ID: Date: Thu, 9 Mar 2017 17:16:43 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: Put correct id values in ixgbevf_dev_xstats_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: Thu, 09 Mar 2017 17:16:49 -0000 On 3/9/2017 4:46 PM, Ferruh Yigit wrote: > 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 Applied to dpdk-next-net/master, thanks.