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