From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id BF5417EF8 for ; Thu, 9 Oct 2014 21:00:03 +0200 (CEST) Received: by mail-wi0-f177.google.com with SMTP id fb4so2774454wid.16 for ; Thu, 09 Oct 2014 12:07:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=30SiGCu0XxS/b9wMLkX/1Wf2mwqqBrY3o5fV5XlWlbo=; b=OZPHFVomYOf40yHhYkctE8y/9kJoJCiacHyf07goBwfpxojHPmpOqhU4LLj7ppmbhb 8tWqSWf2mRKBrtzXrMqJGikFgiBBe1jx2SDh4trELCsr6YH8h2KUF2GJXNI5w7hHzWWC avVUQF3ngWsWFnsfBWNr/KnDby5pwNZhQasKp60y7Fe8ZaLqvoWsR780ztoLThtAg8H+ +3DOTjiWP0SN5yAl7g+Gze+WI0XIxuQeTa5fGygC53+0m7Ip0VwdoN2IsRLFdx9+ReN7 ttmqEHev9VvrWMwEh7oB6fh0zBsOnhCocswVWzO/p9uiG+n44wUhghKxLfV1mg2a4hz3 juuw== X-Gm-Message-State: ALoCoQnv53pKJt3oIH4bAYudyFSAHjPIXTTjYeU+9RWJ0lflbus6RblLce+qvJvVK/dw4flt3pKv X-Received: by 10.180.182.72 with SMTP id ec8mr5433962wic.33.1412881646784; Thu, 09 Oct 2014 12:07:26 -0700 (PDT) Received: from xps13.localnet (15.21.90.92.rev.sfr.net. [92.90.21.15]) by mx.google.com with ESMTPSA id j8sm129273wib.10.2014.10.09.12.07.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Oct 2014 12:07:25 -0700 (PDT) From: Thomas Monjalon To: "Harris, James R" Date: Thu, 09 Oct 2014 21:07:07 +0200 Message-ID: <10868903.0241Z09Qvz@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: References: <20141001220021.19571.38617.stgit@jrharri1-fbsd.ch.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] i40e: fix i40e_reset_tx_queue cmd_type_offset_bsz init 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: Thu, 09 Oct 2014 19:00:03 -0000 > > Fix the descriptor initialization loop, so that it initializes the > > i40e_tx_desc::cmd_type_offset_bsz for the correct index into the tx_ring array. > > > > Previously it would use the index once to initialize the txd local variable, then > > again when setting cmd_type_offset_bsz. > > > > Signed-off-by: Jim Harris > > Acked-by: Helin Zhang > > Thanks to James for the good catch! Applied Thanks -- Thomas