From patchwork Tue Feb 21 12:51:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94270 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp426140qgi; Tue, 21 Feb 2017 04:51:54 -0800 (PST) X-Received: by 10.55.119.65 with SMTP id s62mr2370764qkc.130.1487681514390; Tue, 21 Feb 2017 04:51:54 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t7si15030432qte.320.2017.02.21.04.51.53; Tue, 21 Feb 2017 04:51:54 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id AC7FB6352F; Tue, 21 Feb 2017 12:51:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 96C4660A02; Tue, 21 Feb 2017 12:51:48 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 52C1D60C90; Tue, 21 Feb 2017 12:51:46 +0000 (UTC) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40120.outbound.protection.outlook.com [40.107.4.120]) by lists.linaro.org (Postfix) with ESMTPS id E1E1A609B5 for ; Tue, 21 Feb 2017 12:51:44 +0000 (UTC) Received: from AM3PR07CA0037.eurprd07.prod.outlook.com (10.141.45.165) by HE1PR0701MB1737.eurprd07.prod.outlook.com (10.167.246.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Tue, 21 Feb 2017 12:51:42 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by AM3PR07CA0037.outlook.office365.com (2a01:111:e400:882c::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7 via Frontend Transport; Tue, 21 Feb 2017 12:51:42 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.35 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.35) by AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Tue, 21 Feb 2017 12:51:41 +0000 Received: from fihe3nok1348.nsn-intra.net (10.158.36.136) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34; Tue, 21 Feb 2017 14:51:41 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Tue, 21 Feb 2017 14:51:41 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1LCpYs8019267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Feb 2017 14:51:34 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1LCpYWd019264 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 21 Feb 2017 14:51:34 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 21 Feb 2017 14:51:32 +0200 Message-ID: <1487681494-15621-1-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.35; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39850400002)(39450400003)(39410400002)(39860400002)(39840400002)(2980300002)(199003)(189002)(33646002)(92566002)(86362001)(110136004)(189998001)(38730400002)(6916009)(53936002)(36756003)(5660300001)(81156014)(50986999)(8676002)(356003)(81166006)(2351001)(68736007)(2906002)(22756006)(48376002)(450100001)(50226002)(50466002)(97736004)(626004)(305945005)(106466001)(77096006)(47776003)(105596002)(5003940100001)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB1737; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT060; 1:CZaBts8zRsyoVEk/GvS5R1IYIk0oBuGhPJek4seFXj0uEe20sfxaupCKsTN2lXDA/KmYBGZI3UHAXufhwSOyaHD9R3weRnpYu3bEHbNK+lbmJtqrke8tr9rgqboKkFOaxB79Jvh/hPvnvGXal2Gk83ulyRR40RGkdhNQlM2Uq/gHGunDsZTHbX3AuPyh6FuyDn7FwH4VY7u/MOFh8pYNGuyii7Tiev//ylHPxBrpPI66PLFfO3n5SAz9rHNsAhz/G20m8N2JQ6FFlPhbgDrSD+NtmBY1aq89sEt8HlSSa1r9xDOghouLppOWxuNdf/dkP3LWd+8mTu5fag4HsJPtjUBsrWiVp0iCkdjyPF8QDLs+waD56KIyGvBZQPnKMrL1TJXr/SO+/cHVstzUP/uuwW6QegeUmd0mwAC/QnRIqr47wvUglOj5VaSd1/OorsyTa90EZFJb9la69VlgHVE+aA== X-MS-Office365-Filtering-Correlation-Id: 986f9bc6-fc69-4189-c0c2-08d45a58625b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB1737; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 3:42dhPpxricRGWaxgEu6AM0dDwyrVdx3sM6zye649l4cYJlCbEy/Y/i6Q0ODcWgNzMb5sF+q5Sq3p9HYTkJ/2bB5vqv4cutPs8VazseDpACfKbEg66ylT86kSAqHc4gWMnu1xWiIKqPH0IIm27im8iQfYvwkSnsymTPW8obfi9sbGNDuKZT3mOe0HAw7Unsj8esFhKKNn03Cgds693FyW+AMn4elkobTGOv9gM9aTEV/LYtsvdzoNe7qmIvclHLF5SrIevN04j8sHJewWrZdWsDNiI5p4HdcVgX1cvIVnoLibJohK8O2/XxOCA75jZrqW/Ln5T6a19GNNy2zj04ujrUWnBPFJNruE70nkqnVx54kPmPBw8r9d3w99cBhDg0UL; 25:dvKg8f3wGwhPElSZYyVBcrejCi/xLS/mzPMB74VLzfYKO0dSdn2bX4dwUMLeqDwAHVHROtq8WiN5FTj8KZg2qrYBFhhST1w91Hn+IURpMiV7ALGcP6R6TDaCsMMVLPQC9f1vKh8us1OYww0eHj7niyDBQkpRwhF9eeEBtZ9/ii62NGVMOS6OQpwk3P+An5gwajgJ0wlXjmWr6PyPm3Lkmxkt1r9PNak3JWZYuTcWCYvcss32hFvNr2KXx+zn8QMIwNTynTBvzAeCOjJeSShZFYc+A7m8gBfsiTjD+4KPz2Uk9//LBt31tzL6Fung2hK68CtwqQxT3wecrl4U1A3aGFuZfgMFhSwxpQzu7TmkmABvvj/gyTO9gNIuPvZs18TucXgbMvZ7x/CVPnc3gDsRvtqHetOqpz8c7jEJZwxpi1ZWQbhgSMStySdjEmjLH3u1EA6bhAMq9UhRf9vPE9q+NA== X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 31:w1w8tonBXOY3kBI1miCcC0EotmrJjuWjaIH2RviqiWdyOv/sW17mHPY8C5u43A9mGp2EPvmheIWmKzbUP1bL0S5kq5Wvn0X1BX3dQc8q+UflxxHNt3qpspCf56XCurMzOOqvcYyX/by2TB3vleI1pQRAG5YKxwB/KuYz+VQCEytRbo5Dhwp6zy1SGkM/rMh9biSUBuHN2SMizAo30JyxXTLKYdRQs24DHAaxw9MGgnv8k7CEW3R5LxzmwzNlyFTojDs8C2BhkXBEfMB9gR3rIw==; 20:PeyTs63FXKP5ts9Uc5BCQGGyVgZxjzVDDYtlU0eJQjSay/A36sVIhktWNWpcIZtY/MWnGucyAAcP1Lonp1e48lK5zKuzC0kpboR8/4K2/ppPfZyvaiomH9rlo6gXPTGrDm+f+RrBPYhYZpsqGliXl73Q9q0oosOUQE6Ay+XTorSmwOeIbxckbFOKtbHiFhPpjd3FqTzYrR9nHtBM0vy3U8b74MrRzzPJy9EzeE6ag9V7EYkHIDmP2R1l7dBze/0b9A6b0fAXYtusWbTpzAN9AIC6jWAadxUX3iXVm/D2Zot7YDx9xBNgJpYPYkMRPEU/OO2GKN5XDKeRIj67o0Qh9Hs90i/RkKioVEn9dXIWK1XROfIuBzUfp312bj90eweKj2Smqpm4ECL44aVZg4PM7NwlCAX0OPwdu8NS5WpfK8AL0ZyVagINbToRFShs7HkRDgASrxjTISjShOIWEN4fRveqBT+O81LgXnuX6G45vgT/Ue/HGWpBmQGGQzxI0npxN5x0PmmHaSbpaj7Whwrn5AoVvxJJ+KY1/V6in42333hgjf375R6SOIwjCsGAj/e/CmuQQhYZifMk87x7Nazlp1TGZ3mz5hp73hogQB458n8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:HE1PR0701MB1737; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB1737; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 4:uS3BIMjLV3kAiKvwNhBk+GruioEeJUOXogO+N8MxQ2M33bvU+xMVe6YfYHF7szC0JYrPZm6qe/N16KPb9Fr3Zi5u2s2PvteEUIqA6X4wMFVHyRds5HoZz5YVzbLCFMRqggAUh+fTtELGBbs8RE1gw2E7/C91XhLVG18yPnWGvH6UoR/2gRWQYMysSTWHAAPbCS/P++pvPx+hC3MAJGA7i8TeUokkVXadZsbY0vZjFXfhWadrbQcv//PyuoFSm1Xb8WjeftxouVu86GnrtSCFJaa17GZrBVGi2rNZzoNvN+NypjMoeJ6oRCg5FGHMJT60rmzKKju+yw5KoRpoaSMatlGoKBvDujleG0Pgg+kSVPpdU3OzIpAX01WqBC/+/OWfeBY76YDqYhV0Z2pFSf2bfY3SpY7UeZ38+06IwMLy4hMvyfNMnmSNsAn8F8k6JO6u9ZHt9k1vFbVBmbWlZ1sp2dUT0Eqohp1ZTwbplAoDo012gnTGUP3EKKbRYjbias34tIW7cZXmdeuLkGf4tjg1th1CjoBJSSrIjCJKdc+33qclycXl5B2b2P/pLxsU7QFSW8wQ10pvk6hMltCsZwDj/YDWh27bS5TomdzsDMiUGPYaihCbm1KuCUOzC3ZknDt2Y0ghFPBgRXRgtG88lXi2Wqk078k97qE8eraFzsHDDXs= X-Forefront-PRVS: 0225B0D5BC X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0701MB1737; 23:Z9R/7OLeFMnpVhQ0iQF5ISgGRbWlx231HLK5ITI?= 1I7cOf6GdyC856kRVo+JecchB4ccl2F2NmTxY//+BUh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YuYrQbXfpMm2zYvXhi71XQjwWbT9oaAJ6tqaAMFKFCzlpo5JhUPlEEq51kkmSvbdlmfkOSAcai1UfA+n2+Kp1ybceXAS1+B5QbkzqgZXD99fmGkzzJPGH3ulb9Qv6cP8/jCAs5UXuINy5T+wjEw8dotp7+m5xepC7n/JQRGZkFgWW5mxDmQ3n94OnaV1Ptis0bMxzsZblYkm805LQvNthFPu++lFoyok/Mo2fdwua94pssW9TxM7Wc76OJOCqVOEY6tVDIARwiay66UFwDJMPbv+RVpNTm+mXHP1sODhFWL93rcGiFJTHgxC+sJlM2aKZeHZysoIILcPswgQWIBMMojGHIGig/tVRm/UqS7lIOZnC9tw=; 5:Yej2iVlz2d1x2nUfISC3VBKSeAyON5DD2edAN5pzz2tum44AbepMTeNMOz0J2YI8yHawtg8XUNJdDTMolRo/mXYsmHTdps/Sc2rCxLrw9u4BXHrZsabKOIWv2k85IhiyndubgBlJsjUwwNBMBxhJJg==; 24:VPnNxyDKl8AxKgLV+FQXQZ13ozSE24ry1IUPqMC0VsT0uIczquoJx21jzPJu6gWjVqREoL7fPuOQb4pdVamn0I0L0kEoaNQ1/o2VrLYA7Gk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 7:sgBGu+uG8FqX9VKLU8TM0dCAcSzMWw02N3EIbTIGBh1veLEpnzRauPONj3j1nA3Fz7cDLNJel3UZL/v5u/kwFrUgvfWq7zOJc4rLbq8rGOW8W+Vsi5vafFnaQIp43TMjsnREJJJlQu8AEgKzO/81vsJVJtI9DrtLnTOmQCHHqAuyTvg23W/6o8b/c7Pr5HCC/80gWsnOJq9Y80CFeNyAQ5bQVrehiMw9HkbSXcBPe2bqFsPrlx6vVjJT4f9XM1OEEYJzSDeONuQQ94UzmvINUVs0PgnGnvm6ntVhWbpjtnq0D89yeia2uHXhV/qYxF0YtH65t92x5f/jHfCUJbfgeQ== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2017 12:51:41.9259 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.35]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB1737 Subject: [lng-odp] [PATCH 1/3] helper: linux: add common linux helper file X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Added common helper file for backwards compatibility. This file includes all headers under helper/linux directory. It's installed only with --enable-helper-linux configuration option. Signed-off-by: Petri Savolainen --- helper/Makefile.am | 3 +++ helper/include/odp/helper/linux.h | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 helper/include/odp/helper/linux.h -- 2.8.1 Signed-off-by: Petri Savolainen diff --git a/helper/Makefile.am b/helper/Makefile.am index 5757c7c..b478dcd 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -32,6 +32,9 @@ helperinclude_HEADERS = \ $(srcdir)/include/odp/helper/udp.h if helper_linux +helperinclude_HEADERS += \ + $(srcdir)/include/odp/helper/linux.h + helperlinuxincludedir = $(includedir)/odp/helper/linux helperlinuxinclude_HEADERS = \ $(srcdir)/include/odp/helper/linux/pthread.h \ diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h new file mode 100644 index 0000000..396203a --- /dev/null +++ b/helper/include/odp/helper/linux.h @@ -0,0 +1,27 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * All ODP Linux helpers + * + */ + +#ifndef ODP_HELPER_LINUX_H_ +#define ODP_HELPER_LINUX_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +#ifdef __cplusplus +} +#endif +#endif