From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0052.outbound.protection.outlook.com [104.47.0.52]) by dpdk.org (Postfix) with ESMTP id 2C37E1B301 for ; Fri, 19 Jan 2018 17:47:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EXiiF6gLcdGrNP5wXHt/J7CSF23fkCSTjFFQ0mr9CNA=; b=c2ArfJlrjG9veHkeN+PwAgx8TNZ4WiATiJlru5RYxha8QPaYCgO2SA4nMb4CEOwnndBxX8hmaplLQDdDL/DFPdlkZOCwaWhZ1g0X+Kdzyzg0fA24yPTiYgHfAxcThONg3aqydU1Hhqtj5ESN22ForL7k0Q9jnHwq3EV5Shd2mO4= Received: from AM2PR04MB0753.eurprd04.prod.outlook.com (10.160.56.141) by AM2PR04MB0753.eurprd04.prod.outlook.com (10.160.56.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 16:47:36 +0000 Received: from AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::611d:d573:928:ad23]) by AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::611d:d573:928:ad23%13]) with mapi id 15.20.0428.014; Fri, 19 Jan 2018 16:47:36 +0000 From: Hemant Agrawal To: Olivier Matz CC: Jia He , "dev@dpdk.org" , "Thomas Monjalon" , Jerin Jacob , Jianbo Liu , Jan Viktorin , "konstantin.ananyev@intel.com" , Jia He Thread-Topic: [PATCH v8 2/3] ring: introduce new header file to include common functions Thread-Index: AQHTkUPuulL8/I8unEO8bkF02t78dqN7ZosA Date: Fri, 19 Jan 2018 16:47:36 +0000 Message-ID: References: <1516161831-28719-1-git-send-email-hejianet@gmail.com> <1516161831-28719-3-git-send-email-hejianet@gmail.com> <20180119163820.lk6mi6mjxaomb5nq@platinum> In-Reply-To: <20180119163820.lk6mi6mjxaomb5nq@platinum> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM2PR04MB0753; 7:euCgb+q4/MryxAGQT3cUSoHi5VkxKGlxctNJkIImGGZUaKGHTAQzC0FdQcK5Ns+0zi+lORgEtsn/9s6pD9r1MxZ7y2uhtA+D5pSH7NopInih8iMQZuy3HA5O6+pn9NXfH4Q10n9tBU67XyCT+euZdPginsYOjgW8O+CshgctmVoLvNWOunuiIo9wFhqKFWI2Z6eFTkcpRHAbdgWd16wNauSKpzgljG9Mm517gYhKHL+TEdUCtmX9wYW9P4xi3WkM x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: df4f4f24-09e7-4cae-fe93-08d55f5c5845 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; x-ms-traffictypediagnostic: AM2PR04MB0753: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040495)(2401047)(5005006)(8121501046)(10201501046)(3231023)(2400080)(944501161)(3002001)(93006095)(93001095)(6055026)(6041282)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM2PR04MB0753; x-forefront-prvs: 0557CBAD84 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(366004)(376002)(346002)(396003)(199004)(189003)(6916009)(2906002)(6436002)(66066001)(5660300001)(6116002)(99286004)(305945005)(59450400001)(26005)(478600001)(2950100002)(74316002)(7736002)(102836004)(53936002)(4326008)(6246003)(86362001)(9686003)(2900100001)(3846002)(97736004)(39060400002)(25786009)(106356001)(7696005)(14454004)(68736007)(3280700002)(316002)(33656002)(8936002)(6506007)(105586002)(229853002)(8676002)(3660700001)(53546011)(5250100002)(54906003)(81166006)(55016002)(76176011)(93886005)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:AM2PR04MB0753.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Js13FGtB7ldC5ikfgXBZUWmMoiUME/JZ2sJH+khon9XFVgXUroZQVRFfXlNHhWLa+Ng1+HpfR6aZb4UyYby65Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: df4f4f24-09e7-4cae-fe93-08d55f5c5845 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2018 16:47:36.3686 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: Re: [dpdk-dev] [PATCH v8 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, 19 Jan 2018 16:47:40 -0000 SGkgT2xpdmllciwNCg0KPiBPbiBGcmksIEphbiAxOSwgMjAxOCBhdCAwNzo0NTozMFBNIC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