From patchwork Thu Oct 26 12: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: 117197 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp674257qgn; Thu, 26 Oct 2017 05:02:11 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RNZdN4tx1Me0useX5BOXXXBu8k746RlMQKUhAJk47MP956c7GAGBJ2QLtTYGWXjMycGoce X-Received: by 10.200.3.159 with SMTP id t31mr33726737qtg.102.1509019330935; Thu, 26 Oct 2017 05:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019330; cv=none; d=google.com; s=arc-20160816; b=wWxMJhRvJMfFuL8kPv2xcpMJm/JbixU+1SXweCWBgukqs1VzQzwPJntIvVtYgPMh4N 3pxYisWvImJHJeH61hoQ5Grzvv9Cw614fB9DLBPhx4SJJ6lmcmvdn23+ZSM/XWVs7ZMu hoQR1CJOhwNS2qhJJf3yWtLgOtGMcS6qRkwuZ4cGeg69cviGz8MBlkue8scXUvdQY2d7 OXfOoVxfM/5cGnfiEZuE/jI0Wi/iwBIWiJDMjKGb0OzurSOvHln/FVHdP6L+ylHHFgsz 4YH58zqJ8vff2vpaW9o6Pco5F96fBaXAUD3KdxLy2KS4yl6ZKxzF66XqHw8UQymV/33E +UUA== 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=9U3aF3CemW1kNduLVPEAL9yTZ10diiO0DtAC/hDHsws=; b=x/5UC8JtTD8YuMUf16D90eKRGfJdcfECs1oRCI6wMdJjl2A2RXooSD6H8Zb/SFNKbD 2MGLEUAZ0ERkLbXYE3OYip34rY9JZEfgaUpu+5Dx6HZaHwZIpdNGqoG7rJBUZcZbPY4D iq5h6JBZuyy8bbDyx7RnRKwWm485EPXIkxlwfminfkaCvOmlTWcVxW+VHMO3vFftxbkf qCC1rlnrcVdD+yKPMF6nauJpPa7w+e+AmTCzQfncpF8GN5St96WjDpn4xfqC03y8inFi p+J8xcPRw4SANlrfdIlYCBytq/EOPbQW/Hq3dPbQB/s+aHyNgA8J8FJCME3NgFgMl5xf dXtQ== 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 r53si2163835qta.350.2017.10.26.05.02.10; Thu, 26 Oct 2017 05:02:10 -0700 (PDT) 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 9446360BFA; Thu, 26 Oct 2017 12:02: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=-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 AB435607F1; Thu, 26 Oct 2017 12:01:53 +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 B32AB6073F; Thu, 26 Oct 2017 12:01:42 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 4AB1061018 for ; Thu, 26 Oct 2017 12:00:40 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 8B7F75102156 for ; Thu, 26 Oct 2017 15:00:38 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tNgbNxKJiP-0bRiMgBv; Thu, 26 Oct 2017 15:00:37 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0aFqfdUU; Thu, 26 Oct 2017 15: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: Thu, 26 Oct 2017 15:00:02 +0300 Message-Id: <1509019205-3327-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1509019205-3327-1-git-send-email-odpbot@yandex.ru> References: <1509019205-3327-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 261 Subject: [lng-odp] [PATCH 2.0 v1 3/6] linux-gen: modular-framework: make public pool subsystem 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: Bogdan Pricope Make public pool subsystem header. 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: d37aa7f1c0480273fb0ccfded44a13e3e5a8e42f ** Merge commit sha: 4a263f664ff0e7916e1fe52f09afeed0db9a11dc **/ .../odp/subsystem/spec/pool_subsystem.h | 0 include/odp_mf.h | 1 + platform/Makefile.inc | 3 ++- 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/odp/subsystem/spec/pool_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/include/odp/subsystem/spec/pool_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pool_subsystem.h rename to include/odp/subsystem/spec/pool_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index 747c6dc4d..9b83e8680 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/Makefile.inc b/platform/Makefile.inc index 0d38d377e..bb928c83c 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -84,7 +84,8 @@ odpmfspecinclude_HEADERS = \ odpsubsystemspecincludedir= $(includedir)/odp/subsytem/spec odpsubsystemspecinclude_HEADERS = \ - $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h + $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/pool_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index e1074cc23..cf3e822e9 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -203,7 +203,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..938843436 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 4acd9236f..a871afae2 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -187,7 +187,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_pkt_queue_internal.h \ ${srcdir}/include/odp_queue_subsystem.h \ ${srcdir}/include/odp_pool_internal.h \ - ${srcdir}/include/odp_pool_subsystem.h \ ${srcdir}/include/odp_posix_extensions.h \ ${srcdir}/include/odp_queue_internal.h \ ${srcdir}/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 35dd013e7..15b381935 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..dca9284a7 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