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