From patchwork Fri Nov 24 09:00:09 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: 119558 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1925347qgn; Fri, 24 Nov 2017 01:04:30 -0800 (PST) X-Google-Smtp-Source: AGs4zMbToS8GgOdUBp0MZgb35OupaKhw7fWSH9PRWflMxfDPiSNKZL8ODO/lyiQq3SToFCmt8JMk X-Received: by 10.55.149.132 with SMTP id x126mr545249qkd.180.1511514270084; Fri, 24 Nov 2017 01:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511514270; cv=none; d=google.com; s=arc-20160816; b=wOE4kmInQBfBiCZVFXGgErg/K/l84DVElvSIvl46bO9HkulQZtP4D2547Owu2P3Tpr 1FpzXBTUfwE8zk5RxvjT8cLttEdS6nGZIpn0uGUHO/pjMyxvjZ09hgWPOD7M5LvgIV+m fuZKnv6OsKh7CEgzOI2aUsAU0XJvACO5ErTsDH3nUvC0b6LJJwX+/bpYO5MmN5H8Ym+F ePOD9ROmyvNjdrwOkRuvBuojkyW/mbMU8nJD6OtdeEpuCkmcYYuSt8cbbvvnhgPGPmMX VAX55Vt2vWeYm4NScddn+Qo+AHvWifUUEiANJtFNeJN+1WnZ5k8a4Ih/HQm+Vu5WVWSR cXqg== 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=pVTrkXZhTich4Oaxw6oS+Mq8pfgQZ4Cxw/GCPb8wkbg=; b=WRdapMqD75tOVzfW4nnCkfj3FDmkCEGHvcu8lykCwP8nsKqy2/kFSimu7egpY4hONX RCq7wiPSBz39rH2J7pKf+JRkG5ac8fq0xzDoUUu+a00DEt+qqtHkZlNSAjRMC/3ras/I tcf64dqiQIuTwmddtKmQUFtMxdfqk9tz+CtQrIffCgcydfJWyxRbvUDkuVIwJmXi5+9n 5+nZYQdO0HaHaHgbazRyNmSU9mlgb0Evl3lkZIsCqaIFH7MZY354sqN3ygx4sD2lrwA6 +g/mnSAznU2qQlvtO+0yAXYcrlvyF21UozBobL+cuPDaYyJX1zEIHJXdaO9KBZMC75er voAw== 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 r15si171842qkr.1.2017.11.24.01.04.29; Fri, 24 Nov 2017 01:04:30 -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 AFB3B60833; Fri, 24 Nov 2017 09:04:29 +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 CA94B60879; Fri, 24 Nov 2017 09:01:08 +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 75B3E60814; Fri, 24 Nov 2017 09:00:35 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 7272960646 for ; Fri, 24 Nov 2017 09:00:17 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 875F64445296 for ; Fri, 24 Nov 2017 12:00:15 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3XXX5EfyIp-0F188k8o; Fri, 24 Nov 2017 12:00:15 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ENQdn5gV8a-0E3u9TS9; Fri, 24 Nov 2017 12:00:14 +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:09 +0300 Message-Id: <1511514013-20070-2-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 1/5] linux-gen: modular-framework: move buffer 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 buffer 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 | 4 ++++ .../subsystem/spec/buffer_subsystem.h | 0 platform/linux-dpdk/Makefile.am | 1 - platform/linux-dpdk/buffer/dpdk.c | 2 +- platform/linux-generic/Makefile.am | 1 - platform/linux-generic/buffer/generic.c | 2 +- platform/linux-generic/buffer/subsystem.c | 2 +- 7 files changed, 7 insertions(+), 5 deletions(-) rename platform/linux-generic/include/odp_buffer_subsystem.h => include/subsystem/spec/buffer_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index 376916723..0edaf31a9 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -68,6 +68,10 @@ odpdrvspecinclude_HEADERS = \ odp/drv/spec/std_types.h \ odp/drv/spec/sync.h +subsystemspecincludedir= $(includedir)/subsystem/spec +subsystemspecinclude_HEADERS = \ + subsystem/spec/buffer_subsystem.h + odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ odp/arch/default/api/abi/buffer.h \ diff --git a/platform/linux-generic/include/odp_buffer_subsystem.h b/include/subsystem/spec/buffer_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_buffer_subsystem.h rename to include/subsystem/spec/buffer_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index ee6c36e21..67a46cb8a 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -175,7 +175,6 @@ odpdrvplatinclude_HEADERS = \ noinst_HEADERS = \ - ${top_srcdir}/platform/linux-generic/include/odp_buffer_subsystem.h \ ${top_srcdir}/platform/linux-generic/include/_fdserver_internal.h \ ${top_srcdir}/platform/linux-generic/include/_ishm_internal.h \ ${top_srcdir}/platform/linux-generic/include/_ishmphy_internal.h \ diff --git a/platform/linux-dpdk/buffer/dpdk.c b/platform/linux-dpdk/buffer/dpdk.c index 704468eea..22e1123b0 100644 --- a/platform/linux-dpdk/buffer/dpdk.c +++ b/platform/linux-dpdk/buffer/dpdk.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index a4aaa7693..ffc6daa90 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -160,7 +160,6 @@ noinst_HEADERS = \ include/odp_bitmap_internal.h \ include/odp_bitset.h \ include/odp_buffer_internal.h \ - include/odp_buffer_subsystem.h \ include/odp_classification_datamodel.h \ include/odp_classification_inlines.h \ include/odp_classification_internal.h \ diff --git a/platform/linux-generic/buffer/generic.c b/platform/linux-generic/buffer/generic.c index 3281119be..cf99407cc 100644 --- a/platform/linux-generic/buffer/generic.c +++ b/platform/linux-generic/buffer/generic.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/buffer/subsystem.c b/platform/linux-generic/buffer/subsystem.c index d47525cf9..69ec91800 100644 --- a/platform/linux-generic/buffer/subsystem.c +++ b/platform/linux-generic/buffer/subsystem.c @@ -6,7 +6,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ #include -#include +#include #include #include