From patchwork Mon Jan 22 15:00:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125428 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1200428ljf; Mon, 22 Jan 2018 07:01:21 -0800 (PST) X-Google-Smtp-Source: AH8x227dmqZ52SbOOZ6jtQSRV86jakJ2m8WJRvgeHyjBpqrk979W4T5oW6GTHqvtofxXZDRHVPsn X-Received: by 10.200.35.113 with SMTP id b46mr10739542qtb.262.1516633280972; Mon, 22 Jan 2018 07:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516633280; cv=none; d=google.com; s=arc-20160816; b=LgJE2xtRS7TlkG8GYX74YYSwEXA8aVldoyQqHY2aYpE0MImBdzl3aLqMZp/6vbJVkL l2gXwPYXIf50mUVAVc8uP1miFw37+AoaHchkd7qgN8IENL8lbvegfKjp7UL6S3zL6E/h LfTbUYohJPVY7fbzcAB/myahIXOIxAwhw0MSv2rxslzCOY8Br0NfFw/g9KWNS3b1dWfG 5Ko8fEvXSaaQoH9n8AQWUpwjO7N7o+QkF3VujoWvTXiq1NOQtaTd30afKVETGJ23ItEh Rk2nggp4W5DT1gQb8llyPjDv67yfnCbYh6ijY+7mURirLuIt/MWih2D32xxPsRYHw9dd zfSA== 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=F4RuEjtCLdRiAfsTgbV4+3vsclvRmARd6JbMscends4=; b=v6TYo7MEUSSkfyUldMJhL5fw+g+CUjE2k3TjOVrotUw3iwdATEVm7iKttgsRYTxZMK dUZ7yAC+XOlHgU42QQoG6us2Rbst+xgc8f5OI+QSkdzQVhezuMFxF8fmrp07fthoQZiF UlCPv/uK8K4/cuVxYFhOOUQrLkYV4Kq9Fkp12PDYQY9ro6Oc1lHxNOAjGJt89tJ3FYOD 9UFPHEt8588kB2675gfgTWoUnjJIt9pTcWF0m6DVx9RPfQmerJwtShc6DYLaHRtY+Ruk ygWyCXqRg27YGreIOHzIyD46nYXLNqG/67Y8SaLQFWHwf9RQOur6DvKspTRAVQq2bvvK XU4A== 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 y10si4855619qta.113.2018.01.22.07.01.20; Mon, 22 Jan 2018 07: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 8EBA0617B8; Mon, 22 Jan 2018 15: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, RCVD_IN_MSPIKE_H2 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 81F6461555; Mon, 22 Jan 2018 15:00:40 +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 9214761759; Mon, 22 Jan 2018 15:00:34 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id D0EEC60725 for ; Mon, 22 Jan 2018 15:00:26 +0000 (UTC) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 5C3D64302B5F for ; Mon, 22 Jan 2018 18:00:24 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wpLkMMhS1S-0ObSeFkZ; Mon, 22 Jan 2018 18:00:24 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jptb7G4Pts-0HTi4qpg; Mon, 22 Jan 2018 18:00:17 +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: Mon, 22 Jan 2018 18:00:09 +0300 Message-Id: <1516633210-13906-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> References: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 415 Subject: [lng-odp] [PATCH API-NEXT v3 1/2] linux-gen: drop leftover 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: Dmitry Eremin-Solenikov Drop headers moved to /include in master, which reappeared in api-next. Fixes: f925f103c90591776f73863d30159357b08bf71e Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 415 (lumag:api-next-fix-headers) ** https://github.com/Linaro/odp/pull/415 ** Patch: https://github.com/Linaro/odp/pull/415.patch ** Base sha: 5fba303faf04d29b616f687ce1f721400b2c6f9c ** Merge commit sha: d04df090bced4f16e3d95aac712e562ae1c121d4 **/ platform/linux-generic/include/odp/api/atomic.h | 42 -------------------- platform/linux-generic/include/odp/api/byteorder.h | 43 -------------------- .../linux-generic/include/odp/api/classification.h | 46 ---------------------- platform/linux-generic/include/odp/api/packet.h | 38 ------------------ platform/linux-generic/include/odp/api/queue.h | 44 --------------------- platform/linux-generic/include/odp/api/sync.h | 39 ------------------ 6 files changed, 252 deletions(-) delete mode 100644 platform/linux-generic/include/odp/api/atomic.h delete mode 100644 platform/linux-generic/include/odp/api/byteorder.h delete mode 100644 platform/linux-generic/include/odp/api/classification.h delete mode 100644 platform/linux-generic/include/odp/api/packet.h delete mode 100644 platform/linux-generic/include/odp/api/queue.h delete mode 100644 platform/linux-generic/include/odp/api/sync.h diff --git a/platform/linux-generic/include/odp/api/atomic.h b/platform/linux-generic/include/odp/api/atomic.h deleted file mode 100644 index f11225efb..000000000 --- a/platform/linux-generic/include/odp/api/atomic.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (c) 2013-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP atomic operations - */ - -#ifndef ODP_PLAT_ATOMIC_H_ -#define ODP_PLAT_ATOMIC_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include - -/** @ingroup odp_atomic - * @{ - */ - -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif - -/** - * @} - */ - -#include - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/include/odp/api/byteorder.h b/platform/linux-generic/include/odp/api/byteorder.h deleted file mode 100644 index b9a89244d..000000000 --- a/platform/linux-generic/include/odp/api/byteorder.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright (c) 2014-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP byteorder - */ - -#ifndef ODP_PLAT_BYTEORDER_H_ -#define ODP_PLAT_BYTEORDER_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include - -/** @ingroup odp_compiler_optim - * @{ - */ - -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif - -/** - * @} - */ - -#include - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/include/odp/api/classification.h b/platform/linux-generic/include/odp/api/classification.h deleted file mode 100644 index 452a8f1f7..000000000 --- a/platform/linux-generic/include/odp/api/classification.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2014-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP classification descriptor - */ - -#ifndef ODP_PLAT_CLASSIFICATION_H_ -#define ODP_PLAT_CLASSIFICATION_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include -#include -#include -#include - -/** @ingroup odp_classification - * @{ - */ - -/* REMOVE THESE FROM API SPEC. Typedefs needed only for suppressing Doxygen - * warning. */ -typedef void odp_flowsig_t; -typedef void odp_cos_flow_set_t; - -/** - * @} - */ - -#include - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/include/odp/api/packet.h b/platform/linux-generic/include/odp/api/packet.h deleted file mode 100644 index f69e9e582..000000000 --- a/platform/linux-generic/include/odp/api/packet.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2013-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP packet descriptor - */ - -#ifndef ODP_PLAT_PACKET_H_ -#define ODP_PLAT_PACKET_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include -#include -#include -#include - -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif - -#include - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/include/odp/api/queue.h b/platform/linux-generic/include/odp/api/queue.h deleted file mode 100644 index 07c3f7ca8..000000000 --- a/platform/linux-generic/include/odp/api/queue.h +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright (c) 2013-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP queue - */ - -#ifndef ODP_PLAT_QUEUE_H_ -#define ODP_PLAT_QUEUE_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include -#include -#include -#include - -/** @ingroup odp_queue - * @{ - */ - -/* REMOVE FROM API SPEC. Typedef needed only for suppressing Doxygen - * warning. */ -typedef void odp_queue_group_t; - -/** - * @} - */ - -#include - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/include/odp/api/sync.h b/platform/linux-generic/include/odp/api/sync.h deleted file mode 100644 index bf138b4e4..000000000 --- a/platform/linux-generic/include/odp/api/sync.h +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (c) 2013-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP synchronisation - */ - -#ifndef ODP_PLAT_SYNC_H_ -#define ODP_PLAT_SYNC_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -/** @ingroup odp_barrier - * @{ - */ - -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif - -/** - * @} - */ - -#include - -#ifdef __cplusplus -} -#endif - -#endif From patchwork Mon Jan 22 15:00:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125429 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1201276ljf; Mon, 22 Jan 2018 07:02:33 -0800 (PST) X-Google-Smtp-Source: AH8x226WNLH/cGBuzmH6WKg9g30MRfxHU4tJUpvkCH6o+jgSiIM0iewkWQm+4v4vilTZbTCZ826O X-Received: by 10.129.61.20 with SMTP id k20mr8047297ywa.471.1516633353350; Mon, 22 Jan 2018 07:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516633353; cv=none; d=google.com; s=arc-20160816; b=j8dLwit3qKElr+d8bEQcnKe9RW3JJe8Y1XVYIOiUmEaKUO3LPhzdQ5MbEIqtBpXc+9 p5wm/KsSVihKsHQrT/3HmFmXT4rpkonkl4F+mNxP9hLkwWd6zh8E89K9Mop+izfBe4wW 92t1umQsJxsIF1qipHat9OoUAsim47/JJKadccvm8r2Vkv4a2J2ch2sLIcK6QkRIwMrF JrfZvMOlbMGeG5bSARzUbafYa71LQ6Y0fExB+arWr02IG49T3xllzQmyUAPkomT+Iv6c cUIXnGGWKPJljM/aZucgEGqedqWksNFTHq6iRQ9nJ4P1UKS8oe9qFZy6nW/WQ/0u/NwP 7o1g== 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=unT+2qxArApapt+NMqDodBTIpaToY351eGoGK5Wlv+I=; b=M/o9lkV66BkLSh6LoY02yyt5zi3uIIkeCJEyETxbnEfsE+YVXoTgwPzoSamd7a8rij ahwC0hRzYbtWoU005k55hKM+gO7SsMlI81xgfbF0EyQbejRGZfzoCI6H+sRRrPltrxWt X7Wf8UhdLSsItgWk8MqtHgBhbXEIHag6UHkVyscyTBggk2GxTGNMks1LePK+hSrzy1Ac A1s5FvSVQe4d+cadT7fMPUElmUl8rb3ol5Ci2BGqq57Rv6k5ZAVg477fj9E8SMSTM8pL 5RvyziMIUXIweCZF8JAbgqhLrP8UznFqk5pBZBsyQtpRGTvBtaT+rlWUb5ug7KlqkWia JQxg== 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 z5si144376yba.282.2018.01.22.07.02.33; Mon, 22 Jan 2018 07:02:33 -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 F3080617B5; Mon, 22 Jan 2018 15:02: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_H2 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 B9D9761753; Mon, 22 Jan 2018 15:01: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 A2CA2616E5; Mon, 22 Jan 2018 15:01:24 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 1D05A61753 for ; Mon, 22 Jan 2018 15:00:32 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100j.mail.yandex.net (Yandex) with ESMTP id BFF795D82F62 for ; Mon, 22 Jan 2018 18:00:30 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6rhY1KgFL6-0U4C2fCT; Mon, 22 Jan 2018 18:00:30 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jptb7G4Pts-0OTi4OfU; Mon, 22 Jan 2018 18:00:24 +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: Mon, 22 Jan 2018 18:00:10 +0300 Message-Id: <1516633210-13906-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> References: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 415 Subject: [lng-odp] [PATCH API-NEXT v3 2/2] api: drop spec/compiler.h 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: Dmitry Eremin-Solenikov This header was already removed in master, but it reappeared in api-next. Fixes: f925f103c90591776f73863d30159357b08bf71e Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 415 (lumag:api-next-fix-headers) ** https://github.com/Linaro/odp/pull/415 ** Patch: https://github.com/Linaro/odp/pull/415.patch ** Base sha: 5fba303faf04d29b616f687ce1f721400b2c6f9c ** Merge commit sha: d04df090bced4f16e3d95aac712e562ae1c121d4 **/ include/odp/api/spec/compiler.h | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 include/odp/api/spec/compiler.h diff --git a/include/odp/api/spec/compiler.h b/include/odp/api/spec/compiler.h deleted file mode 100644 index 750b36008..000000000 --- a/include/odp/api/spec/compiler.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright (c) 2014-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - - -/** - * @file - * - * Compiler related - */ - -#ifndef ODP_API_COMPILER_H_ -#define ODP_API_COMPILER_H_ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** @addtogroup odp_compiler_optim - * Macro for old compilers - * @{ - */ - -/** @internal GNU compiler version */ -#define GCC_VERSION (__GNUC__ * 10000 \ - + __GNUC_MINOR__ * 100 \ - + __GNUC_PATCHLEVEL__) - -/** - * @internal - * Compiler __builtin_bswap16() is not available on all platforms - * until GCC 4.8.0 - work around this by offering __odp_builtin_bswap16() - * Don't use this function directly, instead see odp_byteorder.h - */ -#if GCC_VERSION < 40800 -#define __odp_builtin_bswap16(u16) ((((u16)&0x00ff) << 8)|(((u16)&0xff00) >> 8)) -#else -#define __odp_builtin_bswap16(u16) __builtin_bswap16(u16) -#endif - -/** - * @} - */ - -#ifdef __cplusplus -} -#endif - -#include -#endif