From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=L3k2qqYaYOcsZdk8+mvUjH2kX6YcOto99PdpDVq5DWU=; b=KIPzFp4Rg9sNPJt2vIO7ggBduUtdaUhQ+ttMk+Zh2IEYiwziwjJlgoTCwuhiDVn1cY +1UV/pRubkRHpkulXCCdNwIqzTsYR55xc1rHAEQOvHM1LlorAhnFtgY0r3uZViVPXyhd tLxSanL1AH01TGb9jwaDvWCwQRgJjHrFrp8MIrzD0ReRo7zIHEvp/HIkSfraO+pydKqL ZnOye88qhWa2tkdCndnv11eVZ1sM2QjL+Zctw/tMYxvwGQ2FfXa9cHSCjNTLp1Mm5sgF oFISfDSRz19Pi+JPFubfnWK411eAP4LiyYHPze7kpszHTGCcD5zVdDquYAtvCi+eHll+ QHQg== X-Gm-Message-State: ALoCoQnkJuppkilds0WS9WGOmgCsjBSEi0vkNdsaWeGdZWfB+A37TaWBeXklSPXGHrxdSeGLMZbB X-Received: by 10.194.6.37 with SMTP id x5mr55834145wjx.73.1435004970432; Mon, 22 Jun 2015 13:29:30 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id q9sm18928408wiz.23.2015.06.22.13.29.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 13:29:29 -0700 (PDT) From: Thomas Monjalon To: Simon Kagstrom Date: Mon, 22 Jun 2015 22:28:27 +0200 Message-ID: <21755715.incz8MYbcC@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <556895D4.9000705@intel.com> References: <20150520130205.03ed30be@miho> <556895D4.9000705@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Johan Faltstrom Subject: Re: [dpdk-dev] [PATCH] rte_reorder: Allow sequence numbers > 0 as starting point 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: Mon, 22 Jun 2015 20:29:31 -0000 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