From patchwork Tue Aug 15 09:59:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110113 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5463850qge; Tue, 15 Aug 2017 03:02:43 -0700 (PDT) X-Received: by 10.55.177.133 with SMTP id a127mr32508011qkf.303.1502791363269; Tue, 15 Aug 2017 03:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791363; cv=none; d=google.com; s=arc-20160816; b=RutCWDh3xcrQTRU+8HVx53AyGLLOUFEJYVZBVC7gc8csPkMi9gZkr7V48TqaJuhbOY A7Nj92RPdzqTLPLEdL/DqZ81X0DdKoLZtNK7Hi5JXyz5JQs/Ac0+nnv9EhTZDWfpkolO RIHfkkRgE8VN5swVWdcYAj1STEbqeQqbRX+0g/MawNATQsk+Jgg/mJA3vlzpmW6dLVcI Fsg42Qu5v4NQ41r3+1D48tFzrSoCTXjBy1kHWrVkQyhG772a4yusaUC2mZxmMmlngq6I VlOX7crjnKDejQTCSxwYau8GUMgFdcIbq+zc+MkfsSYJWdC9yVTY15dPC833ZKMA9Sg7 c1Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=vktWCDAEjdHTWs29a04iq4Lwd9I3adQJnqa9jwGIGFE=; b=oqETQmPLaKolmA7/NiwG6DK/2twRge9dw3En8jQxkZ856LrOa5yuyTdDZVYlg2qgVF sahkoNZlAK1CpBY/Z4cNk6nVq1lZI1kT7u5Z5LRdqNxolAWYk4EPHdEHe/36/2Weyy45 QESGl4RDS4zkIbGtcU+4ClHi0EVU7kDp998EBN7qXQl/9eYn9XUMV7Rjpn8GNfzl/3dw PguFEpPwXcepMqO9J+FSSHq5UpvE648ROwihyYuca1Be6uKiv7lbvDz4O/i+DblJ9NtS XZjqocxfXMd43MmB+1VkiXu36blU3bWs3UIK3Ux3gM556cdxMMN06EdvHYS2ruWm3dV/ K4QA== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j67si651703qkj.392.2017.08.15.03.02.43; Tue, 15 Aug 2017 03:02:43 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id E29EA65C0F; Tue, 15 Aug 2017 10:02:42 +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=BAYES_00,FREEMAIL_FROM, 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 63C5565C32; Tue, 15 Aug 2017 10:00:43 +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 88FD365BF5; Tue, 15 Aug 2017 10:00:34 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 0986C644B5 for ; Tue, 15 Aug 2017 10:00:30 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 9A6D14084A7A for ; Tue, 15 Aug 2017 13:00:26 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4M1iX7YZOy-0QWuGxbx; Tue, 15 Aug 2017 13:00:26 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0PjWn7KI; Tue, 15 Aug 2017 13:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:51 +0300 Message-Id: <1502791206-2437-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 1/16] configure: move configure header to top of build tree 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" From: Dmitry Eremin-Solenikov It does not make sense to have config.h just in helper tree. It should be also used by the rest of the code. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 51dd9352..8b13bed8 100644 --- a/configure.ac +++ b/configure.ac @@ -20,8 +20,8 @@ AC_CONFIG_FILES([include/odp/api/spec/version.h include/odp/api/spec/deprecated.h]) AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects]) -AC_CONFIG_SRCDIR([helper/config.h.in]) -AM_CONFIG_HEADER([helper/config.h]) +AC_CONFIG_SRCDIR([include/odp/api/spec/init.h]) +AM_CONFIG_HEADER([config.h]) AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE From patchwork Tue Aug 15 09:59:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110112 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5463086qge; Tue, 15 Aug 2017 03:02:03 -0700 (PDT) X-Received: by 10.237.57.163 with SMTP id m32mr41121111qte.37.1502791323577; Tue, 15 Aug 2017 03:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791323; cv=none; d=google.com; s=arc-20160816; b=yxb45eVjxu7gIji6KFI6PT1Q7WNX6lrZqTHlbacCL9IAR0gz4gM1DuAv6HJlrEKrCD 9le61i8a86OeY5m7goJpzC2IT9/GI33Svlv8w869q7VOec43b2HTKTJIm7hKhHXBGjwy OsDP1/ODoLv7CdUZssXkUmxqkQywexNaYBVTzEpBxSoCOIRyySCNdQ37iek9M731ewK7 8eubnTo5f7kZzQSMznaq+vWkbgIaDXUnwzYdVF4AS3zoW/lbMx421ThlKVphnXywtEZF GQQQZZSrYFjb//qmdNn9srawj2hz6416JDVhF00f4X8lwUJA6CXCZIH/qjcPWBe8iiBr opUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=PgOKG+rf4bNNEbqPLqVeomQlkIdwqJ6G3MRfqk4Em3k=; b=olobQuoUFvJAmptF6MuVWpUWJTpdFBGhIo2YFxLSwURyVT+E36d/I7lWQeHNPeO1D5 xGOtUTBTT5wkuIwyHOrO2S5butr6fe8AQJpLhyqXsNACbgiTj9SEh5FTJ5AsyXmrEjX4 VnQdN2Ln54pB8LgisnIwqdHOBtEGRRMlamO5lqW8N0U8zDH1fvU+M7jphAyLJGPIRd29 Rh84VM5qEe6a4Ltb8tIAKD7g1J0sVC6j+e35W17yP7Xi86rGLdBNYoUZPapMk0BCTDt1 +QWLIZ1WK1emtGiq3gHpwiOJ43Sq0OD0fyhtrm/5Kv/NtCzM4e7dInvFbd8H3GOZgkwF rnGw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id b72si8117021qkg.336.2017.08.15.03.02.03; Tue, 15 Aug 2017 03:02:03 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 110E965C8E; Tue, 15 Aug 2017 10:02:03 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 09A1165C0E; Tue, 15 Aug 2017 10:00:38 +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 2DDBF644C5; Tue, 15 Aug 2017 10:00:31 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 076B264475 for ; Tue, 15 Aug 2017 10:00:29 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 5BEDA51036E3 for ; Tue, 15 Aug 2017 13:00:27 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id otk3J1pS5b-0RReNCZx; Tue, 15 Aug 2017 13:00:27 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0QjK4rD8; Tue, 15 Aug 2017 13:00:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:52 +0300 Message-Id: <1502791206-2437-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 2/16] linux-gen: pktio: ethtool: add void pointer type casts 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" From: Dmitry Eremin-Solenikov It makes sense to convert ifr_data to void pointer, since exact type is implementation-defined. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/pktio/ethtool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index d8f9e12c..482af5b6 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -30,13 +30,13 @@ static struct ethtool_gstrings *get_stringset(int fd, struct ifreq *ifr) sset_info.hdr.cmd = ETHTOOL_GSSET_INFO; sset_info.hdr.reserved = 0; sset_info.hdr.sset_mask = 1ULL << ETH_SS_STATS; - ifr->ifr_data = &sset_info; + ifr->ifr_data = (void *)&sset_info; if (ioctl(fd, SIOCETHTOOL, ifr) == 0) { len = sset_info.hdr.sset_mask ? sset_info.hdr.data[0] : 0; } else if (errno == EOPNOTSUPP && drvinfo_offset != 0) { /* Fallback for old kernel versions */ drvinfo.cmd = ETHTOOL_GDRVINFO; - ifr->ifr_data = &drvinfo; + ifr->ifr_data = (void *)&drvinfo; if (ioctl(fd, SIOCETHTOOL, ifr)) { __odp_errno = errno; ODP_ERR("Cannot get stats information\n"); @@ -62,7 +62,7 @@ static struct ethtool_gstrings *get_stringset(int fd, struct ifreq *ifr) strings->cmd = ETHTOOL_GSTRINGS; strings->string_set = ETH_SS_STATS; strings->len = len; - ifr->ifr_data = strings; + ifr->ifr_data = (void *)strings; if (ioctl(fd, SIOCETHTOOL, ifr)) { __odp_errno = errno; ODP_ERR("Cannot get stats information\n"); @@ -101,7 +101,7 @@ static int ethtool_stats(int fd, struct ifreq *ifr, odp_pktio_stats_t *stats) estats->cmd = ETHTOOL_GSTATS; estats->n_stats = n_stats; - ifr->ifr_data = estats; + ifr->ifr_data = (void *)estats; err = ioctl(fd, SIOCETHTOOL, ifr); if (err < 0) { __odp_errno = errno; From patchwork Tue Aug 15 09:59:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110115 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5465786qge; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) X-Received: by 10.55.161.133 with SMTP id k127mr1253318qke.164.1502791473467; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791473; cv=none; d=google.com; s=arc-20160816; b=uYie2aii4RCixLn/EZYZXeVWTDbIoHS2VfvazZZ4anrcE9Rx0n31QpwBPSiL+qmz56 DSeVmkLH1cF7a7kJx0e9GhytB9QxyvUxtUa5Sg7q8wmY88DBouWlf0PCyg+e3JJFn544 0B7hM1ucUPiAJku4fCgPGcA1Bn/bgCmp73ui2sOFN/PuDIhoYzmfLxUwcfYyfbx5Svh4 dxX99JVvAUp38457DBE8pTaavjAeBcGt+VNUIsPB3SL3PcIR4Sq2R/L+jzNA+UQu/+gh bFfrzZR3FNFaQ7EGJFJWqN16u5r1VjJXfgPD38grsOeMB0oZOB4a8c9GLIL7lDL0yRjF FTiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=IF72evPDr7Em+frsfspTV5DwG6N4CHFb9uERGTa20lw=; b=S0pvTB9GO9g4JwIy55LsA/TjthymI+A3bAgVBKfhN5lWfYPw9ZLWARYbjxZbVhtSQ4 LdxA93REBqFqzWfJtG2C+yCFqs1lM78UHkiKeE52Z9VX6IX3b5NNOB70WLGZ8vWRh3Sn req0DSr6gRF3LcOUqsAfBgOPxwbWQRHUGyJfLdjufC0LjqpI9K7hqZBpgGJ8nyZ2FG/I FB7Z6fBP6jExDziADS3xVFxR/N/uwdIV951UvZzPUh+zXjG/z3Rgec9sWJ4XJW46Ke1T +zzj/BY51eplGLAYDqjmXxkagd8QQgpUK3WV4g0nqXp+U6KhAFtj26q7AyOTD6ji3pAJ wyVw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t44si8486742qtt.350.2017.08.15.03.04.32; Tue, 15 Aug 2017 03:04:33 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D7FD465C68; Tue, 15 Aug 2017 10:04:32 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 026F760B15; Tue, 15 Aug 2017 10:00:55 +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 EEE3065C3A; Tue, 15 Aug 2017 10:00:42 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id C1C4E6449A for ; Tue, 15 Aug 2017 10:00:29 +0000 (UTC) Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 6B53513426A6 for ; Tue, 15 Aug 2017 13:00:28 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id chvN4QG1IQ-0SlmasAq; Tue, 15 Aug 2017 13:00:28 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0RjeYjHl; Tue, 15 Aug 2017 13:00:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:53 +0300 Message-Id: <1502791206-2437-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 3/16] linux-gen: enable using of config.h header 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/_fdserver.c | 4 ++++ platform/linux-generic/_ishm.c | 4 ++++ platform/linux-generic/_ishmphy.c | 4 ++++ platform/linux-generic/arch/arm/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/arm/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/default/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/default/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/mips64/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/mips64/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/powerpc/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/arch/x86/cpu_flags.c | 4 ++++ platform/linux-generic/arch/x86/odp_cpu_arch.c | 4 ++++ platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 4 ++++ platform/linux-generic/odp_atomic.c | 4 ++++ platform/linux-generic/odp_barrier.c | 4 ++++ platform/linux-generic/odp_bitmap.c | 4 ++++ platform/linux-generic/odp_buffer.c | 4 ++++ platform/linux-generic/odp_byteorder.c | 4 ++++ platform/linux-generic/odp_classification.c | 4 ++++ platform/linux-generic/odp_cpu.c | 4 ++++ platform/linux-generic/odp_cpumask.c | 4 ++++ platform/linux-generic/odp_cpumask_task.c | 4 ++++ platform/linux-generic/odp_crypto.c | 4 ++++ platform/linux-generic/odp_errno.c | 4 ++++ platform/linux-generic/odp_event.c | 4 ++++ platform/linux-generic/odp_hash.c | 4 ++++ platform/linux-generic/odp_impl.c | 4 ++++ platform/linux-generic/odp_init.c | 5 +++++ platform/linux-generic/odp_name_table.c | 4 ++++ platform/linux-generic/odp_packet.c | 4 ++++ platform/linux-generic/odp_packet_flags.c | 4 ++++ platform/linux-generic/odp_packet_io.c | 5 +++++ platform/linux-generic/odp_pkt_queue.c | 4 ++++ platform/linux-generic/odp_pool.c | 4 ++++ platform/linux-generic/odp_queue.c | 4 ++++ platform/linux-generic/odp_queue_if.c | 4 ++++ platform/linux-generic/odp_rwlock.c | 4 ++++ platform/linux-generic/odp_rwlock_recursive.c | 4 ++++ platform/linux-generic/odp_schedule.c | 4 ++++ platform/linux-generic/odp_schedule_if.c | 4 ++++ platform/linux-generic/odp_schedule_iquery.c | 4 ++++ platform/linux-generic/odp_schedule_sp.c | 4 ++++ platform/linux-generic/odp_shared_memory.c | 4 ++++ platform/linux-generic/odp_sorted_list.c | 4 ++++ platform/linux-generic/odp_spinlock.c | 4 ++++ platform/linux-generic/odp_spinlock_recursive.c | 4 ++++ platform/linux-generic/odp_std_clib.c | 4 ++++ platform/linux-generic/odp_sync.c | 4 ++++ platform/linux-generic/odp_system_info.c | 4 ++++ platform/linux-generic/odp_thread.c | 4 ++++ platform/linux-generic/odp_thrmask.c | 4 ++++ platform/linux-generic/odp_ticketlock.c | 4 ++++ platform/linux-generic/odp_time.c | 4 ++++ platform/linux-generic/odp_timer.c | 4 ++++ platform/linux-generic/odp_timer_wheel.c | 4 ++++ platform/linux-generic/odp_traffic_mngr.c | 4 ++++ platform/linux-generic/odp_version.c | 4 ++++ platform/linux-generic/odp_weak.c | 4 ++++ platform/linux-generic/pktio/dpdk.c | 4 ++++ platform/linux-generic/pktio/ethtool.c | 4 ++++ platform/linux-generic/pktio/io_ops.c | 4 ++++ platform/linux-generic/pktio/ipc.c | 5 +++++ platform/linux-generic/pktio/loop.c | 4 ++++ platform/linux-generic/pktio/netmap.c | 4 ++++ platform/linux-generic/pktio/pcap.c | 4 ++++ platform/linux-generic/pktio/pktio_common.c | 4 ++++ platform/linux-generic/pktio/ring.c | 4 ++++ platform/linux-generic/pktio/socket.c | 4 ++++ platform/linux-generic/pktio/socket_mmap.c | 4 ++++ platform/linux-generic/pktio/sysfs.c | 4 ++++ platform/linux-generic/pktio/tap.c | 4 ++++ 72 files changed, 291 insertions(+) diff --git a/platform/linux-generic/_fdserver.c b/platform/linux-generic/_fdserver.c index d1b16f62..a31a47f5 100644 --- a/platform/linux-generic/_fdserver.c +++ b/platform/linux-generic/_fdserver.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This file implements a file descriptor sharing server enabling * sharing of file descriptors between processes, regardless of fork time. diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c index 892e889b..5f63c758 100644 --- a/platform/linux-generic/_ishm.c +++ b/platform/linux-generic/_ishm.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* This file handles the internal shared memory: internal shared memory * is memory which is sharable by all ODP threads regardless of how the * ODP thread is implemented (pthread or process) and regardless of fork() diff --git a/platform/linux-generic/_ishmphy.c b/platform/linux-generic/_ishmphy.c index d519af60..a61d311f 100644 --- a/platform/linux-generic/_ishmphy.c +++ b/platform/linux-generic/_ishmphy.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This file handles the lower end of the ishm memory allocator: * It performs the physical mappings. diff --git a/platform/linux-generic/arch/arm/odp_cpu_arch.c b/platform/linux-generic/arch/arm/odp_cpu_arch.c index 28ee508b..205eaaa0 100644 --- a/platform/linux-generic/arch/arm/odp_cpu_arch.c +++ b/platform/linux-generic/arch/arm/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c index 8ae2022a..591030e4 100644 --- a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/default/odp_cpu_arch.c b/platform/linux-generic/arch/default/odp_cpu_arch.c index c31f9084..45719af8 100644 --- a/platform/linux-generic/arch/default/odp_cpu_arch.c +++ b/platform/linux-generic/arch/default/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/default/odp_sysinfo_parse.c b/platform/linux-generic/arch/default/odp_sysinfo_parse.c index 8ae2022a..591030e4 100644 --- a/platform/linux-generic/arch/default/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/default/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_cpu_arch.c b/platform/linux-generic/arch/mips64/odp_cpu_arch.c index f7eafa0f..047731aa 100644 --- a/platform/linux-generic/arch/mips64/odp_cpu_arch.c +++ b/platform/linux-generic/arch/mips64/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c index d6f75f28..971ccad6 100644 --- a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c index c31f9084..45719af8 100644 --- a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c +++ b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c index bd4b9b42..0e4cad69 100644 --- a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/x86/cpu_flags.c b/platform/linux-generic/arch/x86/cpu_flags.c index a492a35b..a757e533 100644 --- a/platform/linux-generic/arch/x86/cpu_flags.c +++ b/platform/linux-generic/arch/x86/cpu_flags.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c b/platform/linux-generic/arch/x86/odp_cpu_arch.c index b1da428b..467e6bf6 100644 --- a/platform/linux-generic/arch/x86/odp_cpu_arch.c +++ b/platform/linux-generic/arch/x86/odp_cpu_arch.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c index d77165a4..594edd23 100644 --- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_atomic.c b/platform/linux-generic/odp_atomic.c index 0e40cda5..460aa8ce 100644 --- a/platform/linux-generic/odp_atomic.c +++ b/platform/linux-generic/odp_atomic.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_barrier.c b/platform/linux-generic/odp_barrier.c index a2c62676..9a0ff30b 100644 --- a/platform/linux-generic/odp_barrier.c +++ b/platform/linux-generic/odp_barrier.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_bitmap.c b/platform/linux-generic/odp_bitmap.c index a29b9ef2..51418cb8 100644 --- a/platform/linux-generic/odp_bitmap.c +++ b/platform/linux-generic/odp_bitmap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index 9c7dc1f5..2917d5fc 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_byteorder.c b/platform/linux-generic/odp_byteorder.c index a344c53f..3505d91d 100644 --- a/platform/linux-generic/odp_byteorder.c +++ b/platform/linux-generic/odp_byteorder.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index 5e9173dc..fb3693c1 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_cpu.c b/platform/linux-generic/odp_cpu.c index 282defd4..3c6ce9f1 100644 --- a/platform/linux-generic/odp_cpu.c +++ b/platform/linux-generic/odp_cpu.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_cpumask.c b/platform/linux-generic/odp_cpumask.c index 64559a6d..9bfb9874 100644 --- a/platform/linux-generic/odp_cpumask.c +++ b/platform/linux-generic/odp_cpumask.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_cpumask_task.c b/platform/linux-generic/odp_cpumask_task.c index 10885ce6..0a71ca2a 100644 --- a/platform/linux-generic/odp_cpumask_task.c +++ b/platform/linux-generic/odp_cpumask_task.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index ab42132a..9c67cddf 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_errno.c b/platform/linux-generic/odp_errno.c index 408a4b95..456881b2 100644 --- a/platform/linux-generic/odp_errno.c +++ b/platform/linux-generic/odp_errno.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index d71f4464..df45e5d6 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_hash.c b/platform/linux-generic/odp_hash.c index 55876c33..bdd3ef4a 100644 --- a/platform/linux-generic/odp_hash.c +++ b/platform/linux-generic/odp_hash.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/odp_impl.c b/platform/linux-generic/odp_impl.c index 3fc2d6ab..45c7c66a 100644 --- a/platform/linux-generic/odp_impl.c +++ b/platform/linux-generic/odp_impl.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 7d029950..bcdb58a4 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_name_table.c b/platform/linux-generic/odp_name_table.c index b116904d..da075e79 100644 --- a/platform/linux-generic/odp_name_table.c +++ b/platform/linux-generic/odp_name_table.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index f18bd4dd..2849b986 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet_flags.c b/platform/linux-generic/odp_packet_flags.c index 72df1ecf..17864862 100644 --- a/platform/linux-generic/odp_packet_flags.c +++ b/platform/linux-generic/odp_packet_flags.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 9419adf6..4a64cd9b 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_pkt_queue.c b/platform/linux-generic/odp_pkt_queue.c index f1086096..494adb65 100644 --- a/platform/linux-generic/odp_pkt_queue.c +++ b/platform/linux-generic/odp_pkt_queue.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 35e39f5d..109e903f 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index 7ad346ad..694061bb 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_queue_if.c b/platform/linux-generic/odp_queue_if.c index c91f00eb..13c2a0aa 100644 --- a/platform/linux-generic/odp_queue_if.c +++ b/platform/linux-generic/odp_queue_if.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include extern const queue_api_t queue_default_api; diff --git a/platform/linux-generic/odp_rwlock.c b/platform/linux-generic/odp_rwlock.c index 5bef13a4..33ff5133 100644 --- a/platform/linux-generic/odp_rwlock.c +++ b/platform/linux-generic/odp_rwlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_rwlock_recursive.c b/platform/linux-generic/odp_rwlock_recursive.c index 6b022814..337bdd79 100644 --- a/platform/linux-generic/odp_rwlock_recursive.c +++ b/platform/linux-generic/odp_rwlock_recursive.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index 79b21ac7..b9e723d0 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule_if.c b/platform/linux-generic/odp_schedule_if.c index a9ede98d..a9d0840e 100644 --- a/platform/linux-generic/odp_schedule_if.c +++ b/platform/linux-generic/odp_schedule_if.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include extern const schedule_fn_t schedule_sp_fn; diff --git a/platform/linux-generic/odp_schedule_iquery.c b/platform/linux-generic/odp_schedule_iquery.c index c38c7c01..ce337ddb 100644 --- a/platform/linux-generic/odp_schedule_iquery.c +++ b/platform/linux-generic/odp_schedule_iquery.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c index d2ba539c..63315ebf 100644 --- a/platform/linux-generic/odp_schedule_sp.c +++ b/platform/linux-generic/odp_schedule_sp.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index a6faff6e..3f0fb830 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c index 8a1dc3ac..8d10369b 100644 --- a/platform/linux-generic/odp_sorted_list.c +++ b/platform/linux-generic/odp_sorted_list.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_spinlock.c b/platform/linux-generic/odp_spinlock.c index cb0f0533..d051a14b 100644 --- a/platform/linux-generic/odp_spinlock.c +++ b/platform/linux-generic/odp_spinlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_spinlock_recursive.c b/platform/linux-generic/odp_spinlock_recursive.c index 5ed481c4..72b5f04a 100644 --- a/platform/linux-generic/odp_spinlock_recursive.c +++ b/platform/linux-generic/odp_spinlock_recursive.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_std_clib.c b/platform/linux-generic/odp_std_clib.c index 24df249d..305c00e7 100644 --- a/platform/linux-generic/odp_std_clib.c +++ b/platform/linux-generic/odp_std_clib.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_sync.c b/platform/linux-generic/odp_sync.c index b7eb503c..f1425f87 100644 --- a/platform/linux-generic/odp_sync.c +++ b/platform/linux-generic/odp_sync.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_system_info.c b/platform/linux-generic/odp_system_info.c index 40ffca07..8b658d3b 100644 --- a/platform/linux-generic/odp_system_info.c +++ b/platform/linux-generic/odp_system_info.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * BSD LICENSE * diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index 33a8a7f3..c0046044 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_thrmask.c b/platform/linux-generic/odp_thrmask.c index c176a5c6..5d98086d 100644 --- a/platform/linux-generic/odp_thrmask.c +++ b/platform/linux-generic/odp_thrmask.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index f73dd9ab..94c2beff 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c index a831cc51..a15d43d4 100644 --- a/platform/linux-generic/odp_time.c +++ b/platform/linux-generic/odp_time.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index cf610bfa..bd54ef52 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c index f2c802a8..1294720a 100644 --- a/platform/linux-generic/odp_timer_wheel.c +++ b/platform/linux-generic/odp_timer_wheel.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 53e10471..21f131f8 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #define _GNU_SOURCE #include #include diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c index 7b704d05..ad21fe82 100644 --- a/platform/linux-generic/odp_version.c +++ b/platform/linux-generic/odp_version.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include const char *odp_version_api_str(void) diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c index 0fbf6645..7bdbf45a 100644 --- a/platform/linux-generic/odp_weak.c +++ b/platform/linux-generic/odp_weak.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 19310651..cdfdd8f7 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef ODP_PKTIO_DPDK #include diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 482af5b6..2f796745 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/io_ops.c b/platform/linux-generic/pktio/io_ops.c index fbf30ca7..a3a00678 100644 --- a/platform/linux-generic/pktio/io_ops.c +++ b/platform/linux-generic/pktio/io_ops.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include /* Ops for all implementation of pktio. diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index 8c7db84e..bbe1f9ff 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index c825393a..cd57d6eb 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 928bb00a..5b861dfc 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef ODP_NETMAP #include diff --git a/platform/linux-generic/pktio/pcap.c b/platform/linux-generic/pktio/pcap.c index a467b640..b84dad3b 100644 --- a/platform/linux-generic/pktio/pcap.c +++ b/platform/linux-generic/pktio/pcap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/platform/linux-generic/pktio/pktio_common.c b/platform/linux-generic/pktio/pktio_common.c index 611bb451..a1569c84 100644 --- a/platform/linux-generic/pktio/pktio_common.c +++ b/platform/linux-generic/pktio/pktio_common.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/ring.c b/platform/linux-generic/pktio/ring.c index e3c73d1c..844b1c6e 100644 --- a/platform/linux-generic/pktio/ring.c +++ b/platform/linux-generic/pktio/ring.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/platform/linux-generic/pktio/socket.c b/platform/linux-generic/pktio/socket.c index a383adc6..d87f2d4f 100644 --- a/platform/linux-generic/pktio/socket.c +++ b/platform/linux-generic/pktio/socket.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c index 6fc4b4cc..6229706c 100644 --- a/platform/linux-generic/pktio/socket_mmap.c +++ b/platform/linux-generic/pktio/socket_mmap.c @@ -5,6 +5,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/platform/linux-generic/pktio/sysfs.c b/platform/linux-generic/pktio/sysfs.c index be0822dd..1ece177f 100644 --- a/platform/linux-generic/pktio/sysfs.c +++ b/platform/linux-generic/pktio/sysfs.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c index 650c12a7..c2bea69f 100644 --- a/platform/linux-generic/pktio/tap.c +++ b/platform/linux-generic/pktio/tap.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * From patchwork Tue Aug 15 09:59:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110114 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5464752qge; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) X-Received: by 10.200.56.90 with SMTP id r26mr34789928qtb.174.1502791412189; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791412; cv=none; d=google.com; s=arc-20160816; b=bYWA1pohB5CG4Uarg1+TpqJ4ssf8GqbShbZHerhKEzdojB+o8T5xbOikQdcrQmObNy 42X2ST+9W+0JlVI4k415YhI6oBtkmOjp7E3M8TcAI0P16QeH0kZhvh3lnVLZKPwVa7A9 RxCNQ38SXQZpku7BQ9S077LLEdGHy7uziedY+RHKTU4tFJnzdmS01J4pWL1ddo3jZ0tv M1iYkzfvhcIdu4Tk4eVZbpTVCl7l7eqIsV+Yg+bHLmPlCcduV5s1fu0Zxj9OEtvPFFaq mupuIOoXzIXGaPm0dLtcB6LdBAU7kcEp11hSWW5ZGK/p7P/MJdMU35dDmFmf66/gXQzZ zObw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=TmBMdTiPa/HluhUUT9+wB9xRUG1EenpTZa1I74C/sRw=; b=d0cDfvLjWTKuf9qzkeirNpPYCv3ZdEG/iPgAis9ex8iBdnkjDjsmEgQgEr9vYGmb5S zcjZ5C8tu4a4ra7XBbDEhE+4NMbEdO6oyoGpRbSUeTXduy4TssfTXy7SxpFdberxzxd9 N5dq4Zh6RkChZmUC23CdHksQwjYaQIEoCPi8fgyy70rC6He3zgvnK55RdCuME1FJXusO pS449PsdwKjgcIGkuu3pgPhiNsXTkWGjtFC/TCkxLIafNXlulB77vE4+tXdP2baA93j5 ghw8j2D6Bb/fYMaZZw/mUfw7fGomic6DQqmjgSBFaKL8xr33PN0Qq9xQCnmLKkpCGiJf W94g== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x185si8161551qkd.291.2017.08.15.03.03.31; Tue, 15 Aug 2017 03:03:32 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 9F91765C68; Tue, 15 Aug 2017 10:03:31 +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=BAYES_00,FREEMAIL_FROM, 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 B8CCD65C39; Tue, 15 Aug 2017 10:00:47 +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 5B57D65C0A; Tue, 15 Aug 2017 10:00:36 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id E70A3644BA for ; Tue, 15 Aug 2017 10:00:30 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 42638181B05 for ; Tue, 15 Aug 2017 13:00:29 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mACFN3X413-0SoKtBr6; Tue, 15 Aug 2017 13:00:29 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0SjiXRwr; Tue, 15 Aug 2017 13:00:28 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:54 +0300 Message-Id: <1502791206-2437-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 4/16] helper: enable using of config.h header 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ helper/chksum.c | 4 ++++ helper/cuckootable.c | 4 ++++ helper/eth.c | 4 ++++ helper/hashtable.c | 5 +++++ helper/ip.c | 4 ++++ helper/iplookuptable.c | 4 ++++ helper/lineartable.c | 4 ++++ helper/linux/thread.c | 4 ++++ helper/test/chksum.c | 4 ++++ helper/test/cuckootable.c | 4 ++++ helper/test/iplookuptable.c | 4 ++++ helper/test/linux/process.c | 4 ++++ helper/test/linux/pthread.c | 4 ++++ helper/test/odpthreads.c | 4 ++++ helper/test/parse.c | 4 ++++ helper/test/table.c | 4 ++++ helper/threads.c | 4 ++++ 17 files changed, 69 insertions(+) diff --git a/helper/chksum.c b/helper/chksum.c index ae70d97e..23875110 100644 --- a/helper/chksum.c +++ b/helper/chksum.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/cuckootable.c b/helper/cuckootable.c index 32800911..65972361 100644 --- a/helper/cuckootable.c +++ b/helper/cuckootable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/helper/eth.c b/helper/eth.c index 9a151fa2..38dbe04a 100644 --- a/helper/eth.c +++ b/helper/eth.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/hashtable.c b/helper/hashtable.c index f26b18b2..2aef8e4a 100644 --- a/helper/hashtable.c +++ b/helper/hashtable.c @@ -3,6 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/ip.c b/helper/ip.c index eb73e5a0..06f9edb1 100644 --- a/helper/ip.c +++ b/helper/ip.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c index ac7d0587..ee98d857 100644 --- a/helper/iplookuptable.c +++ b/helper/iplookuptable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/lineartable.c b/helper/lineartable.c index dd4a5995..7ddb3feb 100644 --- a/helper/lineartable.c +++ b/helper/lineartable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/linux/thread.c b/helper/linux/thread.c index 52d4efc5..deb1a34d 100644 --- a/helper/linux/thread.c +++ b/helper/linux/thread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/helper/test/chksum.c b/helper/test/chksum.c index 1beae47f..995b23e1 100644 --- a/helper/test/chksum.c +++ b/helper/test/chksum.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "odph_debug.h" #include #include diff --git a/helper/test/cuckootable.c b/helper/test/cuckootable.c index be655911..24faf360 100644 --- a/helper/test/cuckootable.c +++ b/helper/test/cuckootable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*- * BSD LICENSE * diff --git a/helper/test/iplookuptable.c b/helper/test/iplookuptable.c index b5d774cb..0bac4f03 100644 --- a/helper/test/iplookuptable.c +++ b/helper/test/iplookuptable.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/linux/process.c b/helper/test/linux/process.c index e08ef868..81eb462e 100644 --- a/helper/test/linux/process.c +++ b/helper/test/linux/process.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/linux/pthread.c b/helper/test/linux/pthread.c index 2bec0d17..b4d8caae 100644 --- a/helper/test/linux/pthread.c +++ b/helper/test/linux/pthread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/test/odpthreads.c b/helper/test/odpthreads.c index 219e1b65..4db6ec31 100644 --- a/helper/test/odpthreads.c +++ b/helper/test/odpthreads.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * This program tests the ability of the linux helper to create ODP threads, * either implemented as linux pthreads or as linux processes, depending on diff --git a/helper/test/parse.c b/helper/test/parse.c index 0429f2cc..49a1925d 100644 --- a/helper/test/parse.c +++ b/helper/test/parse.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/helper/test/table.c b/helper/test/table.c index ac454da5..58d1f644 100644 --- a/helper/test/table.c +++ b/helper/test/table.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier:BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/helper/threads.c b/helper/threads.c index cb747e5b..16c8ed4c 100644 --- a/helper/threads.c +++ b/helper/threads.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif From patchwork Tue Aug 15 09:59:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110116 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5468149qge; Tue, 15 Aug 2017 03:06:57 -0700 (PDT) X-Received: by 10.233.220.199 with SMTP id q190mr32228210qkf.283.1502791616900; Tue, 15 Aug 2017 03:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791616; cv=none; d=google.com; s=arc-20160816; b=uGxMCat+syy8iz0zrzNUiqcwbD1ik+JWo5AI3THbm6ChOeXmZI/Eow1VMRHtu7i3Um VWybpMcg0tznlujRUwSw+ciatNwEtP3ilkMb8PjcxEzuAclTUyxwTR9Z0vgFC2DVAVlI gF9sLGLS/3LEVjHI0PIPe5FMCEZxyead7Mb+u+mcsrQbH4qdA54ea2bNJky3dFV3n/Si 7YICAfPoMOEGdQ5aDq9TDy9FDfIjhUpoMgA8b44NVup2F34b3mFMsf9OJSBWnRVaS2VH OW2YTSnZ40sFBeWljh7ZcsNR4tMg6Ar3uQQM7fxxEdH9GkI6SKQytl1kHzl9rs3hbGj9 ft0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=OJ47wiWqpnGX6zuxLwHgIa/MPOs+TAXlukemNvsQdhc=; b=ISv2I3oMzxuHwDOmoRGrhKI/CtxPpKbisfiF6eDUIH7lhI+iiksn1Cxk+JNUtgmnij 01MM50iE06KRl+Ey9IzRbFjeOzLbuUhSN033l6huT8BAMEubdvo6Jb5LiFGtSTBMM3qN rxrhnBOsarGCgMefY5bOCEnhiH95teARf3LLbp0d8CSJWpy8ub7Cs4ej9KRdvf+fanEX zF4JGDsBDl88a67oHm8uK+/6spU6QjXt4itv5cvaOYDLEZ/ERfhupWe91BYJ87+KR+V6 FxjqJiYzG5j6s5x05TkKTuixaFQeP+RuMwSssup9nJLAZ0bqyBt44Je/JGcia72p34b8 JMpQ== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p38si8219858qtf.376.2017.08.15.03.06.56; Tue, 15 Aug 2017 03:06:56 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 83855644CA; Tue, 15 Aug 2017 10:06:56 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 6CD9B65C57; Tue, 15 Aug 2017 10:01:07 +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 72CB665C4C; Tue, 15 Aug 2017 10:00:45 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 8FE0564475 for ; Tue, 15 Aug 2017 10:00:31 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 7CF631343CBE for ; Tue, 15 Aug 2017 13:00:30 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id j0rDNHmnec-0UWudaHx; Tue, 15 Aug 2017 13:00:30 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0TjKMKhA; Tue, 15 Aug 2017 13:00:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:55 +0300 Message-Id: <1502791206-2437-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 5/16] test: use config.h header 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ test/common_plat/common/mask_common.c | 4 ++++ test/common_plat/common/odp_cunit_common.c | 4 ++++ test/common_plat/performance/odp_bench_packet.c | 4 ++++ test/common_plat/performance/odp_crypto.c | 4 ++++ test/common_plat/performance/odp_l2fwd.c | 4 ++++ test/common_plat/performance/odp_pktio_ordered.c | 4 ++++ test/common_plat/performance/odp_pktio_perf.c | 4 ++++ test/common_plat/performance/odp_sched_latency.c | 4 ++++ test/common_plat/performance/odp_scheduling.c | 4 ++++ test/common_plat/validation/api/atomic/atomic.c | 4 ++++ test/common_plat/validation/api/atomic/atomic_main.c | 4 ++++ test/common_plat/validation/api/barrier/barrier.c | 4 ++++ test/common_plat/validation/api/barrier/barrier_main.c | 4 ++++ test/common_plat/validation/api/buffer/buffer.c | 4 ++++ test/common_plat/validation/api/buffer/buffer_main.c | 4 ++++ test/common_plat/validation/api/classification/classification.c | 4 ++++ test/common_plat/validation/api/classification/classification_main.c | 4 ++++ .../validation/api/classification/odp_classification_basic.c | 4 ++++ .../validation/api/classification/odp_classification_common.c | 4 ++++ .../validation/api/classification/odp_classification_test_pmr.c | 4 ++++ .../validation/api/classification/odp_classification_tests.c | 4 ++++ test/common_plat/validation/api/cpumask/cpumask.c | 4 ++++ test/common_plat/validation/api/cpumask/cpumask_main.c | 4 ++++ test/common_plat/validation/api/crypto/crypto.c | 4 ++++ test/common_plat/validation/api/crypto/crypto_main.c | 4 ++++ test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 4 ++++ test/common_plat/validation/api/errno/errno.c | 4 ++++ test/common_plat/validation/api/errno/errno_main.c | 4 ++++ test/common_plat/validation/api/hash/hash.c | 4 ++++ test/common_plat/validation/api/hash/hash_main.c | 4 ++++ test/common_plat/validation/api/init/init.c | 4 ++++ test/common_plat/validation/api/init/init_main_abort.c | 4 ++++ test/common_plat/validation/api/init/init_main_log.c | 4 ++++ test/common_plat/validation/api/init/init_main_ok.c | 4 ++++ test/common_plat/validation/api/lock/lock.c | 4 ++++ test/common_plat/validation/api/lock/lock_main.c | 4 ++++ test/common_plat/validation/api/packet/packet.c | 4 ++++ test/common_plat/validation/api/packet/packet_main.c | 4 ++++ test/common_plat/validation/api/pktio/parser.c | 4 ++++ test/common_plat/validation/api/pktio/pktio.c | 4 ++++ test/common_plat/validation/api/pktio/pktio_main.c | 4 ++++ test/common_plat/validation/api/pool/pool.c | 4 ++++ test/common_plat/validation/api/pool/pool_main.c | 4 ++++ test/common_plat/validation/api/queue/queue.c | 4 ++++ test/common_plat/validation/api/queue/queue_main.c | 4 ++++ test/common_plat/validation/api/random/random.c | 4 ++++ test/common_plat/validation/api/random/random_main.c | 4 ++++ test/common_plat/validation/api/scheduler/scheduler.c | 4 ++++ test/common_plat/validation/api/scheduler/scheduler_main.c | 4 ++++ test/common_plat/validation/api/shmem/shmem.c | 4 ++++ test/common_plat/validation/api/shmem/shmem_main.c | 4 ++++ test/common_plat/validation/api/std_clib/std_clib.c | 4 ++++ test/common_plat/validation/api/std_clib/std_clib_main.c | 4 ++++ test/common_plat/validation/api/system/system.c | 4 ++++ test/common_plat/validation/api/system/system_main.c | 4 ++++ test/common_plat/validation/api/thread/thread.c | 4 ++++ test/common_plat/validation/api/thread/thread_main.c | 4 ++++ test/common_plat/validation/api/time/time.c | 4 ++++ test/common_plat/validation/api/time/time_main.c | 4 ++++ test/common_plat/validation/api/timer/timer.c | 4 ++++ test/common_plat/validation/api/timer/timer_main.c | 4 ++++ test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 4 ++++ test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c | 4 ++++ test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c | 4 ++++ test/linux-generic/pktio_ipc/ipc_common.c | 4 ++++ test/linux-generic/pktio_ipc/pktio_ipc1.c | 4 ++++ test/linux-generic/pktio_ipc/pktio_ipc2.c | 4 ++++ test/linux-generic/ring/ring_basic.c | 4 ++++ test/linux-generic/ring/ring_main.c | 4 ++++ test/linux-generic/ring/ring_stress.c | 4 ++++ test/linux-generic/ring/ring_suites.c | 4 ++++ test/linux-generic/validation/api/shmem/shmem_linux.c | 4 ++++ test/linux-generic/validation/api/shmem/shmem_odp1.c | 4 ++++ test/linux-generic/validation/api/shmem/shmem_odp2.c | 4 ++++ 74 files changed, 296 insertions(+) diff --git a/test/common_plat/common/mask_common.c b/test/common_plat/common/mask_common.c index b31534c6..a4a1450c 100644 --- a/test/common_plat/common/mask_common.c +++ b/test/common_plat/common/mask_common.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" diff --git a/test/common_plat/common/odp_cunit_common.c b/test/common_plat/common/odp_cunit_common.c index d3328af6..fdd7631a 100644 --- a/test/common_plat/common/odp_cunit_common.c +++ b/test/common_plat/common/odp_cunit_common.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/performance/odp_bench_packet.c b/test/common_plat/performance/odp_bench_packet.c index c4cd6139..e8e4e131 100644 --- a/test/common_plat/performance/odp_bench_packet.c +++ b/test/common_plat/performance/odp_bench_packet.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/common_plat/performance/odp_crypto.c b/test/common_plat/performance/odp_crypto.c index c3dd6d38..c42cbb92 100644 --- a/test/common_plat/performance/odp_crypto.c +++ b/test/common_plat/performance/odp_crypto.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif /* _GNU_SOURCE */ diff --git a/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c index 78b3633b..b20ecea2 100644 --- a/test/common_plat/performance/odp_l2fwd.c +++ b/test/common_plat/performance/odp_l2fwd.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c index 4bb0bef9..bb2e8990 100644 --- a/test/common_plat/performance/odp_pktio_ordered.c +++ b/test/common_plat/performance/odp_pktio_ordered.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/common_plat/performance/odp_pktio_perf.c b/test/common_plat/performance/odp_pktio_perf.c index 09463081..d3c43702 100644 --- a/test/common_plat/performance/odp_pktio_perf.c +++ b/test/common_plat/performance/odp_pktio_perf.c @@ -20,6 +20,10 @@ * a single packet rate can be specified on the command line. * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include diff --git a/test/common_plat/performance/odp_sched_latency.c b/test/common_plat/performance/odp_sched_latency.c index 026f2f6c..6f6b5da5 100644 --- a/test/common_plat/performance/odp_sched_latency.c +++ b/test/common_plat/performance/odp_sched_latency.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/common_plat/performance/odp_scheduling.c b/test/common_plat/performance/odp_scheduling.c index 38e76257..1188bf2f 100644 --- a/test/common_plat/performance/odp_scheduling.c +++ b/test/common_plat/performance/odp_scheduling.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/common_plat/validation/api/atomic/atomic.c b/test/common_plat/validation/api/atomic/atomic.c index db9484bc..ee9e5b20 100644 --- a/test/common_plat/validation/api/atomic/atomic.c +++ b/test/common_plat/validation/api/atomic/atomic.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/atomic/atomic_main.c b/test/common_plat/validation/api/atomic/atomic_main.c index db035373..f783996f 100644 --- a/test/common_plat/validation/api/atomic/atomic_main.c +++ b/test/common_plat/validation/api/atomic/atomic_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "atomic.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/barrier/barrier.c b/test/common_plat/validation/api/barrier/barrier.c index 79ee82b3..cda1a38f 100644 --- a/test/common_plat/validation/api/barrier/barrier.c +++ b/test/common_plat/validation/api/barrier/barrier.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/barrier/barrier_main.c b/test/common_plat/validation/api/barrier/barrier_main.c index 064decf6..6d9b3893 100644 --- a/test/common_plat/validation/api/barrier/barrier_main.c +++ b/test/common_plat/validation/api/barrier/barrier_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "barrier.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/buffer/buffer.c b/test/common_plat/validation/api/buffer/buffer.c index 7c723d4f..1a58b9f2 100644 --- a/test/common_plat/validation/api/buffer/buffer.c +++ b/test/common_plat/validation/api/buffer/buffer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" #include "buffer.h" diff --git a/test/common_plat/validation/api/buffer/buffer_main.c b/test/common_plat/validation/api/buffer/buffer_main.c index 47168f8b..c5cc522e 100644 --- a/test/common_plat/validation/api/buffer/buffer_main.c +++ b/test/common_plat/validation/api/buffer/buffer_main.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "buffer.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/classification/classification.c b/test/common_plat/validation/api/classification/classification.c index 1032e7f1..e96920b7 100644 --- a/test/common_plat/validation/api/classification/classification.c +++ b/test/common_plat/validation/api/classification/classification.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "odp_classification_testsuites.h" diff --git a/test/common_plat/validation/api/classification/classification_main.c b/test/common_plat/validation/api/classification/classification_main.c index 8902463c..030b72ef 100644 --- a/test/common_plat/validation/api/classification/classification_main.c +++ b/test/common_plat/validation/api/classification/classification_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "classification.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/classification/odp_classification_basic.c b/test/common_plat/validation/api/classification/odp_classification_basic.c index 3f4a82ed..053d3d64 100644 --- a/test/common_plat/validation/api/classification/odp_classification_basic.c +++ b/test/common_plat/validation/api/classification/odp_classification_basic.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_classification_testsuites.h" #include "classification.h" diff --git a/test/common_plat/validation/api/classification/odp_classification_common.c b/test/common_plat/validation/api/classification/odp_classification_common.c index de8a9327..7198845f 100644 --- a/test/common_plat/validation/api/classification/odp_classification_common.c +++ b/test/common_plat/validation/api/classification/odp_classification_common.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c index e6b496a1..94bca10a 100644 --- a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c +++ b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/classification/odp_classification_tests.c b/test/common_plat/validation/api/classification/odp_classification_tests.c index a0f73e39..33069653 100644 --- a/test/common_plat/validation/api/classification/odp_classification_tests.c +++ b/test/common_plat/validation/api/classification/odp_classification_tests.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/cpumask/cpumask.c b/test/common_plat/validation/api/cpumask/cpumask.c index a0cb559f..ceb68fd9 100644 --- a/test/common_plat/validation/api/cpumask/cpumask.c +++ b/test/common_plat/validation/api/cpumask/cpumask.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" diff --git a/test/common_plat/validation/api/cpumask/cpumask_main.c b/test/common_plat/validation/api/cpumask/cpumask_main.c index 39e3171c..1181b7e3 100644 --- a/test/common_plat/validation/api/cpumask/cpumask_main.c +++ b/test/common_plat/validation/api/cpumask/cpumask_main.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "cpumask.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/crypto/crypto.c b/test/common_plat/validation/api/crypto/crypto.c index 94beb2f1..1955440a 100644 --- a/test/common_plat/validation/api/crypto/crypto.c +++ b/test/common_plat/validation/api/crypto/crypto.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "odp_crypto_test_inp.h" diff --git a/test/common_plat/validation/api/crypto/crypto_main.c b/test/common_plat/validation/api/crypto/crypto_main.c index d8c26fa2..e6919623 100644 --- a/test/common_plat/validation/api/crypto/crypto_main.c +++ b/test/common_plat/validation/api/crypto/crypto_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "crypto.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c index ae600e23..2729140c 100644 --- a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c +++ b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/errno/errno.c b/test/common_plat/validation/api/errno/errno.c index e3b6ced5..5b9b80b0 100644 --- a/test/common_plat/validation/api/errno/errno.c +++ b/test/common_plat/validation/api/errno/errno.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" #include "errno.h" diff --git a/test/common_plat/validation/api/errno/errno_main.c b/test/common_plat/validation/api/errno/errno_main.c index 0138279e..6f4c2bd0 100644 --- a/test/common_plat/validation/api/errno/errno_main.c +++ b/test/common_plat/validation/api/errno/errno_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "errno.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/hash/hash.c b/test/common_plat/validation/api/hash/hash.c index b353fcec..5c35404c 100644 --- a/test/common_plat/validation/api/hash/hash.c +++ b/test/common_plat/validation/api/hash/hash.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "hash.h" diff --git a/test/common_plat/validation/api/hash/hash_main.c b/test/common_plat/validation/api/hash/hash_main.c index f9818b7b..79cb1be0 100644 --- a/test/common_plat/validation/api/hash/hash_main.c +++ b/test/common_plat/validation/api/hash/hash_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "hash.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init.c b/test/common_plat/validation/api/init/init.c index 61055fad..d024529f 100644 --- a/test/common_plat/validation/api/init/init.c +++ b/test/common_plat/validation/api/init/init.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/init/init_main_abort.c b/test/common_plat/validation/api/init/init_main_abort.c index 2e0faafb..8060b312 100644 --- a/test/common_plat/validation/api/init/init_main_abort.c +++ b/test/common_plat/validation/api/init/init_main_abort.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init_main_log.c b/test/common_plat/validation/api/init/init_main_log.c index 41dd00d7..44cef543 100644 --- a/test/common_plat/validation/api/init/init_main_log.c +++ b/test/common_plat/validation/api/init/init_main_log.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init_main_ok.c b/test/common_plat/validation/api/init/init_main_ok.c index 6053ec18..a45c4ba8 100644 --- a/test/common_plat/validation/api/init/init_main_ok.c +++ b/test/common_plat/validation/api/init/init_main_ok.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/lock/lock.c b/test/common_plat/validation/api/lock/lock.c index f8a1d8c0..c7579ec9 100644 --- a/test/common_plat/validation/api/lock/lock.c +++ b/test/common_plat/validation/api/lock/lock.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/lock/lock_main.c b/test/common_plat/validation/api/lock/lock_main.c index 5a30f02b..85e18e17 100644 --- a/test/common_plat/validation/api/lock/lock_main.c +++ b/test/common_plat/validation/api/lock/lock_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "lock.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c index 284aaeb5..384cfc74 100644 --- a/test/common_plat/validation/api/packet/packet.c +++ b/test/common_plat/validation/api/packet/packet.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include diff --git a/test/common_plat/validation/api/packet/packet_main.c b/test/common_plat/validation/api/packet/packet_main.c index 511bb104..ce4a8d79 100644 --- a/test/common_plat/validation/api/packet/packet_main.c +++ b/test/common_plat/validation/api/packet/packet_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "packet.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/pktio/parser.c b/test/common_plat/validation/api/pktio/parser.c index ad7101d0..661871f0 100644 --- a/test/common_plat/validation/api/pktio/parser.c +++ b/test/common_plat/validation/api/pktio/parser.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include diff --git a/test/common_plat/validation/api/pktio/pktio.c b/test/common_plat/validation/api/pktio/pktio.c index c476a712..ce59d38c 100644 --- a/test/common_plat/validation/api/pktio/pktio.c +++ b/test/common_plat/validation/api/pktio/pktio.c @@ -3,6 +3,10 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include diff --git a/test/common_plat/validation/api/pktio/pktio_main.c b/test/common_plat/validation/api/pktio/pktio_main.c index 2928e1b8..94ae0c08 100644 --- a/test/common_plat/validation/api/pktio/pktio_main.c +++ b/test/common_plat/validation/api/pktio/pktio_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pktio.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/pool/pool.c b/test/common_plat/validation/api/pool/pool.c index 8687941f..eaca9637 100644 --- a/test/common_plat/validation/api/pool/pool.c +++ b/test/common_plat/validation/api/pool/pool.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" #include "pool.h" diff --git a/test/common_plat/validation/api/pool/pool_main.c b/test/common_plat/validation/api/pool/pool_main.c index bf06585b..19eab971 100644 --- a/test/common_plat/validation/api/pool/pool_main.c +++ b/test/common_plat/validation/api/pool/pool_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pool.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/queue/queue.c b/test/common_plat/validation/api/queue/queue.c index f08d811f..80d02760 100644 --- a/test/common_plat/validation/api/queue/queue.c +++ b/test/common_plat/validation/api/queue/queue.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "queue.h" diff --git a/test/common_plat/validation/api/queue/queue_main.c b/test/common_plat/validation/api/queue/queue_main.c index b461b860..b06cfc43 100644 --- a/test/common_plat/validation/api/queue/queue_main.c +++ b/test/common_plat/validation/api/queue/queue_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "queue.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/random/random.c b/test/common_plat/validation/api/random/random.c index a0e2ef72..17c07520 100644 --- a/test/common_plat/validation/api/random/random.c +++ b/test/common_plat/validation/api/random/random.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "random.h" diff --git a/test/common_plat/validation/api/random/random_main.c b/test/common_plat/validation/api/random/random_main.c index 8f38a84c..2fb80991 100644 --- a/test/common_plat/validation/api/random/random_main.c +++ b/test/common_plat/validation/api/random/random_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "random.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index 4f99435c..87cb6918 100644 --- a/test/common_plat/validation/api/scheduler/scheduler.c +++ b/test/common_plat/validation/api/scheduler/scheduler.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" #include "scheduler.h" diff --git a/test/common_plat/validation/api/scheduler/scheduler_main.c b/test/common_plat/validation/api/scheduler/scheduler_main.c index 57cfa5fc..6a56ddec 100644 --- a/test/common_plat/validation/api/scheduler/scheduler_main.c +++ b/test/common_plat/validation/api/scheduler/scheduler_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "scheduler.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/shmem/shmem.c b/test/common_plat/validation/api/shmem/shmem.c index 0e757a70..ce180077 100644 --- a/test/common_plat/validation/api/shmem/shmem.c +++ b/test/common_plat/validation/api/shmem/shmem.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "shmem.h" diff --git a/test/common_plat/validation/api/shmem/shmem_main.c b/test/common_plat/validation/api/shmem/shmem_main.c index 4c691305..b58dfdb5 100644 --- a/test/common_plat/validation/api/shmem/shmem_main.c +++ b/test/common_plat/validation/api/shmem/shmem_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "shmem.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/std_clib/std_clib.c b/test/common_plat/validation/api/std_clib/std_clib.c index 7f089eab..ffc957cf 100644 --- a/test/common_plat/validation/api/std_clib/std_clib.c +++ b/test/common_plat/validation/api/std_clib/std_clib.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "std_clib.h" diff --git a/test/common_plat/validation/api/std_clib/std_clib_main.c b/test/common_plat/validation/api/std_clib/std_clib_main.c index ef6f2736..45080e83 100644 --- a/test/common_plat/validation/api/std_clib/std_clib_main.c +++ b/test/common_plat/validation/api/std_clib/std_clib_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "std_clib.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/system/system.c b/test/common_plat/validation/api/system/system.c index 5b7ca01a..d00c9c20 100644 --- a/test/common_plat/validation/api/system/system.c +++ b/test/common_plat/validation/api/system/system.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/system/system_main.c b/test/common_plat/validation/api/system/system_main.c index 50d202a8..d4baf8af 100644 --- a/test/common_plat/validation/api/system/system_main.c +++ b/test/common_plat/validation/api/system/system_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "system.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/thread/thread.c b/test/common_plat/validation/api/thread/thread.c index 24f1c458..1f7ca84c 100644 --- a/test/common_plat/validation/api/thread/thread.c +++ b/test/common_plat/validation/api/thread/thread.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/common_plat/validation/api/thread/thread_main.c b/test/common_plat/validation/api/thread/thread_main.c index 53c75655..9badc312 100644 --- a/test/common_plat/validation/api/thread/thread_main.c +++ b/test/common_plat/validation/api/thread/thread_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "thread.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/time/time.c b/test/common_plat/validation/api/time/time.c index e2ca2e17..2473b19c 100644 --- a/test/common_plat/validation/api/time/time.c +++ b/test/common_plat/validation/api/time/time.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "odp_cunit_common.h" #include "time_test.h" diff --git a/test/common_plat/validation/api/time/time_main.c b/test/common_plat/validation/api/time/time_main.c index bf1cfe7b..6ea94ddf 100644 --- a/test/common_plat/validation/api/time/time_main.c +++ b/test/common_plat/validation/api/time/time_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "time_test.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/timer/timer.c b/test/common_plat/validation/api/timer/timer.c index b7d84c64..5594e0ea 100644 --- a/test/common_plat/validation/api/timer/timer.c +++ b/test/common_plat/validation/api/timer/timer.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file */ diff --git a/test/common_plat/validation/api/timer/timer_main.c b/test/common_plat/validation/api/timer/timer_main.c index c318763f..db5268b6 100644 --- a/test/common_plat/validation/api/timer/timer_main.c +++ b/test/common_plat/validation/api/timer/timer_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c index 88a7d8c7..8ff86b37 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #define _GNU_SOURCE #include diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c index 1fc1f78d..7668b45e 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "traffic_mngr.h" int main(int argc, char *argv[]) diff --git a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c index e91a9d0d..6ed9fea3 100644 --- a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c +++ b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/linux-generic/pktio_ipc/ipc_common.c b/test/linux-generic/pktio_ipc/ipc_common.c index 85cbc8b4..e77d6610 100644 --- a/test/linux-generic/pktio_ipc/ipc_common.c +++ b/test/linux-generic/pktio_ipc/ipc_common.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "ipc_common.h" /** Run time in seconds */ diff --git a/test/linux-generic/pktio_ipc/pktio_ipc1.c b/test/linux-generic/pktio_ipc/pktio_ipc1.c index 5d8434bf..65dc9c46 100644 --- a/test/linux-generic/pktio_ipc/pktio_ipc1.c +++ b/test/linux-generic/pktio_ipc/pktio_ipc1.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "ipc_common.h" /** diff --git a/test/linux-generic/pktio_ipc/pktio_ipc2.c b/test/linux-generic/pktio_ipc/pktio_ipc2.c index 95d69e80..4c8bf63e 100644 --- a/test/linux-generic/pktio_ipc/pktio_ipc2.c +++ b/test/linux-generic/pktio_ipc/pktio_ipc2.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/linux-generic/ring/ring_basic.c b/test/linux-generic/ring/ring_basic.c index 926dc465..a5b78f92 100644 --- a/test/linux-generic/ring/ring_basic.c +++ b/test/linux-generic/ring/ring_basic.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/linux-generic/ring/ring_main.c b/test/linux-generic/ring/ring_main.c index 71526884..442b4ced 100644 --- a/test/linux-generic/ring/ring_main.c +++ b/test/linux-generic/ring/ring_main.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "ring_suites.h" int main(int argc, char *argv[]) diff --git a/test/linux-generic/ring/ring_stress.c b/test/linux-generic/ring/ring_stress.c index b6ddb34e..271d7a52 100644 --- a/test/linux-generic/ring/ring_stress.c +++ b/test/linux-generic/ring/ring_stress.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /** * @file * diff --git a/test/linux-generic/ring/ring_suites.c b/test/linux-generic/ring/ring_suites.c index f321a762..0061d425 100644 --- a/test/linux-generic/ring/ring_suites.c +++ b/test/linux-generic/ring/ring_suites.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/linux-generic/validation/api/shmem/shmem_linux.c b/test/linux-generic/validation/api/shmem/shmem_linux.c index fe11a7db..de93b9a2 100644 --- a/test/linux-generic/validation/api/shmem/shmem_linux.c +++ b/test/linux-generic/validation/api/shmem/shmem_linux.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* this test makes sure that odp shared memory created with the ODP_SHM_PROC * flag is visible under linux, and checks that memory created with the * ODP_SHM_EXPORT flag is visible by other ODP instances. diff --git a/test/linux-generic/validation/api/shmem/shmem_odp1.c b/test/linux-generic/validation/api/shmem/shmem_odp1.c index 0ced4554..7ba03d9e 100644 --- a/test/linux-generic/validation/api/shmem/shmem_odp1.c +++ b/test/linux-generic/validation/api/shmem/shmem_odp1.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/test/linux-generic/validation/api/shmem/shmem_odp2.c b/test/linux-generic/validation/api/shmem/shmem_odp2.c index 0144407b..cf1cda6b 100644 --- a/test/linux-generic/validation/api/shmem/shmem_odp2.c +++ b/test/linux-generic/validation/api/shmem/shmem_odp2.c @@ -4,6 +4,10 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include From patchwork Tue Aug 15 09:59:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110117 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5472258qge; Tue, 15 Aug 2017 03:11:00 -0700 (PDT) X-Received: by 10.55.170.205 with SMTP id t196mr32530422qke.106.1502791860756; Tue, 15 Aug 2017 03:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791860; cv=none; d=google.com; s=arc-20160816; b=RwGM9UXV33Tt+Va4fQnDN1npwg+iTgz+ToiAdUBpCfPVVWvvKJvM+ZP/HEjwNy46g1 LKthOGhNufTFDfwySRSy6OTd6PfShg4t4mdy8AcA7yu/G6OX3ARG+11X2Of4utZ8kWZD D18rhgNFpdHMQ250EN9oVbyQMcb41GNV1XRlUUINR8gjtkvildAWCP0Zs4k2XBdQD42a E3S8pDk4XxkrCzCGzIUidKpck8OizDj6MxOh+saWtWVeqQ3y9iBf9CM2Gf02M1taWw7m FFeAh8fJrs6PDWQ1VTRGmWjPBKKyMT3bCoZ1pFg5IeBqzMV69/Vj+hU6rsA5/QCFk0xj kpxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=Jy+B78BbtGUKSs5mAvBO6Z2Idh6EHBwXGh/bStEm1KE=; b=bsezSMo1z39X1ptQzybJB7teEUNlN5SjntdssDzis64IRiq/OhuGt9ZejJ+2IBlfWG 3K3gT5l3nFL41ZeCRyNiYkKBBccdWOTb+lfCszhh3NAHiVDVy2nPXEEi8OduGi61QEXB 1AVE4i1ocZN+nKhroKsR5BaH4Z3Ox8WyvDySceO8BGAmCq9XWBlsrK+TCMyAD7Frw9Fh 6pb9p8JdCcrA3J1e2Y+xfNjdNGfiJjem3hIq9jgYyk4dt/ZYbhFDR312CN5qWsFNRzAI bw3/WWzVnemfykCLTghIvjAGmX8T2rlFKpZQriTFHy6MGppnCmiC02W8tMuFa9diKoeb RqWA== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 16si8112968qkl.316.2017.08.15.03.11.00; Tue, 15 Aug 2017 03:11:00 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 51C9A61E19; Tue, 15 Aug 2017 10:11:00 +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=BAYES_00,FREEMAIL_FROM, 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 7BAD065BCB; Tue, 15 Aug 2017 10:01:55 +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 0C56365C7C; Tue, 15 Aug 2017 10:01:47 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id 06A4C65BC6 for ; Tue, 15 Aug 2017 10:00:33 +0000 (UTC) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 2D55A5883517 for ; Tue, 15 Aug 2017 13:00:31 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id LkJJgYP02M-0UeGrdHT; Tue, 15 Aug 2017 13:00:31 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0Uj4BQbf; Tue, 15 Aug 2017 13:00:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:56 +0300 Message-Id: <1502791206-2437-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 6/16] linux-gen: tm: do not redefine _GNU_SOURCE 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/odp_traffic_mngr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 21f131f8..18877a0e 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -10,7 +10,9 @@ #include "config.h" #endif +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include From patchwork Tue Aug 15 09:59:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110118 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5472745qge; Tue, 15 Aug 2017 03:11:34 -0700 (PDT) X-Received: by 10.55.209.86 with SMTP id s83mr32867518qki.171.1502791894823; Tue, 15 Aug 2017 03:11:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791894; cv=none; d=google.com; s=arc-20160816; b=we8UkY/unOH7KQ2bjOGmvJp926waso2+jfJ+3xHeCefMt+tO1QhPkYFTHl9jGJlz+Y UqmN5Hmwzi4OVujWpTFYg+zph9WWZchWmPEg8niAXHQlqX0qlrDJGIMCNUSz430uIJpZ X9Zmf8WFbvYjSgap7DtsBbnCIGOsBlfyPeepsbH/FyE37rIedDuyvBnHBzNzxSzz7DEZ E5o4ZDI4l+iDqjWGExx5mY9THrpWWNvfpYzo6zdKX3UKC/bdBN64L1+yGk5OYn07uODV 0lN6Uy5tdW1qAcpINTxUhbUBrUq1T+aCHCSfL2X6q9i54/YRqMRZZDQZ2O/Z9DP0dk5e Wj9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=DsuvuC5QB+NfWW1RuDyu2tqBJDafgNe+KQZPQYus4B8=; b=Wa/neawdDV4KYq/3l+A1fdi5O2uj0lkm/QuAVN9WF7ajHAQ9LfdoMhzt9MEx6v9Xlc 6SaaDA/oq4diKjVOR50rO/Bfs5x67vs2CNSAhn7I1nR3KWrt5gn+TWQkMStiNcDFnxgD CSL45xQsRQOTfyXQe6ejM6C6qtllmyhgfpMCqPIAC/esZ4zbuHlZngQI1qVIWlYToXXJ sLfh59gw6xA2ddxuPMdLl5+3I0xY2mhHd5mWMt12sPawxygP3kJJrvad4ZbL0xbs8d/3 ljgmC4nVywSrnRIIKkg740Nd3793DwYIbJU9QeaQlgfsdmu48RC3RwshCuTPeNs51lCV Q0Pg== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u27si8414749qte.536.2017.08.15.03.11.34; Tue, 15 Aug 2017 03:11:34 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 75C3165C83; Tue, 15 Aug 2017 10:11:34 +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=BAYES_00,FREEMAIL_FROM, 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 BB6DC644BD; Tue, 15 Aug 2017 10:02:00 +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 4845865C83; Tue, 15 Aug 2017 10:01:55 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 52B5C65BCB for ; Tue, 15 Aug 2017 10:00:33 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 0FD0F1829F3 for ; Tue, 15 Aug 2017 13:00:32 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id T1RPj2oBpo-0VnSfDHE; Tue, 15 Aug 2017 13:00:31 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0VjG5cwt; Tue, 15 Aug 2017 13:00:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:57 +0300 Message-Id: <1502791206-2437-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 7/16] linux-gen: pktio: ethtool: don't include linux/if.h 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" From: Dmitry Eremin-Solenikov net/if.h together with _USE_MISC (from _GNU_SOURCE) includes necessary definitions, so no point in including platform-specific linux/if.h. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/pktio/ethtool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 2f796745..72b8d759 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -8,10 +8,12 @@ #include "config.h" #endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include #include -#include #include #include #include From patchwork Tue Aug 15 09:59:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110120 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5473767qge; Tue, 15 Aug 2017 03:12:45 -0700 (PDT) X-Received: by 10.200.35.188 with SMTP id q57mr35689608qtq.238.1502791964971; Tue, 15 Aug 2017 03:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791964; cv=none; d=google.com; s=arc-20160816; b=JhiR99qnb4OsgyPwDZHpMmnsWewwli4rGfkchnBWfhebV0lne9m6Ua4TS4juobNhRY ekVxiTzxlWp0LBYFIY9wwL9HNLmtLYsArVrULUUQmaOV/NEpJUrb0W+n/iKMEQdSHIzT n49jziWkcNlKmHVbRrUJr182pgc5ULjEg59ocqD6mjH5hSW8uuSvzbBqLP1AgAjir8t7 75YmGBaBmia8PdtTTYy4KRS6F78Y0gdrvn+4+FkLa+pJWSnvkUXnGpFd5WXIqWzWmmdF T3MLXYaGFLYlXQT3sOJnKZTtFPGuEWT8gJCdkn99XZQ4QKSJ0EV02ulYp5cQLDMud0VK x/kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=0FrkYUcEYFxvO+MlipsGaIeNz2hzFXNHZ8Y4BElSArw=; b=P5su0VtFub6BcjooCAoNulsjofQ9LW1X4Tf92/8YzRu3n1+L0pzsPQ1x6NytRWhGwz yCBgDCQFi8Hw4rsNNjIMxZlTAdtIJP5Rmie7zTXh1DcGNO5Ni8i5151lut3Ms8vdXYk6 oxDzh7XG/N+nkeqsksybZ9q7ABqg47wAv1jIPMHipu6dCtFFluATrGA/4ognIipizx8i 4tPctrp4l457IzQO6Twjdx1eges+1hPrIeq8H3i4OpHbabZgSbUmy3jmaiU+NN/gcmUv U21W7qwkROD66V3Yn+3KwBQfoMR/FLxy2ov4n8LFU4KPQO8tyqViLYs/vOxj/fJRtEwN ggfw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g74si2885288qkh.256.2017.08.15.03.12.44; Tue, 15 Aug 2017 03:12:44 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8EB7865C5B; Tue, 15 Aug 2017 10:12:44 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 6355065C93; Tue, 15 Aug 2017 10:02:06 +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 7C5E065BF5; Tue, 15 Aug 2017 10:01:58 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 05BEC644BD for ; Tue, 15 Aug 2017 10:00:34 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 960F46A81898 for ; Tue, 15 Aug 2017 13:00:32 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Vww5J8hJZx-0WbiNICd; Tue, 15 Aug 2017 13:00:32 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0WjKpdUx; Tue, 15 Aug 2017 13:00:32 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:58 +0300 Message-Id: <1502791206-2437-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 8/16] configure: AC_DEFINE_UNQUOTED(IMPLEMENTATION_NAME) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8b13bed8..ccc439d5 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,8 @@ else exit 1 fi -ODP_CFLAGS="$ODP_CFLAGS -DIMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" +AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"], + [Define to the name of the implementation]) ########################################################################## # Include m4 files From patchwork Tue Aug 15 09:59:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110119 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5473298qge; Tue, 15 Aug 2017 03:12:09 -0700 (PDT) X-Received: by 10.200.36.156 with SMTP id s28mr35836891qts.277.1502791929807; Tue, 15 Aug 2017 03:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791929; cv=none; d=google.com; s=arc-20160816; b=eUDKZ+RPQnFVSq8L73RF4ObMHAjBAStwt4nauquresXydE9+3qkcQm3sqiDaxAK18+ JS37UjfUJX1+/aJtH/KVyetOpXPy9CYOQwfCNPooP3UdIw5HV2uXV3ex12XRBfz3UpjJ Bpd2/CFy6JdcMzEtNZbsacUYHouK6DL+ql18tqA+l7Xc5jKI7tI3rB+nbDxj0/eYzWQK QXNkzd5irqiHndSDZD7DDuAQ5sD1T6I/z0yqzj4CONlQQMg+oOzdjCIfQjTut0y6jzRy OoxA1Y666/PadIPs6KcBHvcLgQ7FtJj/8ZLlVsftLWYt39yRJaT6uIeOftXlNd08KvPw nbdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=+cX2mtB+INYya3T664kiIlrAfIQ/qAMPxFouEdthgmo=; b=VmabSCc/qCrlG+PrQsizsnY6sVSzVCBas/5RBlvXSeWqVAHyjNVNHuwixCifubMLjB 6fUBtC0FlJnPZqVvOGtukZu7U49Cdi6VZxzzv55VtMP7mydBnuSSxo+Gxr5FLuwelVbO Lus1uo2De1jhbus08P/8k1T4y6btMumHLzb3P04uiAjvNd9I8ujfANehIMUNtX/PLtbt ps2+iY63qn4vPkqXo3vO+m8M05Mt4tgHi+1xrlBmu0Q6EhQNFrV88Z1GO+QYkhTZitSn Tlz1mEOBSvh3AL3cIv2P5H1BB8RltoABf4WW2S4eCPhK2ncEPEgntHKaeGJJBdt8W2Rj jUBg== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n134si8242087qkn.515.2017.08.15.03.12.09; Tue, 15 Aug 2017 03:12:09 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 7AECC644D8; Tue, 15 Aug 2017 10:12:09 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 098AE65C7C; Tue, 15 Aug 2017 10:02:04 +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 3599F65C7C; Tue, 15 Aug 2017 10:01:58 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 494DE65BD3 for ; Tue, 15 Aug 2017 10:00:34 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 1CE891343452 for ; Tue, 15 Aug 2017 13:00:33 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xskllvpclY-0XmuWmnD; Tue, 15 Aug 2017 13:00:33 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0WjiS1LG; Tue, 15 Aug 2017 13:00:32 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 12:59:59 +0300 Message-Id: <1502791206-2437-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 9/16] configure: AC_DEFINE_UNQUOTED(ODP_DEBUG_PRINT) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ccc439d5..d3737e8a 100644 --- a/configure.ac +++ b/configure.ac @@ -252,10 +252,9 @@ AC_ARG_ENABLE([debug-print], [ --enable-debug-print display debugging information], [if test "x$enableval" = "xyes"; then ODP_DEBUG_PRINT=1 - else - ODP_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT" +AC_DEFINE_UNQUOTED([ODP_DEBUG_PRINT], [$ODP_DEBUG_PRINT], + [Define to 1 to display debug information]) ODPH_DEBUG_PRINT=0 AC_ARG_ENABLE([helper-debug-print], From patchwork Tue Aug 15 10:00:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110121 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5474206qge; Tue, 15 Aug 2017 03:13:14 -0700 (PDT) X-Received: by 10.233.232.149 with SMTP id a143mr36366418qkg.339.1502791994635; Tue, 15 Aug 2017 03:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791994; cv=none; d=google.com; s=arc-20160816; b=pVvt4c9sgNsfEDfSGgK+YW9WnT3DtrZH1AXpLar72xKAxzQD4E/igm314XXB+4q4pR RjUAjIfxCBb/2I/825Pw9cVSPTAIPbUaKVOTZNO96ab2FEKCNuOLga2vHkKJLe0IsAZ5 cQMOy4rMDkMrV2bSLWqqrLHXRpWa+UGa++l7Z6WtHQf2K9n1B3vUB1oVgqOkaHzMApp2 o4XxPds8kvxIgfYyv9svXDZwmQW/RUTyJRl/PqpAt1vXC3YLwH+Am79cjEdZWGi7ZHqr uBj/n5lP4pVvHlMgtVz17Ha2NxUkkunF/pNyRWOkQnUaXIYr7q3M/zMADQV6B3UXxa8I +CYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=uY3UfxePU9nZ540+ehQOvxO0yhcl9n3Vrs1UnQ4tpec=; b=gGd2UIXabhCo9ZfTH9Coio/beQb+F6rrsLSyyLZTkkQTGsjz/lNocDjp/pt1t6YRxq UacS8Ngr4JnHHMUh0eV/4wktriG6j6mswdgX+Bw41nn0qebFQZD7Ei9abAAZgbom0rni Evv2Mx3A5g4AikXn9AlxSKZ/2wVRB+TMKuKL0KuTLNtIrWpzlTksZKB6oN965zYfWQ59 fUfytWglAXTmhfSOyoV3jWd+wcwt2MbQs+Wx6F63KFqtfneqvjjpveJvp61XHIbZyzKg RDJTHZtXaJeITPMNilcaFuaj2LE5jNG+w3CjFm382CC4DlXE3NAQPbSEscsYIWcDk06w 5Bqw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v45si8452847qtv.60.2017.08.15.03.13.14; Tue, 15 Aug 2017 03:13:14 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 56A0365C93; Tue, 15 Aug 2017 10:13:14 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 B50F865C0E; Tue, 15 Aug 2017 10:02:11 +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 BD532644D8; Tue, 15 Aug 2017 10:01:59 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id D6114644B5 for ; Tue, 15 Aug 2017 10:00:34 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward101o.mail.yandex.net (Yandex) with ESMTP id BA0FC1343BC4 for ; Tue, 15 Aug 2017 13:00:33 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MMqRccNS0W-0XSGG4el; Tue, 15 Aug 2017 13:00:33 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0XjG2Oi2; Tue, 15 Aug 2017 13:00:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:00 +0300 Message-Id: <1502791206-2437-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 10/16] configure: AC_DEFINE_UNQUOTED(ODPH_DEBUG_PRINT) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d3737e8a..707c22f7 100644 --- a/configure.ac +++ b/configure.ac @@ -261,10 +261,9 @@ AC_ARG_ENABLE([helper-debug-print], [ --enable-helper-debug-print display helper debugging information], [if test "x$enableval" = "xyes"; then ODPH_DEBUG_PRINT=1 - else - ODPH_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODPH_DEBUG_PRINT=$ODPH_DEBUG_PRINT" +AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], + [Define to 1 to display helper debug information]) ########################################################################## # Enable/disable ODP_DEBUG From patchwork Tue Aug 15 10:00:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110127 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5476928qge; Tue, 15 Aug 2017 03:16:25 -0700 (PDT) X-Received: by 10.200.40.82 with SMTP id 18mr35173824qtr.138.1502792185035; Tue, 15 Aug 2017 03:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792185; cv=none; d=google.com; s=arc-20160816; b=CdQiUUb2fpefO3jJRPexD4CVvhbO/1e7L54H1Pnd7V6Lic/lo9R9UTV/Hdmv02mzwS YCz0pkd0PZEt0MnBtNXpO8NAcx8RKj0VZMTcU5dBXF+uV5qYjWFfeeoSG1N7xuGXhsaN Iuka6cUUPILVPBdDd1AHGXiIp/ukfV4qSzzKMojN7JDFj7qnrBrZRGb+opPCgCuWwRnw 9VlPz3nhfScCINX9ulsJqdL1zgyxA/Tga9C9A56gryw23OBi/HKCzggVpvRtezBc62Ix 6z/6QfQ77NF3Yff7WVZ2alKz4af2TQasraJMUFasrdlJEwUT218TI+S3GgS797n3acN5 b0dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=hDmJwU3x1VNo5rHLd1vPkaaaQWuxi8ttwfIZTlgqcfE=; b=jyLPH6lFoW9QYBf8qrMMmDK6Wz+43qdpyIrqfRFDF0j32/HCwzWiXR7NuN8fh07ao/ yoSWZM5Sdf3gKVguzj9Greh8M5yXQM4VwZ95vCcox47LXqJ8lOcQQYpZBJEcpvjJo3dE xjBVmtY9FRtBnWiqzVPXquo0z3EFv5Uith6Wi+gfD+HevspNYeSKGpvEE6kAzWnjzmg7 5hfOiOX5nxmP2p1Vo0eD8ITQ5ul+7Ss7JNGN8I/H23Gvmd4xal2lLa0I0zNV2cX73vog JiBFc4TT803mPcdxCgNgxwbVdRZrgVsY9/a9ao3/2ks8n8Fmm4kTR4jmZ1ZR0Tht2725 jCtg== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w188si8045363qkd.29.2017.08.15.03.16.24; Tue, 15 Aug 2017 03:16:25 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8485760C88; Tue, 15 Aug 2017 10:16:24 +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=BAYES_00,FREEMAIL_FROM, 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 9650C6449A; Tue, 15 Aug 2017 10:03:08 +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 220D365C84; Tue, 15 Aug 2017 10:02:57 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 69E6065C28 for ; Tue, 15 Aug 2017 10:00:40 +0000 (UTC) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 4C675180256F for ; Tue, 15 Aug 2017 13:00:34 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wWOcAitT53-0YReFrnc; Tue, 15 Aug 2017 13:00:34 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0Xj4QMcF; Tue, 15 Aug 2017 13:00:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:01 +0300 Message-Id: <1502791206-2437-12-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 11/16] configure: AC_DEFINE_UNQUOTED(ODP_DEBUG) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 707c22f7..dec501c5 100644 --- a/configure.ac +++ b/configure.ac @@ -273,10 +273,9 @@ AC_ARG_ENABLE([debug], [ --enable-debug include additional code], [if test "x$enableval" = "xyes"; then ODP_DEBUG=1 - else - ODP_DEBUG=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG" +AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], + [Define to 1 to include additional debug code]) ########################################################################## # Enable/disable ABI compatible build From patchwork Tue Aug 15 10:00:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110122 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5474573qge; Tue, 15 Aug 2017 03:13:42 -0700 (PDT) X-Received: by 10.200.34.195 with SMTP id g3mr35488639qta.4.1502792022470; Tue, 15 Aug 2017 03:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792022; cv=none; d=google.com; s=arc-20160816; b=AoYM2Lr/DsAFnioDKoJWyP7x2qfZ5jDBBnLigvHSKm0Hl+ryZH5tBDny/cptV3fW2L L5ZvHZs9eW2AFBKqD1RhsmWN84hEPqAVCkW9ALQYob2A6zxEE28cdQjHjWPxXV6lTiuY 1sfNjlKcvQnIMRem+RzOgv2EU5aSfkC7SAUr6HtU7Xb5L0BUVPVVJymBRUjCdBKrRmme pPJqwYc4yhShgPZk8mekhAHzA1pSpevCN0ub+YSWlHXvftDovKlfw9W4hGzn97gpIWBI QmPL4hkq4LQlFUK5lvWOVlW3qIcJEY0dr5aK59mR7Hk+/lyTXF83Y2/FZdKo6239qG8e YP8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=gMp46ONyZ8EqKCcnmP2WO1057+HLWH0FAFDN91VBjgc=; b=Y+jscf8ZPnzKFqTHHGNqkqa89+o3CUE8iCcB0Xl7hJIsKT1RD6fq642H4QA20o5vhH 9qR0dzQ3vlWTvxbfMGgp2i6EwOlhPJSRz9bxKMhcEJ4U0vp7gX6nrhT2UFBnadFjffSa +Rk+TPSVGkcSu+B5zDRmgeoZhJbaV72+FeoOuR7lVzZv0bxRQ1itd4rw6cGNlLTCG47q npeyfjO4Y3Ib3p8inp8kAxi3F9Ajypix4acx9Y0uAiiz3hcFrNuOIzGslJZlmRkxvnV3 eOBnRatsEjmc7VZVU3Gvj3lJRNlWzCl6juacK1m3iIGD7W2YpqYTZgqv6q0WZlmwab7S GJQw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z35si8095488qtc.481.2017.08.15.03.13.42; Tue, 15 Aug 2017 03:13:42 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 3140965C92; Tue, 15 Aug 2017 10:13:42 +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=BAYES_00,FREEMAIL_FROM, 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 13B7765C99; Tue, 15 Aug 2017 10:02:15 +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 5E8B6644BD; Tue, 15 Aug 2017 10:02:00 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 4B6F565BFF for ; Tue, 15 Aug 2017 10:00:36 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward106o.mail.yandex.net (Yandex) with ESMTP id D77BF784341 for ; Tue, 15 Aug 2017 13:00:34 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4mM4QGM2Ko-0YaGbFt5; Tue, 15 Aug 2017 13:00:34 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0YjK30hP; Tue, 15 Aug 2017 13:00:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:02 +0300 Message-Id: <1502791206-2437-13-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 12/16] configure: AC_DEFINE(HAVE_PCAP) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/m4/odp_pcap.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4 index d7295f21..0b5b8a2e 100644 --- a/platform/linux-generic/m4/odp_pcap.m4 +++ b/platform/linux-generic/m4/odp_pcap.m4 @@ -9,7 +9,7 @@ AC_CHECK_HEADER(pcap/pcap.h, []) if test "$have_pcap" = "yes"; then - ODP_CFLAGS="$AM_CFLAGS -DHAVE_PCAP" + AC_DEFINE([HAVE_PCAP], 1, [Define to 1 if you have pcap library]) PCAP_LIBS="-lpcap" fi From patchwork Tue Aug 15 10:00:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110123 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5474974qge; Tue, 15 Aug 2017 03:14:10 -0700 (PDT) X-Received: by 10.237.39.155 with SMTP id a27mr37962152qtd.183.1502792050402; Tue, 15 Aug 2017 03:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792050; cv=none; d=google.com; s=arc-20160816; b=fo37PIkXgZCQa/ZsDx+EDwvOa18IJcUtQRcrzsZYg5WsMeFJTvFQoOUd1e/qy/8HJj YjGmkZxFulHSJ001IoAvg51NkqqLVUjc1iwAkzEIdRe9pVRWZgHHKJy6Lv6STzp7S1GQ PbFoXnviH2VxynegxQkRNKP9UDrkefN7b/dQXvw4QFp+wK2NxEL04/E738+Hu4+q801o 0Z4Gd77ZhoUgtt8liSp6/42B2Kc8IC1cQq5Oi9ANMhENVGwJ828xSewr8O1aw/wy9m0T 1Ys9dG/9PMzym9rZAzg36/hXyhRB0zclxAIJulQThrgxgK0+VX6BeC1rSAdD75L0v6zP p/Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=bvOA8hzZNXOryBZqhFdOiSO8kVSQyWcY9McMOZv293g=; b=yfKzEzyMTvbB6azHybAGT6KmLyMhBYKG3+npx2AqVgLPotdLTBAPxT4AiB1t30YxLs oJG/SlDts4S1fNU0NsRqEHjAMOTnQ9PKBDbdICGpZeezA+2PkFwmJxDZQS8PZ9U/ZIyG 3ESPTweEFNOgydOAi7nj4888MC/8+M37EhegPgwoq41uhnPDx+/8mYav3zan8ACCmTod n2FGAv3R2yiQrJ2PdUJi2/Xkp4Y6vx7epRkmerxC9gMnnfc88w+lLaKO9OG2Wvh5hWxw I+TI9yO9uvw38J/3WGpdm92e54MTNxQiF1lwSSSGTChnkW48gzh8jPk7fYSbSaEFFVbp OpSA== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 13si8274640qkm.398.2017.08.15.03.14.10; Tue, 15 Aug 2017 03:14:10 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 231C1644D4; Tue, 15 Aug 2017 10:14:10 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 7953D65C9C; Tue, 15 Aug 2017 10:02:23 +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 E1A02644BA; Tue, 15 Aug 2017 10:02:14 +0000 (UTC) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by lists.linaro.org (Postfix) with ESMTPS id 34FB0644BA for ; Tue, 15 Aug 2017 10:00:37 +0000 (UTC) Received: from mxback16j.mail.yandex.net (mxback16j.mail.yandex.net [IPv6:2a02:6b8:0:1619::92]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 93B165603B2D for ; Tue, 15 Aug 2017 13:00:35 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback16j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id C8nFKDoWZb-0ZVGQw8F; Tue, 15 Aug 2017 13:00:35 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0YjK1vh0; Tue, 15 Aug 2017 13:00:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:03 +0300 Message-Id: <1502791206-2437-14-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 13/16] configure: AC_DEFINE(ODP_SCHEDULE_SP) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/m4/odp_schedule.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4 index 91c19f21..14b278bf 100644 --- a/platform/linux-generic/m4/odp_schedule.m4 +++ b/platform/linux-generic/m4/odp_schedule.m4 @@ -2,7 +2,8 @@ AC_ARG_ENABLE([schedule-sp], [ --enable-schedule-sp enable strict priority scheduler], [if test x$enableval = xyes; then schedule_sp_enabled=yes - ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP" + AC_DEFINE([ODP_SCHEDULE_SP], [1], + [Define to 1 to enable strict priority scheduler]) fi]) AC_ARG_ENABLE([schedule-iquery], From patchwork Tue Aug 15 10:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110124 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5475379qge; Tue, 15 Aug 2017 03:14:37 -0700 (PDT) X-Received: by 10.55.100.206 with SMTP id y197mr37888453qkb.56.1502792077571; Tue, 15 Aug 2017 03:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792077; cv=none; d=google.com; s=arc-20160816; b=xpqEyjJYXjZ2sk1xQR+YyPwJiTUmKFMSq2UtEufsMr3j8V72ICrCSJpXHE0DbgZX94 ijZ4d15KAeW4AOuUqcdXUiVdiR5eOsyABCjYcq3ef2pqZJYneYRL4PmxvhoAJEElHvKA kCzwgm88RRX6fYtYQ0BIDYOMAGtzuSMwwDIolmnV6nycYJZb3xcXXqKTiitW5cTMWMfY nasV373/pvSqNIQEtQXjUCQXzDqKIQ9DlZ4yDcnALMMeLstTyvkALrEQaLVRBTXu7ELj 9QJl6lLbeCLs1M3CYkNxBWlDuf+VMSwcE5Tu0I72BK6uLoKZyiSc6pqAjjuCGhfK/fIE YkBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=UUbBLhgIkSs5Wor8W90hJJmEq2WJHtfcCuzjWF5jyuI=; b=KnJFpR7YJqu9E6OhLouJ451/uFwADjTMEXn06xrn3Exk2qi7pEGaw58GcaWYLauAga Dw2pFxHTacpAj7HF/Ocq0PeOY5k9dmvvjNfk7kQieNgTJn9t/dIxNXFA6IUrDeLnhMYd EBH5eg2byfFqfcUsoU1iIF0r3mJHqGFYyqDddgomFnIHAJvVyg4LioiHWg7lrYKswWuJ F3tX1uJXBiLn6f/0tWbtifErj7bI3AdODbdcMAWdhqXxabN0/h6sNWlEy8wTL0Wq5jQz tb9zJEi4gQL9JH/8c/Hp1h5UgIUtxM6k9twlszeWzckFZj6QzGwl8cDDQTm9E7a2yJFd GHsg== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 4si8354755qta.92.2017.08.15.03.14.37; Tue, 15 Aug 2017 03:14:37 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 34A7265C92; Tue, 15 Aug 2017 10:14:37 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 CF76A65CA0; Tue, 15 Aug 2017 10:02:25 +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 658DB65C98; Tue, 15 Aug 2017 10:02:20 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 8604C644BE for ; Tue, 15 Aug 2017 10:00:37 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 2F9324303A31 for ; Tue, 15 Aug 2017 13:00:36 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ha3nSMPz1g-0aRaTjS9; Tue, 15 Aug 2017 13:00:36 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0ZjuwdTZ; Tue, 15 Aug 2017 13:00:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:04 +0300 Message-Id: <1502791206-2437-15-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 14/16] configure: AC_DEFINE(ODP_SCHEDULE_IQUERY) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/m4/odp_schedule.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4 index 14b278bf..bb3980ca 100644 --- a/platform/linux-generic/m4/odp_schedule.m4 +++ b/platform/linux-generic/m4/odp_schedule.m4 @@ -10,5 +10,6 @@ AC_ARG_ENABLE([schedule-iquery], [ --enable-schedule-iquery enable interests query (sparse bitmap) scheduler], [if test x$enableval = xyes; then schedule_iquery_enabled=yes - ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY" + AC_DEFINE([ODP_SCHEDULE_IQUERY], [1], + [Define to 1 to enable interests query scheduler]) fi]) From patchwork Tue Aug 15 10:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110126 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5476156qge; Tue, 15 Aug 2017 03:15:32 -0700 (PDT) X-Received: by 10.55.46.66 with SMTP id u63mr35369220qkh.333.1502792132861; Tue, 15 Aug 2017 03:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792132; cv=none; d=google.com; s=arc-20160816; b=T+jsIFnEF+SKb16/SX62PKl0yyCvf/zK0o9sWggd53f094awery19yZxJZKFOGp0zg FhbINPVp2SXoWpW475wWnUEgBP0sl+gNLCBhcjTmfETiQG9e3Rot70g5Q+0PVfMkXki+ petKBlEy8ywpkqYJWBSS5BK9RWvG6AUI//SlV4Zt89nODjXOEgwT/YeeeGNxyG3BTgmq 82vY5baADumiduXuHzzBqiN/ggrmcFb4oNKrxASMFMIPjQx9OaPoMjg0Yh7mfBoUqKAH ACxEpzy46qjtro9LGbIAvo+OIPqFoB/xJEb5KsgcinXbYfzwPmovdZ60EsVPNWiaAWYI xvrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=vLXljfSrUH/HkUrhxO0RrmEMSlf2DWQ5AqgzuaXMLNc=; b=KonYD3RJvAYJWQ7ztx74Gv8nW1Lg58hmqNvj0NHIlrXQdZQf+NjbIZdc/iTSJatQ3X n9Yp8BqdXhnx/DMPVzB1Txct0Bgoz0qoy82B38CVWU1Bab3RbD7Nbk+4pYKtrgtCFlbl RVA4ca0rkmhjv5J/ZqhxBAcOe75arh8MBA67NVxnVeCFHKxj97VITg2N6PGWCnJ20IFz Ja83UiTjLSDWbpu4zEcQ01GxcIldb9XmbX3GFPJmzoyjEsDoC8SlhmDN7rcMmUnETsbZ l/58LwEyuC6udtTKI5N8s/zrQIj47wyqHx2HabBYHtcNlNFVWNioJB0PcxywphDhIEEF RUAQ== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a24si8418757qtk.181.2017.08.15.03.15.32; Tue, 15 Aug 2017 03:15:32 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 96489644D4; Tue, 15 Aug 2017 10:15:32 +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=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 C0CFD65CA7; Tue, 15 Aug 2017 10:02:35 +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 78AE665C25; Tue, 15 Aug 2017 10:02:32 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 68B7465C25 for ; Tue, 15 Aug 2017 10:00:39 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward101j.mail.yandex.net (Yandex) with ESMTP id CAEBD12422D0 for ; Tue, 15 Aug 2017 13:00:36 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hVDq8qndz8-0ao0LKXp; Tue, 15 Aug 2017 13:00:36 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0ajqY3KR; Tue, 15 Aug 2017 13:00:36 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:05 +0300 Message-Id: <1502791206-2437-16-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 15/16] configure: AC_DEFINE(ODP_NETMAP) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/m4/odp_netmap.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_netmap.m4 b/platform/linux-generic/m4/odp_netmap.m4 index dea80626..bd04824b 100644 --- a/platform/linux-generic/m4/odp_netmap.m4 +++ b/platform/linux-generic/m4/odp_netmap.m4 @@ -31,7 +31,8 @@ if test x$netmap_support = xyes then AC_CHECK_HEADERS([net/netmap_user.h], [], [AC_MSG_FAILURE(["can't find netmap header"])]) - ODP_CFLAGS="$ODP_CFLAGS -DODP_NETMAP" + AC_DEFINE([ODP_NETMAP], [1], + [Define to 1 to enable netmap IO support]) AC_SUBST([NETMAP_CPPFLAGS]) else netmap_support=no From patchwork Tue Aug 15 10:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110125 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5475785qge; Tue, 15 Aug 2017 03:15:06 -0700 (PDT) X-Received: by 10.200.50.91 with SMTP id y27mr39281400qta.305.1502792106825; Tue, 15 Aug 2017 03:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502792106; cv=none; d=google.com; s=arc-20160816; b=ZJcW8YWdgfVVJJFUK0bgpKYkf8N15KCcXif5rzJzvHEvsUNhWdIZPy9jLXI7NO0EFv NhwY1nHzs3IB14zVjS9dOrheLl/QVKOcCm+v2lWDK+Wed5KWM8hNeWw7gb4LZjtD1J9z OBC4nERlhPesBNSi90qXKSIZ6DBwj7VtHHWATlN0PHqzwcsnOGfcgFxEUXWPE6HR9cfu lLwBaLt8T+m+YLHz5mduOrcfjS4CArpwpDMH0mGmKsfaewsjo2+QIpWksBJ1CewO+/fY iz7+a8Otib7mHgkGbmMkvMx3DC3j7M9AaZHkjpzmqOuYGtaA/fTjDgH0T/o++IrBHNMU n95w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=vJl1B/hY5DNi31jLI3AhGRoFqekvIclb91b2MZSynfM=; b=lDrD/a4KzVrrQVdiHOH1c9RgYTtDHPEOGNJcoVF0ONw2BDK8uAEY6Wp/e5SeciU6qx d3YQin7OFWm70VFV4KsXrLIrg54IHFAr7W2ExCmffpZ9Sjt2RSyvFGlPfaT/Uz7pU0bF MlFYpzT9o9tELEFd0ZH9UIhV3RlGGuSuNJSVb4rIWPewZ4EOza+dCvoyF8hbkYsUy3WE j5/UO4aApN1SySGNMRQn0ra2xYtK3WFnDF1p/cj2qeVGX4wDzEOxBGOV9aEHyt0bokQJ qDVCbP2CZnX7IbYpDODame0UjiuoQ6F83NTOslKbzvepNv+5BEfqp4hIETPrkprGr707 1kZw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i16si8513746qtc.237.2017.08.15.03.15.06; Tue, 15 Aug 2017 03:15:06 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 7E5C26351E; Tue, 15 Aug 2017 10:15:06 +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=BAYES_00,FREEMAIL_FROM, 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 6794765C98; Tue, 15 Aug 2017 10:02:34 +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 DAF9B65C9F; Tue, 15 Aug 2017 10:02:29 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id C778565C18 for ; Tue, 15 Aug 2017 10:00:38 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward106o.mail.yandex.net (Yandex) with ESMTP id A56B2783F5E for ; Tue, 15 Aug 2017 13:00:37 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ky6rmRxHGt-0b98guXU; Tue, 15 Aug 2017 13:00:37 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0ajqvXjK; Tue, 15 Aug 2017 13:00:36 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 13:00:06 +0300 Message-Id: <1502791206-2437-17-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 16/16] configure: AC_DEFINE(ODP_PKTIO_DPDK)/AC_DEFINE(ODP_DPDK_ZERO_COPY) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ platform/linux-generic/m4/odp_dpdk.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4 index cebf1028..b6554165 100644 --- a/platform/linux-generic/m4/odp_dpdk.m4 +++ b/platform/linux-generic/m4/odp_dpdk.m4 @@ -47,7 +47,11 @@ then done AS_VAR_APPEND([DPDK_PMDS], [--no-whole-archive]) - ODP_CFLAGS="$ODP_CFLAGS -DODP_PKTIO_DPDK -DODP_DPDK_ZERO_COPY=$zero_copy" + AC_DEFINE([ODP_PKTIO_DPDK], [1], + [Define to 1 to enable DPDK packet I/O support]) + AC_DEFINE_UNQUOTED([ODP_DPDK_ZERO_COPY], [$zero_copy], + [Define to 1 to enable DPDK zero copy support]) + DPDK_LIBS="-L$DPDK_PATH/lib -ldpdk -lpthread -ldl -lpcap -lm" AC_SUBST([DPDK_CPPFLAGS]) AC_SUBST([DPDK_LIBS])