From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4AEFC95A4 for ; Wed, 21 Oct 2015 15:02:10 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 21 Oct 2015 06:01:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,712,1437462000"; d="scan'208";a="585308325" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.221.27]) ([10.237.221.27]) by FMSMGA003.fm.intel.com with ESMTP; 21 Oct 2015 06:01:39 -0700 From: Sergio Gonzalez Monroy To: Reshma Pattan References: <1445424644-9910-1-git-send-email-reshma.pattan@intel.com> <1445424644-9910-2-git-send-email-reshma.pattan@intel.com> Message-ID: <56278CB2.4090504@intel.com> Date: Wed, 21 Oct 2015 14:01:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445424644-9910-2-git-send-email-reshma.pattan@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] app/test: fix reorder library unit test 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: Wed, 21 Oct 2015 13:02:11 -0000 On 21/10/2015 11:50, Reshma Pattan wrote: > The reorder library unit test was performed under the assumption that the start > sequence number was always 0. > This is not the case anymore as the start sequence number is initialized by the first > packet inserted into the reorder buffer. > > This patch updates the unit test to reflect the new behavior. > > Fixes: 7e1fa1de8a53 ("reorder: allow random number as starting point") > > Signed-off-by: Reshma Pattan > > --- > Version 2: > split patch for unit test only > update commit message > > app/test/test_reorder.c | 75 ++++++++++++++++++++++++----------------------- > 1 files changed, 38 insertions(+), 37 deletions(-) > > Acked-by: Sergio Gonzalez Monroy