From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq1Qv-0004DV-7P for qemu-devel@nongnu.org; Sat, 24 Oct 2015 12:12:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zq1Qr-0004Y1-Qw for qemu-devel@nongnu.org; Sat, 24 Oct 2015 12:12:41 -0400 Received: from mga09.intel.com ([134.134.136.24]:42339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq1Qr-0004Xo-Kf for qemu-devel@nongnu.org; Sat, 24 Oct 2015 12:12:37 -0400 Message-ID: <562BADE7.4010105@intel.com> Date: Sun, 25 Oct 2015 00:12:23 +0800 From: "Lan, Tianyu" MIME-Version: 1.0 References: <1445445464-5056-1-git-send-email-tianyu.lan@intel.com> <1445445464-5056-9-git-send-email-tianyu.lan@intel.com> <56280050.9020301@gmail.com> In-Reply-To: <56280050.9020301@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Duyck , bhelgaas@google.com, carolyn.wyborny@intel.com, donald.c.skidmore@intel.com, eddie.dong@intel.com, nrupal.jani@intel.com, yang.z.zhang@intel.com, agraf@suse.de, kvm@vger.kernel.org, pbonzini@redhat.com, qemu-devel@nongnu.org, emil.s.tantilov@intel.com, intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com, jesse.brandeburg@intel.com, john.ronciak@intel.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, matthew.vick@intel.com, mitch.a.williams@intel.com, netdev@vger.kernel.org, shannon.nelson@intel.com On 10/22/2015 5:14 AM, Alexander Duyck wrote: > Where is i being initialized? It was here but you removed it. Are you > using i without initializing it? Sorry, the initialization was put into patch 10 by mistake. "i" is assigned with "tx_ring->next_to_clean".