From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: fix i40e_reset_tx_queue cmd_type_offset_bsz init Date: Thu, 09 Oct 2014 21:07:07 +0200 Message-ID: <10868903.0241Z09Qvz@xps13> References: <20141001220021.19571.38617.stgit@jrharri1-fbsd.ch.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Harris, James R" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > 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