From patchwork Fri Nov 10 17:00:14 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: 118596 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8169630qgn; Fri, 10 Nov 2017 09:04:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMYhERaDvTiok8W19m1MavTvuGSJHNwX/3Oil6/Xq1/rhZ9JpYACWz8NSJOMYUhYIY/veVoY X-Received: by 10.129.230.7 with SMTP id u7mr698869ywl.256.1510333449298; Fri, 10 Nov 2017 09:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333449; cv=none; d=google.com; s=arc-20160816; b=AdRbFyYGbGJz//UloN8CVGWrl1QrpK8N2JyzH/f07PUjVezz+mMGfRl//4sfAXmdhv T5UR5EQ+XCx4Gl+eouMxLEB8vGlOixfPWREnwStd9iSOc9l3QFYZn0BTPQP7ewhiz/wz rUBAA1qSgsi4ZNhEVcVKWdIE2XSPtEGMk30oYYA+VCyIqaPQGUEshiQjNLNS8orvx3v8 weci8hOdEXDyDj6vOMczjMOsBeCMnjfSs8l7hdOzHI+OG74wGIqxF3bUC6rdQZPgkQkE i1yi2Ri7jQKAlQ00noMi2cgLe+KvDPEPmOiZTDnyYANiANQ16HiWk0RaCbpGyPBEb13S 52VQ== 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=Ro5ABQGdYzSMyCma2lhiAH38Uj+05dMuHQfvm++nklI=; b=Je7cINync1cMDOa/DDa8yzMMheTRUYr0NsJqK86yGRVhzmP2eSU9IKffrdLjW+0sUb FiaYD49hdlew4U+uJurHkgsJPEGYhSsbdjDlWT90xtOcDiZRRq36qpQk6ApTUG3qqNFc DU5kLVPYXtB21tDpk0ML+WsWsyClyoRHFeCxfEG7PtTfI+di1k8fsCq0TY9+/Iu9g9U3 c2XFxEaH03Sx6n+aGryhHAw/PWihphoB+T+Xkggo+N1el9jXy3m8gnJr0OeqSWhMI5ac i1fdczYpVpETfZZOBvk/uKovtJU8/tw82zPlW7jv9Pc8j4tJcNyxCgvEiMM4vNnVGJ6k yq2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id g64si8857781qtd.289.2017.11.10.09.04.08; Fri, 10 Nov 2017 09:04:09 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 BD5036095A; Fri, 10 Nov 2017 17:04:08 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 DB07E6097D; Fri, 10 Nov 2017 17:00:49 +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 A41B86068D; Fri, 10 Nov 2017 17:00:32 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 8CB4260607 for ; Fri, 10 Nov 2017 17:00:22 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 2B1AE430491D for ; Fri, 10 Nov 2017 20:00:21 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ooIE3nL2uU-0KTK6QLl; Fri, 10 Nov 2017 20:00:21 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0KZiWXGF; Fri, 10 Nov 2017 20:00:20 +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: Fri, 10 Nov 2017 20:00:14 +0300 Message-Id: <1510333217-26418-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510333217-26418-1-git-send-email-odpbot@yandex.ru> References: <1510333217-26418-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 261 Subject: [lng-odp] [PATCH 2.0 v2 3/6] linux-gen: modular-framework: move pool subsystem header to a public folder 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: Bogdan Pricope Move pool subsystem header to a public folder. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 261 (bogdanPricope:2_0_mf_include_pr) ** https://github.com/Linaro/odp/pull/261 ** Patch: https://github.com/Linaro/odp/pull/261.patch ** Base sha: 65419c16086369f86dea068e54ce492526fa4f41 ** Merge commit sha: 3034b865079536d2064a7ceb890b5bf6876949a6 **/ include/Makefile.am | 3 ++- include/odp_mf.h | 1 + .../odp_pool_subsystem.h => include/subsystem/spec/pool_subsystem.h | 0 platform/linux-dpdk/Makefile.am | 1 - platform/linux-dpdk/include/odp_pool_internal.h | 2 +- platform/linux-generic/Makefile.am | 1 - platform/linux-generic/include/odp_pool_internal.h | 2 +- platform/linux-generic/pool/subsystem.c | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename platform/linux-generic/include/odp_pool_subsystem.h => include/subsystem/spec/pool_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index ffff3f4df..f794be53f 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -76,7 +76,8 @@ frameworksmodularspecinclude_HEADERS = \ subsystemspecincludedir= $(includedir)/subsystem/spec subsystemspecinclude_HEADERS = \ - subsystem/spec/buffer_subsystem.h + subsystem/spec/buffer_subsystem.h \ + subsystem/spec/pool_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/include/odp_mf.h b/include/odp_mf.h index a4e6474fd..787746817 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -20,6 +20,7 @@ extern C { #include #include +#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/include/subsystem/spec/pool_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pool_subsystem.h rename to include/subsystem/spec/pool_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 948518f90..29440714b 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -207,7 +207,6 @@ noinst_HEADERS = \ ${top_srcdir}/platform/linux-generic/include/odp_packet_io_ring_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_pkt_queue_internal.h \ ${srcdir}/include/odp_pool_internal.h \ - ${top_srcdir}/platform/linux-generic/include/odp_pool_subsystem.h \ ${srcdir}/include/odp_posix_extensions.h \ ${top_srcdir}/platform/linux-generic/include/odp_queue_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_queue_if.h \ diff --git a/platform/linux-dpdk/include/odp_pool_internal.h b/platform/linux-dpdk/include/odp_pool_internal.h index 2b3fc18c0..7d8fba14e 100644 --- a/platform/linux-dpdk/include/odp_pool_internal.h +++ b/platform/linux-dpdk/include/odp_pool_internal.h @@ -20,7 +20,7 @@ extern "C" { #include #include -#include +#include #include #include #include diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 60e1fccb4..d3cf48a84 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -188,7 +188,6 @@ noinst_HEADERS = \ include/odp_pkt_queue_internal.h \ include/odp_queue_subsystem.h \ include/odp_pool_internal.h \ - include/odp_pool_subsystem.h \ include/odp_posix_extensions.h \ include/odp_queue_internal.h \ include/odp_queue_scalable_internal.h \ diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h index 5004e283c..adbdc4917 100644 --- a/platform/linux-generic/include/odp_pool_internal.h +++ b/platform/linux-generic/include/odp_pool_internal.h @@ -21,7 +21,7 @@ extern "C" { #include #include -#include +#include #include #include #include diff --git a/platform/linux-generic/pool/subsystem.c b/platform/linux-generic/pool/subsystem.c index 073a9fa98..66c84380d 100644 --- a/platform/linux-generic/pool/subsystem.c +++ b/platform/linux-generic/pool/subsystem.c @@ -7,7 +7,7 @@ */ #include #include -#include +#include #include #define SUBSYSTEM_VERSION 0x00010000UL