From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v5 1/6] reorder: new reorder library Date: Thu, 19 Feb 2015 10:20:57 +0100 Message-ID: <54E5AAF9.9010705@6wind.com> References: <1423660055-23920-1-git-send-email-sergio.gonzalez.monroy@intel.com> <1424271498-23583-1-git-send-email-sergio.gonzalez.monroy@intel.com> <1424271498-23583-2-git-send-email-sergio.gonzalez.monroy@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Sergio Gonzalez Monroy , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1424271498-23583-2-git-send-email-sergio.gonzalez.monroy-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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" Hi Sergio, On 02/18/2015 03:58 PM, Sergio Gonzalez Monroy wrote: > This library provides reordering capability for out of order mbufs based > on a sequence number in the mbuf structure. > > Signed-off-by: Reshma Pattan > Signed-off-by: Richardson Bruce > Signed-off-by: Sergio Gonzalez Monroy > > [...] > > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -289,6 +289,9 @@ struct rte_mbuf { > uint32_t usr; /**< User defined tags. See @rte_distributor_process */ > } hash; /**< hash information */ > > + /* sequence number - field used in distributor and reorder library */ > + uint32_t seqn; > + > /* second cache line - fields only used in slow path or on TX */ > MARKER cacheline1 __rte_cache_aligned; > Just one small comment about rte_mbuf: the comment should be in doxygen style. Regards, Olivier