From patchwork Thu Oct 26 12:00:00 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: 117198 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp676062qgn; Thu, 26 Oct 2017 05:03:22 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TX/ANhTeJE+2d0LJRP7N4fWfeJAouYoT9pN3HENoWqtKmwdyknTdji5rAuhFcPhwNzQGQe X-Received: by 10.55.201.135 with SMTP id m7mr7922654qkl.97.1509019402672; Thu, 26 Oct 2017 05:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019402; cv=none; d=google.com; s=arc-20160816; b=KnfrPTzVhGjHROWLERZE23VrlZWx3MmjX0ImTY+g00P4aJteiEmyrhzZceRVOeu3nn ki9gdN15igiYlE0+9Z2DV3Y69+wIfsNr/xcbj/QXffBek8yZkAkLRz7A4jp4lZ9NpsLK 2OuAQehgxJLJ4JDtfloriQPyVvBuGIVekpOnNF3c//YjEdGjhOKOz5GpAK16d0QCvRDd bjrRK1e0IUMhZ40QPdmifMX7oj8U6KfUoTDKPsKaOUvKDO0v2JBDck3HQ5BDHzm4UNIo VtbB4eC8L1478S3te4+nvYCJw//ZFyWBJdwEXSvuAbcHghacXzw0eC7Gv3kS82wmF/wp 6tSA== 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=uzSTfCQwXEa0iMpeOelhwtCGujzC7iHcTVVU7nHv19Q=; b=hox8ekltDZEDH7gmuuiM1HalCq+LuJ/4eNEyr1xLkHZjj/zy70eKO/rQCpscG9oH78 jAiex3g/mYCpx+WNVFSeP9rYIdC7WmlXUi+LcFqvp/kq/3wojMGvOTkvw7Pp9dS4BPa7 tZ2ji6ZG4W1iqMOWqEpIP88NFFqYDiM5lpFV1gcMwaG3JQTq4wh3TiI3cFHy5+Ubq5Fy zR4u3GSVPXJENdCqa3T02blrbeDhyKpXwS4UjHH3TNf/p/qIgV+srnhzyhq/H09vSFvT f2gzOqnr2E3JGxaskrUeYvtOgSNxxUGRp8RgLpiSsd2L255t+VxjfhVGEfVIpFnip8VI clvw== 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 h93si4546546qkh.417.2017.10.26.05.03.22; Thu, 26 Oct 2017 05:03:22 -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 442D962955; Thu, 26 Oct 2017 12:03:22 +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 43D6E608D9; Thu, 26 Oct 2017 12:02:03 +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 0B7DD6073F; Thu, 26 Oct 2017 12:01:44 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 2F974608D9 for ; Thu, 26 Oct 2017 12:00:37 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward105j.mail.yandex.net (Yandex) with ESMTP id C58EC18738C for ; Thu, 26 Oct 2017 15:00:35 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Vd2eWlHYnx-0ZbioxaS; Thu, 26 Oct 2017 15:00:35 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0YFu4Jro; Thu, 26 Oct 2017 15:00:34 +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:00 +0300 Message-Id: <1509019205-3327-2-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 1/6] linux-gen: modular-framework: make public modular framework headers 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 modular framework headers. 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 **/ frameworks/modular/module.h | 20 ++++++++++++++++ frameworks/modular/odp_module.c | 2 +- {frameworks/modular => include/odp/mf/spec}/list.h | 0 .../odp_module.h => include/odp/mf/spec/module.h | 0 include/odp_mf.h | 27 ++++++++++++++++++++++ platform/Makefile.inc | 5 ++++ platform/linux-dpdk/Makefile.am | 7 +++--- platform/linux-generic/Makefile.am | 7 +++--- 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 | 2 +- platform/linux-generic/pool/subsystem.c | 1 - platform/linux-generic/queue/subsystem.c | 1 - platform/linux-generic/schedule/subsystem.c | 1 - 17 files changed, 64 insertions(+), 18 deletions(-) create mode 100644 frameworks/modular/module.h rename {frameworks/modular => include/odp/mf/spec}/list.h (100%) rename frameworks/modular/odp_module.h => include/odp/mf/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..f7445bef3 --- /dev/null +++ b/frameworks/modular/module.h @@ -0,0 +1,20 @@ +/* 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/frameworks/modular/list.h b/include/odp/mf/spec/list.h similarity index 100% rename from frameworks/modular/list.h rename to include/odp/mf/spec/list.h diff --git a/frameworks/modular/odp_module.h b/include/odp/mf/spec/module.h similarity index 100% rename from frameworks/modular/odp_module.h rename to include/odp/mf/spec/module.h diff --git a/include/odp_mf.h b/include/odp_mf.h new file mode 100644 index 000000000..f8998f280 --- /dev/null +++ b/include/odp_mf.h @@ -0,0 +1,27 @@ +/* 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/Makefile.inc b/platform/Makefile.inc index 4d9280b50..e6270f6cd 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -77,6 +77,11 @@ odpdrvspecinclude_HEADERS = \ $(top_srcdir)/include/odp/drv/spec/std_types.h \ $(top_srcdir)/include/odp/drv/spec/sync.h +odpmfspecincludedir= $(includedir)/odp/mf/spec +odpmfspecinclude_HEADERS = \ + $(top_srcdir)/include/odp/mf/spec/module.h \ + $(top_srcdir)/include/odp/mf/spec/list.h + odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ $(top_srcdir)/include/odp/arch/default/api/abi/buffer.h \ diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index c99cfaa1c..14bd1b866 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -19,7 +19,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 @@ -35,7 +34,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 = \ @@ -349,8 +349,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 277418142..e5a776a25 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -7,7 +7,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 @@ -25,7 +24,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 = \ @@ -373,8 +373,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..b8f6a6953 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..fe0efc40e 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..dc955e479 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..d73aa7345 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..650b7680a 100644 --- a/platform/linux-generic/include/odp_schedule_subsystem.h +++ b/platform/linux-generic/include/odp_schedule_subsystem.h @@ -19,7 +19,7 @@ extern "C" { #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 Thu Oct 26 12:00:01 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: 117199 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp677795qgn; Thu, 26 Oct 2017 05:04:36 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RsmKBgUhUHd8ZN8vUkuoK3YzaeIH1xh/8/hxIdwF/t/4eHlcmC+HbuVaPSlas8K3U/sArX X-Received: by 10.200.24.50 with SMTP id q47mr35223219qtj.290.1509019476043; Thu, 26 Oct 2017 05:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019476; cv=none; d=google.com; s=arc-20160816; b=PqYEXyKSbuBRhRgF7tFvLPy/ZX5GN3Wt8zm8GFJT954dq6dUj4QTOpej1gAsOk0JrS bWoWC8ms2LcjbpoXoLAW0akYBHsQv/ezyZXfh8nm/4BHsCM1J5ciy02hSdqw5VDtztrQ qHbJnsGZpN0/RTSk8F9N9bc59zzapv2Yv1Gv8eEhj8bG3itl9nXHbuEGjTNHgCViIAZ4 05AxrBHSL+r2OWqJtZKjsnEzdrXnsGk1+FTXAGv6dIIw7MMJy/yvy7S14n2dfq50Jpdx tEJvL08eNZ6vaKulP+SEFE/WTPt5pAJIDpnJrNeM10g34GfLI2QEDljf3XuV6gnvD9Yg It9A== 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=o7s3RSFxMplfnr8IEzzT+rrtuJdO9m23rtb10i1Zigs=; b=AXyhpNi+1iv3SnmuIglXt1icVTEImJXmm3IypvXwohY1lZll+jF0kykB5rRMw4n1wn jetu+ZRRoCOG5mTzUcwPryAWabKl7GHXEQAebV2bOVAzE++AwS3kubSAAFz3WjuFZx0X QfjBHgE9yjAprZAWucgAsim1yJeat8/5ZaTWCFSm4bofNWUj0GOehMmv7T85Ki1HNROK CaRbCV4FNjQ/BBMu7tq93Y0qPwD9Lzan1eYDWFSzxQMK9tJKrmMWQq6TEJlNkOdx+LAT 8vLC0VY3fwljC05swfYtWLRXjEJn5aj86INfJW3hQ+u14S/uVlJhCdKqP9xrU1RhjwzS nPzA== 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 c32si2435971qtc.135.2017.10.26.05.04.35; Thu, 26 Oct 2017 05:04:36 -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 8021A6094A; Thu, 26 Oct 2017 12:04:35 +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 A100260988; Thu, 26 Oct 2017 12:02:12 +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 B89726073F; Thu, 26 Oct 2017 12:01:49 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 3F5FF60812 for ; Thu, 26 Oct 2017 12:00:38 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 56F95184BB6 for ; Thu, 26 Oct 2017 15:00:36 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 70tdQtTylV-0aXmC4aH; Thu, 26 Oct 2017 15:00:36 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0ZFWb22g; Thu, 26 Oct 2017 15:00:35 +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:01 +0300 Message-Id: <1509019205-3327-3-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 2/6] linux-gen: modular-framework: make public buffer 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 buffer 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/buffer_subsystem.h | 1 - include/odp_mf.h | 1 + platform/Makefile.inc | 4 ++++ 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/odp/subsystem/spec/buffer_subsystem.h (99%) diff --git a/platform/linux-generic/include/odp_buffer_subsystem.h b/include/odp/subsystem/spec/buffer_subsystem.h similarity index 99% rename from platform/linux-generic/include/odp_buffer_subsystem.h rename to include/odp/subsystem/spec/buffer_subsystem.h index b8f6a6953..011ad448c 100644 --- a/platform/linux-generic/include/odp_buffer_subsystem.h +++ b/include/odp/subsystem/spec/buffer_subsystem.h @@ -61,4 +61,3 @@ typedef ODP_MODULE_CLASS(buffer) { #include #endif - diff --git a/include/odp_mf.h b/include/odp_mf.h index f8998f280..747c6dc4d 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/Makefile.inc b/platform/Makefile.inc index e6270f6cd..0d38d377e 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -82,6 +82,10 @@ odpmfspecinclude_HEADERS = \ $(top_srcdir)/include/odp/mf/spec/module.h \ $(top_srcdir)/include/odp/mf/spec/list.h +odpsubsystemspecincludedir= $(includedir)/odp/subsytem/spec +odpsubsystemspecinclude_HEADERS = \ + $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h + odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ $(top_srcdir)/include/odp/arch/default/api/abi/buffer.h \ diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 14bd1b866..e1074cc23 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -172,7 +172,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..65bb6b03c 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 e5a776a25..4acd9236f 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -160,7 +160,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_bitmap_internal.h \ ${srcdir}/include/odp_bitset.h \ ${srcdir}/include/odp_buffer_internal.h \ - ${srcdir}/include/odp_buffer_subsystem.h \ ${srcdir}/include/odp_classification_datamodel.h \ ${srcdir}/include/odp_classification_inlines.h \ ${srcdir}/include/odp_classification_internal.h \ diff --git a/platform/linux-generic/buffer/generic.c b/platform/linux-generic/buffer/generic.c index 3281119be..70b1a73d7 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..2e1bf59a3 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 Thu Oct 26 12:00:02 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: 117197 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp674257qgn; Thu, 26 Oct 2017 05:02:11 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RNZdN4tx1Me0useX5BOXXXBu8k746RlMQKUhAJk47MP956c7GAGBJ2QLtTYGWXjMycGoce X-Received: by 10.200.3.159 with SMTP id t31mr33726737qtg.102.1509019330935; Thu, 26 Oct 2017 05:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019330; cv=none; d=google.com; s=arc-20160816; b=wWxMJhRvJMfFuL8kPv2xcpMJm/JbixU+1SXweCWBgukqs1VzQzwPJntIvVtYgPMh4N 3pxYisWvImJHJeH61hoQ5Grzvv9Cw614fB9DLBPhx4SJJ6lmcmvdn23+ZSM/XWVs7ZMu hoQR1CJOhwNS2qhJJf3yWtLgOtGMcS6qRkwuZ4cGeg69cviGz8MBlkue8scXUvdQY2d7 OXfOoVxfM/5cGnfiEZuE/jI0Wi/iwBIWiJDMjKGb0OzurSOvHln/FVHdP6L+ylHHFgsz 4YH58zqJ8vff2vpaW9o6Pco5F96fBaXAUD3KdxLy2KS4yl6ZKxzF66XqHw8UQymV/33E +UUA== 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=9U3aF3CemW1kNduLVPEAL9yTZ10diiO0DtAC/hDHsws=; b=x/5UC8JtTD8YuMUf16D90eKRGfJdcfECs1oRCI6wMdJjl2A2RXooSD6H8Zb/SFNKbD 2MGLEUAZ0ERkLbXYE3OYip34rY9JZEfgaUpu+5Dx6HZaHwZIpdNGqoG7rJBUZcZbPY4D iq5h6JBZuyy8bbDyx7RnRKwWm485EPXIkxlwfminfkaCvOmlTWcVxW+VHMO3vFftxbkf qCC1rlnrcVdD+yKPMF6nauJpPa7w+e+AmTCzQfncpF8GN5St96WjDpn4xfqC03y8inFi p+J8xcPRw4SANlrfdIlYCBytq/EOPbQW/Hq3dPbQB/s+aHyNgA8J8FJCME3NgFgMl5xf dXtQ== 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 r53si2163835qta.350.2017.10.26.05.02.10; Thu, 26 Oct 2017 05:02:10 -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 9446360BFA; Thu, 26 Oct 2017 12:02:10 +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 AB435607F1; Thu, 26 Oct 2017 12:01:53 +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 B32AB6073F; Thu, 26 Oct 2017 12:01:42 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 4AB1061018 for ; Thu, 26 Oct 2017 12:00:40 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 8B7F75102156 for ; Thu, 26 Oct 2017 15:00:38 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tNgbNxKJiP-0bRiMgBv; Thu, 26 Oct 2017 15:00:37 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0aFqfdUU; Thu, 26 Oct 2017 15:00:36 +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:02 +0300 Message-Id: <1509019205-3327-4-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 3/6] linux-gen: modular-framework: make public pool 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 pool 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/pool_subsystem.h | 0 include/odp_mf.h | 1 + platform/Makefile.inc | 3 ++- 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/odp/subsystem/spec/pool_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_pool_subsystem.h b/include/odp/subsystem/spec/pool_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pool_subsystem.h rename to include/odp/subsystem/spec/pool_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index 747c6dc4d..9b83e8680 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/Makefile.inc b/platform/Makefile.inc index 0d38d377e..bb928c83c 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -84,7 +84,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/buffer_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/pool_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 e1074cc23..cf3e822e9 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -203,7 +203,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..938843436 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 4acd9236f..a871afae2 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -187,7 +187,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_pkt_queue_internal.h \ ${srcdir}/include/odp_queue_subsystem.h \ ${srcdir}/include/odp_pool_internal.h \ - ${srcdir}/include/odp_pool_subsystem.h \ ${srcdir}/include/odp_posix_extensions.h \ ${srcdir}/include/odp_queue_internal.h \ ${srcdir}/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 35dd013e7..15b381935 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..dca9284a7 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 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); From patchwork Thu Oct 26 12:00:04 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: 117201 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp680315qgn; Thu, 26 Oct 2017 05:06:33 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q4pd619qpBALMF/jlVIZMVgi4sLybT8Vd16Th710uEn5hyqFBtl2Kn7GlWHjTt9ohXnLhs X-Received: by 10.237.53.176 with SMTP id c45mr36541154qte.311.1509019593599; Thu, 26 Oct 2017 05:06:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019593; cv=none; d=google.com; s=arc-20160816; b=N2WsOEhCKv3fKHs4VUQzy5anmClvGu3vCtMujgMX5qSVTdcObubttNrjgjVZMm4V36 xe6yRP2m4t4zZ7AYvVniDlFMeWRCnUPmDtwrq7UOHTebScbMjeZ+2UP0FRT4Yj0rV+sO 2B/qyi/xT+niQhu/0BaYnIROR2fHUSiHRf1dUA9X5z7SZskMG6hYifWDil9YAwRMws+i D7zudVQWOe6fFfAaHohz3TgHxBBZpQvnSLsFkIkhBPl+3i85AAUT7OF9LrBqMS8wDMEG vJUQrQaD0uy7UZng3q8W7yuaVJzHy//MHDotQKH10pylZGxEgGUxPgEcM9DrCeFswtis sRJg== 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=aU41uz6aNQfvvyiLq5hSSQIkj7/fSsxlZSw0rPm+cQQ=; b=tkXIcnvocNfh7/c9rQoobFvvSqP5s5McnmIRzcr1523ytX9czJ5QyfqHWu17KlqzrP DMVhoEzMr8ezMtwRi/TKZuYZQ1nUYNfnuUort819YBYisZErenIIonQVouTjYiORuNKI G5lasz2UWJ3MzFJhY3Opla/161R4J2Km8lDcAVre466gx3tm7ro91foH7WRHRsdcTuxD huIgt5Tq1e/a5yxdRr0Oz5T/qWrLWd0g4ii3mYaTl2lgUrHY6sQyUskpuGd8qwyRRMFR JeH6RL5+jt1IV96uQ7R/PwtkSCDYsmUWbKQfLZ/Fahzvh673Dm8hWxHbkeekr4U9sIgj yDmw== 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 p65si4156994qke.91.2017.10.26.05.06.33; Thu, 26 Oct 2017 05:06:33 -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 31A3A61009; Thu, 26 Oct 2017 12:06:33 +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 1FEAE6100B; Thu, 26 Oct 2017 12:02:20 +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 477036073F; Thu, 26 Oct 2017 12:01:52 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id DB99861023 for ; Thu, 26 Oct 2017 12:00:42 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 65A3718082A4 for ; Thu, 26 Oct 2017 15:00:41 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Zkhc8efrUy-0fUCNLUU; Thu, 26 Oct 2017 15:00:41 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0eFKuWNw; Thu, 26 Oct 2017 15:00:40 +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:04 +0300 Message-Id: <1509019205-3327-6-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 5/6] linux-gen: modular-framework: make public schedule 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 schedule 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/schedule_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/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/odp/subsystem/spec/schedule_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_schedule_subsystem.h b/include/odp/subsystem/spec/schedule_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_schedule_subsystem.h rename to include/odp/subsystem/spec/schedule_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index ce5ff5b65..a03040c23 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/Makefile.inc b/platform/Makefile.inc index 6965a0e4b..da1fb52e3 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -86,7 +86,8 @@ 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/queue_subsystem.h + $(top_srcdir)/include/odp/subsystem/spec/queue_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/schedule_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 3ac7df565..96915e818 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -208,7 +208,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 8172244b1..027e54fd8 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -195,7 +195,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_schedule_scalable.h \ ${srcdir}/include/odp_schedule_scalable_config.h \ ${srcdir}/include/odp_schedule_scalable_ordered.h \ - ${srcdir}/include/odp_schedule_subsystem.h \ ${srcdir}/include/odp_sorted_list_internal.h \ ${srcdir}/include/odp_shm_internal.h \ ${srcdir}/include/odp_time_internal.h \ diff --git a/platform/linux-generic/schedule/generic.c b/platform/linux-generic/schedule/generic.c index 73fef40cb..39bf2d4f5 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..13f6ade26 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..0266bd1c4 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..b00b4f290 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..08e2aa752 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 Thu Oct 26 12:00:05 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: 117200 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp679003qgn; Thu, 26 Oct 2017 05:05:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SOrxr20RDz0qissU+zucid/JrKAWsZwRNHv/xjZMYD2NYylRsKqCiX3ViahrxXX9h0hiNf X-Received: by 10.200.43.252 with SMTP id n57mr34819671qtn.141.1509019532518; Thu, 26 Oct 2017 05:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019532; cv=none; d=google.com; s=arc-20160816; b=1Fs7NSZmCbNsGuk9M0BE079GVSQgQKfplhuszS9ul9QFOZ/RYjSo94TxkpI0UUBzvH uoFLeb/iasCjy8qNYv18ys/tD3Mr3hCcZvnnH3Fi6Prmi1X4U9x0WteCU8Daiulj25SW ztZOoKlqlGU5wmsnXT3Gl/Hp9SkqWPt20ue6OIlioBEMx9Jkh2Dtb4BjViUbytBZhL2F i4/sUbbOnbSX7uOYgOH6PZuytc7XCnvaapl+8Zcfvxg8hpNwxVC0zM2323pyQW3Jowe8 NOtS7/ctXGpkHIElZ2+pCO8lHY3zarGKgOdq2+HoLCSuRhJnD5g9EjBeVn/XwlELUGi1 Uu5A== 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=FO2bmjnzYc0tjD9FF/UhvU3DtYeiVgambbMzaRsiPpM=; b=RsmRR4M9wIjOjv5L0p9RGUAOQBCPaGVG7Dz0KRXU8sg8oown6HGVWUj/YxAYtvvB5w Xx+OZPksJWK+/bvd0fAmruqZEuylaw1UaorVKbkDm21HObV2zmCBfu3oxh9MCqUsCndb pqRcOkFfpjtD7P0JZdzcfS5BA9L5tezts9HnRDjFORWJB3NCT3DQGnZyuPGFy4mfDKVA hQcWGaPfubmB7SFixl/LWK0OJWdgVj+rTdbPhArHZt0XRjEy16y3QwO/y4sz3u6W4KKH jlt1541lzTRgT1RrnQ9tx3dIXzX9ncXLAqmtHbJuiBDTQtfkFDOgCdYDr73V0sBaxhoc MGDw== 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 f13si4505150qtf.388.2017.10.26.05.05.32; Thu, 26 Oct 2017 05:05:32 -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 3288A62955; Thu, 26 Oct 2017 12:05:32 +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 E5A7B60F70; Thu, 26 Oct 2017 12:02:15 +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 0C0E66073F; Thu, 26 Oct 2017 12:01:52 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 91DAA610DA for ; Thu, 26 Oct 2017 12:00:44 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 5780F21853D4 for ; Thu, 26 Oct 2017 15:00:42 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZH26AXXuqx-0gCSo0jm; Thu, 26 Oct 2017 15:00:42 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0fFux8bP; Thu, 26 Oct 2017 15:00:41 +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:05 +0300 Message-Id: <1509019205-3327-7-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 6/6] linux-gen: modular-framework: make public pktio_ops 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 pktio_ops 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/pktio_ops_subsystem.h | 0 include/odp_mf.h | 1 + platform/Makefile.inc | 3 ++- platform/linux-dpdk/Makefile.am | 1 - platform/linux-dpdk/include/odp_packet_io_internal.h | 2 +- platform/linux-generic/Makefile.am | 1 - platform/linux-generic/include/odp_packet_io_internal.h | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename platform/linux-generic/include/odp_pktio_ops_subsystem.h => include/odp/subsystem/spec/pktio_ops_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_pktio_ops_subsystem.h b/include/odp/subsystem/spec/pktio_ops_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_pktio_ops_subsystem.h rename to include/odp/subsystem/spec/pktio_ops_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index a03040c23..cd293a80f 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/Makefile.inc b/platform/Makefile.inc index da1fb52e3..696f92cf2 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -87,7 +87,8 @@ 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/queue_subsystem.h \ - $(top_srcdir)/include/odp/subsystem/spec/schedule_subsystem.h + $(top_srcdir)/include/odp/subsystem/spec/schedule_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/pktio_ops_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 96915e818..63dd99250 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -194,7 +194,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-dpdk/include/odp_packet_io_internal.h b/platform/linux-dpdk/include/odp_packet_io_internal.h index 089ad38c5..fb4df032c 100644 --- a/platform/linux-dpdk/include/odp_packet_io_internal.h +++ b/platform/linux-dpdk/include/odp_packet_io_internal.h @@ -32,7 +32,7 @@ extern "C" { /* Forward declaration */ typedef union pktio_entry_u pktio_entry_t; -#include +#include #define PKTIO_NAME_LEN 256 diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 027e54fd8..d73b6bf10 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -183,7 +183,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_pktio_ops_pcap.h \ ${srcdir}/include/odp_pktio_ops_socket.h \ ${srcdir}/include/odp_pktio_ops_tap.h \ - ${srcdir}/include/odp_pktio_ops_subsystem.h \ ${srcdir}/include/odp_pkt_queue_internal.h \ ${srcdir}/include/odp_pool_internal.h \ ${srcdir}/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 b26a35d25..8559bedeb 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -35,7 +35,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