From patchwork Fri Nov 10 17:00:12 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: 118593 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8165634qgn; Fri, 10 Nov 2017 09:01:21 -0800 (PST) X-Google-Smtp-Source: AGs4zMYZ5Yv55XfvGXGCLeVGkAwwkILAa7AKLGz+4cQc7LXjTgToa/Emlwp69lQaSUSZ8wvp/UBH X-Received: by 10.200.19.204 with SMTP id i12mr1626083qtj.211.1510333281032; Fri, 10 Nov 2017 09:01:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333281; cv=none; d=google.com; s=arc-20160816; b=VWDjnWZVretGX313h3h7XBpEk4e1PZuKPfIEwjvAhVHWdQsy4L/XZTZNxvE+OBjFpR xWMmWCLFLnuMlEAAMiTOmd6WgcMjFAk0cY5GJpY90eg+kxB7JP4K3R/tTCrGmfruseWg s9boCniuA/zcF9rKmta/Jc9qmd40KLFT732q94hMo7xET834HLWncQpCliMmZIazj764 MKB6amxAM+t6YfUt7JucMg8e6NJZEQeekR4U+4TBQZ86bqtvBAq46Ds5iWQv57Jrf032 ThZtHBGRYLCoj0eiC6DLpfpJ9V1YD4DRAkoYr7hpjWR9f7ljO85iUS86bn8puuoA5l1/ 7dWQ== 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=HUB8J0i4AawORTIJjqPtgzKkrcIF2AlOIrqcJ/ErUMo=; b=tZ8Jw3L9qtcrHQt9pkUDBbkq8mCAxk0lPyKBfrqAIUTER1em++De+09s8/jXg6vr6P V+DMQvpNJM4MJGhHhzvJ1QH5p2TiZsM23IWCcPIH0n+Sk6FywMWSKQUxNxxNldkKw0FJ 9Vv5diBrdf2015xO+Hl5XaIV8DYQMWd9vXbHphSLsYQvwee7yVAdM4QHUhZNyisByv8E jsHnksCug+0uNUFuucwlERGtRKyJWTuU82TvvIB89n1cnTQySPJQ1Xh7acOBL2U8XLXO Am8dFgLMxWSsVg6rSLtDZc3oZcVxnaCXbK/Ramj/JMveWIL9AK6LaWOvw43DZifZc48U vQ0A== 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 5si5686858qkf.210.2017.11.10.09.01.20; Fri, 10 Nov 2017 09:01:20 -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 A698160926; Fri, 10 Nov 2017 17:01:20 +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 E7E2C605D7; Fri, 10 Nov 2017 17: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 6DA2F605D7; Fri, 10 Nov 2017 17:00:26 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 773D6605D7 for ; Fri, 10 Nov 2017 17:00:21 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward101j.mail.yandex.net (Yandex) with ESMTP id BFEEA12444F6 for ; Fri, 10 Nov 2017 20:00:19 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HdMmNAaY4L-0JBOscV0; Fri, 10 Nov 2017 20:00:19 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0IZiERiZ; Fri, 10 Nov 2017 20:00:19 +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:12 +0300 Message-Id: <1510333217-26418-2-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 1/6] linux-gen: modular-framework: move modular framework headers 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 modular framework headers 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 **/ frameworks/modular/module.h | 19 ++++++++++++++++ frameworks/modular/odp_module.c | 2 +- include/Makefile.am | 8 ++++++- .../frameworks/modular/spec}/list.h | 0 .../frameworks/modular/spec/module.h | 0 include/odp_mf.h | 26 ++++++++++++++++++++++ platform/linux-dpdk/Makefile.am | 7 +++--- platform/linux-generic/Makefile.am | 4 +--- platform/linux-generic/buffer/subsystem.c | 1 - .../linux-generic/include/odp_buffer_subsystem.h | 2 +- .../include/odp_pktio_ops_subsystem.h | 2 +- .../linux-generic/include/odp_pool_subsystem.h | 2 +- .../linux-generic/include/odp_queue_subsystem.h | 2 +- .../linux-generic/include/odp_schedule_subsystem.h | 4 +--- platform/linux-generic/pool/subsystem.c | 1 - platform/linux-generic/queue/subsystem.c | 1 - platform/linux-generic/schedule/subsystem.c | 1 - 17 files changed, 62 insertions(+), 20 deletions(-) create mode 100644 frameworks/modular/module.h rename {frameworks/modular => include/frameworks/modular/spec}/list.h (100%) rename frameworks/modular/odp_module.h => include/frameworks/modular/spec/module.h (100%) create mode 100644 include/odp_mf.h diff --git a/frameworks/modular/module.h b/frameworks/modular/module.h new file mode 100644 index 000000000..866a89b7d --- /dev/null +++ b/frameworks/modular/module.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_CORE_MODULE_H_ +#define ODP_CORE_MODULE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#ifdef __cplusplus +} +#endif +#endif /* ODP_CORE_MODULE_H_ */ diff --git a/frameworks/modular/odp_module.c b/frameworks/modular/odp_module.c index 475bcd5e2..596befd55 100644 --- a/frameworks/modular/odp_module.c +++ b/frameworks/modular/odp_module.c @@ -10,7 +10,7 @@ #include #include -#include "odp_module.h" +#include "module.h" #define MODULE_FRAMEWORK_VERSION 0x00010000UL ODP_SUBSYSTEM_DEFINE(module, "module framework", MODULE_FRAMEWORK_VERSION); diff --git a/include/Makefile.am b/include/Makefile.am index 376916723..1aeec1c72 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,7 +1,8 @@ include_HEADERS = \ odp.h \ odp_api.h \ - odp_drv.h + odp_drv.h \ + odp_mf.h odpapispecincludedir= $(includedir)/odp/api/spec odpapispecinclude_HEADERS = \ @@ -68,6 +69,11 @@ odpdrvspecinclude_HEADERS = \ odp/drv/spec/std_types.h \ odp/drv/spec/sync.h +frameworksmodularspecincludedir= $(includedir)/frameworks/modular/spec +frameworksmodularspecinclude_HEADERS = \ + frameworks/modular/spec/module.h \ + frameworks/modular/spec/list.h + odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ odp/arch/default/api/abi/buffer.h \ diff --git a/frameworks/modular/list.h b/include/frameworks/modular/spec/list.h similarity index 100% rename from frameworks/modular/list.h rename to include/frameworks/modular/spec/list.h diff --git a/frameworks/modular/odp_module.h b/include/frameworks/modular/spec/module.h similarity index 100% rename from frameworks/modular/odp_module.h rename to include/frameworks/modular/spec/module.h diff --git a/include/odp_mf.h b/include/odp_mf.h new file mode 100644 index 000000000..f29ae6cee --- /dev/null +++ b/include/odp_mf.h @@ -0,0 +1,26 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * The OpenDataPlane modular framework programming interface + * + */ + +#ifndef ODP_MF_H_ +#define ODP_MF_H_ + +#ifdef __cplusplus +extern C { +#endif + +#include + +#ifdef __cplusplus +} +#endif +#endif /* ODP_MF_H_ */ diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index f27d2b50c..aa7990873 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -22,7 +22,6 @@ AM_CPPFLAGS += -I$(top_srcdir)/platform/linux-dpdk/include AM_CPPFLAGS += -I$(top_srcdir)/platform/linux-generic/include AM_CPPFLAGS += -I$(srcdir)/include AM_CPPFLAGS += -I$(top_srcdir)/include -AM_CPPFLAGS += -I$(top_srcdir)/frameworks/modular AM_CPPFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ AM_CPPFLAGS += -I$(top_builddir)/include AM_CPPFLAGS += -Iinclude @@ -38,7 +37,8 @@ AM_CPPFLAGS += $(LIBCONFIG_CFLAGS) include_HEADERS = \ $(top_srcdir)/include/odp.h \ $(top_srcdir)/include/odp_api.h \ - $(top_srcdir)/include/odp_drv.h + $(top_srcdir)/include/odp_drv.h \ + $(top_srcdir)/include/odp_mf.h odpincludedir= $(includedir)/odp odpinclude_HEADERS = \ @@ -355,8 +355,7 @@ endif # Build modular framework into odp-linux library modularframeworkdir = $(top_srcdir)/frameworks/modular -noinst_HEADERS += $(modularframeworkdir)/list.h \ - $(modularframeworkdir)/odp_module.h +noinst_HEADERS += $(modularframeworkdir)/module.h __LIB__libodp_dpdk_la_SOURCES += ../../frameworks/modular/odp_module.c diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 3c5054958..afbb0edba 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -10,7 +10,6 @@ lib_LTLIBRARIES = $(LIB)/libodp-linux.la AM_CPPFLAGS = -I$(srcdir)/include AM_CPPFLAGS += -I$(top_srcdir)/include -AM_CPPFLAGS += -I$(top_srcdir)/frameworks/modular AM_CPPFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ AM_CPPFLAGS += -I$(top_builddir)/include AM_CPPFLAGS += -Iinclude @@ -377,8 +376,7 @@ endif # Build modular framework into odp-linux library modularframeworkdir = $(top_srcdir)/frameworks/modular -noinst_HEADERS += $(modularframeworkdir)/list.h \ - $(modularframeworkdir)/odp_module.h +noinst_HEADERS += $(modularframeworkdir)/module.h __LIB__libodp_linux_la_SOURCES += ../../frameworks/modular/odp_module.c diff --git a/platform/linux-generic/buffer/subsystem.c b/platform/linux-generic/buffer/subsystem.c index d47525cf9..767113975 100644 --- a/platform/linux-generic/buffer/subsystem.c +++ b/platform/linux-generic/buffer/subsystem.c @@ -8,7 +8,6 @@ #include #include #include -#include ODP_SUBSYSTEM_DEFINE(buffer, "memory buffer public APIs", BUFFER_SUBSYSTEM_VERSION); diff --git a/platform/linux-generic/include/odp_buffer_subsystem.h b/platform/linux-generic/include/odp_buffer_subsystem.h index 3c791d207..35b2a06e1 100644 --- a/platform/linux-generic/include/odp_buffer_subsystem.h +++ b/platform/linux-generic/include/odp_buffer_subsystem.h @@ -14,7 +14,7 @@ extern "C" { #endif -#include +#include #include #define BUFFER_SUBSYSTEM_VERSION 0x00010000UL diff --git a/platform/linux-generic/include/odp_pktio_ops_subsystem.h b/platform/linux-generic/include/odp_pktio_ops_subsystem.h index cb107fed2..58622ff12 100644 --- a/platform/linux-generic/include/odp_pktio_ops_subsystem.h +++ b/platform/linux-generic/include/odp_pktio_ops_subsystem.h @@ -14,7 +14,7 @@ extern "C" { #endif -#include +#include #include /* ODP packet IO operations subsystem declaration */ diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/platform/linux-generic/include/odp_pool_subsystem.h index 0f34ad143..0181b74e9 100644 --- a/platform/linux-generic/include/odp_pool_subsystem.h +++ b/platform/linux-generic/include/odp_pool_subsystem.h @@ -14,7 +14,7 @@ extern "C" { #endif -#include +#include #include /* ODP pool public APIs subsystem */ diff --git a/platform/linux-generic/include/odp_queue_subsystem.h b/platform/linux-generic/include/odp_queue_subsystem.h index 57fa68fdb..72aeebd80 100644 --- a/platform/linux-generic/include/odp_queue_subsystem.h +++ b/platform/linux-generic/include/odp_queue_subsystem.h @@ -14,7 +14,7 @@ extern "C" { #endif -#include +#include #include #define QUEUE_SUBSYSTEM_VERSION 0x00010000UL diff --git a/platform/linux-generic/include/odp_schedule_subsystem.h b/platform/linux-generic/include/odp_schedule_subsystem.h index 7d9247788..74bff97f0 100644 --- a/platform/linux-generic/include/odp_schedule_subsystem.h +++ b/platform/linux-generic/include/odp_schedule_subsystem.h @@ -17,9 +17,7 @@ extern "C" { /* API header files */ #include #include - -/* Internal header files */ -#include +#include #define SCHEDULE_SUBSYSTEM_VERSION 0x00010000UL diff --git a/platform/linux-generic/pool/subsystem.c b/platform/linux-generic/pool/subsystem.c index c5f644912..073a9fa98 100644 --- a/platform/linux-generic/pool/subsystem.c +++ b/platform/linux-generic/pool/subsystem.c @@ -9,7 +9,6 @@ #include #include #include -#include #define SUBSYSTEM_VERSION 0x00010000UL ODP_SUBSYSTEM_DEFINE(pool, "memory pool public APIs", SUBSYSTEM_VERSION); diff --git a/platform/linux-generic/queue/subsystem.c b/platform/linux-generic/queue/subsystem.c index 5a88b2df9..05e8edb8e 100644 --- a/platform/linux-generic/queue/subsystem.c +++ b/platform/linux-generic/queue/subsystem.c @@ -12,7 +12,6 @@ #include #include #include -#include ODP_SUBSYSTEM_DEFINE(queue, "queue public APIs", QUEUE_SUBSYSTEM_VERSION); diff --git a/platform/linux-generic/schedule/subsystem.c b/platform/linux-generic/schedule/subsystem.c index ba9a095f4..99c6141c2 100644 --- a/platform/linux-generic/schedule/subsystem.c +++ b/platform/linux-generic/schedule/subsystem.c @@ -14,7 +14,6 @@ /* Internal header files */ #include #include -#include #include ODP_SUBSYSTEM_DEFINE(schedule, "schedule public APIs", From patchwork Fri Nov 10 17:00:13 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: 118598 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8172113qgn; Fri, 10 Nov 2017 09:05:58 -0800 (PST) X-Google-Smtp-Source: AGs4zMbDaijCb41UUgsloK1z3Gb89738UoJ+DWcOUWwqr0u05FznIz3DGV+zosCz1FW3K3FqCWOX X-Received: by 10.237.37.16 with SMTP id v16mr1699199qtc.53.1510333557936; Fri, 10 Nov 2017 09:05:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333557; cv=none; d=google.com; s=arc-20160816; b=QL6L9DM3lBuL0hPmGidFmfPiQ4G2fzTwbTr13nCDXTKRbtqWoHzS5Nl5mA9lT6FtM5 Dc7NjIsXjQYUI+ND8Pxb7jRFVodgk931tajcEu4d1rZgDAlTrg5sL5ftGkcxDew/50i8 u8ixNxB+ZQMCwwT3dZKEyoECh6w/bgmjJu2GjmuvNHclar8pUqZRJZudFfyOQcaGBBki titHU+1VF+KSCdujw3OLFRbPm2GsbTB7yRURORg0OlydiMMOQgrXsyrXubSswoN1aan+ KNzNVp9r5QHDhx4bF42oSzMuP1d3Ro62dz+HQM9D474iy8nuS2tICXRUK8Ej2rUKgLGB +TDg== 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=rIdMbQVKeo0FZjZfJy/sH3jX6my1DaejBR3ivGIFFjE=; b=cM7rWEGkT2nEXy0gzT+Id0xB7mYCQ+XC3XkjR376zWrLwavJPV8cbyN9yKXEeOrATl rt3hltn7NhnJ/Uq9j7gYtMQAnUThO6eSX9bxdu2PjYGDD67PCswBfV0zaot6V+hbXxXV WB2Np0NQ5bW35buFteVh8kh6aLunhtCBjIJSsV2POJvLF4Y4cXYI88HplKFcTrNqFl+I KCAN04MjJ+jpBEJF1jKklLoMgpzeHuPc1T1WzH1OL5EHkKfQQsZ7JuOIWYxNTa3craAF 8kiEQ1G0fI5onWaaL/DAMvjZHLQBkoM8E+9B66zt0fKUNbat1LsZVPtjpvhMAG+ejbsL 0xWQ== 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 v18si120675qtf.36.2017.11.10.09.05.57; Fri, 10 Nov 2017 09:05: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 9015E6094C; Fri, 10 Nov 2017 17:05: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=-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 79E0060983; Fri, 10 Nov 2017 17:00:59 +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 8C67260676; Fri, 10 Nov 2017 17:00:33 +0000 (UTC) Received: from forward15o.cmail.yandex.net (forward15o.cmail.yandex.net [37.9.109.212]) by lists.linaro.org (Postfix) with ESMTPS id 186E260386 for ; Fri, 10 Nov 2017 17:00:22 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward15o.cmail.yandex.net (Yandex) with ESMTP id 86B1C25FB6 for ; Fri, 10 Nov 2017 20:00:20 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wpIupWAOkL-0KQmBgai; Fri, 10 Nov 2017 20:00:20 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0JZuhS1t; Fri, 10 Nov 2017 20:00:19 +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:13 +0300 Message-Id: <1510333217-26418-3-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 2/6] 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: 65419c16086369f86dea068e54ce492526fa4f41 ** Merge commit sha: 3034b865079536d2064a7ceb890b5bf6876949a6 **/ include/Makefile.am | 4 ++++ include/odp_mf.h | 1 + .../subsystem/spec/buffer_subsystem.h | 1 - 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 +- 8 files changed, 8 insertions(+), 6 deletions(-) rename platform/linux-generic/include/odp_buffer_subsystem.h => include/subsystem/spec/buffer_subsystem.h (99%) diff --git a/include/Makefile.am b/include/Makefile.am index 1aeec1c72..ffff3f4df 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -74,6 +74,10 @@ frameworksmodularspecinclude_HEADERS = \ frameworks/modular/spec/module.h \ frameworks/modular/spec/list.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/include/odp_mf.h b/include/odp_mf.h index f29ae6cee..a4e6474fd 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -19,6 +19,7 @@ extern C { #endif #include +#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp_buffer_subsystem.h b/include/subsystem/spec/buffer_subsystem.h similarity index 99% rename from platform/linux-generic/include/odp_buffer_subsystem.h rename to include/subsystem/spec/buffer_subsystem.h index 35b2a06e1..3817a04a1 100644 --- a/platform/linux-generic/include/odp_buffer_subsystem.h +++ b/include/subsystem/spec/buffer_subsystem.h @@ -61,4 +61,3 @@ typedef ODP_MODULE_CLASS(buffer) { #include #endif - diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index aa7990873..948518f90 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 afbb0edba..60e1fccb4 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -159,7 +159,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 767113975..883781756 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 ODP_SUBSYSTEM_DEFINE(buffer, "memory buffer public APIs", From patchwork Fri Nov 10 17:00:14 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: 118596 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8169630qgn; Fri, 10 Nov 2017 09:04:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMYhERaDvTiok8W19m1MavTvuGSJHNwX/3Oil6/Xq1/rhZ9JpYACWz8NSJOMYUhYIY/veVoY X-Received: by 10.129.230.7 with SMTP id u7mr698869ywl.256.1510333449298; Fri, 10 Nov 2017 09:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333449; cv=none; d=google.com; s=arc-20160816; b=AdRbFyYGbGJz//UloN8CVGWrl1QrpK8N2JyzH/f07PUjVezz+mMGfRl//4sfAXmdhv T5UR5EQ+XCx4Gl+eouMxLEB8vGlOixfPWREnwStd9iSOc9l3QFYZn0BTPQP7ewhiz/wz rUBAA1qSgsi4ZNhEVcVKWdIE2XSPtEGMk30oYYA+VCyIqaPQGUEshiQjNLNS8orvx3v8 weci8hOdEXDyDj6vOMczjMOsBeCMnjfSs8l7hdOzHI+OG74wGIqxF3bUC6rdQZPgkQkE i1yi2Ri7jQKAlQ00noMi2cgLe+KvDPEPmOiZTDnyYANiANQ16HiWk0RaCbpGyPBEb13S 52VQ== 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=Ro5ABQGdYzSMyCma2lhiAH38Uj+05dMuHQfvm++nklI=; b=Je7cINync1cMDOa/DDa8yzMMheTRUYr0NsJqK86yGRVhzmP2eSU9IKffrdLjW+0sUb FiaYD49hdlew4U+uJurHkgsJPEGYhSsbdjDlWT90xtOcDiZRRq36qpQk6ApTUG3qqNFc DU5kLVPYXtB21tDpk0ML+WsWsyClyoRHFeCxfEG7PtTfI+di1k8fsCq0TY9+/Iu9g9U3 c2XFxEaH03Sx6n+aGryhHAw/PWihphoB+T+Xkggo+N1el9jXy3m8gnJr0OeqSWhMI5ac i1fdczYpVpETfZZOBvk/uKovtJU8/tw82zPlW7jv9Pc8j4tJcNyxCgvEiMM4vNnVGJ6k yq2g== 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 g64si8857781qtd.289.2017.11.10.09.04.08; Fri, 10 Nov 2017 09:04:09 -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 BD5036095A; Fri, 10 Nov 2017 17:04:08 +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 DB07E6097D; Fri, 10 Nov 2017 17:00:49 +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 A41B86068D; Fri, 10 Nov 2017 17:00:32 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 8CB4260607 for ; Fri, 10 Nov 2017 17:00:22 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 2B1AE430491D for ; Fri, 10 Nov 2017 20:00:21 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ooIE3nL2uU-0KTK6QLl; Fri, 10 Nov 2017 20:00:21 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0KZiWXGF; Fri, 10 Nov 2017 20:00:20 +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:14 +0300 Message-Id: <1510333217-26418-4-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 3/6] linux-gen: modular-framework: move pool 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 pool 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_pool_subsystem.h => include/subsystem/spec/pool_subsystem.h | 0 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/subsystem/spec/pool_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index ffff3f4df..f794be53f 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -76,7 +76,8 @@ frameworksmodularspecinclude_HEADERS = \ subsystemspecincludedir= $(includedir)/subsystem/spec subsystemspecinclude_HEADERS = \ - subsystem/spec/buffer_subsystem.h + subsystem/spec/buffer_subsystem.h \ + subsystem/spec/pool_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/include/odp_mf.h b/include/odp_mf.h index a4e6474fd..787746817 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/linux-generic/include/odp_pool_subsystem.h b/include/subsystem/spec/pool_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pool_subsystem.h rename to include/subsystem/spec/pool_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 948518f90..29440714b 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -207,7 +207,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..7d8fba14e 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 60e1fccb4..d3cf48a84 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -188,7 +188,6 @@ noinst_HEADERS = \ include/odp_pkt_queue_internal.h \ include/odp_queue_subsystem.h \ include/odp_pool_internal.h \ - include/odp_pool_subsystem.h \ include/odp_posix_extensions.h \ include/odp_queue_internal.h \ 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 5004e283c..adbdc4917 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..66c84380d 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 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); From patchwork Fri Nov 10 17:00:16 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: 118594 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8167042qgn; Fri, 10 Nov 2017 09:02:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMbzkb/sv1Oea5cGjhpRkdKsNzzQzsoCBRFUoug3k9JFhG+jessl1bka/QwIfT84ViUT4W6R X-Received: by 10.233.216.6 with SMTP id u6mr1490759qkf.357.1510333339609; Fri, 10 Nov 2017 09:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333339; cv=none; d=google.com; s=arc-20160816; b=SBUNZkhEoPzVBKHsVDIQqentoDIofxoYgHef01/mckpyoe3x1F3ZaAQPzRM77NipBK 5waK3RtN3XgbqFsjMKFzx5b+GdENhfhj3uSrZuPl9ZHzqZm/USy6wxj5FkbCC+emRDoG NNISe/CUN4b9dDkjKfVDpg+61R3QbLeT59KJ5PBrXFY+ovSRTVoPvL/KlV6SEFnxaKyv y4N6CtSZIMInTjEmHykmqEI4yFMItSGhuJTr7xt1xP6MHY8gPQlWLm29LkdgeSOmNeEg AfgXSbCxZ5m5U1RrrkF33SfJFpc4N1FGqa2bGR6hLonCB3vmQuXPgCre9KU5HmctF0Im FamA== 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=xrzX9SrFa8EKZdgOP2U0VJDnW5SHyWRF+gzwzrz7kSU=; b=HKewUvkEKftYpGDYfiRJNJZ2fV7XbNmN4qW3itpCN5I16ta54h84fj6g+I9RS3ZiQu v/r/pw7qZfjCHmyENsEyYFgehEHpHiM/KAYg5mohN6Jyp6jIq3GcqQp28OBvD9+W3jxC KZv+n6+vh10F34HK9ymZh/wleNxft5v4S7V7g1MuDt6MRwbB8qF5/U1+ORfc/WwFHqvh W30kIjKvgltTVd/h8h7vFV9q0ClUu46jNN7224WjxKXCwELmgrBmc2ekuvROh1vsJaY2 c9SqNFuBEYRYaHXIoe2DKGeHNksJ674ujqsqGe9EUQklanz8lqK7cfwZIAiPMV3RwS76 +ysg== 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 a187si572218qke.468.2017.11.10.09.02.19; Fri, 10 Nov 2017 09:02:19 -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 4D08860A31; Fri, 10 Nov 2017 17:02:19 +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 578FD6094C; Fri, 10 Nov 2017 17:00:38 +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 7C7806068D; Fri, 10 Nov 2017 17:00:29 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 418EA6068D for ; Fri, 10 Nov 2017 17:00:24 +0000 (UTC) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward105p.mail.yandex.net (Yandex) with ESMTP id B620B4081901 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 mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PwXoEP8NUz-0M284Hqh; Fri, 10 Nov 2017 20:00:22 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0MZW4GTG; Fri, 10 Nov 2017 20:00:22 +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:16 +0300 Message-Id: <1510333217-26418-6-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 5/6] linux-gen: modular-framework: move schedule 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 schedule 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 + .../subsystem/spec/schedule_subsystem.h | 0 platform/linux-dpdk/Makefile.am | 1 - platform/linux-generic/Makefile.am | 1 - platform/linux-generic/schedule/generic.c | 2 +- platform/linux-generic/schedule/iquery.c | 2 +- platform/linux-generic/schedule/scalable.c | 2 +- platform/linux-generic/schedule/sp.c | 2 +- platform/linux-generic/schedule/subsystem.c | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) rename platform/linux-generic/include/odp_schedule_subsystem.h => include/subsystem/spec/schedule_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index 3ced809b0..095456ff7 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -78,7 +78,8 @@ subsystemspecincludedir= $(includedir)/subsystem/spec subsystemspecinclude_HEADERS = \ subsystem/spec/buffer_subsystem.h \ subsystem/spec/pool_subsystem.h \ - subsystem/spec/queue_subsystem.h + subsystem/spec/queue_subsystem.h \ + subsystem/spec/schedule_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/include/odp_mf.h b/include/odp_mf.h index 29caec22b..de3a06a23 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -22,6 +22,7 @@ extern C { #include #include #include +#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp_schedule_subsystem.h b/include/subsystem/spec/schedule_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_schedule_subsystem.h rename to include/subsystem/spec/schedule_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index fd427c7f6..703592b1a 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -212,7 +212,6 @@ noinst_HEADERS = \ ${top_srcdir}/platform/linux-generic/include/odp_queue_if.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 \ ${top_srcdir}/platform/linux-generic/include/odp_sorted_list_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_shm_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_time_internal.h \ diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 002370f7e..303a34882 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -196,7 +196,6 @@ noinst_HEADERS = \ include/odp_schedule_scalable.h \ include/odp_schedule_scalable_config.h \ include/odp_schedule_scalable_ordered.h \ - include/odp_schedule_subsystem.h \ include/odp_sorted_list_internal.h \ include/odp_shm_internal.h \ include/odp_time_internal.h \ diff --git a/platform/linux-generic/schedule/generic.c b/platform/linux-generic/schedule/generic.c index 73fef40cb..e22762856 100644 --- a/platform/linux-generic/schedule/generic.c +++ b/platform/linux-generic/schedule/generic.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* Should remove this dependency */ diff --git a/platform/linux-generic/schedule/iquery.c b/platform/linux-generic/schedule/iquery.c index 5de229832..76d96ff59 100644 --- a/platform/linux-generic/schedule/iquery.c +++ b/platform/linux-generic/schedule/iquery.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* Should remove this dependency */ diff --git a/platform/linux-generic/schedule/scalable.c b/platform/linux-generic/schedule/scalable.c index d8f538202..de9c65285 100644 --- a/platform/linux-generic/schedule/scalable.c +++ b/platform/linux-generic/schedule/scalable.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/schedule/sp.c b/platform/linux-generic/schedule/sp.c index ea7b83422..06e2a1441 100644 --- a/platform/linux-generic/schedule/sp.c +++ b/platform/linux-generic/schedule/sp.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/schedule/subsystem.c b/platform/linux-generic/schedule/subsystem.c index 99c6141c2..edbc93eca 100644 --- a/platform/linux-generic/schedule/subsystem.c +++ b/platform/linux-generic/schedule/subsystem.c @@ -14,7 +14,7 @@ /* Internal header files */ #include #include -#include +#include ODP_SUBSYSTEM_DEFINE(schedule, "schedule public APIs", SCHEDULE_SUBSYSTEM_VERSION); From patchwork Fri Nov 10 17:00:17 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: 118595 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp8168390qgn; Fri, 10 Nov 2017 09:03:17 -0800 (PST) X-Google-Smtp-Source: AGs4zMZmIeC/SatWvBuyy3kluRWotjvtgOZ20rxV8AJsP+Q+V+T0ub8c+0qw0G1eQoP0zyG34PVA X-Received: by 10.55.190.195 with SMTP id o186mr1588541qkf.7.1510333397676; Fri, 10 Nov 2017 09:03:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510333397; cv=none; d=google.com; s=arc-20160816; b=V34KlsariRyhtLBXe9iqYHV7xQY1CunNoYliGXYkWLnqhMIHXwiELiyBbQrKBcH+uq H5eNg7x5VvAAgNhj+f0dZOSyjm72G7qYrwFoQCYoUaAN5qG4pi+UbILz3kpol58PWY4W pnac9gRYPUwmBvSvF/SlUvc/JbJQ9N4f9e4+fFO6jorw84WluSvW2HaMjO7SpPxTr1to fBZgbUGzB54qYC3wa7Nd1h/Dd7jUC4YCNoEggkFU8MLGnNbSCwPZktG3c7ENISA8j0FL 8Vo82n6t7hWpzFzM/FubKbKe1z737ShsXxxdNXT0W9Wxq6qKjBEJvUtARTmMIpyXwFaF Wv1w== 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=fWltpY8BwNK1qSvDtqMsOSvMcR6MeGRrRj11CYd5j/U=; b=GyoOcBfUiGgnt1aR7W4KzkVunm32uyztfCUal51t1Vk/2FOsoTOkvtYNqxv59p6Be8 dPBQFPyEuSTNhMnoqDKHXoquAQcC5CwVG+zHFebN92qOd89ro0QZ8KfsK30/JbdPA4j2 pWzlhAohmMEgg/r4Q0GI6kD4JJmlvMrzJFthR9jRx154CN/3mWw52GSrM6RIFQPO+9Zp 2l5ltVxC3nAtB814PRZbGDJgXKQbjGNzOYZfk6hfYP7cbTvkxLrgWTud3zvjfrsDbljk B0qebjjgN0HGbFzmE/K/9rt6dBJKQnMIJIGfFDuXup0LThBpQmIKyTSWDC2ekv202T31 L3vg== 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 e64si812678qkc.65.2017.11.10.09.03.17; Fri, 10 Nov 2017 09:03:17 -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 4FD6560962; Fri, 10 Nov 2017 17:03:17 +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,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 9A4F060962; Fri, 10 Nov 2017 17:00:43 +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 8E640606A0; Fri, 10 Nov 2017 17:00:29 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 51B9E606A0 for ; Fri, 10 Nov 2017 17:00:24 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 4973612444E8 for ; Fri, 10 Nov 2017 20:00:23 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Xct3kAAi4v-0NWSXESh; Fri, 10 Nov 2017 20:00:23 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cdbkjzjQmB-0MZiPqaS; Fri, 10 Nov 2017 20:00:22 +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:17 +0300 Message-Id: <1510333217-26418-7-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 6/6] linux-gen: modular-framework: move pktio_ops 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 pktio_ops 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 + .../subsystem/spec/pktio_ops_subsystem.h | 0 platform/linux-dpdk/Makefile.am | 1 - platform/linux-generic/Makefile.am | 1 - platform/linux-generic/include/odp_packet_io_internal.h | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename platform/linux-generic/include/odp_pktio_ops_subsystem.h => include/subsystem/spec/pktio_ops_subsystem.h (100%) diff --git a/include/Makefile.am b/include/Makefile.am index 095456ff7..3a784619e 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -79,7 +79,8 @@ subsystemspecinclude_HEADERS = \ subsystem/spec/buffer_subsystem.h \ subsystem/spec/pool_subsystem.h \ subsystem/spec/queue_subsystem.h \ - subsystem/spec/schedule_subsystem.h + subsystem/spec/schedule_subsystem.h \ + subsystem/spec/pktio_ops_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/include/odp_mf.h b/include/odp_mf.h index de3a06a23..31ced6fb4 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -23,6 +23,7 @@ extern C { #include #include #include +#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp_pktio_ops_subsystem.h b/include/subsystem/spec/pktio_ops_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pktio_ops_subsystem.h rename to include/subsystem/spec/pktio_ops_subsystem.h diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 703592b1a..6d3a16a59 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -198,7 +198,6 @@ noinst_HEADERS = \ ${srcdir}/pktio/dpdk.h \ ${srcdir}/include/odp_packet_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_pktio_ops_ipc.h \ - ${top_srcdir}/platform/linux-generic/include/odp_pktio_ops_subsystem.h \ ${top_srcdir}/platform/linux-generic/include/odp_pktio_ops_socket.h \ ${top_srcdir}/platform/linux-generic/include/odp_pktio_ops_loopback.h \ ${top_srcdir}/platform/linux-generic/include/odp_name_table_internal.h \ diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 303a34882..b1349056d 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -184,7 +184,6 @@ noinst_HEADERS = \ include/odp_pktio_ops_pcap.h \ include/odp_pktio_ops_socket.h \ include/odp_pktio_ops_tap.h \ - include/odp_pktio_ops_subsystem.h \ include/odp_pkt_queue_internal.h \ include/odp_pool_internal.h \ include/odp_posix_extensions.h \ diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 7df11618e..397a5cb61 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -34,7 +34,7 @@ extern "C" { #define PKTIO_MAX_QUEUES 64 /* Forward declaration */ typedef union pktio_entry_u pktio_entry_t; -#include +#include #define PKTIO_NAME_LEN 256