From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v8 2/3] ring: introduce new header file to include common functions Date: Mon, 22 Jan 2018 08:54:03 -0800 Message-ID: <20180122085403.4de6d399@xeon-e3> References: <1516161831-28719-1-git-send-email-hejianet@gmail.com> <1516161831-28719-3-git-send-email-hejianet@gmail.com> <20180119163820.lk6mi6mjxaomb5nq@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Olivier Matz , Jia He , "dev@dpdk.org" , "Thomas Monjalon" , Jerin Jacob , Jianbo Liu , Jan Viktorin , "konstantin.ananyev@intel.com" , Jia He To: Hemant Agrawal Return-path: Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by dpdk.org (Postfix) with ESMTP id 673A558C6 for ; Mon, 22 Jan 2018 17:54:06 +0100 (CET) Received: by mail-pg0-f66.google.com with SMTP id n17so7511049pgf.10 for ; Mon, 22 Jan 2018 08:54:06 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 19 Jan 2018 16:47:36 +0000 Hemant Agrawal wrote: > Hi Olivier, > > > On Fri, Jan 19, 2018 at 07:45:30PM +0530, Hemant Agrawal wrote: > > > Hi Jia, > > > > > > On 1/17/2018 9:33 AM, Jia He wrote: > > > > 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. > > > > > > > > Signed-off-by: Jia He > > > > Suggested-by: Jerin Jacob > > > > Suggested-by: Ananyev Konstantin > > > > Acked-by: Jerin Jacob > > > > Acked-by: Olivier Matz > > > > --- > > > > diff --git a/lib/librte_ring/rte_ring_generic.h > > > > b/lib/librte_ring/rte_ring_generic.h > > > > new file mode 100644 > > > > index 0000000..01f2cae > > > > --- /dev/null > > > > +++ b/lib/librte_ring/rte_ring_generic.h > > > > @@ -0,0 +1,202 @@ > > > > +/*- > > > > + * Copyright(c) 2017 Intel Corporation. All rights reserved. > > > > + * All rights reserved. > > > > + * > > > > + * SPDX-License-Identifier: BSD-3-Clause > > > > > > The SPDX should be first line. See other files for Intel or NXP. > > [Hemant] Don't add SPDX to this file. > This file is not BSD-3 licensed. Please keep the full text as in the original file. If it can't be BSD-3 licensed, then it needs to be removed. Mixing licenses is a real problem