From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte_reorder: Allow sequence numbers > 0 as starting point Date: Mon, 22 Jun 2015 22:28:27 +0200 Message-ID: <21755715.incz8MYbcC@xps13> References: <20150520130205.03ed30be@miho> <556895D4.9000705@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Johan Faltstrom To: Simon Kagstrom Return-path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id CB2E7C778 for ; Mon, 22 Jun 2015 22:29:30 +0200 (CEST) Received: by wgqq4 with SMTP id q4so26177526wgq.1 for ; Mon, 22 Jun 2015 13:29:30 -0700 (PDT) In-Reply-To: <556895D4.9000705@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-05-29 17:37, Gonzalez Monroy, Sergio: > On 20/05/2015 12:02, Simon Kagstrom wrote: > > We use sequence numbers from a generator which has potentially started > > long before the receiver. Therefore, the first number will typically > > be > 0. The rte_reorder code will not work in this case, since the > > packet is seen as outside of the buffer. > > > > The patch instead records the first sequence number inserted as the > > starting point. > > > > Signed-off-by: Simon Kagstrom > > Signed-off-by: Johan Faltstrom > > Acked-by: Sergio Gonzalez Monroy Applied, thanks