From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id A966C2951 for ; Fri, 12 Jan 2018 18:10:06 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 319D02100D; Fri, 12 Jan 2018 12:10:06 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 12 Jan 2018 12:10:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=jsbNqdypaentrNWHoDzEKzJ/cY 4csOMnWxlRlv3RQno=; b=ay3d7B97RXb7mT6x/NCkx1lDuMWHHWxLBM1GvnQxfP SQR4Lo4AS3f/6tH80QKTvXmOwIs8RAVbGV6xsQKVxZf4NruV9W3HmG4Y0VeoHPJC vdKhSSk+MDLiH7gV8MdJ73Vs0UOTk/MVXbNx9C8vS7AoG2c/eKhU+ACVa492SLYY g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jsbNqd ypaentrNWHoDzEKzJ/cY4csOMnWxlRlv3RQno=; b=UU8/SVx2nTyrzCjvH4hJ6M IVdDHnDpS/T4JceG7Z6VNrP47q8aSHUGclsK77V+ztK9+kcgdzxa3G47wqdFEkob tUWOQBRspndyxti+5TZeirf21u13wjnNBs7teu2HhiU60WQg7MycAMrvW5jell2n 2HQda1FpKil4PReTAGHV5rkSUnC9CMQbFL4Y3Ie4Dgg2ABBizF8Y8Xvd+vY8ab4A ObmHZEqSLC5E5ccKgge4rsthNBT6hGOGlDuwikuvZWnJP/Pa8Aj5r+m16mf1GRXs 7eXMBJ0thpJ9ng4BxtYsDr0T9Xtk/KewV1RS4UagpREhyk4bGQyE1wvF+NeZwPCw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CF9AD24235; Fri, 12 Jan 2018 12:10:05 -0500 (EST) From: Thomas Monjalon To: Jia He Cc: dev@dpdk.org, Jerin Jacob , Jianbo Liu , Jan Viktorin , Olivier Matz , konstantin.ananyev@intel.com, hemant.agrawal@nxp.com, Jia He Date: Fri, 12 Jan 2018 18:09:36 +0100 Message-ID: <2019957.4IyS66Gqvj@xps> In-Reply-To: <1512352212-7191-3-git-send-email-hejianet@gmail.com> References: <1511748024-7245-1-git-send-email-hejianet@gmail.com> <1512352212-7191-1-git-send-email-hejianet@gmail.com> <1512352212-7191-3-git-send-email-hejianet@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH V7 2/3] ring: introduce new header file to include common functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 17:10:06 -0000 04/12/2017 02:50, Jia He: > move the common part of rte_ring.h into rte_ring_generic.h. > move the memory barrier part into update_tail(). > > no functional changes here. [...] > --- /dev/null > +++ b/lib/librte_ring/rte_ring_generic.h > @@ -0,0 +1,195 @@ > +/*- > + * BSD LICENSE > + * > + * Copyright(c) 2017 hxt-semitech. All rights reserved. As you are moving existing code, I think you should keep the original copyright.