From patchwork Thu Oct 26 12: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: 117202 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp682426qgn; Thu, 26 Oct 2017 05:08:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TTs8Nzipg7efSyEskIPqQz0mx7GEMLjE1x516LiEugaAQwKOsHV1A2fkUbdx9W3VGhVMdS X-Received: by 10.107.18.67 with SMTP id a64mr32696263ioj.165.1509019696466; Thu, 26 Oct 2017 05:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019696; cv=none; d=google.com; s=arc-20160816; b=iAOVn4rFJTs29tNev0wpNu7fV+67iunVY4lkPkzqrDelPfWVOpzQnWp299F7aPIvWV CjPYVkGrKPAhLKizZgm1L0wSputdPIIUFCxzuqMe9zTy7L+8FQ+e2RP7+7DiBrSwUvRZ iJ4WDpo7LBO2182xz9uaVtWUWq0C2SQvor30UlUc8aCVYf45YoLLYrb3Bef2tzt020HL n/jDLMWr495Jd3PLrSQQPOe10laE0al/51a02bwkYvt5M5YD8iKs4T9S/jMqOWDB7ASj AcWA/n/9PQoWB51KSMvhDTz2+ZGcHB/hBCcQTSpgWpi43eXfc4QHDWzdcpgcxEFBO6PE TXEw== 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=kxpnUsou6oTY0JOxUshViIb4fnwfsHzY6R2icyAg0bY=; b=WkpNAt6p1f4QlKZOGvuDKdJ7Cs3t1JitPJukZ6M4OkjONVLPfG/fZhOVrPuGP0KQxW +91DGdH4jD+99u9JWGsJSglKi7nzOHsNcKXwSZxFspXwK2oknSHemrG8jcOrqW7zN/lq XhCnfzVhOGKgoUMxdF5sIFBiPETap5QiXWTOg5q31eAJGmUNI/wWSZIqUc3UJvbUr/nL OoLSvHZsjiB25qUQi+5xxIiQOlq23D5qTRKIeYiAPrgqZKPN/p+n16PlWl0RhEGjnimn MHYzPGnYAwIkPRjlshLKKkcg99WyP5cur+QYvxmQbfFIxSjmIswfVP1OI8I+WHneXX84 3mkg== 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 c6si969883ita.167.2017.10.26.05.08.16; Thu, 26 Oct 2017 05:08:16 -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 DD64760964; Thu, 26 Oct 2017 12:08:15 +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 D0BF36164D; Thu, 26 Oct 2017 12:02:36 +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 48F9D6094A; Thu, 26 Oct 2017 12:01:54 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 132956104F for ; Thu, 26 Oct 2017 12:00:44 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 22B72408486F for ; Thu, 26 Oct 2017 15:00:40 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Nmyo0OkiAU-0dHKIZP7; Thu, 26 Oct 2017 15:00:39 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0cFS3dX9; Thu, 26 Oct 2017 15:00:38 +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:03 +0300 Message-Id: <1509019205-3327-5-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 4/6] linux-gen: modular-framework: make public queue 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 queue 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/queue_subsystem.h | 0 include/odp_mf.h | 1 + platform/Makefile.inc | 3 ++- 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/odp/subsystem/spec/queue_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_queue_subsystem.h b/include/odp/subsystem/spec/queue_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_queue_subsystem.h rename to include/odp/subsystem/spec/queue_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index 9b83e8680..ce5ff5b65 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/Makefile.inc b/platform/Makefile.inc index bb928c83c..6965a0e4b 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -85,7 +85,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/pool_subsystem.h + $(top_srcdir)/include/odp/subsystem/spec/pool_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/queue_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 cf3e822e9..3ac7df565 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -206,7 +206,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 a871afae2..8172244b1 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -185,7 +185,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_pktio_ops_tap.h \ ${srcdir}/include/odp_pktio_ops_subsystem.h \ ${srcdir}/include/odp_pkt_queue_internal.h \ - ${srcdir}/include/odp_queue_subsystem.h \ ${srcdir}/include/odp_pool_internal.h \ ${srcdir}/include/odp_posix_extensions.h \ ${srcdir}/include/odp_queue_internal.h \ diff --git a/platform/linux-generic/queue/generic.c b/platform/linux-generic/queue/generic.c index ab2b97048..3099fe158 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..ab592a130 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..2fba9f374 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);