From mboxrd@z Thu Jan 1 00:00:00 1970 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 9079571B5 for ; Tue, 16 Jan 2018 03:06:34 +0100 (CET) Received: by mail-pg0-f66.google.com with SMTP id k68so1118840pga.3 for ; Mon, 15 Jan 2018 18:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=FEaIUAlkJx1GwgjITID5Qvs35qRHAjgJmMbMbhAMJ/I=; b=KE3hn2c97L9CzyuS7usKUcylZcezfaRtZxrHQUNSM22LNrJlv9xQqIN96ePYzuj7nL C5qwrHiIBeOqMAP82tU2cy9hctoR5MS0ZX+ZV9qytXAitGBmvtEIwL5zWZ97SUnxeaHx W5icq3r1tWXm6rbkcteFktKf0kksNvWAedpfJm5sJiDUsbcBqsSCrPAPNs5WINojhRaP z34lXCPi/lyVdvY+Ti9DkGimquoflE3BITCDwlvWoP8xPp+AQV0mh4TNUqpIntIKsNwK o2pBdN9KcJOk2nqMbtCNqJhyHmvg3bGlJ88OnchJGKNbx/3AMVLVdCAHdQ9yjH4muZmp vcdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=FEaIUAlkJx1GwgjITID5Qvs35qRHAjgJmMbMbhAMJ/I=; b=GiWzONKVg7TL+PrX0jy5berx75wR+F4kn9xToMG5f44XZyO4kL9sd6tvhMUdM1TTU6 A45jNb8EXNRDAZcdioaGmU32pt5hCQXZSrCYpUj/zrkLiO7Dc47zkrPVlmHTNizY+P7P F0Tm5oP9GRt2AWpeII4tF72f7kUhvxCjJFgIRj3YU9hz/ph3oKoyDA2Dxq+1RAc05LiW lLMxhJIgNHvISj/kp83FmJIACutzT176Lo2ecrJ+zqMbM0JZqTYYjlv94pKxRsgJE+A9 xZh3kJUv8MbSvtv95bOHQZDLsZ3Jf4VUZO4nxDI3SKDP1gBloQn1VLMp7qM5w7s2WRfk e9Rg== X-Gm-Message-State: AKGB3mIzX1u70ZjpvalEz6/VcSnUI9zVLikIsQwcyVqaCdLs4oeIS2Zc fusxgDBvMnQk6cDoyl0/UJI= X-Google-Smtp-Source: ACJfBovGtWNf+cKAVezBlFDzs6WbGvXDJpeRPYHpj50v4E3/DuCkn3eMWEq0wxMlDklgWPY3rUKvAQ== X-Received: by 10.101.88.206 with SMTP id e14mr20181131pgu.441.1516068393711; Mon, 15 Jan 2018 18:06:33 -0800 (PST) Received: from [0.0.0.0] (67.209.179.165.16clouds.com. [67.209.179.165]) by smtp.gmail.com with ESMTPSA id u86sm1055313pfa.39.2018.01.15.18.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jan 2018 18:06:32 -0800 (PST) To: Thomas Monjalon Cc: dev@dpdk.org, Jerin Jacob , Jianbo Liu , Jan Viktorin , Olivier Matz , konstantin.ananyev@intel.com, hemant.agrawal@nxp.com, Jia He 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> <2019957.4IyS66Gqvj@xps> From: Jia He Message-ID: Date: Tue, 16 Jan 2018 10:06:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <2019957.4IyS66Gqvj@xps> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Jan 2018 02:06:34 -0000 On 1/13/2018 1:09 AM, Thomas Monjalon Wrote: > 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. Ok, thanks for the comments -- Cheers, Jia