From patchwork Fri Nov 24 09:00:10 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: 119555 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1922963qgn; Fri, 24 Nov 2017 01:02:28 -0800 (PST) X-Google-Smtp-Source: AGs4zMbhPSli/x8jFEZ4UWVQQ5BGvCR3WdrbwZ7iBTsO+WP48iLJsLT1ExbebfMXqiujyoiD9s/r X-Received: by 10.200.56.34 with SMTP id q31mr44477266qtb.64.1511514148116; Fri, 24 Nov 2017 01:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511514148; cv=none; d=google.com; s=arc-20160816; b=LRrw/IrcqbITAGFwHh0RH4kcidJCe4y5o2n8ziZN1mYvwuuYdrJB22fwMzp/s6We2x rVxkS6xGlY2krQ8CSE6efXvSMnqJr3AhrBxndcCWlWznonZYAYaiBpk+8qczZoBcUkJ1 rwtZ+usICUgtayOtCLi9AnC5lDQiNUo8ZApxBNygNg8T6fRbqLh13U6ZV9g403OdJ80E Oq4XCwVeOzfvQB53zYQ0cKnt0mlyVePkoNqaHJ7M/DbxCrVX2VjixsF79nUrGyJeO7aB s+GvS9gOFZDnJ00VhHF0PIzBv6ly6vBsmZtTe+0OhApQ54diSzlL4+spxYREfCy5abz0 TOIQ== 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=G2ntFGUG000phx6I7iv66z1LxIDGUCKD8cgHCgKffhg=; b=hp/z1zxskyiD76UlPtOoiMsT0ajv64u4TV7aj04ZreRGgiqXCHtanUX+Hudo4/BNxX 6DEDWQMWM1NDSbztn6hFBXg8pyl5avrEDQivdFkGMyyD8k1gSSROa7JDehd3msQAUMKB diMkO5zECKx8f7n/judrvJCKjK1WlANfDvG3pKfaZeyEgG8MxwJBfweEgTJl/tbwwQAL O+dXs2ZyfezLGs8P4Agajn6mPwH+uOsJH5lO2e+ziX758UhlvbOlJd8OuPYWnP90+h// vQSiHhV+V7KXiNxIHGUtz4bhVBipLDZQkORIZNMD50a+uXS/UtUcG/M2xM3drgTEUhCZ j5zw== 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 z64si2204166qtc.296.2017.11.24.01.02.27; Fri, 24 Nov 2017 01:02:28 -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 C09B56088C; Fri, 24 Nov 2017 09:02:27 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 DFC7460814; Fri, 24 Nov 2017 09:00:42 +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 5E52C60676; Fri, 24 Nov 2017 09:00:27 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id A4F546072E for ; Fri, 24 Nov 2017 09:00:17 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 3F9B618407F for ; Fri, 24 Nov 2017 12:00:16 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zzXIVpX6Ti-0GV0foeN; Fri, 24 Nov 2017 12:00:16 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ENQdn5gV8a-0F3qvjBk; Fri, 24 Nov 2017 12:00:15 +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, 24 Nov 2017 12:00:10 +0300 Message-Id: <1511514013-20070-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511514013-20070-1-git-send-email-odpbot@yandex.ru> References: <1511514013-20070-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 261 Subject: [lng-odp] [PATCH 2.0 v3 2/5] 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: 7074b71b266de9c4eb5bf03513186a72ea27b2bc ** Merge commit sha: 5e845000d02f59bbefa810507ba526593a61c7a4 **/ include/Makefile.am | 3 ++- .../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 +- 7 files changed, 5 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 0edaf31a9..6bb497dc4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -70,7 +70,8 @@ odpdrvspecinclude_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/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 67a46cb8a..f188c3770 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -209,7 +209,6 @@ noinst_HEADERS = \ ${top_srcdir}/platform/linux-generic/include/odp_packet_io_pool_access.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 ffc6daa90..745b86bab 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -191,7 +191,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 c5f644912..c845ce16b 100644 --- a/platform/linux-generic/pool/subsystem.c +++ b/platform/linux-generic/pool/subsystem.c @@ -7,7 +7,7 @@ */ #include #include -#include +#include #include #include