From patchwork Fri Nov 10 17:00:15 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: 118597 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8170732qgn; Fri, 10 Nov 2017 09:04:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMb8eDnflTaXd2SD0cjvio6o0qWgmUJwkyOopDXiA8pGZdZv1giCx5K4W2SIMR1AOBEmXzsH X-Received: by 10.36.8.7 with SMTP id 7mr1310496itc.143.1510333497810; Fri, 10 Nov 2017 09:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333497; cv=none; d=google.com; s=arc-20160816; b=IUYGiuCVsD9zm8VqEAYSYgdnCkw+vDfv/MOYgbkiFOWzE35+fZHWaweoJPVkIH04zW pUOgGVs0X8ofdOLNJXSvaQnz98Maq3h2QLAMo1tnUm6sbAx7tMf94bLLu5esva/FATyj j8p6BbJEMWJy/tEK2q+S4EFP6RDDhZLkccKVFR/Lm0gzZGH/H7Nmgm+Q9pNFQD+3sFUf REnGtUzal+203Cqy70zM8KYZP8P7HEX5cfwbuzVVjhm9Qf88UZu65U+ExVD4pc9blsHB ZMysUPLcfpYsEOQBIJeZN8+cyXW4Dei80GsZp7xD13Lov+Y2uZ5N/oDRBb/TVMtU4FCj NpjQ== 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=B1lTfgdMa90cKVn2ecu683fP67kYRgv1n6p0FR5Fg/4=; b=cjj0sc2nzA1oj+8UkDKaGff3s6LOdyrepiAi0HQyKXefU7n1fDFPnKQD/flW0ZcTsj TYHpxnzy/hrqn+gGKC7jTDCufAuTgPsbWD6s8Ot0Nv7zrN+yJC0IjncUyN5yJ0qppL31 QUvTMYA5kaLLq5elbngUbpi6FSmRk/XGzDaNj2tYz0AstjHE8EnVMvwTwBf5hRKdHZTg /QxBPg0u67WiVLEm/KYM84e1bBrLIQtF4S9ERYUxJUUaoaFfYRSU47zP57ZQ/k1/sK5n j4W54K3Xtzl+0BJ5LpxvwmhcOKE/sPENdWFs+0Oncogfhdm4OZ5G41MIRvS32MsFH+RM DDzw== 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 n14si793190ith.67.2017.11.10.09.04.57; Fri, 10 Nov 2017 09:04:57 -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 3536B6094C; Fri, 10 Nov 2017 17:04:57 +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, 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 2F27F609FD; Fri, 10 Nov 2017 17:00:57 +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 3F8F760607; Fri, 10 Nov 2017 17:00:33 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 5C5FA60676 for ; Fri, 10 Nov 2017 17:00:23 +0000 (UTC) Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 09DD21803702 for ; Fri, 10 Nov 2017 20:00:22 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3Qq0p1DfzZ-0LMK9Wwr; Fri, 10 Nov 2017 20:00:22 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0LZKxWPf; Fri, 10 Nov 2017 20:00:21 +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:15 +0300 Message-Id: <1510333217-26418-5-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 4/6] linux-gen: modular-framework: move queue 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 queue 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_queue_subsystem.h => include/subsystem/spec/queue_subsystem.h | 0 platform/linux-dpdk/Makefile.am | 1 - platform/linux-generic/Makefile.am | 1 - platform/linux-generic/queue/generic.c | 2 +- platform/linux-generic/queue/scalable.c | 2 +- platform/linux-generic/queue/subsystem.c | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename platform/linux-generic/include/odp_queue_subsystem.h => include/subsystem/spec/queue_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index f794be53f..3ced809b0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -77,7 +77,8 @@ frameworksmodularspecinclude_HEADERS = \ subsystemspecincludedir= $(includedir)/subsystem/spec subsystemspecinclude_HEADERS = \ subsystem/spec/buffer_subsystem.h \ - subsystem/spec/pool_subsystem.h + subsystem/spec/pool_subsystem.h \ + subsystem/spec/queue_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/include/odp_mf.h b/include/odp_mf.h index 787746817..29caec22b 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -21,6 +21,7 @@ extern C { #include #include #include +#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp_queue_subsystem.h b/include/subsystem/spec/queue_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_queue_subsystem.h rename to include/subsystem/spec/queue_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 29440714b..fd427c7f6 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -210,7 +210,6 @@ noinst_HEADERS = \ ${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 \ - ${top_srcdir}/platform/linux-generic/include/odp_queue_subsystem.h \ ${top_srcdir}/platform/linux-generic/include/odp_ring_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_schedule_if.h \ ${top_srcdir}/platform/linux-generic/include/odp_schedule_subsystem.h \ diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index d3cf48a84..002370f7e 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -186,7 +186,6 @@ noinst_HEADERS = \ include/odp_pktio_ops_tap.h \ include/odp_pktio_ops_subsystem.h \ include/odp_pkt_queue_internal.h \ - include/odp_queue_subsystem.h \ include/odp_pool_internal.h \ include/odp_posix_extensions.h \ include/odp_queue_internal.h \ diff --git a/platform/linux-generic/queue/generic.c b/platform/linux-generic/queue/generic.c index ab2b97048..37c02380f 100644 --- a/platform/linux-generic/queue/generic.c +++ b/platform/linux-generic/queue/generic.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/platform/linux-generic/queue/scalable.c b/platform/linux-generic/queue/scalable.c index 00cd8da65..f4f5efb85 100644 --- a/platform/linux-generic/queue/scalable.c +++ b/platform/linux-generic/queue/scalable.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include <_ishm_internal.h> #include <_ishmpool_internal.h> diff --git a/platform/linux-generic/queue/subsystem.c b/platform/linux-generic/queue/subsystem.c index 05e8edb8e..ddf6b52d8 100644 --- a/platform/linux-generic/queue/subsystem.c +++ b/platform/linux-generic/queue/subsystem.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include ODP_SUBSYSTEM_DEFINE(queue, "queue public APIs", QUEUE_SUBSYSTEM_VERSION);