From patchwork Fri Nov 24 09:00:11 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: 119553 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1921619qgn; Fri, 24 Nov 2017 01:01:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMZxQqCvZJZ5sEppl9V9WxrK8MGm6cnC2NKuAEXQWqLj4SeCjQEkBkRj0axHCxqDfOm1IyW3 X-Received: by 10.237.42.230 with SMTP id t93mr22019609qtd.50.1511514087332; Fri, 24 Nov 2017 01:01:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511514087; cv=none; d=google.com; s=arc-20160816; b=WyDX7JrAiPjY8X8pPsz0MOXtFFsmZoPGEa4uLzzaVZmdWC3cPXxAaHquBlWFHS3X9G /zefhlZa+lgY4Br4VJ/vFfglhxmlTGyLi5m0PwXEWbBki1vaa+qnr0GmCUgl2IhqBdPu 2a7NwkTNyU8E84MVEx2U8MbFb4e1MpDfZMk6R8OQUuXfZsFmjncue7xQtEBedwD7j29b 2yxgg8M/LvLlDXl3Ce6P9kxqtxZdlMtXEchNGtpDS9sHxACQ+dLa7DWXBThMa27OcHaD 9X5KORfDmOvyxLjCHLXo+oYXAJJErhN6wJqSdrWNaWGCp92TFwML92c3g5Pk9ihmzpqd uPrg== 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=9qEv+vtUywTemDMinzI3Fu3CDU4Y8x/Ha1KFr8lK7E4=; b=b+SQkMzB0qCe9tceu5sbdwnf4NlH5bRH/E0bVJjbYGcVensdlX/WlSB/Zj+EqnnpJS Zsev7zq1Xc2vu+HYLADCFTJWqMuRBeRpH5ESgjCpQR8rT2qvdAmd3MQuDOHrBr6FB1Kz uCQLLxMF3Vlol7UtdSU3X1gPA3dlZMujn7L3IEHunv1L+uVLdVrGGp9ZbeCRDw67Sxq+ JmuB/Bf65o1SNlN/sCr8cBldlltFl8PYN4vQZZpFvF8HOvu9I3CWkO7NCD+DyEyq90z0 49UrxxMYHaiz+itnJr7cTwp4rHl9fCAWroHhHOWHeIrf5+O+I4ngO6bKQp6qzD7BQv8Y fy8w== 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 u4si5756225qtk.408.2017.11.24.01.01.27; Fri, 24 Nov 2017 01:01:27 -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 0BBEC60862; Fri, 24 Nov 2017 09:01: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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 989B86082A; Fri, 24 Nov 2017 09:00:33 +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 EB6FF60676; Fri, 24 Nov 2017 09:00:26 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 93EA36072F for ; Fri, 24 Nov 2017 09:00:18 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 650DE7017C4 for ; Fri, 24 Nov 2017 12:00:17 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id amFhvvC8NL-0GGmVNGx; Fri, 24 Nov 2017 12:00:16 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ENQdn5gV8a-0G3qCiRf; Fri, 24 Nov 2017 12:00:16 +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:11 +0300 Message-Id: <1511514013-20070-4-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 3/5] 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: 7074b71b266de9c4eb5bf03513186a72ea27b2bc ** Merge commit sha: 5e845000d02f59bbefa810507ba526593a61c7a4 **/ include/Makefile.am | 3 ++- .../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 +- 7 files changed, 5 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 6bb497dc4..4436c61b2 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -71,7 +71,8 @@ odpdrvspecinclude_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/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 f188c3770..7742aea3e 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -212,7 +212,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 745b86bab..47de83f92 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -189,7 +189,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 5a88b2df9..b53c440f4 100644 --- a/platform/linux-generic/queue/subsystem.c +++ b/platform/linux-generic/queue/subsystem.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include ODP_SUBSYSTEM_DEFINE(queue, "queue public APIs", QUEUE_SUBSYSTEM_VERSION);