From patchwork Fri Oct 27 12:49:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117321 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp732471qgn; Fri, 27 Oct 2017 05:50:30 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Rpsl0y4eyqhqA7r/4D0P0rQAbIqbVIDoDiYOX5OQdRaoVRC1jsDVbtawzzGsd78sgEG6iz X-Received: by 10.55.21.230 with SMTP id 99mr613423qkv.122.1509108630332; Fri, 27 Oct 2017 05:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108630; cv=none; d=google.com; s=arc-20160816; b=U69csfgFYNjXBof3RfcTCPT8KgXICaHyP3jA6l7bFSY6bk4YbKWXX32E7Zc2g4YLHx ZY0ch2xYU2yRo7HzMIxgNV/U7CkScKRhZMLlGJPydR3q+BxOfh+f5pySzAE0AgBNfFxJ CuhvltsWLs5Q43OTzkmeSBKO+UzDE39/vsXf6Amyyb1vySjV44H6wd43T8/d4MQIArvj GudUohYt9bXPqUJ92/ON9JXVHRGL9sJU5cK9Oqn3CoUAXs+jzkltNYVrQOnewMQ1uAsV 8bbl45CUoCThKjmTsRDnZWjyCyeBOaThqBuZibuMK8s7ugz51ETuLHme1QiffIDndHD2 ZB2w== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=vRRQETHbO+4lHsTlQVi3qOejRvHGPGlCN5KoRozGGFQ=; b=g9TVNWS96CHCn/ouIh5AqY7Z0TRghd64g1MlIMWwtjhQKdS/BIFCCo1HRxzEQTDAUj sDiFiHsvTn8W4GpruRQT2SnXCv72JBLPcDZVlN7uLIQyEZIk7joeJynKaixoeZTPTdIP Sjthb+pVbDaieUn6grt5p3kXuMg1ObbXIh/lyAvg7xvil+LLinnKvXROPQhAOGwq83cT 86xQ7h7VNM8/zj/bqgQD/yzUr9SQCPqWjYas2v3SSY8znj0k3PT7VUyg8/eKKBUvEFRJ EMlXdJmyXNTkB89xujaavv4rRVIMAw//KPi1XsWXEMhfUdJOSnu8H7PB0GIOzeMqhTAH zYzA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 t70si4296778qki.2.2017.10.27.05.50.29; Fri, 27 Oct 2017 05:50:30 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 7EB5160FFB; Fri, 27 Oct 2017 12:50:29 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 5EE6460973; Fri, 27 Oct 2017 12:50:25 +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 2798B609BE; Fri, 27 Oct 2017 12:50:22 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 032316094A for ; Fri, 27 Oct 2017 12:50:21 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id n69so7302943lfn.2 for ; Fri, 27 Oct 2017 05:50:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=vRRQETHbO+4lHsTlQVi3qOejRvHGPGlCN5KoRozGGFQ=; b=YsrNlSwi8gJggOJUpQ5yYjZfP8k0iFeqyoJ4xIyIua00wwR4i82yqN27YglWRl1JIN 4m6y3nCekITanlMbMqM8K+rUrKtKxRahWtYCz4/i6Xefi4pwBSvQjZ79wjUZ4oj6OBYc sb9nONgzjTAI52fmlRQoH/gDVG8f2aPqv1EEWYetzErO3LIqmhq7szRcD8YapJivrQFZ 0o9Zi/7WxfCpAZFzuYUTQXK+ih6qApXLns2JSx5YuERKhA+5MhbW57FrSyt+vXpg2lgm 5GxjlfscXNmeDtYKeHdDhumFXrTkmKU3/SmcEZyxSwaOl2s4E65nEYYTuKtrPe+Tftzj opKw== X-Gm-Message-State: AMCzsaWaYZJKDSEtfs+I4RdzWXJZ3QxusiV2jL7yXrVnDC2LBbI19MMl 7247fbXsjDN9s6a8oPvFPhNf8CVxZPSDBA== X-Received: by 10.25.43.144 with SMTP id r138mr156729lfr.34.1509108619483; Fri, 27 Oct 2017 05:50:19 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:18 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:45 +0300 Message-Id: <20171027125014.27313-2-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 01/30] travis: also run make distcheck in non-ABI-compat mode 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" Signed-off-by: Dmitry Eremin-Solenikov --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.14.2 diff --git a/.travis.yml b/.travis.yml index 49b922e3cdba..fdeeefd113ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -244,6 +244,14 @@ jobs: - ./configure --prefix=$HOME/odp-install --enable-user-guides - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck + - stage: test + env: TEST=distcheck-non-abi + compiler: gcc + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install + --enable-user-guides + - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK__CONFIGURE_FLAGS=--disable-abi-compat - stage: test env: TEST=doxygen compiler: gcc From patchwork Fri Oct 27 12:49:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117322 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp733074qgn; Fri, 27 Oct 2017 05:51:02 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SyUg6BczoKcZHOymvOcQoIkkCk3S9co5JTSUwxWCmkdcZowkn0Bq+2gfiSGkZMjl6LVu7t X-Received: by 10.237.53.92 with SMTP id b28mr666936qte.280.1509108662088; Fri, 27 Oct 2017 05:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108662; cv=none; d=google.com; s=arc-20160816; b=YkQ6yCUiWl//6Ojc9hMogOYmWvecCYImfRrzehmdacz1YfBRa9oMUYVz8RP9VZMm0X rk4UNOoqvre8vAJrPr8ZtpYtzgy244xFo9UkgSJPDja+SAYg2pOcEZzOka/skm6OQQ9I Ost8Gpj0VH9H4J6k+SFpBHg6HwjdBIt6Vw3f3NIetx22rZEHhnMH7mXUQYLhMcFm/QN+ wuiAw3IKNEIIjJuNCrDW6pQnfdQjsNcFXlzy4BLnyb3T0SEZfaOYM/hznynaNf2g1Nv9 jhcqks9Rx3yZ55IKbroUWW96sZLJOn6UA615A6LPuQXAFDhBl+eai664sVyWpWu3wNTg b+zQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=ZSBMqOlno8c9HbITWMGxu6bzqYea8kKYDaKzFvgd/oc=; b=Bm+RHzA4abkUL/VpyMaKqCXoMKLoOUaCrL86reAvH3A3Zc8koZV2iH41HlVM6Ihw5W q9QBtjp3zfofvOtgXEU2+EjZfOTr9j3B+ctf1mfU248hx4OqiMyO61+1HdgpYM80w4H9 IKWGcjb6AeQzaEROlvubbocxj6bMTgEoQ0ZSJysfD3CHNCu0Q4vRyBMaliiG2eWDcqbW wr7Yu4s+Yc48IqlKQfngrUYVd6orCqAnw2DSbdov1v0zLXEqBPMpcxMirUqTFoB8ZsV3 HTOev/Z2QWD2G1gmQRBfdG6MEnHFi4f8zSk8QurZOyJzJ70N6A75SjjbegK1+zFhc9aA HM4A== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 42si876008qkx.439.2017.10.27.05.51.01; Fri, 27 Oct 2017 05:51:02 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id AD8CC62972; Fri, 27 Oct 2017 12:51:01 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 D0F26609DB; Fri, 27 Oct 2017 12:50:27 +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 9491F609BE; Fri, 27 Oct 2017 12:50:23 +0000 (UTC) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by lists.linaro.org (Postfix) with ESMTPS id 1FBD76094B for ; Fri, 27 Oct 2017 12:50:22 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id a16so7329232lfk.0 for ; Fri, 27 Oct 2017 05:50:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ZSBMqOlno8c9HbITWMGxu6bzqYea8kKYDaKzFvgd/oc=; b=SiYpZiasawOaGc9EkdwLGqvBxBFnFqTbFYcwkvqHtqTNWTK1uPX/RTxXDOW5nqvgEY NBdgKW0IEnS1zOPXO3rp+Gk1D7XZP0tPIA34KOPgfu0up2o04LlHeTo630/dZSfPYmI9 znPzNS1TW1L6A+hYlSzI8YFfwYY7DYuGpylOFJSX37HCH+4oUAWxMxV2+hMO1pGvV454 9NLvdKtzLkwWh6kmX/CKm/GjZAt2w/TL8JXyF0LQgeC39TVxIy8Mg+VQzdZfsopHx+IZ yntSZLtj67a+1pCVaBVcLEiqyKCdYh1uRqXnpCxy+H09PtNTH0kJIy80A6h1m84YZDg8 ddBQ== X-Gm-Message-State: AMCzsaUoQ+fmaAzdVoQHqC+M6XxvjSCgMrWJjVyiw1tbLfGj7OzD192T Wc7vLWO7hlguINT7TPpNfPdA677hcKc79Q== X-Received: by 10.25.216.162 with SMTP id r34mr142848lfi.18.1509108620760; Fri, 27 Oct 2017 05:50:20 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:20 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:46 +0300 Message-Id: <20171027125014.27313-3-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 02/30] travis: add cross-compiling tests with ABI compatibility disabled 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" Signed-off-by: Dmitry Eremin-Solenikov --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) -- 2.14.2 diff --git a/.travis.yml b/.travis.yml index fdeeefd113ea..6196f91d41de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,10 @@ env: - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" - CROSS_ARCH="powerpc" - CROSS_ARCH="i386" + - CROSS_ARCH="arm64" CONF="--disable-abi-compat" + - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat" + - CROSS_ARCH="powerpc" CONF="--disable-abi-compat" + - CROSS_ARCH="i386" CONF="--disable-abi-compat" before_install: From patchwork Fri Oct 27 12:49:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117323 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp733478qgn; Fri, 27 Oct 2017 05:51:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R/Zh+XodRyGiKpJpCVZ6pEhusRiUDBmxdZ2fsTc6Fh9WDg26e6rDYuto6kugqnYutnWwpO X-Received: by 10.237.32.101 with SMTP id 92mr683878qta.44.1509108686310; Fri, 27 Oct 2017 05:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108686; cv=none; d=google.com; s=arc-20160816; b=CY43ejCQ3ka6xfje5bybfaBvDmeNH+jhcj+56DhBy2xlkPXesqBDdTKY9k7sonBNku SznRwPd/Wd3sG/NWeb71JUxhHvzwhDOeVcAkIv6pp8ns/zx9TwAza5Kh1NufsvADamo4 g2nUMm3RH2GQ3LtnEg/Y6h2CVan1TjBEx7dnONjPCCb55RjXHHd1FJXpBDA7dLoyXuEb faplcfrOTDBiM5ovGJthX7AB17k8ME3U4IaH4cx3iMgjzJCmKzS+EQaumoiB2qLmtKUG eClPg8V0GD/dpoOrCZ30s2q0SQ4QqrvKmKDnpl5HFZLB/Nzklz0K8rmE/hUGKo8kHbcd HWew== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=/aiqtp9FkQKLzS3dfd30dzsg/WIZZ6bXdSUi+RKimWs=; b=tvNgnc7hcQHzwY66gzP/9Xa9qKDn/42E6txYiNo9KlTGpkZxGY7zlLq5UfK9gjSXUS kyVCBqwqcsWzmqnXrB8104Fo1Q5u1mlXhMhcnDMNnzAWyTf0wSesmkD1d1xbdZIJnp8c yfbypKoVrNBKwqxvQAYAsKxu2yUf0umKfhRqxVlahx1bk2LvAxUzkT+N7M3+mHzeYYNM NZLYkm/AVk1eSBTMxYSBQGuf0S1haLeJPX0c9zxSGSSz/S8b1/5SjX61otLWRpFt3oX5 JO06eHaviRY3K9oTIdsfI7B601xLSW75o6r49ExxGg6vSrlhv79rB9pw1mVcyepB9PvX 1sqA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 r34si2323090qtd.149.2017.10.27.05.51.26; Fri, 27 Oct 2017 05:51:26 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0322F61002; Fri, 27 Oct 2017 12:51:25 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 6897160FFB; Fri, 27 Oct 2017 12:50:30 +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 2FB13609BE; Fri, 27 Oct 2017 12:50:25 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 3110A6094A for ; Fri, 27 Oct 2017 12:50:23 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a132so7298236lfa.7 for ; Fri, 27 Oct 2017 05:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=/aiqtp9FkQKLzS3dfd30dzsg/WIZZ6bXdSUi+RKimWs=; b=ZnEYyeYtSXLfPCWXBS3k/x8BPqkhVVoIDgSyATMCbdPqsjLdBJonUpX4iEBVp0Yq6n 9kBKNQAv7Uc55ElH493Z82sH0uLp6M6rpTU4zlyG9pcP/zQ1PgYSKQ7MrZ0aSjYLUP6x bZd2FxLxcE9bpcqdAMRWQNU3hBhnyfqfNCE5xDcFy5FtwBPgwCQprXSIe/SYHEwgY21P lhxu941LTIaIZvLHEdcvjGCaWDEyZUZMQfplSqJcp5ypIje62rF32IQvbuJc1t1MwktM 7V2q1wJMRzi2FuKrrwMsBAin8YKt3lNkm0I9nJ29W7UQ5vhrWGZV0fqBE79g5bnB4bOl dSmA== X-Gm-Message-State: AMCzsaX+81ciBmOMr8/uhaF8COXfwzaDa0ttiGNe8sVrgSsoY+3/+2is WTfvuAiPvtZUUYbvjkuIlPLmze0Nj1So0w== X-Received: by 10.25.198.215 with SMTP id w206mr139031lff.11.1509108621720; Fri, 27 Oct 2017 05:50:21 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:21 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:47 +0300 Message-Id: <20171027125014.27313-4-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 03/30] linux-gen: ipsec: don't use __odp_force 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" __odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index e57736c2a792..7e833adee0a8 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -126,7 +126,7 @@ odp_u16sum_t _odp_chksum(void *buffer, int len) sum += (sum >> 16); result = ~sum; - return (__odp_force odp_u16sum_t) result; + return (odp_u16sum_t)result; } static inline int _odp_ipv4_csum(odp_packet_t pkt, From patchwork Fri Oct 27 12:49:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117324 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp734202qgn; Fri, 27 Oct 2017 05:52:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RK1pgJyI8kTnIYpQPgE8cDUwJ1mFtveMBoqPXilQIerf/p/ghIBPHJUCJfbmQaTL1pbdU6 X-Received: by 10.107.16.162 with SMTP id 34mr425145ioq.169.1509108735982; Fri, 27 Oct 2017 05:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108735; cv=none; d=google.com; s=arc-20160816; b=gDWtvZ1wOh3m92AcSycn0cXR+Te3EI/Ca/aXI8kPVd7oKuGglqUfqSFgk7SD5o7SRg OaIN/m9UX65n7Z6psrU1N45/OS/78fGPmcoopSVl9QLZkxAg8YazZtwU8e2+gMYVjrt0 n1tAVM/dCH/VxVEXuEbQXJIvj7uS1lcP2WPxQetsq+QJAHzQMImyYwmBabbYhqqJy0Us 0ulQ6kUsU7hgtU9r0AT2tCyvzC2g+OwLMB2ZhzQJDaQvEVYLEoSllqImzdBallhNnuYJ 5b1C/2Dx+msi7CzeVHiepLFj1PwGQ/P4qcuYLE1M2L2oBjhYjTUdFJq5PwiZYA19U6NS ARcw== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=kdja5l+p/4QMu1Ce+zmmCqxzR75VfVRbzAQREpc2U80=; b=uwdECIfiflYfz4QI3RGOPLbMc9CJHjSfM0s/USwH45jwVlesO28UJYiCUZ0FI/xTfK ll/6zcmYkInWAatD8cXdbez5dlOR+OZxj92V6WpDN3qBi/byagoCo4SLbyu3RR4agV+6 5y7tQlz4rllY7Un701PbIeHXnswOXCjYNzIt4J9cvrWTtfQTphlJz9OKVZk6fCClUOJ1 uY0VuX50cp5jB9PVsKnB3cchxw3ERFDd6z13D3oeULYVLnIAzFCxBgedLer3N1/tTzRW EmppiJELwa0hx5XvekTZSNeFUMq363BjACuj3+8WeRiF7vb/K0AQ7XTJgD2KY1gwGepJ r/rQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 142si5111288ioc.178.2017.10.27.05.52.15; Fri, 27 Oct 2017 05:52:15 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 62C8561028; Fri, 27 Oct 2017 12:52: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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 B22C061D48; Fri, 27 Oct 2017 12:50:32 +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 DDB4360B14; Fri, 27 Oct 2017 12:50:26 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 34E7F6094B for ; Fri, 27 Oct 2017 12:50:24 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id w21so7313342lfc.6 for ; Fri, 27 Oct 2017 05:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=kdja5l+p/4QMu1Ce+zmmCqxzR75VfVRbzAQREpc2U80=; b=hj2IaCJAncFKgqT6DCyt5ZM6JIeSXw5MvjZOTM1N312GT0Th1slJ/kpt4IQzoPitrb +ne9ShwlXRWltNxp9JS04ZetunzgM3nS6Sm5VtpweqqE/2H2kToKfgDud5A1psMPvZId tCZoFzD3xNuKNy9+kU6GBXDQIVFJY9jLVVe2CG8vfGq/2IwswUU5nadq08dniQ92OwGX s1qXjZGOCCMBVJ/hxcf8UybBAuwjdndsUqzp6G8MihY8PDD+//axNX5pUQ4OrZlpQ1Wb aD+tqPlnPop8sgSIASTP24eKK+Yz9fT5oMcyu+sPUhm/LhuLdz1SDnpZ8SqlJlehie0j 5VbA== X-Gm-Message-State: AMCzsaX7nyLPb3wzPkjMgWZVXQMV76twtHsPOGkzYBU/OXJRIdVoQ/Ls ZMFNchuTvVZHwPTIsvMtGdq7jXf4a3S7YQ== X-Received: by 10.25.215.222 with SMTP id q91mr153751lfi.25.1509108622823; Fri, 27 Oct 2017 05:50:22 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:22 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:48 +0300 Message-Id: <20171027125014.27313-5-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 04/30] helper: don't use __odp_force 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" __odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov --- helper/include/odp/helper/chksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h index 1bf950c8bed0..a80e8be5d7e6 100644 --- a/helper/include/odp/helper/chksum.h +++ b/helper/include/odp/helper/chksum.h @@ -58,7 +58,7 @@ static inline odp_u16sum_t odph_chksum(void *buffer, int len) sum += (sum >> 16); result = ~sum; - return (__odp_force odp_u16sum_t) result; + return (odp_u16sum_t)result; } /** From patchwork Fri Oct 27 12:49:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117333 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp750515qgn; Fri, 27 Oct 2017 06:06:38 -0700 (PDT) X-Google-Smtp-Source: ABhQp+S9N/tpepxeAOG5v/Oc8HDP8VhrJJvwV3PBFXkcHdDV7i4kSTpNTW7U1/6Yw66M6NnKxfRJ X-Received: by 10.237.47.195 with SMTP id m61mr673621qtd.143.1509109597980; Fri, 27 Oct 2017 06:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109597; cv=none; d=google.com; s=arc-20160816; b=ex12gAAsX1Art4jOcMXRsZtwkopEl0JhBaOEgFLbckqhHiZU6LoM5h89uR/jhKUIzt 2+fSAV0Q1Hxz7mD11cK6qRI3uucdIGJ2jtl8P8l+YKVGAXEgIfTq9BoPWl8/c/NIRNkb WaI18oO/79rlGcAinXahKRDFp0+2My0BRMNWasDCDXEeeQHDGv3vHTT+Hnp6RGLF3ORi wOL7h1xDMWtS1rKxcpXxScjamF12KT/qF/1jKf6ty3YwkUKxK4UY6+eP0wo8Yi62/5k6 ElkCjW3Hwl/n79O/Vr+UESWQuWIGZiqWE1eUqVwJeZ9RtlG1ilNyVGzdmAE3lwiksI4z HSTQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=Dv8BtMvyJQvXAo0+mXC3u8FBIFOO8Q9GZLtlgS4jpIE=; b=rZMYlLXCH1nCIMrWY1GtC/3haHObPLZKAJ2Mrbd/KEZ9XisCigYmyPXFbwrwRsca38 tC/Ij3arbqh9NxJ/6TYKklMzhEXQhsX9eQ/jDfR/iyXWxvjhJWNtHMSZufgssu10od9h fAd4ALlj17YG2tJXt+g0epe+/a+z0ZFL4vJCKXhaUqpkA2zT/Jih+sIM5yX3ejQHW5my mUq+E5CGscJO0syA3zcCG1u/aavfjB5PZ89fta9PU/0YlrO52+V4H33Bp1Nq2Sg4R9TQ yONQXhJwmgNrV1EKImcoJvW97x9/ESAuPCHW1chdOxhWhwqL75XymboI18i6XT1mtDws /Zyw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 t30si440458qtd.285.2017.10.27.06.06.37; Fri, 27 Oct 2017 06:06:37 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8353761D48; Fri, 27 Oct 2017 13:06:37 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 B173861D7E; Fri, 27 Oct 2017 12:52:56 +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 7DD1762982; Fri, 27 Oct 2017 12:52:10 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 482AF60D36 for ; Fri, 27 Oct 2017 12:50:30 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id l23so7279433lfk.10 for ; Fri, 27 Oct 2017 05:50:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Dv8BtMvyJQvXAo0+mXC3u8FBIFOO8Q9GZLtlgS4jpIE=; b=Or6f7Ht3sVJYJQzvUyJ/Jj5zEzOPxKGxV5eqmkAjkmYkihI1CiV0kx/EEChR3upOnV 051wEwacLB3oAs8NRix9J08oDDYh5IiB2Vv+GWwK4gG1IfE7dYNVxjViEWhVHvPrey1K xmaNfu41qDAiILg1uUSgL8DIFl062JjPfxtSIcWMs4IFg38Ydv8JJk+KPo+6A+PaMXI+ j2d2HHXE3EcWYM5QK9WAFJIDeWK6ylTWSxSs2F2Ywxm9x14Bs0jxUc1w8ZVeXu4xEfre Qt+KnI06ZeO8oCT4odYjD1jF+qVYpPDkiQ2kOd4Lq0nYhog844lbO1uEl3RfZYInbnyC U5hQ== X-Gm-Message-State: AMCzsaUNWX+uoSgYDQpdqgy33tF1YV6UORA4nJ1OzCHV8U/nYmcfHnlP 5FH1fCmmJu0KhqRrPQlI0sOILCOBBErdSg== X-Received: by 10.25.87.138 with SMTP id l132mr133835lfb.147.1509108625574; Fri, 27 Oct 2017 05:50:25 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:24 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:49 +0300 Message-Id: <20171027125014.27313-6-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 05/30] api: abi: provide the the rest of abi files 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" Provide a set of platform-neutral ABI files. They are mostly modified versions of linux-generic api files. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 188 ++++++++++++++++++++- include/odp/arch/arm32-linux/odp/api/abi/atomic.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/byteorder.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/init.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/ipsec.h | 7 + .../arch/arm32-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/packet_io.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/rwlock.h | 7 + .../arm32-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/schedule.h | 7 + .../arch/arm32-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/spinlock.h | 7 + .../arm32-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/sync.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/thread.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/thrmask.h | 7 + .../odp/arch/arm32-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/time.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/timer.h | 7 + .../arch/arm32-linux/odp/api/abi/traffic_mngr.h | 7 + include/odp/arch/arm32-linux/odp/api/abi/version.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/atomic.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/byteorder.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/init.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/ipsec.h | 7 + .../arch/arm64-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/packet_io.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/rwlock.h | 7 + .../arm64-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/schedule.h | 7 + .../arch/arm64-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/spinlock.h | 7 + .../arm64-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/sync.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/thread.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/thrmask.h | 7 + .../odp/arch/arm64-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/time.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/timer.h | 7 + .../arch/arm64-linux/odp/api/abi/traffic_mngr.h | 7 + include/odp/arch/arm64-linux/odp/api/abi/version.h | 7 + include/odp/arch/default/api/abi/atomic.h | 66 ++++++++ include/odp/arch/default/api/abi/barrier.h | 38 +++++ include/odp/arch/default/api/abi/byteorder.h | 73 ++++++++ include/odp/arch/default/api/abi/cpumask.h | 53 ++++++ include/odp/arch/default/api/abi/init.h | 35 ++++ include/odp/arch/default/api/abi/ipsec.h | 41 +++++ include/odp/arch/default/api/abi/packet_flags.h | 24 +++ include/odp/arch/default/api/abi/packet_io.h | 59 +++++++ include/odp/arch/default/api/abi/rwlock.h | 34 ++++ .../odp/arch/default/api/abi/rwlock_recursive.h | 36 ++++ include/odp/arch/default/api/abi/schedule.h | 47 ++++++ include/odp/arch/default/api/abi/schedule_types.h | 48 ++++++ include/odp/arch/default/api/abi/spinlock.h | 29 ++++ .../odp/arch/default/api/abi/spinlock_recursive.h | 34 ++++ include/odp/arch/default/api/abi/std_clib.h | 24 +++ include/odp/arch/default/api/abi/std_types.h | 43 +++++ include/odp/arch/default/api/abi/sync.h | 24 +++ include/odp/arch/default/api/abi/thread.h | 34 ++++ include/odp/arch/default/api/abi/thrmask.h | 48 ++++++ include/odp/arch/default/api/abi/ticketlock.h | 32 ++++ include/odp/arch/default/api/abi/time.h | 53 ++++++ include/odp/arch/default/api/abi/timer.h | 54 ++++++ include/odp/arch/default/api/abi/traffic_mngr.h | 178 +++++++++++++++++++ include/odp/arch/default/api/abi/version.h | 30 ++++ include/odp/arch/mips64-linux/odp/api/abi/atomic.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/byteorder.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/init.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/ipsec.h | 7 + .../arch/mips64-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/packet_io.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/rwlock.h | 7 + .../mips64-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/schedule.h | 7 + .../arch/mips64-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/spinlock.h | 7 + .../mips64-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/sync.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/thread.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/thrmask.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/time.h | 7 + include/odp/arch/mips64-linux/odp/api/abi/timer.h | 7 + .../arch/mips64-linux/odp/api/abi/traffic_mngr.h | 7 + .../odp/arch/mips64-linux/odp/api/abi/version.h | 7 + .../odp/arch/power64-linux/odp/api/abi/atomic.h | 7 + .../odp/arch/power64-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/power64-linux/odp/api/abi/byteorder.h | 7 + .../odp/arch/power64-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/power64-linux/odp/api/abi/init.h | 7 + include/odp/arch/power64-linux/odp/api/abi/ipsec.h | 7 + .../arch/power64-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/power64-linux/odp/api/abi/packet_io.h | 7 + .../odp/arch/power64-linux/odp/api/abi/rwlock.h | 7 + .../power64-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/power64-linux/odp/api/abi/schedule.h | 7 + .../power64-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/power64-linux/odp/api/abi/spinlock.h | 7 + .../power64-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/power64-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/power64-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/power64-linux/odp/api/abi/sync.h | 7 + .../odp/arch/power64-linux/odp/api/abi/thread.h | 7 + .../odp/arch/power64-linux/odp/api/abi/thrmask.h | 7 + .../arch/power64-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/power64-linux/odp/api/abi/time.h | 7 + include/odp/arch/power64-linux/odp/api/abi/timer.h | 7 + .../arch/power64-linux/odp/api/abi/traffic_mngr.h | 7 + .../odp/arch/power64-linux/odp/api/abi/version.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/atomic.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/byteorder.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/init.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h | 7 + .../arch/x86_32-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/packet_io.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h | 7 + .../x86_32-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/schedule.h | 7 + .../arch/x86_32-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/spinlock.h | 7 + .../x86_32-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/sync.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/thread.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/thrmask.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/time.h | 7 + include/odp/arch/x86_32-linux/odp/api/abi/timer.h | 7 + .../arch/x86_32-linux/odp/api/abi/traffic_mngr.h | 7 + .../odp/arch/x86_32-linux/odp/api/abi/version.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/atomic.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/barrier.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/byteorder.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/cpumask.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/init.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h | 7 + .../arch/x86_64-linux/odp/api/abi/packet_flags.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/packet_io.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h | 7 + .../x86_64-linux/odp/api/abi/rwlock_recursive.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/schedule.h | 7 + .../arch/x86_64-linux/odp/api/abi/schedule_types.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/spinlock.h | 7 + .../x86_64-linux/odp/api/abi/spinlock_recursive.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/std_clib.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/std_types.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/sync.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/thread.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/thrmask.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/ticketlock.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/time.h | 7 + include/odp/arch/x86_64-linux/odp/api/abi/timer.h | 7 + .../arch/x86_64-linux/odp/api/abi/traffic_mngr.h | 7 + .../odp/arch/x86_64-linux/odp/api/abi/version.h | 7 + 169 files changed, 2327 insertions(+), 6 deletions(-) create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/version.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/arm64-linux/odp/api/abi/version.h create mode 100644 include/odp/arch/default/api/abi/atomic.h create mode 100644 include/odp/arch/default/api/abi/barrier.h create mode 100644 include/odp/arch/default/api/abi/byteorder.h create mode 100644 include/odp/arch/default/api/abi/cpumask.h create mode 100644 include/odp/arch/default/api/abi/init.h create mode 100644 include/odp/arch/default/api/abi/ipsec.h create mode 100644 include/odp/arch/default/api/abi/packet_flags.h create mode 100644 include/odp/arch/default/api/abi/packet_io.h create mode 100644 include/odp/arch/default/api/abi/rwlock.h create mode 100644 include/odp/arch/default/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/default/api/abi/schedule.h create mode 100644 include/odp/arch/default/api/abi/schedule_types.h create mode 100644 include/odp/arch/default/api/abi/spinlock.h create mode 100644 include/odp/arch/default/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/default/api/abi/std_clib.h create mode 100644 include/odp/arch/default/api/abi/std_types.h create mode 100644 include/odp/arch/default/api/abi/sync.h create mode 100644 include/odp/arch/default/api/abi/thread.h create mode 100644 include/odp/arch/default/api/abi/thrmask.h create mode 100644 include/odp/arch/default/api/abi/ticketlock.h create mode 100644 include/odp/arch/default/api/abi/time.h create mode 100644 include/odp/arch/default/api/abi/timer.h create mode 100644 include/odp/arch/default/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/default/api/abi/version.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/mips64-linux/odp/api/abi/version.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/power64-linux/odp/api/abi/version.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/x86_32-linux/odp/api/abi/version.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/x86_64-linux/odp/api/abi/version.h -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index d53181ceb83d..40a4daa90fc2 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -69,6 +69,38 @@ odpdrvspecinclude_HEADERS = \ odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ + odp/arch/default/api/abi/atomic.h \ + odp/arch/default/api/abi/barrier.h \ + odp/arch/default/api/abi/buffer.h \ + odp/arch/default/api/abi/byteorder.h \ + odp/arch/default/api/abi/classification.h \ + odp/arch/default/api/abi/cpumask.h \ + odp/arch/default/api/abi/crypto.h \ + odp/arch/default/api/abi/event.h \ + odp/arch/default/api/abi/init.h \ + odp/arch/default/api/abi/ipsec.h \ + odp/arch/default/api/abi/packet.h \ + odp/arch/default/api/abi/packet_flags.h \ + odp/arch/default/api/abi/packet_io.h \ + odp/arch/default/api/abi/pool.h \ + odp/arch/default/api/abi/queue.h \ + odp/arch/default/api/abi/rwlock.h \ + odp/arch/default/api/abi/rwlock_recursive.h \ + odp/arch/default/api/abi/schedule.h \ + odp/arch/default/api/abi/schedule_types.h \ + odp/arch/default/api/abi/shared_memory.h \ + odp/arch/default/api/abi/spinlock.h \ + odp/arch/default/api/abi/spinlock_recursive.h \ + odp/arch/default/api/abi/std_clib.h \ + odp/arch/default/api/abi/std_types.h \ + odp/arch/default/api/abi/sync.h \ + odp/arch/default/api/abi/thread.h \ + odp/arch/default/api/abi/thrmask.h \ + odp/arch/default/api/abi/ticketlock.h \ + odp/arch/default/api/abi/time.h \ + odp/arch/default/api/abi/timer.h \ + odp/arch/default/api/abi/traffic_mngr.h \ + odp/arch/default/api/abi/version.h odp/arch/default/api/abi/buffer.h \ odp/arch/default/api/abi/classification.h \ odp/arch/default/api/abi/crypto.h \ @@ -81,69 +113,213 @@ odpapiabidefaultinclude_HEADERS = \ odpapiabiarchincludedir= $(includedir)/odp/arch/@ARCH_ABI@/odp/api/abi if ARCH_IS_ARM odpapiabiarchinclude_HEADERS = \ + odp/arch/arm32-linux/odp/api/abi/atomic.h \ + odp/arch/arm32-linux/odp/api/abi/barrier.h \ odp/arch/arm32-linux/odp/api/abi/buffer.h \ + odp/arch/arm32-linux/odp/api/abi/byteorder.h \ odp/arch/arm32-linux/odp/api/abi/classification.h \ + odp/arch/arm32-linux/odp/api/abi/cpumask.h \ odp/arch/arm32-linux/odp/api/abi/crypto.h \ odp/arch/arm32-linux/odp/api/abi/event.h \ + odp/arch/arm32-linux/odp/api/abi/init.h \ + odp/arch/arm32-linux/odp/api/abi/ipsec.h \ odp/arch/arm32-linux/odp/api/abi/packet.h \ + odp/arch/arm32-linux/odp/api/abi/packet_flags.h \ + odp/arch/arm32-linux/odp/api/abi/packet_io.h \ odp/arch/arm32-linux/odp/api/abi/pool.h \ odp/arch/arm32-linux/odp/api/abi/queue.h \ - odp/arch/arm32-linux/odp/api/abi/shared_memory.h + odp/arch/arm32-linux/odp/api/abi/rwlock.h \ + odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/arm32-linux/odp/api/abi/schedule.h \ + odp/arch/arm32-linux/odp/api/abi/schedule_types.h \ + odp/arch/arm32-linux/odp/api/abi/shared_memory.h \ + odp/arch/arm32-linux/odp/api/abi/spinlock.h \ + odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/arm32-linux/odp/api/abi/std_clib.h \ + odp/arch/arm32-linux/odp/api/abi/std_types.h \ + odp/arch/arm32-linux/odp/api/abi/sync.h \ + odp/arch/arm32-linux/odp/api/abi/thread.h \ + odp/arch/arm32-linux/odp/api/abi/thrmask.h \ + odp/arch/arm32-linux/odp/api/abi/ticketlock.h \ + odp/arch/arm32-linux/odp/api/abi/time.h \ + odp/arch/arm32-linux/odp/api/abi/timer.h \ + odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/arm32-linux/odp/api/abi/version.h endif if ARCH_IS_AARCH64 odpapiabiarchinclude_HEADERS = \ + odp/arch/arm64-linux/odp/api/abi/atomic.h \ + odp/arch/arm64-linux/odp/api/abi/barrier.h \ odp/arch/arm64-linux/odp/api/abi/buffer.h \ + odp/arch/arm64-linux/odp/api/abi/byteorder.h \ odp/arch/arm64-linux/odp/api/abi/classification.h \ + odp/arch/arm64-linux/odp/api/abi/cpumask.h \ odp/arch/arm64-linux/odp/api/abi/crypto.h \ odp/arch/arm64-linux/odp/api/abi/event.h \ + odp/arch/arm64-linux/odp/api/abi/init.h \ + odp/arch/arm64-linux/odp/api/abi/ipsec.h \ odp/arch/arm64-linux/odp/api/abi/packet.h \ + odp/arch/arm64-linux/odp/api/abi/packet_flags.h \ + odp/arch/arm64-linux/odp/api/abi/packet_io.h \ odp/arch/arm64-linux/odp/api/abi/pool.h \ odp/arch/arm64-linux/odp/api/abi/queue.h \ - odp/arch/arm64-linux/odp/api/abi/shared_memory.h + odp/arch/arm64-linux/odp/api/abi/rwlock.h \ + odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/arm64-linux/odp/api/abi/schedule.h \ + odp/arch/arm64-linux/odp/api/abi/schedule_types.h \ + odp/arch/arm64-linux/odp/api/abi/shared_memory.h \ + odp/arch/arm64-linux/odp/api/abi/spinlock.h \ + odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/arm64-linux/odp/api/abi/std_clib.h \ + odp/arch/arm64-linux/odp/api/abi/std_types.h \ + odp/arch/arm64-linux/odp/api/abi/sync.h \ + odp/arch/arm64-linux/odp/api/abi/thread.h \ + odp/arch/arm64-linux/odp/api/abi/thrmask.h \ + odp/arch/arm64-linux/odp/api/abi/ticketlock.h \ + odp/arch/arm64-linux/odp/api/abi/time.h \ + odp/arch/arm64-linux/odp/api/abi/timer.h \ + odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/arm64-linux/odp/api/abi/version.h endif if ARCH_IS_MIPS64 odpapiabiarchinclude_HEADERS = \ + odp/arch/mips64-linux/odp/api/abi/atomic.h \ + odp/arch/mips64-linux/odp/api/abi/barrier.h \ odp/arch/mips64-linux/odp/api/abi/buffer.h \ + odp/arch/mips64-linux/odp/api/abi/byteorder.h \ odp/arch/mips64-linux/odp/api/abi/classification.h \ + odp/arch/mips64-linux/odp/api/abi/cpumask.h \ odp/arch/mips64-linux/odp/api/abi/crypto.h \ odp/arch/mips64-linux/odp/api/abi/event.h \ + odp/arch/mips64-linux/odp/api/abi/init.h \ + odp/arch/mips64-linux/odp/api/abi/ipsec.h \ odp/arch/mips64-linux/odp/api/abi/packet.h \ + odp/arch/mips64-linux/odp/api/abi/packet_flags.h \ + odp/arch/mips64-linux/odp/api/abi/packet_io.h \ odp/arch/mips64-linux/odp/api/abi/pool.h \ odp/arch/mips64-linux/odp/api/abi/queue.h \ - odp/arch/mips64-linux/odp/api/abi/shared_memory.h + odp/arch/mips64-linux/odp/api/abi/rwlock.h \ + odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/mips64-linux/odp/api/abi/schedule.h \ + odp/arch/mips64-linux/odp/api/abi/schedule_types.h \ + odp/arch/mips64-linux/odp/api/abi/shared_memory.h \ + odp/arch/mips64-linux/odp/api/abi/spinlock.h \ + odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/mips64-linux/odp/api/abi/std_clib.h \ + odp/arch/mips64-linux/odp/api/abi/std_types.h \ + odp/arch/mips64-linux/odp/api/abi/sync.h \ + odp/arch/mips64-linux/odp/api/abi/thread.h \ + odp/arch/mips64-linux/odp/api/abi/thrmask.h \ + odp/arch/mips64-linux/odp/api/abi/ticketlock.h \ + odp/arch/mips64-linux/odp/api/abi/time.h \ + odp/arch/mips64-linux/odp/api/abi/timer.h \ + odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/mips64-linux/odp/api/abi/version.h endif if ARCH_IS_POWERPC odpapiabiarchinclude_HEADERS = \ + odp/arch/power64-linux/odp/api/abi/atomic.h \ + odp/arch/power64-linux/odp/api/abi/barrier.h \ odp/arch/power64-linux/odp/api/abi/buffer.h \ + odp/arch/power64-linux/odp/api/abi/byteorder.h \ odp/arch/power64-linux/odp/api/abi/classification.h \ + odp/arch/power64-linux/odp/api/abi/cpumask.h \ odp/arch/power64-linux/odp/api/abi/crypto.h \ odp/arch/power64-linux/odp/api/abi/event.h \ + odp/arch/power64-linux/odp/api/abi/init.h \ + odp/arch/power64-linux/odp/api/abi/ipsec.h \ odp/arch/power64-linux/odp/api/abi/packet.h \ + odp/arch/power64-linux/odp/api/abi/packet_flags.h \ + odp/arch/power64-linux/odp/api/abi/packet_io.h \ odp/arch/power64-linux/odp/api/abi/pool.h \ odp/arch/power64-linux/odp/api/abi/queue.h \ - odp/arch/power64-linux/odp/api/abi/shared_memory.h + odp/arch/power64-linux/odp/api/abi/rwlock.h \ + odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/power64-linux/odp/api/abi/schedule.h \ + odp/arch/power64-linux/odp/api/abi/schedule_types.h \ + odp/arch/power64-linux/odp/api/abi/shared_memory.h \ + odp/arch/power64-linux/odp/api/abi/spinlock.h \ + odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/power64-linux/odp/api/abi/std_clib.h \ + odp/arch/power64-linux/odp/api/abi/std_types.h \ + odp/arch/power64-linux/odp/api/abi/sync.h \ + odp/arch/power64-linux/odp/api/abi/thread.h \ + odp/arch/power64-linux/odp/api/abi/thrmask.h \ + odp/arch/power64-linux/odp/api/abi/ticketlock.h \ + odp/arch/power64-linux/odp/api/abi/time.h \ + odp/arch/power64-linux/odp/api/abi/timer.h \ + odp/arch/power64-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/power64-linux/odp/api/abi/version.h endif if ARCH_IS_X86_32 odpapiabiarchinclude_HEADERS = \ + odp/arch/x86_32-linux/odp/api/abi/atomic.h \ + odp/arch/x86_32-linux/odp/api/abi/barrier.h \ odp/arch/x86_32-linux/odp/api/abi/buffer.h \ + odp/arch/x86_32-linux/odp/api/abi/byteorder.h \ odp/arch/x86_32-linux/odp/api/abi/classification.h \ + odp/arch/x86_32-linux/odp/api/abi/cpumask.h \ odp/arch/x86_32-linux/odp/api/abi/crypto.h \ odp/arch/x86_32-linux/odp/api/abi/event.h \ + odp/arch/x86_32-linux/odp/api/abi/init.h \ + odp/arch/x86_32-linux/odp/api/abi/ipsec.h \ odp/arch/x86_32-linux/odp/api/abi/packet.h \ + odp/arch/x86_32-linux/odp/api/abi/packet_flags.h \ + odp/arch/x86_32-linux/odp/api/abi/packet_io.h \ odp/arch/x86_32-linux/odp/api/abi/pool.h \ odp/arch/x86_32-linux/odp/api/abi/queue.h \ - odp/arch/x86_32-linux/odp/api/abi/shared_memory.h + odp/arch/x86_32-linux/odp/api/abi/rwlock.h \ + odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/x86_32-linux/odp/api/abi/schedule.h \ + odp/arch/x86_32-linux/odp/api/abi/schedule_types.h \ + odp/arch/x86_32-linux/odp/api/abi/shared_memory.h \ + odp/arch/x86_32-linux/odp/api/abi/spinlock.h \ + odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/x86_32-linux/odp/api/abi/std_clib.h \ + odp/arch/x86_32-linux/odp/api/abi/std_types.h \ + odp/arch/x86_32-linux/odp/api/abi/sync.h \ + odp/arch/x86_32-linux/odp/api/abi/thread.h \ + odp/arch/x86_32-linux/odp/api/abi/thrmask.h \ + odp/arch/x86_32-linux/odp/api/abi/ticketlock.h \ + odp/arch/x86_32-linux/odp/api/abi/time.h \ + odp/arch/x86_32-linux/odp/api/abi/timer.h \ + odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/x86_32-linux/odp/api/abi/version.h endif if ARCH_IS_X86_64 odpapiabiarchinclude_HEADERS = \ + odp/arch/x86_64-linux/odp/api/abi/atomic.h \ + odp/arch/x86_64-linux/odp/api/abi/barrier.h \ odp/arch/x86_64-linux/odp/api/abi/buffer.h \ + odp/arch/x86_64-linux/odp/api/abi/byteorder.h \ odp/arch/x86_64-linux/odp/api/abi/classification.h \ + odp/arch/x86_64-linux/odp/api/abi/cpumask.h \ odp/arch/x86_64-linux/odp/api/abi/crypto.h \ odp/arch/x86_64-linux/odp/api/abi/event.h \ + odp/arch/x86_64-linux/odp/api/abi/init.h \ + odp/arch/x86_64-linux/odp/api/abi/ipsec.h \ odp/arch/x86_64-linux/odp/api/abi/packet.h \ + odp/arch/x86_64-linux/odp/api/abi/packet_flags.h \ + odp/arch/x86_64-linux/odp/api/abi/packet_io.h \ odp/arch/x86_64-linux/odp/api/abi/pool.h \ odp/arch/x86_64-linux/odp/api/abi/queue.h \ - odp/arch/x86_64-linux/odp/api/abi/shared_memory.h + odp/arch/x86_64-linux/odp/api/abi/rwlock.h \ + odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/x86_64-linux/odp/api/abi/schedule.h \ + odp/arch/x86_64-linux/odp/api/abi/schedule_types.h \ + odp/arch/x86_64-linux/odp/api/abi/shared_memory.h \ + odp/arch/x86_64-linux/odp/api/abi/spinlock.h \ + odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/x86_64-linux/odp/api/abi/std_clib.h \ + odp/arch/x86_64-linux/odp/api/abi/std_types.h \ + odp/arch/x86_64-linux/odp/api/abi/sync.h \ + odp/arch/x86_64-linux/odp/api/abi/thread.h \ + odp/arch/x86_64-linux/odp/api/abi/thrmask.h \ + odp/arch/x86_64-linux/odp/api/abi/ticketlock.h \ + odp/arch/x86_64-linux/odp/api/abi/time.h \ + odp/arch/x86_64-linux/odp/api/abi/timer.h \ + odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/x86_64-linux/odp/api/abi/version.h endif # Create symlink for ABI header files. Application does not need to use the arch diff --git a/include/odp/arch/arm32-linux/odp/api/abi/atomic.h b/include/odp/arch/arm32-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/barrier.h b/include/odp/arch/arm32-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h b/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h b/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/init.h b/include/odp/arch/arm32-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h b/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h b/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h b/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h b/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/schedule.h b/include/odp/arch/arm32-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h b/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h b/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h b/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/std_types.h b/include/odp/arch/arm32-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/sync.h b/include/odp/arch/arm32-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/thread.h b/include/odp/arch/arm32-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h b/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h b/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/time.h b/include/odp/arch/arm32-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/timer.h b/include/odp/arch/arm32-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/version.h b/include/odp/arch/arm32-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/arm32-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/atomic.h b/include/odp/arch/arm64-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/barrier.h b/include/odp/arch/arm64-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h b/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h b/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/init.h b/include/odp/arch/arm64-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h b/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h b/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h b/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/schedule.h b/include/odp/arch/arm64-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h b/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h b/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/std_types.h b/include/odp/arch/arm64-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/sync.h b/include/odp/arch/arm64-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/thread.h b/include/odp/arch/arm64-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h b/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/time.h b/include/odp/arch/arm64-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/timer.h b/include/odp/arch/arm64-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/version.h b/include/odp/arch/arm64-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/arm64-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default/api/abi/atomic.h b/include/odp/arch/default/api/abi/atomic.h new file mode 100644 index 000000000000..bda97e0fa04f --- /dev/null +++ b/include/odp/arch/default/api/abi/atomic.h @@ -0,0 +1,66 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP atomic operations + */ + +#ifndef ODP_ABI_ATOMIC_H_ +#define ODP_ABI_ATOMIC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +/** + * @internal + * Atomic 32-bit unsigned integer + */ +struct odp_atomic_u32_s { + uint32_t v; /**< Actual storage for the atomic variable */ +} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignment! */ + +#if __GCC_ATOMIC_LLONG_LOCK_FREE >= 2 + +/** + * @internal + * Atomic 64-bit unsigned integer + */ +struct odp_atomic_u64_s { + uint64_t v; /**< Actual storage for the atomic variable */ +} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignment! */ + +#else + +#define ODP_ATOMIC_U64_LOCK 1 + +/** + * @internal + * Atomic 64-bit unsigned integer + */ +struct odp_atomic_u64_s { + uint64_t v; /**< Actual storage for the atomic variable */ + /* Some architectures do not support lock-free operations on 64-bit + * data types. We use a spin lock to ensure atomicity. */ + char lock; /**< Spin lock (if needed) used to ensure atomic access */ +} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignment! */ + +#endif + +typedef struct odp_atomic_u64_s odp_atomic_u64_t; + +typedef struct odp_atomic_u32_s odp_atomic_u32_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/barrier.h b/include/odp/arch/default/api/abi/barrier.h new file mode 100644 index 000000000000..51d913774c8e --- /dev/null +++ b/include/odp/arch/default/api/abi/barrier.h @@ -0,0 +1,38 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP barrier + */ + +#ifndef ODP_ABI_BARRIER_H_ +#define ODP_ABI_BARRIER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +/** + * @internal + * ODP thread synchronization barrier + */ +struct odp_barrier_s { + uint32_t count; /**< Thread count */ + odp_atomic_u32_t bar; /**< Barrier counter */ +}; + +typedef struct odp_barrier_s odp_barrier_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/byteorder.h b/include/odp/arch/default/api/abi/byteorder.h new file mode 100644 index 000000000000..92f9743ad709 --- /dev/null +++ b/include/odp/arch/default/api/abi/byteorder.h @@ -0,0 +1,73 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP byteorder + */ + +#ifndef ODP_ABI_BYTEORDER_H_ +#define ODP_ABI_BYTEORDER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#ifndef __BYTE_ORDER__ +#error __BYTE_ORDER__ not defined! +#endif + +#ifndef __ORDER_BIG_ENDIAN__ +#error __ORDER_BIG_ENDIAN__ not defined! +#endif + +#ifndef __ORDER_LITTLE_ENDIAN__ +#error __ORDER_LITTLE_ENDIAN__ not defined! +#endif + +/** @addtogroup odp_compiler_optim + * @{ + */ +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + #define ODP_LITTLE_ENDIAN 1 + #define ODP_BIG_ENDIAN 0 + #define ODP_BYTE_ORDER ODP_LITTLE_ENDIAN + #define ODP_LITTLE_ENDIAN_BITFIELD 1 + #define ODP_BIG_ENDIAN_BITFIELD 0 + #define ODP_BITFIELD_ORDER ODP_LITTLE_ENDIAN_BITFIELD +#else + #define ODP_LITTLE_ENDIAN 0 + #define ODP_BIG_ENDIAN 1 + #define ODP_BYTE_ORDER ODP_BIG_ENDIAN + #define ODP_LITTLE_ENDIAN_BITFIELD 0 + #define ODP_BIG_ENDIAN_BITFIELD 1 + #define ODP_BITFIELD_ORDER ODP_BIG_ENDIAN_BITFIELD +#endif + +typedef uint16_t odp_u16le_t; +typedef uint16_t odp_u16be_t; + +typedef uint32_t odp_u32le_t; +typedef uint32_t odp_u32be_t; + +typedef uint64_t odp_u64le_t; +typedef uint64_t odp_u64be_t; + +typedef uint16_t odp_u16sum_t; +typedef uint32_t odp_u32sum_t; + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/cpumask.h b/include/odp/arch/default/api/abi/cpumask.h new file mode 100644 index 000000000000..69f4c162002c --- /dev/null +++ b/include/odp/arch/default/api/abi/cpumask.h @@ -0,0 +1,53 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP CPU masks and enumeration + */ + +#ifndef ODP_ABI_CPUMASK_H_ +#define ODP_ABI_CPUMASK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_cpumask + * @{ + */ + +#include +#include + +#define ODP_CPUMASK_SIZE 1024 + +#define ODP_CPUMASK_STR_SIZE ((ODP_CPUMASK_SIZE + 3) / 4 + 3) + +/** + * CPU mask + * + * Don't access directly, use access functions. + */ +typedef struct odp_cpumask_t { + /** @private CPU mask storage + * + * This is private to the implementation. + * Don't access directly, use access functions. + */ + uint8_t _u8[ODP_CPUMASK_SIZE / 8]; +} odp_cpumask_t ODP_ALIGNED(8); + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/init.h b/include/odp/arch/default/api/abi/init.h new file mode 100644 index 000000000000..dbeb54975733 --- /dev/null +++ b/include/odp/arch/default/api/abi/init.h @@ -0,0 +1,35 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP initialization. + */ + +#ifndef ODP_ABI_INIT_H_ +#define ODP_ABI_INIT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +typedef uint64_t odp_instance_t; + +/** + * @internal platform specific data + */ +typedef struct odp_platform_init_t { + char dummy; +} odp_platform_init_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/ipsec.h b/include/odp/arch/default/api/abi/ipsec.h new file mode 100644 index 000000000000..dbd66d9d87b2 --- /dev/null +++ b/include/odp/arch/default/api/abi/ipsec.h @@ -0,0 +1,41 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP IPSEC API - platform specific types + */ + +#ifndef ODP_ABI_IPSEC_H_ +#define ODP_ABI_IPSEC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_ipsec_sa_t; + +/** @ingroup odp_ipsec + * @{ + */ + +typedef _odp_abi_ipsec_sa_t *odp_ipsec_sa_t; + +#define ODP_IPSEC_SA_INVALID ((odp_ipsec_sa_t)0xffffffff) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/packet_flags.h b/include/odp/arch/default/api/abi/packet_flags.h new file mode 100644 index 000000000000..8ee9fc1abe0b --- /dev/null +++ b/include/odp/arch/default/api/abi/packet_flags.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP packet descriptor + */ + +#ifndef ODP_ABI_PACKET_FLAGS_H_ +#define ODP_ABI_PACKET_FLAGS_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/packet_io.h b/include/odp/arch/default/api/abi/packet_io.h new file mode 100644 index 000000000000..4795f8fc3324 --- /dev/null +++ b/include/odp/arch/default/api/abi/packet_io.h @@ -0,0 +1,59 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP Packet IO + */ + +#ifndef ODP_ABI_PACKET_IO_H_ +#define ODP_ABI_PACKET_IO_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_pktio_t; + +/** @addtogroup odp_packet_io + * Operations on a packet. + * @{ + */ + +typedef _odp_abi_pktio_t *odp_pktio_t; + +/** @internal */ +typedef struct odp_pktin_queue_t { + odp_pktio_t pktio; /**< @internal pktio handle */ + int index; /**< @internal pktio queue index */ +} odp_pktin_queue_t; + +/** @internal */ +typedef struct odp_pktout_queue_t { + odp_pktio_t pktio; /**< @internal pktio handle */ + int index; /**< @internal pktio queue index */ +} odp_pktout_queue_t; + +#define ODP_PKTIO_INVALID ((odp_pktio_t)0) + +#define ODP_PKTIO_MACADDR_MAXSIZE 16 + +#define ODP_PKTIN_NO_WAIT 0 +#define ODP_PKTIN_WAIT UINT64_MAX + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/rwlock.h b/include/odp/arch/default/api/abi/rwlock.h new file mode 100644 index 000000000000..3542c3887895 --- /dev/null +++ b/include/odp/arch/default/api/abi/rwlock.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP rwlock + */ + +#ifndef ODP_ABI_RWLOCK_H_ +#define ODP_ABI_RWLOCK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @internal */ +typedef struct odp_rwlock_s { + odp_atomic_u32_t cnt; /**< lock count + 0 lock not taken + -1 write lock taken + >0 read lock(s) taken */ +} odp_rwlock_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/rwlock_recursive.h b/include/odp/arch/default/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..f5f78bfa4c43 --- /dev/null +++ b/include/odp/arch/default/api/abi/rwlock_recursive.h @@ -0,0 +1,36 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP recursive read/write lock + */ + +#ifndef ODP_ABI_RWLOCK_RECURSIVE_H_ +#define ODP_ABI_RWLOCK_RECURSIVE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +/** @internal */ +typedef struct odp_rwlock_recursive_s { + odp_rwlock_t lock; /**< the lock */ + int wr_owner; /**< write owner thread */ + uint32_t wr_cnt; /**< write recursion count */ + uint8_t rd_cnt[ODP_THREAD_COUNT_MAX]; /**< read recursion count */ +} odp_rwlock_recursive_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/schedule.h b/include/odp/arch/default/api/abi/schedule.h new file mode 100644 index 000000000000..27f9b3a2bf7d --- /dev/null +++ b/include/odp/arch/default/api/abi/schedule.h @@ -0,0 +1,47 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP schedule + */ + +#ifndef ODP_ABI_SCHEDULE_H_ +#define ODP_ABI_SCHEDULE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @addtogroup odp_scheduler + * @{ + */ + +#define ODP_SCHED_WAIT UINT64_MAX +#define ODP_SCHED_NO_WAIT 0 + +typedef int odp_schedule_group_t; + +/* These must be kept in sync with thread_globals_t in odp_thread.c */ +#define ODP_SCHED_GROUP_INVALID ((odp_schedule_group_t)-1) +#define ODP_SCHED_GROUP_ALL 0 +#define ODP_SCHED_GROUP_WORKER 1 +#define ODP_SCHED_GROUP_CONTROL 2 + +#define ODP_SCHED_GROUP_NAME_LEN 32 + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/schedule_types.h b/include/odp/arch/default/api/abi/schedule_types.h new file mode 100644 index 000000000000..f71df37ce430 --- /dev/null +++ b/include/odp/arch/default/api/abi/schedule_types.h @@ -0,0 +1,48 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP schedule + */ + +#ifndef ODP_ABI_SCHEDULE_TYPES_H_ +#define ODP_ABI_SCHEDULE_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_scheduler + * @{ + */ + +typedef int odp_schedule_prio_t; + +#define ODP_SCHED_PRIO_HIGHEST 0 + +#define ODP_SCHED_PRIO_NORMAL 4 + +#define ODP_SCHED_PRIO_LOWEST 7 + +#define ODP_SCHED_PRIO_DEFAULT ODP_SCHED_PRIO_NORMAL + +typedef int odp_schedule_sync_t; + +#define ODP_SCHED_SYNC_PARALLEL 0 +#define ODP_SCHED_SYNC_ATOMIC 1 +#define ODP_SCHED_SYNC_ORDERED 2 + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/spinlock.h b/include/odp/arch/default/api/abi/spinlock.h new file mode 100644 index 000000000000..b9703b10acff --- /dev/null +++ b/include/odp/arch/default/api/abi/spinlock.h @@ -0,0 +1,29 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP spinlock + */ + +#ifndef ODP_ABI_SPINLOCK_H_ +#define ODP_ABI_SPINLOCK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @internal */ +typedef struct odp_spinlock_s { + char lock; /**< lock flag, should match odp_atomic_flag_t */ +} odp_spinlock_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/spinlock_recursive.h b/include/odp/arch/default/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..235f7ac6bfbe --- /dev/null +++ b/include/odp/arch/default/api/abi/spinlock_recursive.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP recursive spinlock + */ + +#ifndef ODP_ABI_SPINLOCK_RECURSIVE_H_ +#define ODP_ABI_SPINLOCK_RECURSIVE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +/** @internal */ +typedef struct odp_spinlock_recursive_s { + odp_spinlock_t lock; /**< the lock */ + int owner; /**< thread owning the lock */ + uint32_t cnt; /**< recursion count */ +} odp_spinlock_recursive_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/std_clib.h b/include/odp/arch/default/api/abi/std_clib.h new file mode 100644 index 000000000000..88ea770aec5e --- /dev/null +++ b/include/odp/arch/default/api/abi/std_clib.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP barrier + */ + +#ifndef ODP_ABI_STD_CLIB_H_ +#define ODP_ABI_STD_CLIB_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/std_types.h b/include/odp/arch/default/api/abi/std_types.h new file mode 100644 index 000000000000..aa449512aeb9 --- /dev/null +++ b/include/odp/arch/default/api/abi/std_types.h @@ -0,0 +1,43 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * Standard C language types and definitions for ODP. + */ + +#ifndef ODP_ABI_STD_TYPES_H_ +#define ODP_ABI_STD_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* uint64_t, uint32_t, etc */ +#include + +/* size_t */ +#include + +/* true and false for odp_bool_t */ +#include + +/** @addtogroup odp_system ODP SYSTEM + * @{ + */ + +typedef int odp_bool_t; + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/sync.h b/include/odp/arch/default/api/abi/sync.h new file mode 100644 index 000000000000..d325507ca28d --- /dev/null +++ b/include/odp/arch/default/api/abi/sync.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP barrier + */ + +#ifndef ODP_ABI_SYNC_H_ +#define ODP_ABI_SYNC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/thread.h b/include/odp/arch/default/api/abi/thread.h new file mode 100644 index 000000000000..682d85005328 --- /dev/null +++ b/include/odp/arch/default/api/abi/thread.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP thread + */ + +#ifndef ODP_ABI_THREAD_H_ +#define ODP_ABI_THREAD_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_thread + * @{ + */ + +#define ODP_THREAD_COUNT_MAX 128 + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/thrmask.h b/include/odp/arch/default/api/abi/thrmask.h new file mode 100644 index 000000000000..1fafd2291e0d --- /dev/null +++ b/include/odp/arch/default/api/abi/thrmask.h @@ -0,0 +1,48 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP thread masks + */ + +#ifndef ODP_ABI_THRMASK_H_ +#define ODP_ABI_THRMASK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_thread + * @{ + */ + +#include + +/** + * Minimum size of output buffer for odp_thrmask_to_str() + */ +#define ODP_THRMASK_STR_SIZE ODP_CPUMASK_STR_SIZE + +/** + * Thread mask + * + * Don't access directly, use access functions. + */ +typedef struct odp_thrmask_t { + odp_cpumask_t m; /**< @private Mask*/ +} odp_thrmask_t; + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/ticketlock.h b/include/odp/arch/default/api/abi/ticketlock.h new file mode 100644 index 000000000000..d771ffbe96ba --- /dev/null +++ b/include/odp/arch/default/api/abi/ticketlock.h @@ -0,0 +1,32 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP ticketlock + */ + +#ifndef ODP_ABI_TICKETLOCK_H_ +#define ODP_ABI_TICKETLOCK_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @internal */ +typedef struct odp_ticketlock_s { + odp_atomic_u32_t next_ticket; /**< Next ticket */ + odp_atomic_u32_t cur_ticket; /**< Current ticket */ +} odp_ticketlock_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/time.h b/include/odp/arch/default/api/abi/time.h new file mode 100644 index 000000000000..d3b5abda33a6 --- /dev/null +++ b/include/odp/arch/default/api/abi/time.h @@ -0,0 +1,53 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP time service + */ + +#ifndef ODP_ABI_TIME_H_ +#define ODP_ABI_TIME_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odp_time + * @{ + **/ + +/** + * @internal Time structure used for both POSIX timespec and HW counter + * implementations. + */ +typedef struct odp_time_t { + /** @internal Variant mappings for time type */ + union { + /** @internal Used with generic 64 bit operations */ + uint64_t u64; + + /** @internal Nanoseconds */ + uint64_t nsec; + + /** @internal HW timer counter value */ + uint64_t count; + + }; +} odp_time_t; + +#define ODP_TIME_NULL ((odp_time_t){.u64 = 0}) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/timer.h b/include/odp/arch/default/api/abi/timer.h new file mode 100644 index 000000000000..36759b18a4fd --- /dev/null +++ b/include/odp/arch/default/api/abi/timer.h @@ -0,0 +1,54 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP timer service + */ + +#ifndef ODP_ABI_TIMER_H_ +#define ODP_ABI_TIMER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_timer_t; + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_timeout_t; + +/** @addtogroup odp_timer + * @{ + **/ + +struct timer_pool_s; /**< Forward declaration */ + +typedef struct timer_pool_s *odp_timer_pool_t; + +#define ODP_TIMER_POOL_INVALID NULL + +#define ODP_TIMER_POOL_NAME_LEN 32 + +typedef _odp_abi_timer_t *odp_timer_t; + +#define ODP_TIMER_INVALID ((odp_timer_t)0xffffffff) + +typedef _odp_abi_timeout_t *odp_timeout_t; + +#define ODP_TIMEOUT_INVALID ((odp_timeout_t)NULL) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/traffic_mngr.h b/include/odp/arch/default/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..b43ab1a0279e --- /dev/null +++ b/include/odp/arch/default/api/abi/traffic_mngr.h @@ -0,0 +1,178 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP traffic mngr + */ + +#ifndef ODP_ABI_TRAFFIC_MNGR_H_ +#define ODP_ABI_TRAFFIC_MNGR_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @addtogroup odp_traffic_mngr + * Macros and operations on a TM system. + * @{ + */ + +/** The ODP_TM_MAX_NUM_SYSTEMS constant specifies the maximum number of TM + * systems that may be created. On some platforms this might be much more + * limited to as little as one hardware TM system. + */ +#define ODP_TM_MAX_NUM_SYSTEMS 64 + +/** The ODP_TM_MAX_PRIORITIES constant specifies the largest range of + * priorities that any TM system can support. All strict priority values MUST + * in the range 0..ODP_TM_MAX_PRIORITIES-1. + */ +#define ODP_TM_MAX_PRIORITIES 16 + +/** The ODP_TM MAX_LEVELS constant specifies the largest range of + * tm_node levels that any TM system can support. Hence all tm_node level + * values MUST be in the range 0..ODP_TM_MAX_LEVELS-1. Smaller tm_node + * levels are associated with tm_nodes closer to the TM system egress. + */ +#define ODP_TM_MAX_LEVELS 8 + +/** + * The smallest SCHED weight is 1 (i.e. 0 is not a legal WFQ/WRR value). + */ +#define ODP_TM_MIN_SCHED_WEIGHT 1 + +/** The ODP_TM_MAX_SCHED_WEIGHT constant is the largest weight any TM system + * can support (at least from a configuration standpoint). A given TM system + * could have a smaller value. + */ +#define ODP_TM_MAX_SCHED_WEIGHT 255 + +/** The ODP_TM_MAX_TM_QUEUES constant is the largest number of tm_queues + * that can be handled by any one TM system. + */ +#define ODP_TM_MAX_TM_QUEUES (16 * 1024 * 1024) + +/** The ODP_TM_MAX_NUM_OUTPUTS constant is the largest number of outputs that + * can be configured for any one TM system. + */ +#define ODP_TM_MAX_NUM_OUTPUTS 256 + +/** The ODP_TM_MAX_NUM_TM_NODES constant is the largest number of tm_nodes that + * can be in existence for any one TM system. + */ +#define ODP_TM_MAX_NUM_TM_NODES (1024 * 1024) + +/** The ODP_TM_MAX_TM_NODE_FANIN constant is the largest number of fan-in + * "inputs" that can be simultaneously connected to a single tm_node. + * *TBD* Does this need to be as large as ODP_TM_MAX_TM_QUEUES? *TBD* + */ +#define ODP_TM_MAX_TM_NODE_FANIN (1024 * 1024) + +/** The ODP_TM_MIN_SHAPER_BW constant is the smallest amount of bandwidth that + * can a shaper's peak or commit rate can be set to. It is in units of + * 1000 bytes/second so that it and the ODP_TM_MAX_SHAPER_BW can both fit in + * 32 bits. + */ +#define ODP_TM_MIN_SHAPER_BW 1 + +/** The ODP_TM_MAX_SHAPER_BW constant is the largest amound of bandwidth that + * any shaper's peak or commit rate can be set to. It is in units of + * 1000 bytes/second so that it and the ODP_TM_MIN_SHAPER_BW can both fit in + * 32 bits. + */ +#define ODP_TM_MAX_SHAPER_BW 12500000 + +/** The ODP_NUM_SHAPER_COLORS constant just counts the number of enumeration + * values defined in the odp_tm_shaper_color_t type. + */ +#define ODP_NUM_SHAPER_COLORS 3 + +/** The INVALID_PRIORITY constant is used when one needs to indicate an + * invalid priority value. + */ +#define ODP_TM_INVALID_PRIORITY 255 + +/** The odp_tm_percent_t type is used when specifying fields that are + * percentages. It is a fixed point integer whose units are 1/100 of a + * percent. Hence 100% is represented as the integer value 10000. Note + * that because it is often used as a ratio of the current queue value and + * maximum queue threshold, it can be > 100%, but in any event will never + * be larger than 500% (i.e. it MUST be capped at 50000). + */ +typedef uint16_t odp_tm_percent_t; + +/** The odp_tm_handle_t type is a generic type that can stand for any of the + * other ODP_TM handle types. + */ +typedef uint64_t odp_tm_handle_t; + +/** Each odp_tm_t value represents a specific TM system. Almost all + * functions in this API require a odp_tm_t value - either directly + * as a function parameter or indirectly by having another ODP TM handle value + * as a function parameter. + */ +typedef odp_tm_handle_t odp_tm_t; + +/** Each odp_tm_queue_t value is an opaque ODP handle representing a specific + * tm_queue within a specific TM system. + */ +typedef odp_tm_handle_t odp_tm_queue_t; + +/** Each odp_tm_node_t value is an opaque ODP handle representing a specific + * tm_node within a specific TM system. + */ +typedef odp_tm_handle_t odp_tm_node_t; + +/** Each odp_tm_shaper_t value is an opaque ODP handle representing a specific + * shaper profile usable across all TM systems described by this API. A given + * shaper profile can then be attached to any tm_queue or tm_node. + */ +typedef odp_tm_handle_t odp_tm_shaper_t; + +/** Each odp_tm_sched_t value is an opaque ODP handle representing a specific + * tm_node scheduler profile usable across all TM systems described by this + * API. A given tm_node scheduler profile can then be attached to any tm_node. + */ +typedef odp_tm_handle_t odp_tm_sched_t; + +/** Each odp_tm_threshold_t value is an opaque ODP handle representing a + * specific queue threshold profile usable across all TM systems described by + * this API. A given queue threshold profile can then be attached to any + * tm_queue or tm_node. + */ +typedef odp_tm_handle_t odp_tm_threshold_t; + +/** Each odp_tm_wred_t value is an opaque ODP handle representing a specific + * WRED profile usable across all TM systems described by this API. A given + * WRED profile can then be attached to any tm_queue or tm_node. + */ +typedef odp_tm_handle_t odp_tm_wred_t; + +/** The ODP_TM_INVALID constant can be used with any ODP TM handle type and + * indicates that this value does NOT represent a valid TM object. + */ +#define ODP_TM_INVALID 0 + +/** + * @def ODP_TM_ROOT + * Constant that is used to refer to the egress/root node of the TM subsystem's + * tree/hierarchy of nodes. + */ +#define ODP_TM_ROOT ((odp_tm_handle_t)-1) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default/api/abi/version.h b/include/odp/arch/default/api/abi/version.h new file mode 100644 index 000000000000..0f48ecc160fe --- /dev/null +++ b/include/odp/arch/default/api/abi/version.h @@ -0,0 +1,30 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_ABI_VERSION_H_ +#define ODP_ABI_VERSION_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @internal Version string expand */ +#define ODP_VERSION_STR_EXPAND(x) #x + +/** @internal Version to string */ +#define ODP_VERSION_TO_STR(x) ODP_VERSION_STR_EXPAND(x) + +/** @internal API version string */ +#define ODP_VERSION_API_STR \ +ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "." \ +ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "." \ +ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/mips64-linux/odp/api/abi/atomic.h b/include/odp/arch/mips64-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/barrier.h b/include/odp/arch/mips64-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h b/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h b/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/init.h b/include/odp/arch/mips64-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h b/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h b/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h b/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/schedule.h b/include/odp/arch/mips64-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h b/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h b/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/std_types.h b/include/odp/arch/mips64-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/sync.h b/include/odp/arch/mips64-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/thread.h b/include/odp/arch/mips64-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h b/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/time.h b/include/odp/arch/mips64-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/timer.h b/include/odp/arch/mips64-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/version.h b/include/odp/arch/mips64-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/mips64-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/atomic.h b/include/odp/arch/power64-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/barrier.h b/include/odp/arch/power64-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/byteorder.h b/include/odp/arch/power64-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/cpumask.h b/include/odp/arch/power64-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/init.h b/include/odp/arch/power64-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/ipsec.h b/include/odp/arch/power64-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/packet_io.h b/include/odp/arch/power64-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/rwlock.h b/include/odp/arch/power64-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/schedule.h b/include/odp/arch/power64-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/spinlock.h b/include/odp/arch/power64-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/std_clib.h b/include/odp/arch/power64-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/std_types.h b/include/odp/arch/power64-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/sync.h b/include/odp/arch/power64-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/thread.h b/include/odp/arch/power64-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/thrmask.h b/include/odp/arch/power64-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/time.h b/include/odp/arch/power64-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/timer.h b/include/odp/arch/power64-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/version.h b/include/odp/arch/power64-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/power64-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h b/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h b/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h b/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h b/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/init.h b/include/odp/arch/x86_32-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h b/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h b/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h b/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h b/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h b/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h b/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h b/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/sync.h b/include/odp/arch/x86_32-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/thread.h b/include/odp/arch/x86_32-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h b/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/time.h b/include/odp/arch/x86_32-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/timer.h b/include/odp/arch/x86_32-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/version.h b/include/odp/arch/x86_32-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/x86_32-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h b/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000000..523c614ae2cc --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h b/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000000..11c3450103ba --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h b/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000000..c76073317844 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h b/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000000..56266f8b3a31 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/init.h b/include/odp/arch/x86_64-linux/odp/api/abi/init.h new file mode 100644 index 000000000000..86b4852d9902 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h b/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000000..e392c8ac0bc2 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..08f954aae1ed --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h b/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000000..e80c1452b568 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000000..61faaf76b445 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000000..ccfdf14aad8b --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h b/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000000..82148ca978d5 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000000..1b4f2b316320 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000000..2e863b014f90 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000000..e90219d901c4 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h b/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000000..bda9fd3078fb --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h b/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000000..44fc6f5ae20e --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/sync.h b/include/odp/arch/x86_64-linux/odp/api/abi/sync.h new file mode 100644 index 000000000000..2fd45b629040 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/thread.h b/include/odp/arch/x86_64-linux/odp/api/abi/thread.h new file mode 100644 index 000000000000..69023d36bb4a --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h b/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000000..523999dcc087 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000000..160b5e156c9b --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/time.h b/include/odp/arch/x86_64-linux/odp/api/abi/time.h new file mode 100644 index 000000000000..d4d734033c61 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/timer.h b/include/odp/arch/x86_64-linux/odp/api/abi/timer.h new file mode 100644 index 000000000000..fea797339150 --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000000..41d297bce42f --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/version.h b/include/odp/arch/x86_64-linux/odp/api/abi/version.h new file mode 100644 index 000000000000..1cdd175edb9a --- /dev/null +++ b/include/odp/arch/x86_64-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include From patchwork Fri Oct 27 12:49:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117326 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp739717qgn; Fri, 27 Oct 2017 05:58:29 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TDr2NULuQoVsWcDHq2N7WqScaGvfVa4eRK2s+RPgR5tuYbxPJMJcm1bxoalREMB3zCdpLa X-Received: by 10.107.1.198 with SMTP id 189mr459789iob.75.1509109109611; Fri, 27 Oct 2017 05:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109109; cv=none; d=google.com; s=arc-20160816; b=xv+vnMNDziuWBFXNASElRYGuEbpPyKoz30UmT8ZudCZy5cMW7tgDCTm1QDskz6V3NH Gc6kiEaq/kqtb5Tikc6bGtrwV9lY5ny53WOE9V0ZYSxhclVzyvq/QsiVohNaSy3eeUTh 1d8Hiderfh6FfeEWphLRzUi/iteiclyqxiTe85cVI/wCZKsexx75g8lnSiyswXAW62ZI 1RbXA/mes2X4ffDXk07I8zbhGIDhzXzvKBYLeBDOa4p6rVlvwYe0IPzKaM4C0RD6UzSo zwruLO8ySRVFddtH3L+UcRriNCd9E2h1EZSEmNQVrXIxa19rGXnSbAlQzGTabPl5+mvu NINw== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=9S1LEgt5SPHd04QPlO9xFHN6e8Cl7mbXT26/GIEhCos=; b=X5SMu4Y/lmdt8NLWUUHH4HJp9qk7o+jJrrIIT5MQ1h2vf2QIKcKSqyeRs1WBon5LSg ktFyq2b2gEgkuhdPxUWwMBx6MYjL12eQQxe/zXROxh/caxxTjXSdhlbWk+R6tCp1AhFk q1TJ7sGUEwrAgw2SpELDJfOSC7lNonJXqefHQp5I7MPgRnZTy8bUy0CdKZ1ut5CXKm0B UfQKRQypuc0Udp3slQ2A6lQo3HE6q7tF363u1YD9H2Qk89u+IqhgAGG8l8zeBSrrpEKV /yJ65s2yM0ptOSugQNt5ZRVZEZd9BFQsxsA4LNR/0MKYIyf5oGjTj2uQ0qYFTZbWnzjs UDYQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 r10si1280444ite.20.2017.10.27.05.58.29; Fri, 27 Oct 2017 05:58:29 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 162F6629F7; Fri, 27 Oct 2017 12:58:29 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 68C6660C3A; Fri, 27 Oct 2017 12:51:07 +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 525AB62972; Fri, 27 Oct 2017 12:51:03 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id EB04460C15 for ; Fri, 27 Oct 2017 12:50:27 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id a132so7298520lfa.7 for ; Fri, 27 Oct 2017 05:50:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=9S1LEgt5SPHd04QPlO9xFHN6e8Cl7mbXT26/GIEhCos=; b=ikAU8nIo5Ftq+4SzWsSRahC4fRI1iqeeRYOqk6viVsoyZ+68fhcBxvdbacyF3Ud0mv GxkKm8pKwiwC92q6THcKpGQhuYEsnGWeLZ/DJzPHxmSb7PnAmYKnH+jF4qf9u4qsjSF5 v3fTf11moft2B8y4VAhXWfMzfSTov+ZCU6tRmNU7LJCznMpWq7qPgic5+i5gOhHEvup1 M/5tXwda98SVn4/aSZYVoVCXuOni4iB2JLQ0hhHNayRrXoDWoLxPnnrIW3yS6wNWESQA 41DhYx03xziXbZtHekxMMIdQK51X8UEVs6/fE2OdEqdyYv8WWStcNal+TgW5+/OQAUrN NT9Q== X-Gm-Message-State: AMCzsaXE6tZQD6/9Vpl7XfU4Zmi4cOrfbiTdHCLkzuvMyhC9k5Jrkfkj ybgHVp/GdLAYmfZQdzFrdS6Xb2rqFALSsA== X-Received: by 10.46.20.3 with SMTP id u3mr165580ljd.164.1509108626573; Fri, 27 Oct 2017 05:50:26 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:25 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:50 +0300 Message-Id: <20171027125014.27313-7-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 06/30] configure: provide conditional for ABI-compat mode 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" Signed-off-by: Dmitry Eremin-Solenikov --- configure.ac | 1 + 1 file changed, 1 insertion(+) -- 2.14.2 diff --git a/configure.ac b/configure.ac index 4bc77500c279..255de960c180 100644 --- a/configure.ac +++ b/configure.ac @@ -271,6 +271,7 @@ AC_ARG_ENABLE([abi-compat], ODP_LIBSO_VERSION=0:0:0 fi]) AC_SUBST(ODP_ABI_COMPAT) +AM_CONDITIONAL(ODP_ABI_COMPAT, [test "x$ODP_ABI_COMPAT" = "x1"]) ########################################################################## # Enable/disable deprecated API definitions From patchwork Fri Oct 27 12:49:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117327 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp740231qgn; Fri, 27 Oct 2017 05:59:00 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Tmf3f1vvTmyBX1Fl/SF3NGh+ux01KCpToeZI7v30L8K8nU25JqfERIyBNuKe4sUL49crS4 X-Received: by 10.107.180.199 with SMTP id d190mr490954iof.114.1509109140386; Fri, 27 Oct 2017 05:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109140; cv=none; d=google.com; s=arc-20160816; b=WoPWUBbCLipeyzY+LJpiEH2LsiJdRhcU2rdrT8nLBktXZuW1c7hnIepWI9R1XGOJQQ qRtBDuz3FnLK/TztXE/KLCcBdz+H4SbaxtG8YAiEzotLww88S/oF7rq93N5PCaisZUyf qJFCvmtIWl/uedXeoo7kNKD8TAcaujGd4Gzy4t8+obtpcKZ4Ghd234tmRuQu3IKkjEZC SmUDbOLjbXCBT1pltK/eiakLEVgU8uq8WRFbKyz7DezUwzp7705lzLKWT6CF2S7xOa7M 9OXSKfQUUdBvsYRzBj0GxGEiw+BYxD0r8A1691OWMkg+V5KqADL17pq8bURnEYzCil6n 0Q0A== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=xcRiRUKrEQ/95O8UsrLWtGIfaCyYsQS8iUaDv2xBqes=; b=c4kOsTK7qGm3hmvl93fWPOmYDDdvIqhrShf8w/Ev4ZZlBepyrVp1YFtmtnCEXqJ2qP yCsriFv1jX+ljsHk+9OTlE+QDMWY21+B0Omfq+wh9T4Xazn7EhRsFLS6TiE6qA2Jw8Jj 4GaO+2lYeHGJUcGqSYQ6blISf745GFpTTE74OAOo6VC+/AEj1fCSVBea+BSKOd7cIZkY 1Cj72sqRTPdFm5PCvFbLyW43qEinXr8U+DDK0NaRzya098EhBuzyl+F0Hakri1T9730u 9F3YDlh2COvr3NEi6pMFZx9WDRYoMm6Uv4RM8mwX3Tc1Q4Vq8audLP5IXutrwRH+DjhA UWFA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 e3si1199570itb.151.2017.10.27.05.59.00; Fri, 27 Oct 2017 05:59:00 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id F07D56294D; Fri, 27 Oct 2017 12:58:59 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 E492A60C15; Fri, 27 Oct 2017 12:51:26 +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 05C9C6297B; Fri, 27 Oct 2017 12:51:22 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 2A6E860B5A for ; Fri, 27 Oct 2017 12:50:29 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id p184so7270217lfe.12 for ; Fri, 27 Oct 2017 05:50:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=xcRiRUKrEQ/95O8UsrLWtGIfaCyYsQS8iUaDv2xBqes=; b=aNr+KfbtzS42EZhkBtsj3kv+DXHu4plpYGiqyaoJoWS3F9KOjrIfWXy7xqwEKivGeO hEA62HY8hBPlXHL7g1Je11V+HUbkd3KxkemBfu5TZmeQmk2OHR9iN9S6wiPKNZKU3T5P 1Z5mvVtmH4DWqoI1RjatjXTT/OwBXRdqZNX1kt7RllL9gDdTUxe07CR/CZwsk/zn1fZ9 WD8nL+cMAaGiZIUlE/M1CoCg70DTv/V/lYijAhkLDzpKVtDranQcNPxqc3QnInhxK8GK tuTvjwK/1clG4+xYH+UXEsh5nd5rOepVGIhbeFGq1ErQXPwhbcOQGCGYb3htNj7w63O4 pXDQ== X-Gm-Message-State: AMCzsaXAZQ39wrNE+xhGBw1lOnaOPpfeye3v5jQBQ8k0ASw3CinzTZ7V tTFI/O6pKSRl7vko/bJTGVB1ySAmwxHnGg== X-Received: by 10.46.5.130 with SMTP id 124mr168153ljf.116.1509108627728; Fri, 27 Oct 2017 05:50:27 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:27 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:51 +0300 Message-Id: <20171027125014.27313-8-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 07/30] build: move ODP include path to common Makefile.inc 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" Signed-off-by: Dmitry Eremin-Solenikov --- Makefile.inc | 12 ++++++++++++ example/Makefile.inc | 12 ++++-------- helper/Makefile.am | 12 ++++-------- helper/test/Makefile.am | 18 +++++------------- platform/Makefile.inc | 2 +- platform/linux-generic/Makefile.am | 8 +------- platform/linux-generic/test/Makefile.inc | 12 ++---------- platform/linux-generic/test/ring/Makefile.am | 2 +- .../test/validation/api/shmem/Makefile.am | 4 ++-- test/Makefile.inc | 17 +++++------------ 10 files changed, 37 insertions(+), 62 deletions(-) create mode 100644 Makefile.inc -- 2.14.2 diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 000000000000..10e4041fe662 --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,12 @@ +ODP_INCLUDES = \ + -I$(top_builddir)/platform/@with_platform@/include \ + -I$(top_srcdir)/platform/@with_platform@/include \ + -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ + -I$(top_srcdir)/include + +HELPER_INCLUDES = \ + -I$(top_srcdir)/helper/include + +LIB = $(top_builddir)/lib diff --git a/example/Makefile.inc b/example/Makefile.inc index 1609066e64c2..498f656faa66 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -1,16 +1,12 @@ +include $(top_srcdir)/Makefile.inc + TESTS_ENVIRONMENT = EXEEXT=${EXEEXT} -LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp-linux.la $(LIB)/libodphelper.la $(DPDK_PMDS) AM_CFLAGS = \ -I$(srcdir) \ -I$(top_srcdir)/example \ - -I$(top_srcdir)/platform/@with_platform@/include \ - -I$(top_srcdir)/include/ \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ - -I$(top_srcdir)/helper/include \ - -I$(top_builddir)/platform/@with_platform@/include \ - -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ - -I$(top_builddir)/include + $(ODP_INCLUDES) \ + $(HELPER_INCLUDES) AM_LDFLAGS = -L$(LIB) -static diff --git a/helper/Makefile.am b/helper/Makefile.am index ee1c17d6d0a3..2321a2d4f24c 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -1,15 +1,11 @@ +include $(top_srcdir)/Makefile.inc + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libodphelper.pc -LIB = $(top_builddir)/lib AM_CPPFLAGS = \ - -I$(top_builddir)/platform/@with_platform@/include \ - -I$(top_srcdir)/helper/include \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ - -I$(top_srcdir)/platform/@with_platform@/include \ - -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ - -I$(top_builddir)/include + $(ODP_INCLUDES) \ + $(HELPER_INCLUDES) AM_LDFLAGS = -version-number '$(ODPHELPER_LIBSO_VERSION)' diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am index 8eee643bee39..27c414aa7461 100644 --- a/helper/test/Makefile.am +++ b/helper/test/Makefile.am @@ -1,25 +1,17 @@ -TESTS_ENVIRONMENT = EXEEXT=${EXEEXT} +include $(top_srcdir)/Makefile.inc -LIB = $(top_builddir)/lib +TESTS_ENVIRONMENT = EXEEXT=${EXEEXT} #in the following line, the libs using the symbols should come before #the libs containing them! The includer is given a chance to add things #before libodp by setting PRE_LDADD before the inclusion. LDADD = $(PRE_LDADD) $(LIB)/libodphelper.la $(LIB)/libodp-linux.la -INCFLAGS = \ - -I$(top_builddir)/platform/@with_platform@/include \ - -I$(top_srcdir)/helper/include \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ - -I$(top_srcdir)/platform/@with_platform@/include \ - -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ - -I$(top_builddir)/include \ - -I$(top_srcdir)/helper - ODP_PLATFORM=${with_platform} -AM_CPPFLAGS = $(INCFLAGS) +AM_CPPFLAGS = \ + $(ODP_INCLUDES) \ + $(HELPER_INCLUDES) AM_LDFLAGS = -static EXECUTABLES = chksum \ diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 0086db779897..4714de0ee805 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -1,4 +1,4 @@ -LIB = $(top_builddir)/lib +include $(top_srcdir)/Makefile.inc pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libodp-linux.pc diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index c5406760935e..703b12c702ea 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -3,14 +3,8 @@ include $(top_srcdir)/platform/Makefile.inc -AM_CPPFLAGS = -I$(srcdir)/include -AM_CPPFLAGS += -I$(top_srcdir)/include -AM_CPPFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ -AM_CPPFLAGS += -I$(top_builddir)/include -AM_CPPFLAGS += -Iinclude -AM_CPPFLAGS += -I$(top_srcdir)/platform/$(with_platform)/arch/$(ARCH_DIR) +AM_CPPFLAGS = $(ODP_INCLUDES) AM_CPPFLAGS += -I$(top_srcdir)/platform/$(with_platform)/arch/default -AM_CPPFLAGS += -Iinclude AM_CPPFLAGS += -DSYSCONFDIR=\"@sysconfdir@\" AM_CPPFLAGS += $(OPENSSL_CPPFLAGS) diff --git a/platform/linux-generic/test/Makefile.inc b/platform/linux-generic/test/Makefile.inc index dd21917ebfa7..05c89c9132cd 100644 --- a/platform/linux-generic/test/Makefile.inc +++ b/platform/linux-generic/test/Makefile.inc @@ -1,3 +1,5 @@ +include $(top_srcdir)/Makefile.inc + # The following definitions may be used by platform tests that wish to # build specific ODP applications, (i.e those whose do more than validation # test wrapping) @@ -7,16 +9,6 @@ AM_LDFLAGS = -static AM_CFLAGS = $(CUNIT_CFLAGS) LIBCUNIT_COMMON = $(top_builddir)/test/common/libcunit_common.la -LIB = $(top_builddir)/lib LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp-linux.la $(DPDK_PMDS) INCCUNIT_COMMON = -I$(top_srcdir)/test/common -INCODP = \ - -I$(top_builddir)/include \ - -I$(top_builddir)/platform/@with_platform@/include \ - -I$(top_srcdir)/helper/include \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ - -I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH_DIR) \ - -I$(top_srcdir)/platform/@with_platform@/include \ - -I$(top_srcdir)/test diff --git a/platform/linux-generic/test/ring/Makefile.am b/platform/linux-generic/test/ring/Makefile.am index 376047559cc7..c08959d04f53 100644 --- a/platform/linux-generic/test/ring/Makefile.am +++ b/platform/linux-generic/test/ring/Makefile.am @@ -7,5 +7,5 @@ ring_main_SOURCES = \ ring_basic.c ring_stress.c ring_main_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/include \ - $(INCCUNIT_COMMON) $(INCODP) + $(INCCUNIT_COMMON) $(ODP_INCLUDES) $(HELPER_INCLUDES) ring_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/platform/linux-generic/test/validation/api/shmem/Makefile.am b/platform/linux-generic/test/validation/api/shmem/Makefile.am index 131a511be73b..8753331e0dd2 100644 --- a/platform/linux-generic/test/validation/api/shmem/Makefile.am +++ b/platform/linux-generic/test/validation/api/shmem/Makefile.am @@ -12,11 +12,11 @@ shmem_linux_LDFLAGS = $(AM_LDFLAGS) -lrt shmem_odp1_SOURCES = shmem_odp1.c shmem_odp1.h shmem_common.h shmem_odp1_CFLAGS = $(AM_CFLAGS) \ $(INCCUNIT_COMMON) \ - $(INCODP) + $(ODP_INCLUDES) shmem_odp1_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) shmem_odp2_SOURCES = shmem_odp2.c shmem_odp2.h shmem_common.h shmem_odp2_CFLAGS = $(AM_CFLAGS) \ $(INCCUNIT_COMMON) \ - $(INCODP) + $(ODP_INCLUDES) shmem_odp2_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/Makefile.inc b/test/Makefile.inc index f7c0da21496c..26e188e7d969 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -1,21 +1,14 @@ -LIB = $(top_builddir)/lib +include $(top_srcdir)/Makefile.inc #in the following line, the libs using the symbols should come before #the libs containing them! The includer is given a chance to add things #before libodp by setting PRE_LDADD before the inclusion. LDADD = $(PRE_LDADD) $(LIB)/libodphelper.la $(LIB)/libodp-linux.la $(DPDK_PMDS) -INCFLAGS = \ - -I$(top_builddir)/platform/@with_platform@/include \ - -I$(top_srcdir)/helper/include \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ - -I$(top_srcdir)/platform/@with_platform@/include \ - -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ - -I$(top_srcdir)/test/common \ - -I$(top_builddir)/include - -AM_CPPFLAGS = $(INCFLAGS) +AM_CPPFLAGS = \ + $(ODP_INCLUDES) \ + $(HELPER_INCLUDES) \ + -I$(top_srcdir)/test/common AM_CFLAGS = $(CUNIT_CFLAGS) AM_LDFLAGS = -L$(LIB) -static From patchwork Fri Oct 27 12:49:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117334 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp759292qgn; Fri, 27 Oct 2017 06:14:09 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RSZ5TINebaMeMGOrFU4FkGycDN51X4BTXnCGdeYYRFBIzdPr+3f29b4+dgxELggsLJ91wx X-Received: by 10.107.37.143 with SMTP id l137mr566015iol.104.1509110049661; Fri, 27 Oct 2017 06:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110049; cv=none; d=google.com; s=arc-20160816; b=sTdcrg0aNbOFeZBALu7ABj1VmD8VEdHhAuFQZMCFV3TpQ7ShaXDQuzvOjEsTizlI+I lb+7XvuOPxBglcck6l3nEijBO0Wk6eQ36vzNpaDE/GooikNIZOGco7x3BTJ6zvRW5F/A CXzwn9A/ozylft6vFlzowonDD+S2jYel869sOGkBEYLmqPsLDpVy96sEI/JVEjrG9R/l WqI6H/4drco/ur4agTt2yAZtfqEdwdiZRt2WWUd93MCRUxa80L+3FAfOioJAe7f+xWA9 ezbY5Zs30dG6evwu+TLKoILmyoRzg4YV9/VQGsbHtUOWFfGY/4k/IHjKT9mltLynnl+f bjdA== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=CHdy5buONFmEoh4p8KfZrXerH11RmWKX78lmHGGzScg=; b=V8vb6f+CypWl5hhtNUuyFbu7U8QXYnS9gN9v41mcu3m132qw29wAhcf4dIu3KYWKLe mDJ5uf8WiCWVbmMwNii+KEr75pcuQCxwJxarao2Yz+sulGYkBPPPDqzUajt18cYt6ihi DF2v7ByijI3m3QUs0ATxgNsxYA8aCPIfNbdXGLXLtlOEacTQjMWn/GQ/Ct99VFaCQ4eT H+DTWP7mFLVInr+zc4yAD3TzXjVR9N0EgJC9DpQUQ9Wup3naNIVo1nvqKLQgDzxoDWDt dwZVr81wCHC1vhdmRqCxz1KNRs4F2DjHEke3BBunNlxnoWhwae9G7iMMIxoz5ISr66ZC x4+A== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 o193si1284015ite.144.2017.10.27.06.14.09; Fri, 27 Oct 2017 06:14:09 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0DCC2629A6; Fri, 27 Oct 2017 13:14:09 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 4FA5262958; Fri, 27 Oct 2017 12:53:45 +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 2572F6298D; Fri, 27 Oct 2017 12:52:13 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id 1DF0462949 for ; Fri, 27 Oct 2017 12:50:33 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id k40so7303778lfi.4 for ; Fri, 27 Oct 2017 05:50:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=CHdy5buONFmEoh4p8KfZrXerH11RmWKX78lmHGGzScg=; b=iXSG7AKNn93Eh7yAcZLwjizXitESeKUDsYZAazQpdDN+OhnuANoDGgr/hf8Yk8ev8K UopHNGTDGXgOjgfjHqtYE51j0ZuR7HaYIjctZlCXcNgsnSjWFPhaJ7KBdUXVYTKmxp8F aS0wQueu6WpEy+1PtPpOS9pKyvSYRZ9CCVmsMLY66tiS67Gb7+hXaQqVEBL9PYSbAlLp CcnoMuHCNJss/5E+i2gP524ind29NHvmjbWDqt/DOmCf85NBeoTCT9AEVNkuA3Vm3FzA 5iLlgmz7+4CLKybe4baqJur7irtNs8kJ2PyHHHOeRggfw5iJOqVmQGIRI8Nnx29+UFjs FLag== X-Gm-Message-State: AMCzsaU46QJnfBaYFaxlhhIQBj85KRTwy5f8qwYFNXthdsW7xWtZmP63 p/wx710AvFHAaWy7lXcUZEuF+8kX3K+tDQ== X-Received: by 10.46.48.22 with SMTP id w22mr145886ljw.51.1509108630043; Fri, 27 Oct 2017 05:50:30 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:29 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:52 +0300 Message-Id: <20171027125014.27313-9-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 08/30] include: move default ABI 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" Reduce amount of directory levels by moving default ABI headers to odp/api/abi-default. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 82 +++++++++++----------- .../default/api/abi => api/abi-default}/atomic.h | 0 .../default/api/abi => api/abi-default}/barrier.h | 0 .../default/api/abi => api/abi-default}/buffer.h | 0 .../api/abi => api/abi-default}/byteorder.h | 0 .../api/abi => api/abi-default}/classification.h | 0 .../default/api/abi => api/abi-default}/cpumask.h | 0 .../default/api/abi => api/abi-default}/crypto.h | 0 .../default/api/abi => api/abi-default}/event.h | 0 .../default/api/abi => api/abi-default}/init.h | 0 .../default/api/abi => api/abi-default}/ipsec.h | 0 .../default/api/abi => api/abi-default}/packet.h | 0 .../api/abi => api/abi-default}/packet_flags.h | 0 .../api/abi => api/abi-default}/packet_io.h | 0 .../default/api/abi => api/abi-default}/pool.h | 0 .../default/api/abi => api/abi-default}/queue.h | 0 .../default/api/abi => api/abi-default}/rwlock.h | 0 .../api/abi => api/abi-default}/rwlock_recursive.h | 0 .../default/api/abi => api/abi-default}/schedule.h | 0 .../api/abi => api/abi-default}/schedule_types.h | 0 .../api/abi => api/abi-default}/shared_memory.h | 0 .../default/api/abi => api/abi-default}/spinlock.h | 0 .../abi => api/abi-default}/spinlock_recursive.h | 0 .../default/api/abi => api/abi-default}/std_clib.h | 0 .../api/abi => api/abi-default}/std_types.h | 0 .../default/api/abi => api/abi-default}/sync.h | 0 .../default/api/abi => api/abi-default}/thread.h | 0 .../default/api/abi => api/abi-default}/thrmask.h | 0 .../api/abi => api/abi-default}/ticketlock.h | 0 .../default/api/abi => api/abi-default}/time.h | 0 .../default/api/abi => api/abi-default}/timer.h | 0 .../api/abi => api/abi-default}/traffic_mngr.h | 0 .../default/api/abi => api/abi-default}/version.h | 0 include/odp/arch/arm32-linux/odp/api/abi/atomic.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/barrier.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/byteorder.h | 2 +- .../arch/arm32-linux/odp/api/abi/classification.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/cpumask.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/event.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/init.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/ipsec.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/packet.h | 2 +- .../arch/arm32-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/queue.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/rwlock.h | 2 +- .../arm32-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/schedule.h | 2 +- .../arch/arm32-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/arm32-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/spinlock.h | 2 +- .../arm32-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/sync.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/thread.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/thrmask.h | 2 +- .../odp/arch/arm32-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/time.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/timer.h | 2 +- .../arch/arm32-linux/odp/api/abi/traffic_mngr.h | 2 +- include/odp/arch/arm32-linux/odp/api/abi/version.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/atomic.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/barrier.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/byteorder.h | 2 +- .../arch/arm64-linux/odp/api/abi/classification.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/cpumask.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/event.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/init.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/ipsec.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/packet.h | 2 +- .../arch/arm64-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/queue.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/rwlock.h | 2 +- .../arm64-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/schedule.h | 2 +- .../arch/arm64-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/arm64-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/spinlock.h | 2 +- .../arm64-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/sync.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/thread.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/thrmask.h | 2 +- .../odp/arch/arm64-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/time.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/timer.h | 2 +- .../arch/arm64-linux/odp/api/abi/traffic_mngr.h | 2 +- include/odp/arch/arm64-linux/odp/api/abi/version.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/atomic.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/barrier.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/byteorder.h | 2 +- .../arch/mips64-linux/odp/api/abi/classification.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/cpumask.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/event.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/init.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/ipsec.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/packet.h | 2 +- .../arch/mips64-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/queue.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/rwlock.h | 2 +- .../mips64-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/schedule.h | 2 +- .../arch/mips64-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/mips64-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/spinlock.h | 2 +- .../mips64-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/sync.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/thread.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/thrmask.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/time.h | 2 +- include/odp/arch/mips64-linux/odp/api/abi/timer.h | 2 +- .../arch/mips64-linux/odp/api/abi/traffic_mngr.h | 2 +- .../odp/arch/mips64-linux/odp/api/abi/version.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/atomic.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/barrier.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/byteorder.h | 2 +- .../power64-linux/odp/api/abi/classification.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/cpumask.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/event.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/init.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/ipsec.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/packet.h | 2 +- .../arch/power64-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/queue.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/rwlock.h | 2 +- .../power64-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/schedule.h | 2 +- .../power64-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/power64-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/spinlock.h | 2 +- .../power64-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/sync.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/thread.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/thrmask.h | 2 +- .../arch/power64-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/time.h | 2 +- include/odp/arch/power64-linux/odp/api/abi/timer.h | 2 +- .../arch/power64-linux/odp/api/abi/traffic_mngr.h | 2 +- .../odp/arch/power64-linux/odp/api/abi/version.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/atomic.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/barrier.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/byteorder.h | 2 +- .../arch/x86_32-linux/odp/api/abi/classification.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/cpumask.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/event.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/init.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/packet.h | 2 +- .../arch/x86_32-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/queue.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h | 2 +- .../x86_32-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/schedule.h | 2 +- .../arch/x86_32-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/x86_32-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/spinlock.h | 2 +- .../x86_32-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/sync.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/thread.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/thrmask.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/time.h | 2 +- include/odp/arch/x86_32-linux/odp/api/abi/timer.h | 2 +- .../arch/x86_32-linux/odp/api/abi/traffic_mngr.h | 2 +- .../odp/arch/x86_32-linux/odp/api/abi/version.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/atomic.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/barrier.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/buffer.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/byteorder.h | 2 +- .../arch/x86_64-linux/odp/api/abi/classification.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/cpumask.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/crypto.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/event.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/init.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/packet.h | 2 +- .../arch/x86_64-linux/odp/api/abi/packet_flags.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/packet_io.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/pool.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/queue.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h | 2 +- .../x86_64-linux/odp/api/abi/rwlock_recursive.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/schedule.h | 2 +- .../arch/x86_64-linux/odp/api/abi/schedule_types.h | 2 +- .../arch/x86_64-linux/odp/api/abi/shared_memory.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/spinlock.h | 2 +- .../x86_64-linux/odp/api/abi/spinlock_recursive.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/std_clib.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/std_types.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/sync.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/thread.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/thrmask.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/ticketlock.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/time.h | 2 +- include/odp/arch/x86_64-linux/odp/api/abi/timer.h | 2 +- .../arch/x86_64-linux/odp/api/abi/traffic_mngr.h | 2 +- .../odp/arch/x86_64-linux/odp/api/abi/version.h | 2 +- 225 files changed, 233 insertions(+), 233 deletions(-) rename include/odp/{arch/default/api/abi => api/abi-default}/atomic.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/barrier.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/buffer.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/byteorder.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/classification.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/cpumask.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/crypto.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/event.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/init.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/ipsec.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/packet.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/packet_flags.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/packet_io.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/pool.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/queue.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/rwlock.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/rwlock_recursive.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/schedule.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/schedule_types.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/shared_memory.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/spinlock.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/spinlock_recursive.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/std_clib.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/std_types.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/sync.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/thread.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/thrmask.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/ticketlock.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/time.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/timer.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/traffic_mngr.h (100%) rename include/odp/{arch/default/api/abi => api/abi-default}/version.h (100%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 40a4daa90fc2..5328133dd4e4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -67,48 +67,48 @@ odpdrvspecinclude_HEADERS = \ odp/drv/spec/std_types.h \ odp/drv/spec/sync.h -odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi +odpapiabidefaultincludedir= $(includedir)/odp/api/abi-default odpapiabidefaultinclude_HEADERS = \ - odp/arch/default/api/abi/atomic.h \ - odp/arch/default/api/abi/barrier.h \ - odp/arch/default/api/abi/buffer.h \ - odp/arch/default/api/abi/byteorder.h \ - odp/arch/default/api/abi/classification.h \ - odp/arch/default/api/abi/cpumask.h \ - odp/arch/default/api/abi/crypto.h \ - odp/arch/default/api/abi/event.h \ - odp/arch/default/api/abi/init.h \ - odp/arch/default/api/abi/ipsec.h \ - odp/arch/default/api/abi/packet.h \ - odp/arch/default/api/abi/packet_flags.h \ - odp/arch/default/api/abi/packet_io.h \ - odp/arch/default/api/abi/pool.h \ - odp/arch/default/api/abi/queue.h \ - odp/arch/default/api/abi/rwlock.h \ - odp/arch/default/api/abi/rwlock_recursive.h \ - odp/arch/default/api/abi/schedule.h \ - odp/arch/default/api/abi/schedule_types.h \ - odp/arch/default/api/abi/shared_memory.h \ - odp/arch/default/api/abi/spinlock.h \ - odp/arch/default/api/abi/spinlock_recursive.h \ - odp/arch/default/api/abi/std_clib.h \ - odp/arch/default/api/abi/std_types.h \ - odp/arch/default/api/abi/sync.h \ - odp/arch/default/api/abi/thread.h \ - odp/arch/default/api/abi/thrmask.h \ - odp/arch/default/api/abi/ticketlock.h \ - odp/arch/default/api/abi/time.h \ - odp/arch/default/api/abi/timer.h \ - odp/arch/default/api/abi/traffic_mngr.h \ - odp/arch/default/api/abi/version.h - odp/arch/default/api/abi/buffer.h \ - odp/arch/default/api/abi/classification.h \ - odp/arch/default/api/abi/crypto.h \ - odp/arch/default/api/abi/event.h \ - odp/arch/default/api/abi/packet.h \ - odp/arch/default/api/abi/pool.h \ - odp/arch/default/api/abi/queue.h \ - odp/arch/default/api/abi/shared_memory.h + odp/api/abi-default/atomic.h \ + odp/api/abi-default/barrier.h \ + odp/api/abi-default/buffer.h \ + odp/api/abi-default/byteorder.h \ + odp/api/abi-default/classification.h \ + odp/api/abi-default/cpumask.h \ + odp/api/abi-default/crypto.h \ + odp/api/abi-default/event.h \ + odp/api/abi-default/init.h \ + odp/api/abi-default/ipsec.h \ + odp/api/abi-default/packet.h \ + odp/api/abi-default/packet_flags.h \ + odp/api/abi-default/packet_io.h \ + odp/api/abi-default/pool.h \ + odp/api/abi-default/queue.h \ + odp/api/abi-default/rwlock.h \ + odp/api/abi-default/rwlock_recursive.h \ + odp/api/abi-default/schedule.h \ + odp/api/abi-default/schedule_types.h \ + odp/api/abi-default/shared_memory.h \ + odp/api/abi-default/spinlock.h \ + odp/api/abi-default/spinlock_recursive.h \ + odp/api/abi-default/std_clib.h \ + odp/api/abi-default/std_types.h \ + odp/api/abi-default/sync.h \ + odp/api/abi-default/thread.h \ + odp/api/abi-default/thrmask.h \ + odp/api/abi-default/ticketlock.h \ + odp/api/abi-default/time.h \ + odp/api/abi-default/timer.h \ + odp/api/abi-default/traffic_mngr.h \ + odp/api/abi-default/version.h + odp/api/abi-default/buffer.h \ + odp/api/abi-default/classification.h \ + odp/api/abi-default/crypto.h \ + odp/api/abi-default/event.h \ + odp/api/abi-default/packet.h \ + odp/api/abi-default/pool.h \ + odp/api/abi-default/queue.h \ + odp/api/abi-default/shared_memory.h odpapiabiarchincludedir= $(includedir)/odp/arch/@ARCH_ABI@/odp/api/abi if ARCH_IS_ARM diff --git a/include/odp/arch/default/api/abi/atomic.h b/include/odp/api/abi-default/atomic.h similarity index 100% rename from include/odp/arch/default/api/abi/atomic.h rename to include/odp/api/abi-default/atomic.h diff --git a/include/odp/arch/default/api/abi/barrier.h b/include/odp/api/abi-default/barrier.h similarity index 100% rename from include/odp/arch/default/api/abi/barrier.h rename to include/odp/api/abi-default/barrier.h diff --git a/include/odp/arch/default/api/abi/buffer.h b/include/odp/api/abi-default/buffer.h similarity index 100% rename from include/odp/arch/default/api/abi/buffer.h rename to include/odp/api/abi-default/buffer.h diff --git a/include/odp/arch/default/api/abi/byteorder.h b/include/odp/api/abi-default/byteorder.h similarity index 100% rename from include/odp/arch/default/api/abi/byteorder.h rename to include/odp/api/abi-default/byteorder.h diff --git a/include/odp/arch/default/api/abi/classification.h b/include/odp/api/abi-default/classification.h similarity index 100% rename from include/odp/arch/default/api/abi/classification.h rename to include/odp/api/abi-default/classification.h diff --git a/include/odp/arch/default/api/abi/cpumask.h b/include/odp/api/abi-default/cpumask.h similarity index 100% rename from include/odp/arch/default/api/abi/cpumask.h rename to include/odp/api/abi-default/cpumask.h diff --git a/include/odp/arch/default/api/abi/crypto.h b/include/odp/api/abi-default/crypto.h similarity index 100% rename from include/odp/arch/default/api/abi/crypto.h rename to include/odp/api/abi-default/crypto.h diff --git a/include/odp/arch/default/api/abi/event.h b/include/odp/api/abi-default/event.h similarity index 100% rename from include/odp/arch/default/api/abi/event.h rename to include/odp/api/abi-default/event.h diff --git a/include/odp/arch/default/api/abi/init.h b/include/odp/api/abi-default/init.h similarity index 100% rename from include/odp/arch/default/api/abi/init.h rename to include/odp/api/abi-default/init.h diff --git a/include/odp/arch/default/api/abi/ipsec.h b/include/odp/api/abi-default/ipsec.h similarity index 100% rename from include/odp/arch/default/api/abi/ipsec.h rename to include/odp/api/abi-default/ipsec.h diff --git a/include/odp/arch/default/api/abi/packet.h b/include/odp/api/abi-default/packet.h similarity index 100% rename from include/odp/arch/default/api/abi/packet.h rename to include/odp/api/abi-default/packet.h diff --git a/include/odp/arch/default/api/abi/packet_flags.h b/include/odp/api/abi-default/packet_flags.h similarity index 100% rename from include/odp/arch/default/api/abi/packet_flags.h rename to include/odp/api/abi-default/packet_flags.h diff --git a/include/odp/arch/default/api/abi/packet_io.h b/include/odp/api/abi-default/packet_io.h similarity index 100% rename from include/odp/arch/default/api/abi/packet_io.h rename to include/odp/api/abi-default/packet_io.h diff --git a/include/odp/arch/default/api/abi/pool.h b/include/odp/api/abi-default/pool.h similarity index 100% rename from include/odp/arch/default/api/abi/pool.h rename to include/odp/api/abi-default/pool.h diff --git a/include/odp/arch/default/api/abi/queue.h b/include/odp/api/abi-default/queue.h similarity index 100% rename from include/odp/arch/default/api/abi/queue.h rename to include/odp/api/abi-default/queue.h diff --git a/include/odp/arch/default/api/abi/rwlock.h b/include/odp/api/abi-default/rwlock.h similarity index 100% rename from include/odp/arch/default/api/abi/rwlock.h rename to include/odp/api/abi-default/rwlock.h diff --git a/include/odp/arch/default/api/abi/rwlock_recursive.h b/include/odp/api/abi-default/rwlock_recursive.h similarity index 100% rename from include/odp/arch/default/api/abi/rwlock_recursive.h rename to include/odp/api/abi-default/rwlock_recursive.h diff --git a/include/odp/arch/default/api/abi/schedule.h b/include/odp/api/abi-default/schedule.h similarity index 100% rename from include/odp/arch/default/api/abi/schedule.h rename to include/odp/api/abi-default/schedule.h diff --git a/include/odp/arch/default/api/abi/schedule_types.h b/include/odp/api/abi-default/schedule_types.h similarity index 100% rename from include/odp/arch/default/api/abi/schedule_types.h rename to include/odp/api/abi-default/schedule_types.h diff --git a/include/odp/arch/default/api/abi/shared_memory.h b/include/odp/api/abi-default/shared_memory.h similarity index 100% rename from include/odp/arch/default/api/abi/shared_memory.h rename to include/odp/api/abi-default/shared_memory.h diff --git a/include/odp/arch/default/api/abi/spinlock.h b/include/odp/api/abi-default/spinlock.h similarity index 100% rename from include/odp/arch/default/api/abi/spinlock.h rename to include/odp/api/abi-default/spinlock.h diff --git a/include/odp/arch/default/api/abi/spinlock_recursive.h b/include/odp/api/abi-default/spinlock_recursive.h similarity index 100% rename from include/odp/arch/default/api/abi/spinlock_recursive.h rename to include/odp/api/abi-default/spinlock_recursive.h diff --git a/include/odp/arch/default/api/abi/std_clib.h b/include/odp/api/abi-default/std_clib.h similarity index 100% rename from include/odp/arch/default/api/abi/std_clib.h rename to include/odp/api/abi-default/std_clib.h diff --git a/include/odp/arch/default/api/abi/std_types.h b/include/odp/api/abi-default/std_types.h similarity index 100% rename from include/odp/arch/default/api/abi/std_types.h rename to include/odp/api/abi-default/std_types.h diff --git a/include/odp/arch/default/api/abi/sync.h b/include/odp/api/abi-default/sync.h similarity index 100% rename from include/odp/arch/default/api/abi/sync.h rename to include/odp/api/abi-default/sync.h diff --git a/include/odp/arch/default/api/abi/thread.h b/include/odp/api/abi-default/thread.h similarity index 100% rename from include/odp/arch/default/api/abi/thread.h rename to include/odp/api/abi-default/thread.h diff --git a/include/odp/arch/default/api/abi/thrmask.h b/include/odp/api/abi-default/thrmask.h similarity index 100% rename from include/odp/arch/default/api/abi/thrmask.h rename to include/odp/api/abi-default/thrmask.h diff --git a/include/odp/arch/default/api/abi/ticketlock.h b/include/odp/api/abi-default/ticketlock.h similarity index 100% rename from include/odp/arch/default/api/abi/ticketlock.h rename to include/odp/api/abi-default/ticketlock.h diff --git a/include/odp/arch/default/api/abi/time.h b/include/odp/api/abi-default/time.h similarity index 100% rename from include/odp/arch/default/api/abi/time.h rename to include/odp/api/abi-default/time.h diff --git a/include/odp/arch/default/api/abi/timer.h b/include/odp/api/abi-default/timer.h similarity index 100% rename from include/odp/arch/default/api/abi/timer.h rename to include/odp/api/abi-default/timer.h diff --git a/include/odp/arch/default/api/abi/traffic_mngr.h b/include/odp/api/abi-default/traffic_mngr.h similarity index 100% rename from include/odp/arch/default/api/abi/traffic_mngr.h rename to include/odp/api/abi-default/traffic_mngr.h diff --git a/include/odp/arch/default/api/abi/version.h b/include/odp/api/abi-default/version.h similarity index 100% rename from include/odp/arch/default/api/abi/version.h rename to include/odp/api/abi-default/version.h diff --git a/include/odp/arch/arm32-linux/odp/api/abi/atomic.h b/include/odp/arch/arm32-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/barrier.h b/include/odp/arch/arm32-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/buffer.h b/include/odp/arch/arm32-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h b/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/classification.h b/include/odp/arch/arm32-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/classification.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h b/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/crypto.h b/include/odp/arch/arm32-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/event.h b/include/odp/arch/arm32-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/event.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/init.h b/include/odp/arch/arm32-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/init.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h b/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/packet.h b/include/odp/arch/arm32-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/packet.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h b/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h b/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/pool.h b/include/odp/arch/arm32-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/pool.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/queue.h b/include/odp/arch/arm32-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/queue.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h b/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/schedule.h b/include/odp/arch/arm32-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h b/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/shared_memory.h b/include/odp/arch/arm32-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h b/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h b/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/std_types.h b/include/odp/arch/arm32-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/sync.h b/include/odp/arch/arm32-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/sync.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/thread.h b/include/odp/arch/arm32-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/thread.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h b/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h b/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/time.h b/include/odp/arch/arm32-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/time.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/timer.h b/include/odp/arch/arm32-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/timer.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm32-linux/odp/api/abi/version.h b/include/odp/arch/arm32-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/arm32-linux/odp/api/abi/version.h +++ b/include/odp/arch/arm32-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/atomic.h b/include/odp/arch/arm64-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/barrier.h b/include/odp/arch/arm64-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/buffer.h b/include/odp/arch/arm64-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h b/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/classification.h b/include/odp/arch/arm64-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/classification.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h b/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/crypto.h b/include/odp/arch/arm64-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/event.h b/include/odp/arch/arm64-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/event.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/init.h b/include/odp/arch/arm64-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/init.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h b/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/packet.h b/include/odp/arch/arm64-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/packet.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h b/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/pool.h b/include/odp/arch/arm64-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/pool.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/queue.h b/include/odp/arch/arm64-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/queue.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h b/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/schedule.h b/include/odp/arch/arm64-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/shared_memory.h b/include/odp/arch/arm64-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h b/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h b/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/std_types.h b/include/odp/arch/arm64-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/sync.h b/include/odp/arch/arm64-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/sync.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/thread.h b/include/odp/arch/arm64-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/thread.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h b/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/time.h b/include/odp/arch/arm64-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/time.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/timer.h b/include/odp/arch/arm64-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/timer.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/arm64-linux/odp/api/abi/version.h b/include/odp/arch/arm64-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/arm64-linux/odp/api/abi/version.h +++ b/include/odp/arch/arm64-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/atomic.h b/include/odp/arch/mips64-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/barrier.h b/include/odp/arch/mips64-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/buffer.h b/include/odp/arch/mips64-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h b/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/classification.h b/include/odp/arch/mips64-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/classification.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h b/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/crypto.h b/include/odp/arch/mips64-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/event.h b/include/odp/arch/mips64-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/event.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/init.h b/include/odp/arch/mips64-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/init.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h b/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/packet.h b/include/odp/arch/mips64-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/packet.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h b/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/pool.h b/include/odp/arch/mips64-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/pool.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/queue.h b/include/odp/arch/mips64-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/queue.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h b/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/schedule.h b/include/odp/arch/mips64-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/shared_memory.h b/include/odp/arch/mips64-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h b/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h b/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/std_types.h b/include/odp/arch/mips64-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/sync.h b/include/odp/arch/mips64-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/sync.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/thread.h b/include/odp/arch/mips64-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/thread.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h b/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/time.h b/include/odp/arch/mips64-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/time.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/timer.h b/include/odp/arch/mips64-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/timer.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/mips64-linux/odp/api/abi/version.h b/include/odp/arch/mips64-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/mips64-linux/odp/api/abi/version.h +++ b/include/odp/arch/mips64-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/atomic.h b/include/odp/arch/power64-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/power64-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/barrier.h b/include/odp/arch/power64-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/power64-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/buffer.h b/include/odp/arch/power64-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/power64-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/byteorder.h b/include/odp/arch/power64-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/power64-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/classification.h b/include/odp/arch/power64-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/classification.h +++ b/include/odp/arch/power64-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/cpumask.h b/include/odp/arch/power64-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/power64-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/crypto.h b/include/odp/arch/power64-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/power64-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/event.h b/include/odp/arch/power64-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/event.h +++ b/include/odp/arch/power64-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/init.h b/include/odp/arch/power64-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/init.h +++ b/include/odp/arch/power64-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/ipsec.h b/include/odp/arch/power64-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/power64-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/packet.h b/include/odp/arch/power64-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/packet.h +++ b/include/odp/arch/power64-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/power64-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/packet_io.h b/include/odp/arch/power64-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/power64-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/pool.h b/include/odp/arch/power64-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/pool.h +++ b/include/odp/arch/power64-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/queue.h b/include/odp/arch/power64-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/queue.h +++ b/include/odp/arch/power64-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/rwlock.h b/include/odp/arch/power64-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/power64-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/power64-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/schedule.h b/include/odp/arch/power64-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/power64-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/power64-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/shared_memory.h b/include/odp/arch/power64-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/power64-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/spinlock.h b/include/odp/arch/power64-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/power64-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/power64-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/std_clib.h b/include/odp/arch/power64-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/power64-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/std_types.h b/include/odp/arch/power64-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/power64-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/sync.h b/include/odp/arch/power64-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/sync.h +++ b/include/odp/arch/power64-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/thread.h b/include/odp/arch/power64-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/thread.h +++ b/include/odp/arch/power64-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/thrmask.h b/include/odp/arch/power64-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/power64-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/power64-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/time.h b/include/odp/arch/power64-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/time.h +++ b/include/odp/arch/power64-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/timer.h b/include/odp/arch/power64-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/timer.h +++ b/include/odp/arch/power64-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/power64-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/power64-linux/odp/api/abi/version.h b/include/odp/arch/power64-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/version.h +++ b/include/odp/arch/power64-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h b/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h b/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/buffer.h b/include/odp/arch/x86_32-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h b/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/classification.h b/include/odp/arch/x86_32-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/classification.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h b/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/crypto.h b/include/odp/arch/x86_32-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/event.h b/include/odp/arch/x86_32-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/event.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/init.h b/include/odp/arch/x86_32-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/init.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h b/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/packet.h b/include/odp/arch/x86_32-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/packet.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h b/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h b/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/pool.h b/include/odp/arch/x86_32-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/pool.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/queue.h b/include/odp/arch/x86_32-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/queue.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h b/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h b/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/shared_memory.h b/include/odp/arch/x86_32-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h b/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h b/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/sync.h b/include/odp/arch/x86_32-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/sync.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/thread.h b/include/odp/arch/x86_32-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/thread.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h b/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h b/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/time.h b/include/odp/arch/x86_32-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/time.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/timer.h b/include/odp/arch/x86_32-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/timer.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_32-linux/odp/api/abi/version.h b/include/odp/arch/x86_32-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/x86_32-linux/odp/api/abi/version.h +++ b/include/odp/arch/x86_32-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h b/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h index 523c614ae2cc..8848ad19f9ba 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/atomic.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h b/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h index 11c3450103ba..9d6c256eb68e 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/barrier.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/buffer.h b/include/odp/arch/x86_64-linux/odp/api/abi/buffer.h index d9c31930dd3f..68a678964f4b 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/buffer.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/buffer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h b/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h index c76073317844..2fd53414ce01 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/byteorder.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/classification.h b/include/odp/arch/x86_64-linux/odp/api/abi/classification.h index d48a4733f0c7..5a0cac98f790 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/classification.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/classification.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h b/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h index 56266f8b3a31..d991896d8eea 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/cpumask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/crypto.h b/include/odp/arch/x86_64-linux/odp/api/abi/crypto.h index 9a9d2dc1bf8a..d33a777bd345 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/crypto.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/crypto.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/event.h b/include/odp/arch/x86_64-linux/odp/api/abi/event.h index 5d2ac75e7cb0..cbbf47f1286c 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/event.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/event.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/init.h b/include/odp/arch/x86_64-linux/odp/api/abi/init.h index 86b4852d9902..81eafefe3070 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/init.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/init.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h b/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h index e392c8ac0bc2..b6747d29ed3e 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/ipsec.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/packet.h b/include/odp/arch/x86_64-linux/odp/api/abi/packet.h index f44cb53653b3..ca28eed2adcc 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/packet.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/packet.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h b/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h index 08f954aae1ed..a60c8bd07307 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/packet_flags.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h b/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h index e80c1452b568..79b49262a98a 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/packet_io.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/pool.h b/include/odp/arch/x86_64-linux/odp/api/abi/pool.h index b354afbf7282..b59365eb5531 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/pool.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/pool.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/queue.h b/include/odp/arch/x86_64-linux/odp/api/abi/queue.h index 6027cee2f8ff..66e2a3415e0b 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/queue.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/queue.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h index 61faaf76b445..cba0743e74be 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h index ccfdf14aad8b..841710d3c821 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/rwlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h b/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h index 82148ca978d5..18427744fc84 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/schedule.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h b/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h index 1b4f2b316320..b3ea96b5a1d1 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/schedule_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/shared_memory.h b/include/odp/arch/x86_64-linux/odp/api/abi/shared_memory.h index d203678597e8..e80c4f320f83 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/shared_memory.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/shared_memory.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h index 2e863b014f90..4894095bb08a 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h index e90219d901c4..a7a49bd4d1c9 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/spinlock_recursive.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h b/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h index bda9fd3078fb..72898878a9fe 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/std_clib.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h b/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h index 44fc6f5ae20e..91130000a7f3 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/std_types.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/sync.h b/include/odp/arch/x86_64-linux/odp/api/abi/sync.h index 2fd45b629040..8e5f813211c0 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/sync.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/sync.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/thread.h b/include/odp/arch/x86_64-linux/odp/api/abi/thread.h index 69023d36bb4a..dc29a7dac301 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/thread.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/thread.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h b/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h index 523999dcc087..0c1dc0ce59ad 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/thrmask.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h b/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h index 160b5e156c9b..0065ce02821c 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/ticketlock.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/time.h b/include/odp/arch/x86_64-linux/odp/api/abi/time.h index d4d734033c61..2672d7892624 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/time.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/time.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/timer.h b/include/odp/arch/x86_64-linux/odp/api/abi/timer.h index fea797339150..e52a3e12968b 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/timer.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/timer.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h index 41d297bce42f..4245cbf7068b 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include diff --git a/include/odp/arch/x86_64-linux/odp/api/abi/version.h b/include/odp/arch/x86_64-linux/odp/api/abi/version.h index 1cdd175edb9a..b36d53958931 100644 --- a/include/odp/arch/x86_64-linux/odp/api/abi/version.h +++ b/include/odp/arch/x86_64-linux/odp/api/abi/version.h @@ -4,4 +4,4 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include From patchwork Fri Oct 27 12:49:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117328 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp741086qgn; Fri, 27 Oct 2017 05:59:56 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T2Xeh5Ih44ojhUCvEeKd48Rvbfn+VOn3T463crsUGhAcBS6DvXYKWf57oOKm2S3PuQ4FPG X-Received: by 10.55.41.139 with SMTP id p11mr554917qkp.251.1509109196291; Fri, 27 Oct 2017 05:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109196; cv=none; d=google.com; s=arc-20160816; b=wuVZsIzPGs7OZN8sCz9p82Ang/n18mRJtJjO0kUIC8VScd/KWRRCBXrVnEB3PW8N1n R1DgW+SKf3qbCGKGd6zBL/qAZrd22NRYef/0R6xiFW7KOumDZLBkjuYy/5/nXlnhU1RR uwtHXQBpl4xpMGYvgWxmIVa4ThvFb0n4jljKfs4WAyaIUEy/+qNyAzLApkiAVKv5yJ6f BvSHQCuaxFj6gJm3Ub1m+U5yRC9QG5T6Xf1/+tQKYljzVNoCjbvNoy/hdKCy7G03+YzD jK7OFm+5HM87XhHQR4S+CfBxDH7UyYnXJREKUDdOd0RnTcYz9uu4c7yyjMITgOA1S/L9 018g== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=skJZWsDJ7NoPZqdxhCC9u3PuQvdTmIXVx55cJd27KXQ=; b=Rb4A5F1FYkQa9rpJhzDKn7AtsI5n9wddHvnX6J9cCCGBjLvdIoQWV+YGEZh8MzUNU2 aXqA/q7F8J/A+bYgUmYLxeR3sSSXEnFF+nOumySaORdWde6oyC2lD0EQ/BTkjsAKFH16 nmjv4+pjNbrmcGoB172u2JG+ZFrKrfS+OlrbcW2YW5BBx+BvD+EcKPwSChOsVPzaBJwO MWhXvx9H8BDn9sUwe2NyI0Wk2pu6OOTx6AESdyHys+C/Z7KWqjEh9IL7Nxq+mX5Slhna ed1ElBpSrQODu49nfBJCdz2nU2xV2e94EJ1zenqS+5VW4NM4CC6q9c3FIXkqA5n2HUE+ zrrg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 e9si1742629qta.294.2017.10.27.05.59.56; Fri, 27 Oct 2017 05:59:56 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id F322162875; Fri, 27 Oct 2017 12:59:55 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 5CBD0609C9; Fri, 27 Oct 2017 12:51:35 +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 B89046297F; Fri, 27 Oct 2017 12:51:31 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 521A5608C5 for ; Fri, 27 Oct 2017 12:50:32 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id 75so7316852lfx.1 for ; Fri, 27 Oct 2017 05:50:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=skJZWsDJ7NoPZqdxhCC9u3PuQvdTmIXVx55cJd27KXQ=; b=DhLHDE2V5YnHM7KtLEvcQgMg/+I5x6y10j/VHYetVJTLFiiUD6iH0Xf2hUncwBk6NG NwI1t+L901BfnWE1ioX74Py/DvlwbGan9vc64rSJjCL1O+HDGS+ADfsb576cMWodRH2r hh+ZtmZfMGFJRWhdYULgx4rStMxs420PpQ3OOz8i45qDN+OJcnudWCW1yMTpMkyFddnl 0MMv8+OiSONvCpIWHO0KZOIwpDVI28Ouc7PegDp2oJNJ816wd7PbVQW2WTwc6AscL8K9 EM/8JNZ2erG2wCrzMnK/5kGJl2HxoI3uIimsIrTwDWZ1m+fqnfhEIf9TMCgeJzmFjASq xbVA== X-Gm-Message-State: AMCzsaW50O0tYxYUV8+sIYBGT50rKuV52b5/4nQZcU4HMuF2IEnYvIpz D1QuogxNCR0iS1afM97BoVgK4cPphTNR1w== X-Received: by 10.46.99.7 with SMTP id x7mr182200ljb.55.1509108631044; Fri, 27 Oct 2017 05:50:31 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:30 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:53 +0300 Message-Id: <20171027125014.27313-10-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 09/30] include: install ABI headers without additional ARCH_ABI level 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" Install ABI headers directly to odp/api/abi, removing the need for extra symlink. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 5328133dd4e4..d841e65b8795 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -110,7 +110,7 @@ odpapiabidefaultinclude_HEADERS = \ odp/api/abi-default/queue.h \ odp/api/abi-default/shared_memory.h -odpapiabiarchincludedir= $(includedir)/odp/arch/@ARCH_ABI@/odp/api/abi +odpapiabiarchincludedir= $(includedir)/odp/api/abi if ARCH_IS_ARM odpapiabiarchinclude_HEADERS = \ odp/arch/arm32-linux/odp/api/abi/atomic.h \ @@ -322,16 +322,6 @@ odpapiabiarchinclude_HEADERS = \ odp/arch/x86_64-linux/odp/api/abi/version.h endif -# Create symlink for ABI header files. Application does not need to use the arch -# specific include path for installed files. -install-data-hook: - if [ -h $(DESTDIR)$(prefix)/include/odp/api/abi ]; then \ - : ; \ - else \ - $(LN_S) -rf $(DESTDIR)$(prefix)/include/odp/arch/@ARCH_ABI@/odp/api/abi \ - $(DESTDIR)$(prefix)/include/odp/api/abi; \ - fi - # Rerefence all nodist_*_HEADERS here .PHONY: $(nodist_odpapispecinclude_HEADERS) $(nodist_odpapispecinclude_HEADERS): From patchwork Fri Oct 27 12:49:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117329 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp742182qgn; Fri, 27 Oct 2017 06:00:51 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qkt44UUs1KxtS4WlxqMWhNrg9P/6gh5a3j7FFuZibXtfTeMpGs8CdCixWvExr9gfDm6s+u X-Received: by 10.107.47.11 with SMTP id j11mr438997ioo.225.1509109251046; Fri, 27 Oct 2017 06:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109251; cv=none; d=google.com; s=arc-20160816; b=G/y6EJZscESJNuV9aIt2JkrI9jwsqXMsTeio5yad30Zr3IbFWNwAJCoDQZXqYZNgDa ct2hvvu+ffJS65QRIpVnAImEqi1ggYpAcf5YGE/CMAsYqkZteKMJj2KO0nFerfPrWsv+ hIBjrV/egfFMhaYUm5tor/yIuCXBCJOw97q42HCYj9dhiR+wvbVeziZf+1oms4iQHEpq ehuXoX1hTYCtHkA0tzS+35k/7PViNFP8mEkoX0e8Rh8rtcxxlRRt7hgasRkBIRIH7yaF 4SSGS4HJ4nnjzUto0d+btzdPqHjy+yyZ61iuDGsy9pum/YrGheUyFde9jH5xjbzBDj8+ u36Q== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=wqBBBrZy+g5/JuGTIoyeRl+RLlz4YG+AOYpxxp0bvF8=; b=vF5vMEmxIAEXEkfIcnNiN07r55zHyyu6vqKQRrNh6xl+aoOs7uAeN/pDhKIuo6+JDv I5FCn/xmkwkX7AEVt8bC7jKh3FyoVAwmkDafZRK6AP0/J6Vs9So/KUN+ifAJTvr6/AiP 4C45cKWPXblKoivlcuM8UnYRXjiE3vRMtlZKYNoTL6IlpIP1Xx+XuwmpnzIqMTsrClf2 cYLCzdSldIkDfOPgwR60inf2Hw8gdtqMWf0yis2aqmONZXIwVjwYGNqscksJ0yvyHPC6 TKS1nklxc9BoMkYJfdI8VWV9YsiBTjHCNwpARdGM+S/6BUCZdTSQkNh3y5WiBjM1DsXs VwMQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 u7si1263719itd.45.2017.10.27.06.00.50; Fri, 27 Oct 2017 06:00:51 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9AF1162956; Fri, 27 Oct 2017 13:00:50 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 B8D686297E; Fri, 27 Oct 2017 12:51:51 +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 142CC62980; Fri, 27 Oct 2017 12:51:44 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id A95D86294D for ; Fri, 27 Oct 2017 12:50:33 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id 90so7286362lfs.13 for ; Fri, 27 Oct 2017 05:50:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=wqBBBrZy+g5/JuGTIoyeRl+RLlz4YG+AOYpxxp0bvF8=; b=LHybB3rA1iEvMx4LPTrFztreYaIATgmugi02Y159uFPMkxdO9J4xqwwWr9ayhfwfAt Djm+AUe0HnDy8VMCY278FSQFTk2RVReC76z5ze0CPtNeGNhEYKWORHEkiK9WxxWvcK6c lXIAeIbRCLzmv6boIjTUET56tCcUFzt61nhLixBTfO69pPmJMeoryGvZuy3bDxKXu7O6 5LBcqc984iA77hP7IPGYVOOdmifrwe5fn2EFUp3Tu0w287Xx1hfGxSzxJKoXF49mixVN 4C071maaTnbOTwrOUjjaLx5dmi+iWo/qdX5SRAnt2aPVzAIklmvyV72tQ2Vag1vSo0f8 2UsA== X-Gm-Message-State: AMCzsaWgfX1S9yYFD9mL40KKUB3WrZrwB1uv9o/2ZRs7dfAoavxBfHlv mYJm0JM0nP65QVbc1r8XpI9EACZnfLNouQ== X-Received: by 10.46.93.201 with SMTP id v70mr176315lje.8.1509108632304; Fri, 27 Oct 2017 05:50:32 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:31 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:54 +0300 Message-Id: <20171027125014.27313-11-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 10/30] include: install and use ABI headers only in ABI-compat mode 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" There is no need to install ABI headers (or to have them in include path) in non-ABI-compat mode, they should not be used at all. Still provide default ABI headers, because platform may depend on them. Signed-off-by: Dmitry Eremin-Solenikov --- Makefile.inc | 6 +++++- include/Makefile.am | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.14.2 diff --git a/Makefile.inc b/Makefile.inc index 10e4041fe662..11fc7c759c85 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -3,9 +3,13 @@ ODP_INCLUDES = \ -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include \ - -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \ -I$(top_srcdir)/include +if ODP_ABI_COMPAT +ODP_INCLUDES += \ + -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ +endif + HELPER_INCLUDES = \ -I$(top_srcdir)/helper/include diff --git a/include/Makefile.am b/include/Makefile.am index d841e65b8795..9437f5f68d5a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -110,6 +110,9 @@ odpapiabidefaultinclude_HEADERS = \ odp/api/abi-default/queue.h \ odp/api/abi-default/shared_memory.h +# Insall ABI headers only if required +if ODP_ABI_COMPAT + odpapiabiarchincludedir= $(includedir)/odp/api/abi if ARCH_IS_ARM odpapiabiarchinclude_HEADERS = \ @@ -321,6 +324,7 @@ odpapiabiarchinclude_HEADERS = \ odp/arch/x86_64-linux/odp/api/abi/traffic_mngr.h \ odp/arch/x86_64-linux/odp/api/abi/version.h endif +endif # ODP_ABI_COMPAT # Rerefence all nodist_*_HEADERS here .PHONY: $(nodist_odpapispecinclude_HEADERS) From patchwork Fri Oct 27 12:49:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117330 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp743593qgn; Fri, 27 Oct 2017 06:01:45 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QK+aVr4cZoYGqQe0UWyBCvIKXpLM2XXsOj37ourTXuVF04gdBkJ4G2dLxNZ8L5Ndg9Jm3c X-Received: by 10.107.18.74 with SMTP id a71mr532293ioj.58.1509109305369; Fri, 27 Oct 2017 06:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109305; cv=none; d=google.com; s=arc-20160816; b=IEkHZ1r8N9qCo2Y1iIu+0isZIhp6BM0W9aidb1XumQgV85eR9Vf5NlRD1tGFq++tTQ 1EN+99XRoxTpib5+KmoZugS+vJ/Ecn52KvzJOsUjvI2gOOHyojkv3zQrfb+iq7hNwkw4 l9D+nf1jn9L50xqIsxLbVuh/uIsMyGUuoHHTLuu3Q1zA+SH6d8p2U4+t0EpN+rNzgOb1 2AcsIJA77yyksm2PZGB6bTX0QyLmbbHb5aHQXDjxYq3u71frA/hNueRXbMJxq34l6Mqk jj+N1V4nKgGZHGkdxEYzHp47UAmh31gfmBAwLwcIyduz5CgM7PyD5Fp8MmTnb5HHX2it /RTg== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=EO3YiS8fdyQs+EhVem3u4LtikZ+TBjBZVVwAnN+zCC0=; b=vdxf5Rfg/GyJpC/xd35PjHFHBqcJQLg9JgHXLqkPCjw4zo+8N2uDOVp8jrfZ2p6uLq p8u4YvHgoITenwQM8INjyFM5mL39SDyNNIGccm03aPxOh4/rSoBnUjEi75NXJtURrLof cfMO+6ruv52rshpDI+GMLWYDE2KCIt17iA9pS8AWZ+m7Uief9W6pyZLFx9UqturVPrNS z/bct2jetBhwzadbeWnmOtTQOXnjrgtd+4R+S6AxYsv48sCfdUfSV8GTMis7t1ItWWKD EIZOByDgI+t+r74c+Zm1r4eXRpWVskpXlwSSChtIMe/bBdzm8JeHBMHkS/3QyTvCUgHS 2SYA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 72si1229093itg.141.2017.10.27.06.01.43; Fri, 27 Oct 2017 06:01:45 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B849E62978; Fri, 27 Oct 2017 13:01:43 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 22EAF62983; Fri, 27 Oct 2017 12:51:55 +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 5F8106297F; Fri, 27 Oct 2017 12:51:48 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id A4BA961CBC for ; Fri, 27 Oct 2017 12:50:34 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id b190so7301322lfg.9 for ; Fri, 27 Oct 2017 05:50:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=EO3YiS8fdyQs+EhVem3u4LtikZ+TBjBZVVwAnN+zCC0=; b=W3/SasS9H9nyDmlyKr2jpqxxjpLTjiMzMmv85s9SdzHn3iciaoKi4gQXuCgBqth0Ah 6xzmwgocGG10r5klHF7XLXISOB7myClDMtyHRd+CJ6vRhT4dwLDnEbMJWi0xieGMhYxz 5wFEQZMZJv6TfxwMoXQkWgHMT5r51X4tec8gYgm32Eo08c5jUPEq59cm6kEugNbvaRPR PMrrYu3Awiug4y0eGqVRqGPSCj/q7DpJZeGqHcNPXrj3yGs+WpuNJMpNbSJA+wUu7gY/ JrVPVYShpJCRdfd+NCjt6ZFYEIvHjhS8bCkSO6xYCbrLIuDK9qVyoQ4LcruxwwyhJSpg J4uA== X-Gm-Message-State: AMCzsaXjIe+krKl90LzTGP8AmD7xylDOBVFN6oJV/2flCSRivzzuXa0e VAFY7RmL0pb+7Q6KCZKVwrPBI+7JLOsVmw== X-Received: by 10.46.89.92 with SMTP id n89mr160707ljb.57.1509108633364; Fri, 27 Oct 2017 05:50:33 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:32 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:55 +0300 Message-Id: <20171027125014.27313-12-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 11/30] abi: queue: drop unused odp_queue_group_t 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/queue.h | 5 ----- platform/linux-generic/include/odp/api/queue.h | 12 ------------ 2 files changed, 17 deletions(-) -- 2.14.2 diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 73598be06d93..3cd99a9f3035 100644 --- a/include/odp/api/spec/queue.h +++ b/include/odp/api/spec/queue.h @@ -32,11 +32,6 @@ extern "C" { * ODP queue */ -/** - * @typedef odp_queue_group_t - * Queue group instance type - */ - /** * @def ODP_QUEUE_INVALID * Invalid queue diff --git a/platform/linux-generic/include/odp/api/queue.h b/platform/linux-generic/include/odp/api/queue.h index adceafbd1c3b..f958ff5140c8 100644 --- a/platform/linux-generic/include/odp/api/queue.h +++ b/platform/linux-generic/include/odp/api/queue.h @@ -23,18 +23,6 @@ extern "C" { #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 From patchwork Fri Oct 27 12:49:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117331 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp744914qgn; Fri, 27 Oct 2017 06:02:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RP/M8VvqkI/0lANwqvn3w5rL21fS00nOgyngsAJXxmeDgkMGosM1wQlxcNELXoRFElhkug X-Received: by 10.36.249.4 with SMTP id l4mr519331ith.20.1509109359382; Fri, 27 Oct 2017 06:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109359; cv=none; d=google.com; s=arc-20160816; b=S2EfCwQNlYeSw3+wJgTxdbTwWEkU8Q3J1tF7jxXG1+tkE5Jh93ZKgk4YUgJR0XhVdh 428K6GNVYB9wbUlRIgeNMRtRtCETZY+nLGdxKPtlAesbtaTUCOUw1YQbA+RuQlbURwfN t1wBywMZdYwImn8N3OVLbwnSEesbGAn701j4ivZ6pVof/TdbQnY+8pitr25Bpo3vvDCL aA3cDZVIZb4B0APOHCS8x8D2ZxK2KVASdoJXmKf3kLrk77GE3q+ITRTkeuHqctrM3bPE x0rbqktz8CqWvGDN0yKu3aDffPAP/RS6iS9FxgjJOdaDIxLPfHvGwWAPjNRdPul2evac uEpA== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=8C0NOdD8F4Dv9ahRhDeJDQuTf+MQALONFgMAt0eaDv8=; b=o4PCd6vzUZ8cc4Elh/MS5xV2924oK4nMqFImlxmt/HbFnpReu9fCr/9tici5Ybk+yb 7MbPnMo1cbX3tggSQtyytvA0uPKRJrauPR6pSF/KEc9cZGQ/GdrR4WANVwsgJepdLPGk MCC0U6jZNM+v6cCw/6MA/yfT28+0mhlMFMR1yBDVd6OWGoJfg3URyfG3zWPkQCHHJz/Y Fj50N7vLkinfNaxguepVevdCxGMQdc0O+ovJdcARxmDwOT283mdkSPW+ZY1KnVhps+r/ d8MAlzc45QHMEoaS2rmWDTb0QKpUlcX5P2JZChl/8vBlpAY70QWOAWAN59F+kyeK06ZX n7tw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 i125si1231905itg.149.2017.10.27.06.02.39; Fri, 27 Oct 2017 06:02:39 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D9A4A6297B; Fri, 27 Oct 2017 13:02:38 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 7B55662987; Fri, 27 Oct 2017 12:51:57 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3770B62981; Fri, 27 Oct 2017 12:51:53 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 9F00E60973 for ; Fri, 27 Oct 2017 12:50:35 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a69so7306901lfe.5 for ; Fri, 27 Oct 2017 05:50:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=8C0NOdD8F4Dv9ahRhDeJDQuTf+MQALONFgMAt0eaDv8=; b=j94pV4/a5sS1ZV7w9PpPlNgcGmzOxCYzU+NIuzG6uzXCDMKMoy6/6VRsMoaaY/0Xr0 H/ywHtL3zlm0iPYeenN7w1cAkPARyEHxhHnlm/NjBZe+fkZSnhwNQwyjQX1KkNQ5cLDQ glm4448eGsa12g7G0xaaAgcrQmUcatyo5ZygrsFKvuRpalq+iRTH9tFmFixGLoBbN3Pm G/CnMneu1ub8tP6W6GJQWAQ5tK38isSnt3VqH2ZtWhXO2wJio5pZIpv7whYXvGoii7KW LTtCF77MqoGDq4sCGbPDbeOmO3wRBljeHUGpz2J3Sv4p5LFUJ/9WI1imoTYkorwt3pQm wXLA== X-Gm-Message-State: AMCzsaUhXKJW49o3Kliko4zNW6265RLYpLUsoTa95fBz05YrwsbBpLKo C9gPm939HWk15Gk7gbv2jnfVD8A2a3quew== X-Received: by 10.46.15.2 with SMTP id 2mr173786ljp.30.1509108634310; Fri, 27 Oct 2017 05:50:34 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:33 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:56 +0300 Message-Id: <20171027125014.27313-13-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 12/30] abi: classification: drop two unused types 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/classification.h | 11 ----------- platform/linux-generic/include/odp/api/classification.h | 13 ------------- 2 files changed, 24 deletions(-) -- 2.14.2 diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index 0c4a95c5f6e7..d0d51d1fb2b8 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -30,11 +30,6 @@ extern "C" { * ODP Class of service handle */ -/** - * @typedef odp_flowsig_t - * flow signature type, only used for packet metadata field. - */ - /** * @def ODP_COS_INVALID * This value is returned from odp_cls_cos_create() on failure, @@ -389,12 +384,6 @@ int odp_cos_with_l3_qos(odp_pktio_t pktio_in, odp_bool_t l3_preference); -/** - * @typedef odp_cos_flow_set_t - * Set of header fields that take part in flow signature hash calculation: - * bit positions per odp_cos_hdr_flow_fields_t enumeration. - */ - /** * @typedef odp_pmr_t * PMR - Packet Matching Rule diff --git a/platform/linux-generic/include/odp/api/classification.h b/platform/linux-generic/include/odp/api/classification.h index 2ba6eb0eb6b0..377d1a02f7e8 100644 --- a/platform/linux-generic/include/odp/api/classification.h +++ b/platform/linux-generic/include/odp/api/classification.h @@ -24,19 +24,6 @@ extern "C" { #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 From patchwork Fri Oct 27 12:49:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117332 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp747486qgn; Fri, 27 Oct 2017 06:04:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R0akz8EE1eK42a5Cz/59VY8rLqnJS6b8nwH2z5quL1c9Kkg7KSfPNxlvixp4q0aGLgWYFz X-Received: by 10.55.105.130 with SMTP id e124mr610527qkc.314.1509109466652; Fri, 27 Oct 2017 06:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509109466; cv=none; d=google.com; s=arc-20160816; b=CHiU0SArr8xj91+JxnWjDQauFhnJ9piC/Z5Mfkw5e2gZzQjI8V57BW/44q51CMQsVN 0qF0zaYv6NH2m5MqlMxE3B4S8lvNk/ulKL/s0elbNfLM97C8/83LpTzrjzHnBNJp7B91 ozm2crjkppZ2foVcOSCoC8kB+EzWoaqRsQRWE5qU2o5dSCX6Nr0pORB5MrXTzCUKY1cO K9mPEGbjHUn9yvglAaEtkGZ0t3PgycAVTaRZtJCJeCi12VP4TK6j3wwl9EFgWN8uMlOW v1oPsnRmu4ETfz/186080gFnb7QeHL21Dc0S76T8ckq1KuQjo9DFGrft4sIX6aUqjgKv C13g== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=yVQi1DaY1lsK9yrwV92uFslRWPaCpzHDnghu0mTOPr0=; b=07FysOP9Cknahbwca0BlQDHyokXeAQV1uPK7IKee29ANKgDoKYMOarVZz/FuAntL0d woBnpWniSKg98ER+xKxgPFEYawWBsc8u+vfD6S0tkfXqs7rqyfEQ2Oa6VEjT5CDgQNIu vtTBMv5JweMK6luuLzbxsyjfMl12WANuSoE9Bm8Ley/TVkm+dsOX9qjCkelR3spWOsdP AE6XOlF30Dv/XyRIfOYVQxJubm8CIgPzUU0g+K7ZEQBd0WB90KEgq2oAgb6n3CNldrII amVRWWHoVxRI0/bYqIVCQmgLtt8BHlloWW2nXiELGxzqkrCqTA9KJLqJNsz8tXupxPBc Zg+g== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 z190si2393233qkd.72.2017.10.27.06.04.26; Fri, 27 Oct 2017 06:04:26 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2F92A6297B; Fri, 27 Oct 2017 13:04:26 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 3AE8D61613; Fri, 27 Oct 2017 12:52:17 +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 8B847618C8; Fri, 27 Oct 2017 12:52:09 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 6B052618C8 for ; Fri, 27 Oct 2017 12:50:37 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id a16so7330076lfk.0 for ; Fri, 27 Oct 2017 05:50:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=yVQi1DaY1lsK9yrwV92uFslRWPaCpzHDnghu0mTOPr0=; b=FpHyRwM4wqyjfNhEQA6zjECgnFX23Ox29txhsmBkDA7Vo4lO8irInodETkIR4niUWN 4FFomTWQKQkuvDG6BHZleDPcgAWlV3RpAfnv6t+XCa46mTgNjve8UXqjFI13Rx9TDVtn AWG4OhAgXWDQK5AtWZpnEHisuF148bjv3/J5C+JadDl+3tPSyfcpcF4NwGphwp1IDx78 4R5rmVNDDr4cQZpADN4Y7IsQB7reeogfHlBGm1bLxuqvRQRjUYntkfxXQ45kvZmgKaNZ KjlVYixNJ1VvKaezyhFSQkYp2IaFgxDcWVRj7ntjo87Rb8jqxZ87zbrNAXJocRdKNrYs H55Q== X-Gm-Message-State: AMCzsaWL0VCSMakWpjBNceKCv/xC5glwpY3G+sAUiu2pANaL6HKKFf3F tkW8Y4BcZ6CnhjMFOnQ6mEoiLrX94Dr52g== X-Received: by 10.46.80.88 with SMTP id v24mr163871ljd.93.1509108635697; Fri, 27 Oct 2017 05:50:35 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:34 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:57 +0300 Message-Id: <20171027125014.27313-14-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 13/30] include: change spec guarding define from ODP_API to ODP_API_SPEC 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" Change defines guarding inclusion of ODP API spec files from ODP_API_FOO to ODP_API_SPEC_FOO, as they are placed in odp/api/spec/foo.h path. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/align.h | 4 ++-- include/odp/api/spec/atomic.h | 4 ++-- include/odp/api/spec/barrier.h | 4 ++-- include/odp/api/spec/buffer.h | 4 ++-- include/odp/api/spec/byteorder.h | 4 ++-- include/odp/api/spec/chksum.h | 4 ++-- include/odp/api/spec/classification.h | 4 ++-- include/odp/api/spec/compiler.h | 4 ++-- include/odp/api/spec/cpu.h | 4 ++-- include/odp/api/spec/cpumask.h | 4 ++-- include/odp/api/spec/crypto.h | 4 ++-- include/odp/api/spec/debug.h | 4 ++-- include/odp/api/spec/deprecated.h.in | 4 ++-- include/odp/api/spec/errno.h | 4 ++-- include/odp/api/spec/event.h | 4 ++-- include/odp/api/spec/feature.h | 4 ++-- include/odp/api/spec/hash.h | 4 ++-- include/odp/api/spec/hints.h | 4 ++-- include/odp/api/spec/init.h | 4 ++-- include/odp/api/spec/ipsec.h | 4 ++-- include/odp/api/spec/packet.h | 4 ++-- include/odp/api/spec/packet_flags.h | 4 ++-- include/odp/api/spec/packet_io.h | 4 ++-- include/odp/api/spec/packet_io_stats.h | 4 ++-- include/odp/api/spec/pool.h | 4 ++-- include/odp/api/spec/queue.h | 4 ++-- include/odp/api/spec/random.h | 4 ++-- include/odp/api/spec/rwlock.h | 4 ++-- include/odp/api/spec/rwlock_recursive.h | 4 ++-- include/odp/api/spec/schedule.h | 4 ++-- include/odp/api/spec/schedule_types.h | 4 ++-- include/odp/api/spec/shared_memory.h | 4 ++-- include/odp/api/spec/spinlock.h | 4 ++-- include/odp/api/spec/spinlock_recursive.h | 4 ++-- include/odp/api/spec/std_clib.h | 4 ++-- include/odp/api/spec/std_types.h | 4 ++-- include/odp/api/spec/support.h | 4 ++-- include/odp/api/spec/sync.h | 4 ++-- include/odp/api/spec/system_info.h | 4 ++-- include/odp/api/spec/thread.h | 4 ++-- include/odp/api/spec/thrmask.h | 4 ++-- include/odp/api/spec/ticketlock.h | 4 ++-- include/odp/api/spec/time.h | 4 ++-- include/odp/api/spec/timer.h | 4 ++-- include/odp/api/spec/traffic_mngr.h | 4 ++-- include/odp/api/spec/version.h.in | 4 ++-- 46 files changed, 92 insertions(+), 92 deletions(-) -- 2.14.2 diff --git a/include/odp/api/spec/align.h b/include/odp/api/spec/align.h index fdf8c29e14e4..0a9db3488232 100644 --- a/include/odp/api/spec/align.h +++ b/include/odp/api/spec/align.h @@ -11,8 +11,8 @@ * ODP alignments */ -#ifndef ODP_API_ALIGN_H_ -#define ODP_API_ALIGN_H_ +#ifndef ODP_API_SPEC_ALIGN_H_ +#define ODP_API_SPEC_ALIGN_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/atomic.h b/include/odp/api/spec/atomic.h index 408829df299f..d828ea47da3b 100644 --- a/include/odp/api/spec/atomic.h +++ b/include/odp/api/spec/atomic.h @@ -10,8 +10,8 @@ * ODP atomic operations */ -#ifndef ODP_API_ATOMIC_H_ -#define ODP_API_ATOMIC_H_ +#ifndef ODP_API_SPEC_ATOMIC_H_ +#define ODP_API_SPEC_ATOMIC_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/barrier.h b/include/odp/api/spec/barrier.h index 6de683c73e0c..8351ef8864b7 100644 --- a/include/odp/api/spec/barrier.h +++ b/include/odp/api/spec/barrier.h @@ -10,8 +10,8 @@ * ODP execution barriers */ -#ifndef ODP_API_BARRIER_H_ -#define ODP_API_BARRIER_H_ +#ifndef ODP_API_SPEC_BARRIER_H_ +#define ODP_API_SPEC_BARRIER_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/buffer.h b/include/odp/api/spec/buffer.h index 94829b324dd9..b2f90f949864 100644 --- a/include/odp/api/spec/buffer.h +++ b/include/odp/api/spec/buffer.h @@ -11,8 +11,8 @@ * ODP buffer descriptor */ -#ifndef ODP_API_BUFFER_H_ -#define ODP_API_BUFFER_H_ +#ifndef ODP_API_SPEC_BUFFER_H_ +#define ODP_API_SPEC_BUFFER_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/byteorder.h b/include/odp/api/spec/byteorder.h index 38c0bdbf7a3d..814438d3f803 100644 --- a/include/odp/api/spec/byteorder.h +++ b/include/odp/api/spec/byteorder.h @@ -10,8 +10,8 @@ * ODP byteorder */ -#ifndef ODP_API_BYTEORDER_H_ -#define ODP_API_BYTEORDER_H_ +#ifndef ODP_API_SPEC_BYTEORDER_H_ +#define ODP_API_SPEC_BYTEORDER_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/chksum.h b/include/odp/api/spec/chksum.h index e523ac286528..8f35e253fe91 100644 --- a/include/odp/api/spec/chksum.h +++ b/include/odp/api/spec/chksum.h @@ -10,8 +10,8 @@ * ODP Hash functions */ -#ifndef ODP_API_CHKSUM_H_ -#define ODP_API_CHKSUM_H_ +#ifndef ODP_API_SPEC_CHKSUM_H_ +#define ODP_API_SPEC_CHKSUM_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index d0d51d1fb2b8..d395feae2102 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -10,8 +10,8 @@ * ODP classification descriptor */ -#ifndef ODP_API_CLASSIFY_H_ -#define ODP_API_CLASSIFY_H_ +#ifndef ODP_API_SPEC_CLASSIFY_H_ +#define ODP_API_SPEC_CLASSIFY_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/compiler.h b/include/odp/api/spec/compiler.h index c88350e2c17e..443607fbd22c 100644 --- a/include/odp/api/spec/compiler.h +++ b/include/odp/api/spec/compiler.h @@ -11,8 +11,8 @@ * Compiler related */ -#ifndef ODP_API_COMPILER_H_ -#define ODP_API_COMPILER_H_ +#ifndef ODP_API_SPEC_COMPILER_H_ +#define ODP_API_SPEC_COMPILER_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/cpu.h b/include/odp/api/spec/cpu.h index 0f47e4798116..04fbbe9006d2 100644 --- a/include/odp/api/spec/cpu.h +++ b/include/odp/api/spec/cpu.h @@ -11,8 +11,8 @@ * ODP CPU API */ -#ifndef ODP_CPU_H_ -#define ODP_CPU_H_ +#ifndef ODP_API_SPEC_CPU_H_ +#define ODP_API_SPEC_CPU_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/cpumask.h b/include/odp/api/spec/cpumask.h index 22d8e8f246f0..68a705d25262 100644 --- a/include/odp/api/spec/cpumask.h +++ b/include/odp/api/spec/cpumask.h @@ -11,8 +11,8 @@ * ODP CPU masks and enumeration */ -#ifndef ODP_API_CPUMASK_H_ -#define ODP_API_CPUMASK_H_ +#ifndef ODP_API_SPEC_CPUMASK_H_ +#define ODP_API_SPEC_CPUMASK_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 7dcb71264f8a..7720468ee0ce 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -11,8 +11,8 @@ * ODP crypto */ -#ifndef ODP_API_CRYPTO_H_ -#define ODP_API_CRYPTO_H_ +#ifndef ODP_API_SPEC_CRYPTO_H_ +#define ODP_API_SPEC_CRYPTO_H_ #include #include diff --git a/include/odp/api/spec/debug.h b/include/odp/api/spec/debug.h index b3b170f3e386..c2896a824b51 100644 --- a/include/odp/api/spec/debug.h +++ b/include/odp/api/spec/debug.h @@ -9,8 +9,8 @@ * ODP debug */ -#ifndef ODP_API_DEBUG_H_ -#define ODP_API_DEBUG_H_ +#ifndef ODP_API_SPEC_DEBUG_H_ +#define ODP_API_SPEC_DEBUG_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/deprecated.h.in b/include/odp/api/spec/deprecated.h.in index 224f60ff37ab..25520b9d8e21 100644 --- a/include/odp/api/spec/deprecated.h.in +++ b/include/odp/api/spec/deprecated.h.in @@ -10,8 +10,8 @@ * Macro for deprecated API definitions */ -#ifndef ODP_API_DEPRECATED_H_ -#define ODP_API_DEPRECATED_H_ +#ifndef ODP_API_SPEC_DEPRECATED_H_ +#define ODP_API_SPEC_DEPRECATED_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/errno.h b/include/odp/api/spec/errno.h index 9b60a98bafe2..ca74f7416a06 100644 --- a/include/odp/api/spec/errno.h +++ b/include/odp/api/spec/errno.h @@ -10,8 +10,8 @@ * ODP errno API */ -#ifndef ODP_ERRNO_H_ -#define ODP_ERRNO_H_ +#ifndef ODP_API_SPEC_ERRNO_H_ +#define ODP_API_SPEC_ERRNO_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/event.h b/include/odp/api/spec/event.h index f924973f0f91..0638f674ed37 100644 --- a/include/odp/api/spec/event.h +++ b/include/odp/api/spec/event.h @@ -11,8 +11,8 @@ * ODP event */ -#ifndef ODP_API_EVENT_H_ -#define ODP_API_EVENT_H_ +#ifndef ODP_API_SPEC_EVENT_H_ +#define ODP_API_SPEC_EVENT_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/feature.h b/include/odp/api/spec/feature.h index 0cfc141db906..b64b2c7d0fd8 100644 --- a/include/odp/api/spec/feature.h +++ b/include/odp/api/spec/feature.h @@ -12,8 +12,8 @@ * components. */ -#ifndef ODP_API_FEATURE_H_ -#define ODP_API_FEATURE_H_ +#ifndef ODP_API_SPEC_FEATURE_H_ +#define ODP_API_SPEC_FEATURE_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/hash.h b/include/odp/api/spec/hash.h index 66b740e2c133..e86b2c6d7ee0 100644 --- a/include/odp/api/spec/hash.h +++ b/include/odp/api/spec/hash.h @@ -10,8 +10,8 @@ * ODP Hash functions */ -#ifndef ODP_API_HASH_H_ -#define ODP_API_HASH_H_ +#ifndef ODP_API_SPEC_HASH_H_ +#define ODP_API_SPEC_HASH_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/hints.h b/include/odp/api/spec/hints.h index 7434c6a5c328..649957374cdb 100644 --- a/include/odp/api/spec/hints.h +++ b/include/odp/api/spec/hints.h @@ -11,8 +11,8 @@ * ODP compiler hints */ -#ifndef ODP_API_HINTS_H_ -#define ODP_API_HINTS_H_ +#ifndef ODP_API_SPEC_HINTS_H_ +#define ODP_API_SPEC_HINTS_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h index e8ec41136c3b..56c86740f9bc 100644 --- a/include/odp/api/spec/init.h +++ b/include/odp/api/spec/init.h @@ -19,8 +19,8 @@ * - odp_term_local() */ -#ifndef ODP_API_INIT_H_ -#define ODP_API_INIT_H_ +#ifndef ODP_API_SPEC_INIT_H_ +#define ODP_API_SPEC_INIT_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 26e852fca1d7..441c35c16454 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -10,8 +10,8 @@ * ODP IPSEC API */ -#ifndef ODP_API_IPSEC_H_ -#define ODP_API_IPSEC_H_ +#ifndef ODP_API_SPEC_IPSEC_H_ +#define ODP_API_SPEC_IPSEC_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index 62ecf70e1d0e..b665855529b4 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -11,8 +11,8 @@ * ODP packet descriptor */ -#ifndef ODP_API_PACKET_H_ -#define ODP_API_PACKET_H_ +#ifndef ODP_API_SPEC_PACKET_H_ +#define ODP_API_SPEC_PACKET_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/packet_flags.h b/include/odp/api/spec/packet_flags.h index 377b75ba0a55..8e86e5b58626 100644 --- a/include/odp/api/spec/packet_flags.h +++ b/include/odp/api/spec/packet_flags.h @@ -11,8 +11,8 @@ * ODP packet flags */ -#ifndef ODP_API_PACKET_FLAGS_H_ -#define ODP_API_PACKET_FLAGS_H_ +#ifndef ODP_API_SPEC_PACKET_FLAGS_H_ +#define ODP_API_SPEC_PACKET_FLAGS_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h index 52af646a6180..4156d07860f2 100644 --- a/include/odp/api/spec/packet_io.h +++ b/include/odp/api/spec/packet_io.h @@ -11,8 +11,8 @@ * ODP Packet IO */ -#ifndef ODP_API_PACKET_IO_H_ -#define ODP_API_PACKET_IO_H_ +#ifndef ODP_API_SPEC_PACKET_IO_H_ +#define ODP_API_SPEC_PACKET_IO_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/packet_io_stats.h b/include/odp/api/spec/packet_io_stats.h index 299ecd0e1d2a..18619143d525 100644 --- a/include/odp/api/spec/packet_io_stats.h +++ b/include/odp/api/spec/packet_io_stats.h @@ -10,8 +10,8 @@ * ODP Packet IO */ -#ifndef ODP_API_PACKET_IO_STATS_H_ -#define ODP_API_PACKET_IO_STATS_H_ +#ifndef ODP_API_SPEC_PACKET_IO_STATS_H_ +#define ODP_API_SPEC_PACKET_IO_STATS_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h index 221798ee8cc6..b537589b8d85 100644 --- a/include/odp/api/spec/pool.h +++ b/include/odp/api/spec/pool.h @@ -11,8 +11,8 @@ * ODP pool */ -#ifndef ODP_API_POOL_H_ -#define ODP_API_POOL_H_ +#ifndef ODP_API_SPEC_POOL_H_ +#define ODP_API_SPEC_POOL_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 3cd99a9f3035..b82c1b852fb1 100644 --- a/include/odp/api/spec/queue.h +++ b/include/odp/api/spec/queue.h @@ -11,8 +11,8 @@ * ODP queue */ -#ifndef ODP_API_QUEUE_H_ -#define ODP_API_QUEUE_H_ +#ifndef ODP_API_SPEC_QUEUE_H_ +#define ODP_API_SPEC_QUEUE_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/random.h b/include/odp/api/spec/random.h index 4765475c24c5..8bed969b6ad8 100644 --- a/include/odp/api/spec/random.h +++ b/include/odp/api/spec/random.h @@ -11,8 +11,8 @@ * ODP random number API */ -#ifndef ODP_API_RANDOM_H_ -#define ODP_API_RANDOM_H_ +#ifndef ODP_API_SPEC_RANDOM_H_ +#define ODP_API_SPEC_RANDOM_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/rwlock.h b/include/odp/api/spec/rwlock.h index ff8a3f2783d1..3e5c47ba62fc 100644 --- a/include/odp/api/spec/rwlock.h +++ b/include/odp/api/spec/rwlock.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef ODP_API_RWLOCK_H_ -#define ODP_API_RWLOCK_H_ +#ifndef ODP_API_SPEC_RWLOCK_H_ +#define ODP_API_SPEC_RWLOCK_H_ #include /** diff --git a/include/odp/api/spec/rwlock_recursive.h b/include/odp/api/spec/rwlock_recursive.h index 1c19c7217d08..03a4dce4e83c 100644 --- a/include/odp/api/spec/rwlock_recursive.h +++ b/include/odp/api/spec/rwlock_recursive.h @@ -10,8 +10,8 @@ * ODP recursive read/write lock */ -#ifndef ODP_API_RWLOCK_RECURSIVE_H_ -#define ODP_API_RWLOCK_RECURSIVE_H_ +#ifndef ODP_API_SPEC_RWLOCK_RECURSIVE_H_ +#define ODP_API_SPEC_RWLOCK_RECURSIVE_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/schedule.h b/include/odp/api/spec/schedule.h index fe2300db0f0b..524449647b0c 100644 --- a/include/odp/api/spec/schedule.h +++ b/include/odp/api/spec/schedule.h @@ -11,8 +11,8 @@ * ODP schedule */ -#ifndef ODP_API_SCHEDULE_H_ -#define ODP_API_SCHEDULE_H_ +#ifndef ODP_API_SPEC_SCHEDULE_H_ +#define ODP_API_SPEC_SCHEDULE_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/schedule_types.h b/include/odp/api/spec/schedule_types.h index 397f98fcd452..e0dc4027b91b 100644 --- a/include/odp/api/spec/schedule_types.h +++ b/include/odp/api/spec/schedule_types.h @@ -10,8 +10,8 @@ * ODP schedule types */ -#ifndef ODP_API_SCHEDULE_TYPES_H_ -#define ODP_API_SCHEDULE_TYPES_H_ +#ifndef ODP_API_SPEC_SCHEDULE_TYPES_H_ +#define ODP_API_SPEC_SCHEDULE_TYPES_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/shared_memory.h b/include/odp/api/spec/shared_memory.h index 1a9c1299e5da..1b534d927fc3 100644 --- a/include/odp/api/spec/shared_memory.h +++ b/include/odp/api/spec/shared_memory.h @@ -11,8 +11,8 @@ * ODP shared memory */ -#ifndef ODP_API_SHARED_MEMORY_H_ -#define ODP_API_SHARED_MEMORY_H_ +#ifndef ODP_API_SPEC_SHARED_MEMORY_H_ +#define ODP_API_SPEC_SHARED_MEMORY_H_ #include #include diff --git a/include/odp/api/spec/spinlock.h b/include/odp/api/spec/spinlock.h index 11b7339b101f..fc7629dda76a 100644 --- a/include/odp/api/spec/spinlock.h +++ b/include/odp/api/spec/spinlock.h @@ -10,8 +10,8 @@ * ODP spinlock */ -#ifndef ODP_API_SPINLOCK_H_ -#define ODP_API_SPINLOCK_H_ +#ifndef ODP_API_SPEC_SPINLOCK_H_ +#define ODP_API_SPEC_SPINLOCK_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/spinlock_recursive.h b/include/odp/api/spec/spinlock_recursive.h index c9c7ddb02fd7..7546e75eae19 100644 --- a/include/odp/api/spec/spinlock_recursive.h +++ b/include/odp/api/spec/spinlock_recursive.h @@ -10,8 +10,8 @@ * ODP recursive spinlock */ -#ifndef ODP_API_SPINLOCK_RECURSIVE_H_ -#define ODP_API_SPINLOCK_RECURSIVE_H_ +#ifndef ODP_API_SPEC_SPINLOCK_RECURSIVE_H_ +#define ODP_API_SPEC_SPINLOCK_RECURSIVE_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/std_clib.h b/include/odp/api/spec/std_clib.h index 33e9db5361fb..d308442051bc 100644 --- a/include/odp/api/spec/std_clib.h +++ b/include/odp/api/spec/std_clib.h @@ -10,8 +10,8 @@ * ODP version of often used C library calls */ -#ifndef ODP_API_STD_CLIB_H_ -#define ODP_API_STD_CLIB_H_ +#ifndef ODP_API_SPEC_STD_CLIB_H_ +#define ODP_API_SPEC_STD_CLIB_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/std_types.h b/include/odp/api/spec/std_types.h index ec6a6df6d75d..4732b6fe4d91 100644 --- a/include/odp/api/spec/std_types.h +++ b/include/odp/api/spec/std_types.h @@ -12,8 +12,8 @@ * */ -#ifndef ODP_API_STD_TYPES_H_ -#define ODP_API_STD_TYPES_H_ +#ifndef ODP_API_SPEC_STD_TYPES_H_ +#define ODP_API_SPEC_STD_TYPES_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/support.h b/include/odp/api/spec/support.h index cc43b6f0e2bc..df732d1815d9 100644 --- a/include/odp/api/spec/support.h +++ b/include/odp/api/spec/support.h @@ -10,8 +10,8 @@ * ODP support API */ -#ifndef ODP_API_SUPPORT_H_ -#define ODP_API_SUPPORT_H_ +#ifndef ODP_API_SPEC_SUPPORT_H_ +#define ODP_API_SPEC_SUPPORT_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/sync.h b/include/odp/api/spec/sync.h index 6f87db559367..1306687c045b 100644 --- a/include/odp/api/spec/sync.h +++ b/include/odp/api/spec/sync.h @@ -10,8 +10,8 @@ * ODP memory barriers */ -#ifndef ODP_API_SYNC_H_ -#define ODP_API_SYNC_H_ +#ifndef ODP_API_SPEC_SYNC_H_ +#define ODP_API_SPEC_SYNC_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/system_info.h b/include/odp/api/spec/system_info.h index 140db7b4fd17..38767640faac 100644 --- a/include/odp/api/spec/system_info.h +++ b/include/odp/api/spec/system_info.h @@ -11,8 +11,8 @@ * ODP system information */ -#ifndef ODP_API_SYSTEM_INFO_H_ -#define ODP_API_SYSTEM_INFO_H_ +#ifndef ODP_API_SPEC_SYSTEM_INFO_H_ +#define ODP_API_SPEC_SYSTEM_INFO_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/thread.h b/include/odp/api/spec/thread.h index 689ba59b58fa..5fe74c69da87 100644 --- a/include/odp/api/spec/thread.h +++ b/include/odp/api/spec/thread.h @@ -11,8 +11,8 @@ * ODP thread API */ -#ifndef ODP_API_THREAD_H_ -#define ODP_API_THREAD_H_ +#ifndef ODP_API_SPEC_THREAD_H_ +#define ODP_API_SPEC_THREAD_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/thrmask.h b/include/odp/api/spec/thrmask.h index 3986769acedb..cd37e6149580 100644 --- a/include/odp/api/spec/thrmask.h +++ b/include/odp/api/spec/thrmask.h @@ -10,8 +10,8 @@ * ODP thread masks */ -#ifndef ODP_API_THRMASK_H_ -#define ODP_API_THRMASK_H_ +#ifndef ODP_API_SPEC_THRMASK_H_ +#define ODP_API_SPEC_THRMASK_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/ticketlock.h b/include/odp/api/spec/ticketlock.h index b23253b5536c..bf706cb39724 100644 --- a/include/odp/api/spec/ticketlock.h +++ b/include/odp/api/spec/ticketlock.h @@ -11,8 +11,8 @@ * ODP ticketlock */ -#ifndef ODP_API_TICKETLOCK_H_ -#define ODP_API_TICKETLOCK_H_ +#ifndef ODP_API_SPEC_TICKETLOCK_H_ +#define ODP_API_SPEC_TICKETLOCK_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/time.h b/include/odp/api/spec/time.h index 29175eb5a60e..dec1b9a7b556 100644 --- a/include/odp/api/spec/time.h +++ b/include/odp/api/spec/time.h @@ -11,8 +11,8 @@ * ODP time */ -#ifndef ODP_API_TIME_H_ -#define ODP_API_TIME_H_ +#ifndef ODP_API_SPEC_TIME_H_ +#define ODP_API_SPEC_TIME_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h index 17daafc78e1b..a85edda55fee 100644 --- a/include/odp/api/spec/timer.h +++ b/include/odp/api/spec/timer.h @@ -11,8 +11,8 @@ * ODP timer service */ -#ifndef ODP_API_TIMER_H_ -#define ODP_API_TIMER_H_ +#ifndef ODP_API_SPEC_TIMER_H_ +#define ODP_API_SPEC_TIMER_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index c9134e8e4ff6..361e73653e66 100644 --- a/include/odp/api/spec/traffic_mngr.h +++ b/include/odp/api/spec/traffic_mngr.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef ODP_TRAFFIC_MNGR_H_ -#define ODP_TRAFFIC_MNGR_H_ +#ifndef ODP_API_SPEC_TRAFFIC_MNGR_H_ +#define ODP_API_SPEC_TRAFFIC_MNGR_H_ #include #ifdef __cplusplus diff --git a/include/odp/api/spec/version.h.in b/include/odp/api/spec/version.h.in index f5e9e9c8be91..1a9a83f9a970 100644 --- a/include/odp/api/spec/version.h.in +++ b/include/odp/api/spec/version.h.in @@ -11,8 +11,8 @@ * ODP version */ -#ifndef ODP_API_VERSION_H_ -#define ODP_API_VERSION_H_ +#ifndef ODP_API_SPEC_VERSION_H_ +#define ODP_API_SPEC_VERSION_H_ #include #ifdef __cplusplus From patchwork Fri Oct 27 12:49:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117335 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp764590qgn; Fri, 27 Oct 2017 06:19:24 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q6KO2FQVSI0NtNOOAfAULg1+3g4WzraGEB5tquiu2YIcKboW5cQOYGe6OGRfFa/0Uip8jU X-Received: by 10.55.192.204 with SMTP id v73mr692150qkv.117.1509110363901; Fri, 27 Oct 2017 06:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110363; cv=none; d=google.com; s=arc-20160816; b=G9FMgZKM2snYHgdqSIeRhASv9VsLTcXDlrChGmzlQtbagybcm8TSgs67AGF2B655v+ fZksTGREYklQ4oFNafecAIjc75koKiBdf+BmJzQZmVXFeDE946NetvL9jzoIUPNaTcCx c/NizVCrjEjz9VY74LJ6raj/hEzW6uwynesah9h7o6z45e9qF4pE7FlARxhrS+/zJrL4 QuUsKBw+lW+hUIszUHeM0Y+MARMhVDckySKAhIHOkywih0195QI0x4vpsUnBtmyLZKSr RBL0I30OvY4eW10c5CpvnKToCp4id1rJGqEUQfdrX0+BOiWIm0X/oplr2VK+abuegjFV hK4g== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=shwXREqr6HUN/6ja8zZ/pKxWt9qHsHX5xlob5H1JTIo=; b=usq5istRo8JSE7FS+reQ4V8Nv63/IU/SqQgeSavi3o+IuAN92Ch9nYsAarZKFu4yLe warJTfs5nCrRk5i+qPFw5vwg92cXlw55cQnfYMZNsmnhcTQ3xygJgsMT5ehFQWW/lqKK FbBOji1Jv9f8osdTjtnUrbAn20UwVnAnOjLRy2oLnJNiPsfPQnIBugiM3kVoFyWSiLVs RfvFEXP5j3AtrBRAKmp3CWaiBHsfEcRaoZNAjn/+zz/ZMOsp7XjgHq95oqUi0Lc7/zZ4 8D4zCvmOGBhobS4H4I68FCX23x7VUr8P+1Jgomti2IyplflCizz14MDcIyQpWJ8usGmc Terw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 a62si6384718qkg.117.2017.10.27.06.19.23; Fri, 27 Oct 2017 06:19:23 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 82AF5629E6; Fri, 27 Oct 2017 13:19:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id A66796298F; Fri, 27 Oct 2017 12:53:47 +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 D0CA562875; Fri, 27 Oct 2017 12:52: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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id F3C4162875 for ; Fri, 27 Oct 2017 12:50:37 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id n69so7303758lfn.2 for ; Fri, 27 Oct 2017 05:50:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=shwXREqr6HUN/6ja8zZ/pKxWt9qHsHX5xlob5H1JTIo=; b=bF14fWtAHLRgAAsxrWxyEqg52odPaKTZARrMc6LtF795cv90l7gykS4o7bDEjN69tG A47wpIWd27lus5PCT6v3eupNf3+lCluddpV3G9waJGmAdwqTBnsqtEP1cZW+M1orpuO4 X+UZAZMafcVQL3KUwt4Jon42PdzOuDgTbNx8K5hrM+26W17AU0qYmaSR4x9Su9Z1X8U2 7kqikJ47QVX09EuQ1NQ2G7GnMqYsrN4FCHnczFuImy1GemwIovVgE3YhHV1xNyfDirLT Np6ooKxUuBIl95R6OKty0aXXpgb1uZjF/KLRJuV5dFEudO15kJjEDLWRBp9ry6jdH+fL bOzg== X-Gm-Message-State: AMCzsaVaPLGziWydifvu2JBK0GaDID/zXINjeOOZ1/cWkaTvaB3gF/lK M+ounk81BGyPKGZa25qYX4eCcNhuMMTZaw== X-Received: by 10.25.78.141 with SMTP id u13mr128510lfk.156.1509108636616; Fri, 27 Oct 2017 05:50:36 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:36 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:58 +0300 Message-Id: <20171027125014.27313-15-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 14/30] api: schedule: remove duplication between schedule and schedule_types 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" Move the rest of ODP_SCHED_GROUP_* defines to schedule_types.h to remove duplication between headers. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/abi-default/schedule.h | 8 -------- include/odp/api/abi-default/schedule_types.h | 8 ++++++++ include/odp/api/spec/schedule.h | 20 -------------------- include/odp/api/spec/schedule_types.h | 10 ++++++++++ 4 files changed, 18 insertions(+), 28 deletions(-) -- 2.14.2 diff --git a/include/odp/api/abi-default/schedule.h b/include/odp/api/abi-default/schedule.h index 27f9b3a2bf7d..009b14ecb49a 100644 --- a/include/odp/api/abi-default/schedule.h +++ b/include/odp/api/abi-default/schedule.h @@ -26,14 +26,6 @@ extern "C" { #define ODP_SCHED_WAIT UINT64_MAX #define ODP_SCHED_NO_WAIT 0 -typedef int odp_schedule_group_t; - -/* These must be kept in sync with thread_globals_t in odp_thread.c */ -#define ODP_SCHED_GROUP_INVALID ((odp_schedule_group_t)-1) -#define ODP_SCHED_GROUP_ALL 0 -#define ODP_SCHED_GROUP_WORKER 1 -#define ODP_SCHED_GROUP_CONTROL 2 - #define ODP_SCHED_GROUP_NAME_LEN 32 /** diff --git a/include/odp/api/abi-default/schedule_types.h b/include/odp/api/abi-default/schedule_types.h index f71df37ce430..10065a98c7f7 100644 --- a/include/odp/api/abi-default/schedule_types.h +++ b/include/odp/api/abi-default/schedule_types.h @@ -37,6 +37,14 @@ typedef int odp_schedule_sync_t; #define ODP_SCHED_SYNC_ATOMIC 1 #define ODP_SCHED_SYNC_ORDERED 2 +typedef int odp_schedule_group_t; + +/* These must be kept in sync with thread_globals_t in odp_thread.c */ +#define ODP_SCHED_GROUP_INVALID ((odp_schedule_group_t)-1) +#define ODP_SCHED_GROUP_ALL 0 +#define ODP_SCHED_GROUP_WORKER 1 +#define ODP_SCHED_GROUP_CONTROL 2 + /** * @} */ diff --git a/include/odp/api/spec/schedule.h b/include/odp/api/spec/schedule.h index 524449647b0c..8c55b4ec2ba5 100644 --- a/include/odp/api/spec/schedule.h +++ b/include/odp/api/spec/schedule.h @@ -45,26 +45,6 @@ extern "C" { * Maximum schedule group name length in chars including null char */ -/** - * @def ODP_SCHED_GROUP_INVALID - * Invalid scheduler group - */ - -/** - * @def ODP_SCHED_GROUP_ALL - * Predefined scheduler group of all threads - */ - -/** - * @def ODP_SCHED_GROUP_WORKER - * Predefined scheduler group of all worker threads - */ - -/** - * @def ODP_SCHED_GROUP_CONTROL - * Predefined scheduler group of all control threads - */ - /** * Schedule wait time * diff --git a/include/odp/api/spec/schedule_types.h b/include/odp/api/spec/schedule_types.h index e0dc4027b91b..a13cc4f13317 100644 --- a/include/odp/api/spec/schedule_types.h +++ b/include/odp/api/spec/schedule_types.h @@ -112,6 +112,11 @@ extern "C" { * Scheduler thread group */ +/** + * @def ODP_SCHED_GROUP_INVALID + * Invalid scheduler group + */ + /** * @def ODP_SCHED_GROUP_ALL * Group of all threads. All active worker and control threads belong to this @@ -126,6 +131,11 @@ extern "C" { * old threads exit ODP. */ +/** + * @def ODP_SCHED_GROUP_CONTROL + * Predefined scheduler group of all control threads + */ + /** Scheduler parameters */ typedef struct odp_schedule_param_t { /** Priority level From patchwork Fri Oct 27 12:50:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117336 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp766091qgn; Fri, 27 Oct 2017 06:20:49 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RLRZLbWvHzgno+G5vHxHN4g8vbpGq0oFlnPxlzW3vIjqxoyrBVWSnyLP4RNT4rXhFuRQJf X-Received: by 10.237.57.228 with SMTP id m91mr781957qte.267.1509110449635; Fri, 27 Oct 2017 06:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110449; cv=none; d=google.com; s=arc-20160816; b=IjdFxkh90nj+NtQ0/xuGty2KY4MEjaWivZyK+1cKb6Vjy2gK78SDAf9LMHoOT2q55d TAOVKUQKnwXHI9Aw59WVViUFB+uogDkwSO+47WXUobOA81VQ5zUdcdLMeZlCIpzuIjyu qcvBoL0lAXgyDsWHliX4eG0fr7OkigGLCwFV6HQw/97MMW0gepwYzpnArsDZ8jrbREgz hG9s44L1SLwRlHaPhIICCZgPnQbq6V5ztdKEn/mmueSrKPrC30otFAQ9dX5BzaV55+vC FaT+s10OWPmfI/BF2fJJxGmH2yBK/OLSWWnI9WLLtISaG4jnSRDoXA91qTCc80THPqap xA2Q== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=7fndndn13tI05pyXQmEydTUCWZM4VoaqyE8wlkya07s=; b=tiqNWPAJa1lVuJtXVIFhDCkXqK4Y0hrN87R4gBo/DOCgV1/C2kBGG1ifFbXv+ZuGKw ZWdBC9qiQeFSlpuA39gebMqUICf20+OLrpnWM73BbRhlrQTbr4E8OggpUO4bP8EgMzBo 4d9lMFjqVNU1IjpESCRKd5NBuGunBd6n7JM/MD+hX/gNdYO0Kadw6pR/evOKz5FrlgP6 BsXXcIipw2xPmBprfpFJc/SF1dVGrszoNcM8dmwQAIeRBb68j02gxtv9UgRmdbyR5Uis u9aJRev4cPh+eYhKGDv42xjGSZoeOY5EX1twFENHX+RWnOGUvpTtMR0A967LeR9qEsi2 Hiqw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 s56si2593092qta.417.2017.10.27.06.20.49; Fri, 27 Oct 2017 06:20:49 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 54B8C609DB; Fri, 27 Oct 2017 13:20:49 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 0044462992; Fri, 27 Oct 2017 12:53:59 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 194A562951; Fri, 27 Oct 2017 12:52:40 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id 4E70A6294F for ; Fri, 27 Oct 2017 12:50:41 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id a132so7299152lfa.7 for ; Fri, 27 Oct 2017 05:50:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=7fndndn13tI05pyXQmEydTUCWZM4VoaqyE8wlkya07s=; b=el12kaM904T4MqFaRzfeKk1sXItpQ7OVjzONrMGjY/lJLm4pwCAf+7lBv1jrZolFmf wXORkoPXeoGOubXs/zwvcWWJC8L7SoHU2/Lo10piXTduj0WXEAz1EZx7GIktY4veg7Vt LJxcxKML2mbPC8d1pU3fUC7mGPPPLRqfmHiKDB0/HlBvoX1o9zUDSbOmPc1Tsv60Fdkj 5Xsa95RNy8zlVjQadEOdgDecUbQZSlQsE5lpb6DWb4MEG5ebfugBfWuKCUoeQI64gXH7 FL8xLC5eZDI5zSktMiA+S+InRIafT+AUo1KAiJYllsTV1mMAJVopVfyu31ZRX3V3ZuMx cmlA== X-Gm-Message-State: AMCzsaU6LiBnyzMgB12MIM7/bdPIXaryoSapfvyV8D1gu0cP3kmgEP68 OGM1JR2c73jSVnivtDbb6f/2ANTC8h53SA== X-Received: by 10.25.142.1 with SMTP id q1mr137936lfd.7.1509108639555; Fri, 27 Oct 2017 05:50:39 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:38 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:00 +0300 Message-Id: <20171027125014.27313-17-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 16/30] linux-gen, include: progress in switching headers to api+abi pattern 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" Rework more platform headers to use odp/api/abi/ subdir instead of odp/api/plat/. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 8 +++++ .../include => include}/odp/api/barrier.h | 6 ++-- .../include => include}/odp/api/buffer.h | 18 ++++-------- .../include => include}/odp/api/event.h | 14 ++------- .../include => include}/odp/api/ipsec.h | 14 ++------- .../include => include}/odp/api/pool.h | 17 ++++------- .../include => include}/odp/api/queue.h | 12 ++++---- .../include => include}/odp/api/shared_memory.h | 14 ++------- .../include => include}/odp/api/timer.h | 20 ++++--------- platform/linux-generic/Makefile.am | 34 +++++++++------------- .../odp/api/abi/buffer.h} | 11 ++----- .../odp/api/abi/classification.h} | 11 ++----- .../odp/api/abi/crypto.h} | 11 ++----- .../odp/api/abi/event.h} | 12 ++------ .../odp/api/abi/ipsec.h} | 4 +-- .../odp/api/abi/packet_io.h} | 10 ++----- .../odp/api/abi/pool.h} | 13 ++------- .../odp/api/abi/queue.h} | 11 ++----- .../odp/api/abi/shared_memory.h} | 11 ++----- .../odp/api/abi/timer.h} | 4 +-- .../linux-generic/include/odp/api/classification.h | 12 ++++---- platform/linux-generic/include/odp/api/crypto.h | 10 +++---- platform/linux-generic/include/odp/api/packet.h | 8 ++--- platform/linux-generic/include/odp/api/packet_io.h | 8 ++--- .../include/odp/api/plat/packet_inlines.h | 1 + .../include/odp/api/plat/strong_types.h | 2 ++ .../linux-generic/include/odp_queue_internal.h | 1 + .../include/odp_queue_scalable_internal.h | 1 + platform/linux-generic/odp_packet_io.c | 6 ++++ 29 files changed, 106 insertions(+), 198 deletions(-) rename {platform/linux-generic/include => include}/odp/api/barrier.h (78%) rename {platform/linux-generic/include => include}/odp/api/buffer.h (58%) rename {platform/linux-generic/include => include}/odp/api/event.h (65%) rename {platform/linux-generic/include => include}/odp/api/ipsec.h (67%) rename {platform/linux-generic/include => include}/odp/api/pool.h (53%) rename {platform/linux-generic/include => include}/odp/api/queue.h (58%) rename {platform/linux-generic/include => include}/odp/api/shared_memory.h (62%) rename {platform/linux-generic/include => include}/odp/api/timer.h (54%) rename platform/linux-generic/{include/odp/api/plat/buffer_types.h => include-abi/odp/api/abi/buffer.h} (73%) rename platform/linux-generic/{include/odp/api/plat/classification_types.h => include-abi/odp/api/abi/classification.h} (74%) rename platform/linux-generic/{include/odp/api/plat/crypto_types.h => include-abi/odp/api/abi/crypto.h} (71%) rename platform/linux-generic/{include/odp/api/plat/event_types.h => include-abi/odp/api/abi/event.h} (80%) rename platform/linux-generic/{include/odp/api/plat/ipsec_types.h => include-abi/odp/api/abi/ipsec.h} (88%) rename platform/linux-generic/{include/odp/api/plat/packet_io_types.h => include-abi/odp/api/abi/packet_io.h} (83%) rename platform/linux-generic/{include/odp/api/plat/pool_types.h => include-abi/odp/api/abi/pool.h} (76%) rename platform/linux-generic/{include/odp/api/plat/queue_types.h => include-abi/odp/api/abi/queue.h} (74%) rename platform/linux-generic/{include/odp/api/plat/shared_memory_types.h => include-abi/odp/api/abi/shared_memory.h} (73%) rename platform/linux-generic/{include/odp/api/plat/timer_types.h => include-abi/odp/api/abi/timer.h} (92%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 0e39a0d8db5f..946b7c07cf73 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -5,18 +5,26 @@ include_HEADERS = \ odpapiincludedir= $(includedir)/odp/api/ odpapiinclude_HEADERS = \ + odp/api/barrier.h \ + odp/api/buffer.h \ odp/api/cpumask.h \ + odp/api/event.h \ odp/api/init.h \ + odp/api/ipsec.h \ + odp/api/pool.h \ + odp/api/queue.h \ odp/api/rwlock.h \ odp/api/rwlock_recursive.h \ odp/api/schedule.h \ odp/api/schedule_types.h \ + odp/api/shared_memory.h \ odp/api/spinlock.h \ odp/api/spinlock_recursive.h \ odp/api/std_types.h \ odp/api/thread.h \ odp/api/thrmask.h \ odp/api/time.h \ + odp/api/timer.h \ odp/api/traffic_mngr.h \ odp/api/version.h diff --git a/platform/linux-generic/include/odp/api/barrier.h b/include/odp/api/barrier.h similarity index 78% rename from platform/linux-generic/include/odp/api/barrier.h rename to include/odp/api/barrier.h index 98200f87b5ea..7101b4c64948 100644 --- a/platform/linux-generic/include/odp/api/barrier.h +++ b/include/odp/api/barrier.h @@ -10,8 +10,8 @@ * ODP execution barriers */ -#ifndef ODP_PLAT_BARRIER_H_ -#define ODP_PLAT_BARRIER_H_ +#ifndef ODP_API_BARRIER_H_ +#define ODP_API_BARRIER_H_ #ifdef __cplusplus extern "C" { @@ -19,7 +19,7 @@ extern "C" { #include #include -#include +#include #include #include diff --git a/platform/linux-generic/include/odp/api/buffer.h b/include/odp/api/buffer.h similarity index 58% rename from platform/linux-generic/include/odp/api/buffer.h rename to include/odp/api/buffer.h index 81dbf1280049..15734ca7102f 100644 --- a/platform/linux-generic/include/odp/api/buffer.h +++ b/include/odp/api/buffer.h @@ -10,25 +10,17 @@ * ODP buffer descriptor */ -#ifndef ODP_PLAT_BUFFER_H_ -#define ODP_PLAT_BUFFER_H_ +#ifndef ODP_API_BUFFER_H_ +#define ODP_API_BUFFER_H_ #ifdef __cplusplus extern "C" { #endif #include -#include -#include -#include - -/** @ingroup odp_buffer - * @{ - */ - -/** - * @} - */ +#include +#include +#include #include diff --git a/platform/linux-generic/include/odp/api/event.h b/include/odp/api/event.h similarity index 65% rename from platform/linux-generic/include/odp/api/event.h rename to include/odp/api/event.h index 55931b625a52..71c64eb9b93e 100644 --- a/platform/linux-generic/include/odp/api/event.h +++ b/include/odp/api/event.h @@ -10,22 +10,14 @@ * ODP event */ -#ifndef ODP_PLAT_EVENT_H_ -#define ODP_PLAT_EVENT_H_ +#ifndef ODP_API_EVENT_H_ +#define ODP_API_EVENT_H_ #ifdef __cplusplus extern "C" { #endif -#include - -/** @ingroup odp_event - * @{ - */ - -/** - * @} - */ +#include #include diff --git a/platform/linux-generic/include/odp/api/ipsec.h b/include/odp/api/ipsec.h similarity index 67% rename from platform/linux-generic/include/odp/api/ipsec.h rename to include/odp/api/ipsec.h index 44c5d02553f0..cb39750e5d80 100644 --- a/platform/linux-generic/include/odp/api/ipsec.h +++ b/include/odp/api/ipsec.h @@ -10,22 +10,14 @@ * ODP IPSEC API - platform specific header */ -#ifndef ODP_PLAT_IPSEC_H_ -#define ODP_PLAT_IPSEC_H_ +#ifndef ODP_API_IPSEC_H_ +#define ODP_API_IPSEC_H_ #ifdef __cplusplus extern "C" { #endif -#include - -/** @ingroup odp_ipsec - * @{ - */ - -/** - * @} - */ +#include #include diff --git a/platform/linux-generic/include/odp/api/pool.h b/include/odp/api/pool.h similarity index 53% rename from platform/linux-generic/include/odp/api/pool.h rename to include/odp/api/pool.h index d712b65010c7..845ed5fbe652 100644 --- a/platform/linux-generic/include/odp/api/pool.h +++ b/include/odp/api/pool.h @@ -10,24 +10,17 @@ * ODP pool */ -#ifndef ODP_PLAT_POOL_H_ -#define ODP_PLAT_POOL_H_ +#ifndef ODP_API_POOL_H_ +#define ODP_API_POOL_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_buffer - * @{ - */ - -/** - * @} - */ +#include +#include +#include -#include -#include -#include #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/queue.h b/include/odp/api/queue.h similarity index 58% rename from platform/linux-generic/include/odp/api/queue.h rename to include/odp/api/queue.h index f958ff5140c8..6a67b176130b 100644 --- a/platform/linux-generic/include/odp/api/queue.h +++ b/include/odp/api/queue.h @@ -10,18 +10,18 @@ * ODP queue */ -#ifndef ODP_PLAT_QUEUE_H_ -#define ODP_PLAT_QUEUE_H_ +#ifndef ODP_API_QUEUE_H_ +#define ODP_API_QUEUE_H_ #ifdef __cplusplus extern "C" { #endif #include -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/platform/linux-generic/include/odp/api/shared_memory.h b/include/odp/api/shared_memory.h similarity index 62% rename from platform/linux-generic/include/odp/api/shared_memory.h rename to include/odp/api/shared_memory.h index affc290e71d9..940126483988 100644 --- a/platform/linux-generic/include/odp/api/shared_memory.h +++ b/include/odp/api/shared_memory.h @@ -10,22 +10,14 @@ * ODP shared memory */ -#ifndef ODP_PLAT_SHARED_MEMORY_H_ -#define ODP_PLAT_SHARED_MEMORY_H_ +#ifndef ODP_API_SHARED_MEMORY_H_ +#define ODP_API_SHARED_MEMORY_H_ #ifdef __cplusplus extern "C" { #endif -#include - -/** @ingroup odp_shared_memory - * @{ - */ - -/** - * @} - */ +#include #include diff --git a/platform/linux-generic/include/odp/api/timer.h b/include/odp/api/timer.h similarity index 54% rename from platform/linux-generic/include/odp/api/timer.h rename to include/odp/api/timer.h index 1450727f8608..e69a85323c30 100644 --- a/platform/linux-generic/include/odp/api/timer.h +++ b/include/odp/api/timer.h @@ -10,26 +10,18 @@ * ODP timer service */ -#ifndef ODP_PLAT_TIMER_H_ -#define ODP_PLAT_TIMER_H_ +#ifndef ODP_API_TIMER_H_ +#define ODP_API_TIMER_H_ #ifdef __cplusplus extern "C" { #endif #include -#include -#include -#include -#include - -/** @ingroup odp_timer - * @{ - */ - -/** - * @} - */ +#include +#include +#include +#include #include diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 4f47b277de29..1516f8ee7aee 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -21,64 +21,46 @@ odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ include/odp/api/align.h \ include/odp/api/atomic.h \ - include/odp/api/barrier.h \ - include/odp/api/buffer.h \ include/odp/api/byteorder.h \ + include/odp/api/chksum.h \ include/odp/api/classification.h \ include/odp/api/compiler.h \ - include/odp/api/chksum.h \ include/odp/api/cpu.h \ include/odp/api/crypto.h \ include/odp/api/debug.h \ include/odp/api/deprecated.h \ include/odp/api/errno.h \ - include/odp/api/event.h \ include/odp/api/feature.h \ include/odp/api/hash.h \ include/odp/api/hints.h \ - include/odp/api/ipsec.h \ include/odp/api/packet_flags.h \ include/odp/api/packet.h \ include/odp/api/packet_io.h \ include/odp/api/packet_io_stats.h \ - include/odp/api/pool.h \ - include/odp/api/queue.h \ include/odp/api/random.h \ - include/odp/api/shared_memory.h \ include/odp/api/std_clib.h \ include/odp/api/support.h \ include/odp/api/sync.h \ include/odp/api/system_info.h \ - include/odp/api/ticketlock.h \ - include/odp/api/timer.h + include/odp/api/ticketlock.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ include/odp/api/plat/atomic_inlines.h \ include/odp/api/plat/atomic_types.h \ - include/odp/api/plat/buffer_types.h \ include/odp/api/plat/byteorder_inlines.h \ include/odp/api/plat/byteorder_types.h \ - include/odp/api/plat/classification_types.h \ - include/odp/api/plat/crypto_types.h \ - include/odp/api/plat/event_types.h \ - include/odp/api/plat/ipsec_types.h \ include/odp/api/plat/packet_flag_inlines.h \ include/odp/api/plat/packet_flag_inlines_api.h \ include/odp/api/plat/packet_inlines.h \ include/odp/api/plat/packet_inlines_api.h \ include/odp/api/plat/packet_types.h \ - include/odp/api/plat/packet_io_types.h \ - include/odp/api/plat/pool_types.h \ - include/odp/api/plat/queue_types.h \ - include/odp/api/plat/shared_memory_types.h \ include/odp/api/plat/std_clib_inlines.h \ include/odp/api/plat/strong_types.h \ include/odp/api/plat/sync_inlines.h \ include/odp/api/plat/ticketlock_inlines.h \ include/odp/api/plat/ticketlock_inlines_api.h \ - include/odp/api/plat/ticketlock_types.h \ - include/odp/api/plat/timer_types.h + include/odp/api/plat/ticketlock_types.h nodist_odpapiplatinclude_HEADERS = \ include/odp/api/plat/static_inline.h @@ -87,18 +69,28 @@ if !ODP_ABI_COMPAT odpapiabiarchincludedir= $(includedir)/odp/api/abi odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/barrier.h \ + include-abi/odp/api/abi/buffer.h \ + include-abi/odp/api/abi/classification.h \ include-abi/odp/api/abi/cpumask.h \ + include-abi/odp/api/abi/crypto.h \ + include-abi/odp/api/abi/event.h \ include-abi/odp/api/abi/init.h \ + include-abi/odp/api/abi/ipsec.h \ + include-abi/odp/api/abi/packet_io.h \ + include-abi/odp/api/abi/pool.h \ + include-abi/odp/api/abi/queue.h \ include-abi/odp/api/abi/rwlock.h \ include-abi/odp/api/abi/rwlock_recursive.h \ include-abi/odp/api/abi/schedule.h \ include-abi/odp/api/abi/schedule_types.h \ + include-abi/odp/api/abi/shared_memory.h \ include-abi/odp/api/abi/spinlock.h \ include-abi/odp/api/abi/spinlock_recursive.h \ include-abi/odp/api/abi/std_types.h \ include-abi/odp/api/abi/thread.h \ include-abi/odp/api/abi/thrmask.h \ include-abi/odp/api/abi/time.h \ + include-abi/odp/api/abi/timer.h \ include-abi/odp/api/abi/traffic_mngr.h \ include-abi/odp/api/abi/version.h endif diff --git a/platform/linux-generic/include/odp/api/plat/buffer_types.h b/platform/linux-generic/include-abi/odp/api/abi/buffer.h similarity index 73% rename from platform/linux-generic/include/odp/api/plat/buffer_types.h rename to platform/linux-generic/include-abi/odp/api/abi/buffer.h index 8b79bb52e552..90b6653a66a5 100644 --- a/platform/linux-generic/include/odp/api/plat/buffer_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/buffer.h @@ -10,18 +10,13 @@ * ODP buffer descriptor */ -#ifndef ODP_BUFFER_TYPES_H_ -#define ODP_BUFFER_TYPES_H_ +#ifndef ODP_API_ABI_BUFFER_H_ +#define ODP_API_ABI_BUFFER_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - #include #include @@ -37,8 +32,6 @@ typedef ODP_HANDLE_T(odp_buffer_t); * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/classification_types.h b/platform/linux-generic/include-abi/odp/api/abi/classification.h similarity index 74% rename from platform/linux-generic/include/odp/api/plat/classification_types.h rename to platform/linux-generic/include-abi/odp/api/abi/classification.h index d210feb0ce13..3f866c67aaa1 100644 --- a/platform/linux-generic/include/odp/api/plat/classification_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/classification.h @@ -10,18 +10,13 @@ * ODP classification descriptor */ -#ifndef ODP_CLASSIFICATION_TYPES_H_ -#define ODP_CLASSIFICATION_TYPES_H_ +#ifndef ODP_API_ABI_CLASSIFICATION_H_ +#define ODP_API_ABI_CLASSIFICATION_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - #include /** @ingroup odp_classification @@ -40,8 +35,6 @@ typedef ODP_HANDLE_T(odp_pmr_t); * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/crypto_types.h b/platform/linux-generic/include-abi/odp/api/abi/crypto.h similarity index 71% rename from platform/linux-generic/include/odp/api/plat/crypto_types.h rename to platform/linux-generic/include-abi/odp/api/abi/crypto.h index 2cc747eb2fde..fe3a921295e4 100644 --- a/platform/linux-generic/include/odp/api/plat/crypto_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/crypto.h @@ -11,18 +11,13 @@ * ODP crypto */ -#ifndef ODP_CRYPTO_TYPES_H_ -#define ODP_CRYPTO_TYPES_H_ +#ifndef ODP_API_ABI_CRYPTO_H_ +#define ODP_API_ABI_CRYPTO_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - /** @ingroup odp_crypto * @{ */ @@ -36,8 +31,6 @@ typedef ODP_HANDLE_T(odp_crypto_compl_t); * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/event_types.h b/platform/linux-generic/include-abi/odp/api/abi/event.h similarity index 80% rename from platform/linux-generic/include/odp/api/plat/event_types.h rename to platform/linux-generic/include-abi/odp/api/abi/event.h index 9bff607a5684..802e431f3a82 100644 --- a/platform/linux-generic/include/odp/api/plat/event_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/event.h @@ -11,19 +11,13 @@ * ODP event */ -#ifndef ODP_EVENT_TYPES_H_ -#define ODP_EVENT_TYPES_H_ +#ifndef ODP_API_ABI_EVENT_H_ +#define ODP_API_ABI_EVENT_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - -#include #include /** @ingroup odp_event @@ -53,8 +47,6 @@ typedef enum odp_event_subtype_t { * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/ipsec_types.h b/platform/linux-generic/include-abi/odp/api/abi/ipsec.h similarity index 88% rename from platform/linux-generic/include/odp/api/plat/ipsec_types.h rename to platform/linux-generic/include-abi/odp/api/abi/ipsec.h index a36cdada47ce..75d84c43a043 100644 --- a/platform/linux-generic/include/odp/api/plat/ipsec_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/ipsec.h @@ -10,8 +10,8 @@ * ODP IPSEC API - platform specific types */ -#ifndef ODP_PLAT_IPSEC_TYPES_H_ -#define ODP_PLAT_IPSEC_TYPES_H_ +#ifndef ODP_API_ABI_IPSEC_H_ +#define ODP_API_ABI_IPSEC_H_ #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/include/odp/api/plat/packet_io_types.h b/platform/linux-generic/include-abi/odp/api/abi/packet_io.h similarity index 83% rename from platform/linux-generic/include/odp/api/plat/packet_io_types.h rename to platform/linux-generic/include-abi/odp/api/abi/packet_io.h index 5a45321fb527..a84e858e650a 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_io_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/packet_io.h @@ -11,8 +11,8 @@ * ODP Packet IO */ -#ifndef ODP_PACKET_IO_TYPES_H_ -#define ODP_PACKET_IO_TYPES_H_ +#ifndef ODP_API_ABI_PACKET_IO_H_ +#define ODP_API_ABI_PACKET_IO_H_ #ifdef __cplusplus extern "C" { @@ -47,12 +47,6 @@ typedef struct odp_pktout_queue_t { #define ODP_PKTIN_NO_WAIT 0 #define ODP_PKTIN_WAIT UINT64_MAX -/** Get printable format of odp_pktio_t */ -static inline uint64_t odp_pktio_to_u64(odp_pktio_t hdl) -{ - return _odp_pri(hdl); -} - /** * @} */ diff --git a/platform/linux-generic/include/odp/api/plat/pool_types.h b/platform/linux-generic/include-abi/odp/api/abi/pool.h similarity index 76% rename from platform/linux-generic/include/odp/api/plat/pool_types.h rename to platform/linux-generic/include-abi/odp/api/abi/pool.h index 8bc816d4e64b..586e80f75bb4 100644 --- a/platform/linux-generic/include/odp/api/plat/pool_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/pool.h @@ -10,21 +10,16 @@ * ODP pool */ -#ifndef ODP_POOL_TYPES_H_ -#define ODP_POOL_TYPES_H_ +#ifndef ODP_API_ABI_POOL_H_ +#define ODP_API_ABI_POOL_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - #include #include -#include +#include /** @ingroup odp_pool * @{ @@ -46,8 +41,6 @@ typedef enum odp_pool_type_t { * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/queue_types.h b/platform/linux-generic/include-abi/odp/api/abi/queue.h similarity index 74% rename from platform/linux-generic/include/odp/api/plat/queue_types.h rename to platform/linux-generic/include-abi/odp/api/abi/queue.h index 1561e2239114..28c721a770e3 100644 --- a/platform/linux-generic/include/odp/api/plat/queue_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/queue.h @@ -10,18 +10,13 @@ * ODP queue */ -#ifndef ODP_QUEUE_TYPES_H_ -#define ODP_QUEUE_TYPES_H_ +#ifndef ODP_API_ABI_QUEUE_H_ +#define ODP_API_ABI_QUEUE_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - #include #include @@ -39,8 +34,6 @@ typedef ODP_HANDLE_T(odp_queue_t); * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/shared_memory_types.h b/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h similarity index 73% rename from platform/linux-generic/include/odp/api/plat/shared_memory_types.h rename to platform/linux-generic/include-abi/odp/api/abi/shared_memory.h index 2c5b4ed2e7b9..05922238c881 100644 --- a/platform/linux-generic/include/odp/api/plat/shared_memory_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h @@ -11,18 +11,13 @@ * ODP shared memory */ -#ifndef ODP_SHARED_MEMORY_TYPES_H_ -#define ODP_SHARED_MEMORY_TYPES_H_ +#ifndef ODP_API_ABI_SHARED_MEMORY_H_ +#define ODP_API_ABI_SHARED_MEMORY_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - #include #include @@ -41,8 +36,6 @@ typedef ODP_HANDLE_T(odp_shm_t); * @} */ -#endif - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/include/odp/api/plat/timer_types.h b/platform/linux-generic/include-abi/odp/api/abi/timer.h similarity index 92% rename from platform/linux-generic/include/odp/api/plat/timer_types.h rename to platform/linux-generic/include-abi/odp/api/abi/timer.h index 9605d584121f..19b6a4b0d73e 100644 --- a/platform/linux-generic/include/odp/api/plat/timer_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/timer.h @@ -11,8 +11,8 @@ * ODP timer service */ -#ifndef ODP_TIMER_TYPES_H_ -#define ODP_TIMER_TYPES_H_ +#ifndef ODP_API_ABI_TIMER_H_ +#define ODP_API_ABI_TIMER_H_ #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/include/odp/api/classification.h b/platform/linux-generic/include/odp/api/classification.h index 377d1a02f7e8..01be7063d102 100644 --- a/platform/linux-generic/include/odp/api/classification.h +++ b/platform/linux-generic/include/odp/api/classification.h @@ -10,19 +10,19 @@ * ODP classification descriptor */ -#ifndef ODP_PLAT_CLASSIFICATION_H_ -#define ODP_PLAT_CLASSIFICATION_H_ +#ifndef ODP_API_CLASSIFICATION_H_ +#define ODP_API_CLASSIFICATION_H_ #ifdef __cplusplus extern "C" { #endif #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include diff --git a/platform/linux-generic/include/odp/api/crypto.h b/platform/linux-generic/include/odp/api/crypto.h index 4f65932aa1e1..ead28eab0bfc 100644 --- a/platform/linux-generic/include/odp/api/crypto.h +++ b/platform/linux-generic/include/odp/api/crypto.h @@ -10,8 +10,8 @@ * ODP crypto */ -#ifndef ODP_PLAT_CRYPTO_H_ -#define ODP_PLAT_CRYPTO_H_ +#ifndef ODP_API_CRYPTO_H_ +#define ODP_API_CRYPTO_H_ #ifdef __cplusplus extern "C" { @@ -19,9 +19,9 @@ extern "C" { #include #include -#include -#include -#include +#include +#include +#include #include /** @ingroup odp_crypto diff --git a/platform/linux-generic/include/odp/api/packet.h b/platform/linux-generic/include/odp/api/packet.h index eff40803531f..5d744df544d6 100644 --- a/platform/linux-generic/include/odp/api/packet.h +++ b/platform/linux-generic/include/odp/api/packet.h @@ -18,11 +18,11 @@ extern "C" { #endif #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include #if ODP_ABI_COMPAT == 0 diff --git a/platform/linux-generic/include/odp/api/packet_io.h b/platform/linux-generic/include/odp/api/packet_io.h index 76c7dfeda1cf..9107685a36dc 100644 --- a/platform/linux-generic/include/odp/api/packet_io.h +++ b/platform/linux-generic/include/odp/api/packet_io.h @@ -18,11 +18,11 @@ extern "C" { #endif #include -#include -#include +#include +#include #include -#include -#include +#include +#include /** @ingroup odp_packet_io * @{ diff --git a/platform/linux-generic/include/odp/api/plat/packet_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_inlines.h index 1804fa6f2f1b..bfd65cbf1068 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/packet_inlines.h @@ -13,6 +13,7 @@ #ifndef _ODP_PLAT_PACKET_INLINES_H_ #define _ODP_PLAT_PACKET_INLINES_H_ +#include #include #include #include diff --git a/platform/linux-generic/include/odp/api/plat/strong_types.h b/platform/linux-generic/include/odp/api/plat/strong_types.h index 2e3070f8b185..ce920285efb8 100644 --- a/platform/linux-generic/include/odp/api/plat/strong_types.h +++ b/platform/linux-generic/include/odp/api/plat/strong_types.h @@ -15,6 +15,8 @@ #ifndef STRONG_TYPES_H_ #define STRONG_TYPES_H_ +#include + /** Use strong typing for ODP types */ #ifdef __cplusplus /* Allow type to be expanded before concatenation with underscore */ diff --git a/platform/linux-generic/include/odp_queue_internal.h b/platform/linux-generic/include/odp_queue_internal.h index dd846d592120..df1b29ff8dcb 100644 --- a/platform/linux-generic/include/odp_queue_internal.h +++ b/platform/linux-generic/include/odp_queue_internal.h @@ -18,6 +18,7 @@ extern "C" { #endif +#include #include #include #include diff --git a/platform/linux-generic/include/odp_queue_scalable_internal.h b/platform/linux-generic/include/odp_queue_scalable_internal.h index ddc65f604cb8..58d64aa5b37c 100644 --- a/platform/linux-generic/include/odp_queue_scalable_internal.h +++ b/platform/linux-generic/include/odp_queue_scalable_internal.h @@ -13,6 +13,7 @@ extern "C" { #endif +#include #include #include #include diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 566fc847c2c0..e6ed8632cba9 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -1772,3 +1772,9 @@ int odp_pktout_send(odp_pktout_queue_t queue, const odp_packet_t packets[], return entry->s.ops->send(entry, queue.index, packets, num); } + +/** Get printable format of odp_pktio_t */ +uint64_t odp_pktio_to_u64(odp_pktio_t hdl) +{ + return _odp_pri(hdl); +} From patchwork Fri Oct 27 12:50:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117339 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp768793qgn; Fri, 27 Oct 2017 06:23:36 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RutYoc2r8AwWFkM48mVfF9dbuom33EKMt8HkvMfqcYBRTa6wsDC5eG0GHhkZstHEiWgw0s X-Received: by 10.107.148.149 with SMTP id w143mr592038iod.140.1509110616065; Fri, 27 Oct 2017 06:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110616; cv=none; d=google.com; s=arc-20160816; b=0qI1xTp+h2LHMwgiUkXIq7Xr8N9XHug+x6Q5Z6/iZ8c2Oq8GGeY3AluS7i6Wq3tpMS 3ZYnPgcjzlvV/1fhsAH0l7ftroVtI2yWz274YE+fpOvRwsJdZF12FcF40U/kCGtnHs9z v4rzl2eCH3w3jrK/BqkfAiDPatKDNnigrveuBKLsEvosE3BV0KDw66isefwKU29iziH+ fwZVIuxHnnvQHRpoQ2U1e1uEFCeg/xx6Qh3xxiqELZwizscgYUEr+kegc3mDEb9df47m arCRNP+vT5+YVvXJ7SwDcWcAB7v4/sBfwC2+yztwxlRXA2eHjy1Q8Cd1DXkbCm7AyI61 0WvA== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=sW17BP7Hs3QBbS6M2ENpummYFR1taXzSLogxL7ec5QQ=; b=PdJLj0bHBHdCA+wkblluSK5fexd5gpvss5qEigDgMXxlR+t7qjG8uIWoCp+dc75fOm EgyyZbWjS2g44lynm4lp71igSRSJV+8zLy+Ps/6wPykNfQsCIzWz48LUZ/J02j6jjAMw aNLP38ROe87oJ/+r0DAZV0ky4o5XShQ+r/xlaILYzDyT+JIR6AtHf2X+LOFncgSSswx/ v6iHFmnH/qw8KaNp2jJLlJhxx01htwcfeoThw0RiTA67o6BcnY3/vySGYvWOAT+E7m8U 7UvWy1IDVKxKbn80oeYllN6R1mjS/Dm0vIAFTa1GjRL0A45x10dIHU3eV/KcvVnHVaxr /5dg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 j134si1295787ita.1.2017.10.27.06.23.35; Fri, 27 Oct 2017 06:23: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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 930FE62951; Fri, 27 Oct 2017 13:23: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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 987F06299F; Fri, 27 Oct 2017 12:54:16 +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 53BBE628FD; Fri, 27 Oct 2017 12:52:54 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id 95C936295E for ; Fri, 27 Oct 2017 12:50:42 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id l23so7280043lfk.10 for ; Fri, 27 Oct 2017 05:50:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=sW17BP7Hs3QBbS6M2ENpummYFR1taXzSLogxL7ec5QQ=; b=czR5yRnRlyKk+61nztmQQO78AOAdOvA+1jaYn4v9h9r2XCfF8368pgDvJ7okNXqrgX weYTjpQ+o1EhOPpe8vbPeqWJIzqTpE5Nb7wECqhZqkKgC04CnyUn2nzqXe31L/0BWOP4 4R3HJLvnyH8PBhZJA1BlHR1Ooo9rOSVRjnWs7uvP0uRCaI+XoqNHCi8EJrTi6WpOIxwV 0Mh0NWR28fF6NogAWevI5UQ6Adpkd7sMSppsVzVMsMDDYAtCneK9IfClRXbYkLw/xwjs XsQbqpFR9qh2FTOw4ZM4G51rrh9waHpgAcAHaHcQvP/mRYEZVlI9hTp41W4ayNSbSYW5 8umg== X-Gm-Message-State: AMCzsaXHTzbU0ZfxjPNN/8pkbqyHjpOpT7cknXmv/qUf0AyLNn4wDrOt u+bxeakAvZ4jRXOSaaH/Sd4KMBSCf1vVsA== X-Received: by 10.25.207.140 with SMTP id f134mr144886lfg.40.1509108640965; Fri, 27 Oct 2017 05:50:40 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:40 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:01 +0300 Message-Id: <20171027125014.27313-18-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 17/30] linux-gen: atomic: simplify locked 64-bit support 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" Rewrite atomic_types.h/atomic_inlines.h to clearly separate simple (common) and locked 64-bit cases. This is allows us to ease switching of atomic header to abi setup. Signed-off-by: Dmitry Eremin-Solenikov --- .../include/odp/api/plat/atomic_inlines.h | 315 +++++++++++++-------- .../include/odp/api/plat/atomic_types.h | 58 ++-- .../linux-generic/include/odp_atomic_internal.h | 208 ++++++++++---- 3 files changed, 364 insertions(+), 217 deletions(-) -- 2.14.2 diff --git a/platform/linux-generic/include/odp/api/plat/atomic_inlines.h b/platform/linux-generic/include/odp/api/plat/atomic_inlines.h index 03b2884fdfca..1c58c77db993 100644 --- a/platform/linux-generic/include/odp/api/plat/atomic_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/atomic_inlines.h @@ -109,177 +109,254 @@ _ODP_INLINE void odp_atomic_min_u32(odp_atomic_u32_t *atom, uint32_t new_min) } } +#ifdef ODP_ATOMIC_U64_LOCK + +/** + * @internal + * CAS operation expression for the ATOMIC_OP macro + */ +#define ATOMIC_CAS_OP(ret_ptr, old_val, new_val) \ +({ \ + if (atom->v == (old_val)) { \ + atom->v = (new_val); \ + *(ret_ptr) = 1; \ + } else { \ + *(ret_ptr) = 0; \ + } \ +}) + +/** + * @internal + * Helper macro for lock-based atomic operations on 64-bit integers + * @param[in,out] atom Pointer to the 64-bit atomic variable + * @param expr Expression used update the variable. + * @return The old value of the variable. + */ +#define ATOMIC_OP(atom, expr) \ +({ \ + uint64_t _old_val; \ + /* Loop while lock is already taken, stop when lock becomes clear */ \ + while (__atomic_test_and_set(&(atom)->lock, __ATOMIC_ACQUIRE)) \ + (void)0; \ + _old_val = (atom)->v; \ + (expr); /* Perform whatever update is desired */ \ + __atomic_clear(&(atom)->lock, __ATOMIC_RELEASE); \ + _old_val; /* Return old value */ \ +}) + _ODP_INLINE void odp_atomic_init_u64(odp_atomic_u64_t *atom, uint64_t val) { atom->v = val; -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 __atomic_clear(&atom->lock, __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_load_u64(odp_atomic_u64_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, (void)0); -#else - return __atomic_load_n(&atom->v, __ATOMIC_RELAXED); -#endif } _ODP_INLINE void odp_atomic_store_u64(odp_atomic_u64_t *atom, uint64_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP(atom, atom->v = val); -#else - __atomic_store_n(&atom->v, val, __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_fetch_add_u64(odp_atomic_u64_t *atom, uint64_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, atom->v += val); -#else - return __atomic_fetch_add(&atom->v, val, __ATOMIC_RELAXED); -#endif } _ODP_INLINE void odp_atomic_add_u64(odp_atomic_u64_t *atom, uint64_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP(atom, atom->v += val); -#else - (void)__atomic_fetch_add(&atom->v, val, __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_fetch_sub_u64(odp_atomic_u64_t *atom, uint64_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, atom->v -= val); -#else - return __atomic_fetch_sub(&atom->v, val, __ATOMIC_RELAXED); -#endif } _ODP_INLINE void odp_atomic_sub_u64(odp_atomic_u64_t *atom, uint64_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP(atom, atom->v -= val); -#else - (void)__atomic_fetch_sub(&atom->v, val, __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_fetch_inc_u64(odp_atomic_u64_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, atom->v++); -#else - return __atomic_fetch_add(&atom->v, 1, __ATOMIC_RELAXED); -#endif } _ODP_INLINE void odp_atomic_inc_u64(odp_atomic_u64_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP(atom, atom->v++); -#else - (void)__atomic_fetch_add(&atom->v, 1, __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_fetch_dec_u64(odp_atomic_u64_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, atom->v--); -#else - return __atomic_fetch_sub(&atom->v, 1, __ATOMIC_RELAXED); -#endif } _ODP_INLINE void odp_atomic_dec_u64(odp_atomic_u64_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP(atom, atom->v--); -#else - (void)__atomic_fetch_sub(&atom->v, 1, __ATOMIC_RELAXED); -#endif } _ODP_INLINE int odp_atomic_cas_u64(odp_atomic_u64_t *atom, uint64_t *old_val, uint64_t new_val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 int ret; *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); return ret; -#else - return __atomic_compare_exchange_n(&atom->v, old_val, new_val, - 0 /* strong */, - __ATOMIC_RELAXED, - __ATOMIC_RELAXED); -#endif } _ODP_INLINE uint64_t odp_atomic_xchg_u64(odp_atomic_u64_t *atom, uint64_t new_val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP(atom, atom->v = new_val); -#else - return __atomic_exchange_n(&atom->v, new_val, __ATOMIC_RELAXED); -#endif } -_ODP_INLINE void odp_atomic_max_u64(odp_atomic_u64_t *atom, uint64_t new_max) +_ODP_INLINE uint64_t odp_atomic_load_acq_u64(odp_atomic_u64_t *atom) { - uint64_t old_val; + return ATOMIC_OP(atom, (void)0); +} - old_val = odp_atomic_load_u64(atom); +_ODP_INLINE void odp_atomic_store_rel_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + (void)ATOMIC_OP(atom, atom->v = val); +} - while (new_max > old_val) { - if (odp_atomic_cas_u64(atom, &old_val, new_max)) - break; - } +_ODP_INLINE void odp_atomic_add_rel_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + (void)ATOMIC_OP(atom, atom->v += val); } -_ODP_INLINE void odp_atomic_min_u64(odp_atomic_u64_t *atom, uint64_t new_min) +_ODP_INLINE void odp_atomic_sub_rel_u64(odp_atomic_u64_t *atom, uint64_t val) { - uint64_t old_val; + (void)ATOMIC_OP(atom, atom->v -= val); +} - old_val = odp_atomic_load_u64(atom); +_ODP_INLINE int odp_atomic_cas_acq_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, uint64_t new_val) +{ + int ret; + *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); + return ret; +} - while (new_min < old_val) { - if (odp_atomic_cas_u64(atom, &old_val, new_min)) - break; - } +_ODP_INLINE int odp_atomic_cas_rel_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, uint64_t new_val) +{ + int ret; + *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); + return ret; } -_ODP_INLINE uint32_t odp_atomic_load_acq_u32(odp_atomic_u32_t *atom) +_ODP_INLINE int odp_atomic_cas_acq_rel_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, + uint64_t new_val) +{ + int ret; + *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); + return ret; +} + +#else /* !ODP_ATOMIC_U64_LOCK */ + +_ODP_INLINE void odp_atomic_init_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + atom->v = val; +} + +_ODP_INLINE uint64_t odp_atomic_load_u64(odp_atomic_u64_t *atom) +{ + return __atomic_load_n(&atom->v, __ATOMIC_RELAXED); +} + +_ODP_INLINE void odp_atomic_store_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + __atomic_store_n(&atom->v, val, __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_fetch_add_u64(odp_atomic_u64_t *atom, + uint64_t val) +{ + return __atomic_fetch_add(&atom->v, val, __ATOMIC_RELAXED); +} + +_ODP_INLINE void odp_atomic_add_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + (void)__atomic_fetch_add(&atom->v, val, __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_fetch_sub_u64(odp_atomic_u64_t *atom, + uint64_t val) +{ + return __atomic_fetch_sub(&atom->v, val, __ATOMIC_RELAXED); +} + +_ODP_INLINE void odp_atomic_sub_u64(odp_atomic_u64_t *atom, uint64_t val) +{ + (void)__atomic_fetch_sub(&atom->v, val, __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_fetch_inc_u64(odp_atomic_u64_t *atom) +{ + return __atomic_fetch_add(&atom->v, 1, __ATOMIC_RELAXED); +} + +_ODP_INLINE void odp_atomic_inc_u64(odp_atomic_u64_t *atom) +{ + (void)__atomic_fetch_add(&atom->v, 1, __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_fetch_dec_u64(odp_atomic_u64_t *atom) +{ + return __atomic_fetch_sub(&atom->v, 1, __ATOMIC_RELAXED); +} + +_ODP_INLINE void odp_atomic_dec_u64(odp_atomic_u64_t *atom) +{ + (void)__atomic_fetch_sub(&atom->v, 1, __ATOMIC_RELAXED); +} + +_ODP_INLINE int odp_atomic_cas_u64(odp_atomic_u64_t *atom, uint64_t *old_val, + uint64_t new_val) +{ + return __atomic_compare_exchange_n(&atom->v, old_val, new_val, + 0 /* strong */, + __ATOMIC_RELAXED, + __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_xchg_u64(odp_atomic_u64_t *atom, + uint64_t new_val) +{ + return __atomic_exchange_n(&atom->v, new_val, __ATOMIC_RELAXED); +} + +_ODP_INLINE uint64_t odp_atomic_load_acq_u64(odp_atomic_u64_t *atom) { return __atomic_load_n(&atom->v, __ATOMIC_ACQUIRE); } -_ODP_INLINE void odp_atomic_store_rel_u32(odp_atomic_u32_t *atom, uint32_t val) +_ODP_INLINE void odp_atomic_store_rel_u64(odp_atomic_u64_t *atom, uint64_t val) { __atomic_store_n(&atom->v, val, __ATOMIC_RELEASE); } -_ODP_INLINE void odp_atomic_add_rel_u32(odp_atomic_u32_t *atom, uint32_t val) +_ODP_INLINE void odp_atomic_add_rel_u64(odp_atomic_u64_t *atom, uint64_t val) { (void)__atomic_fetch_add(&atom->v, val, __ATOMIC_RELEASE); } -_ODP_INLINE void odp_atomic_sub_rel_u32(odp_atomic_u32_t *atom, uint32_t val) +_ODP_INLINE void odp_atomic_sub_rel_u64(odp_atomic_u64_t *atom, uint64_t val) { (void)__atomic_fetch_sub(&atom->v, val, __ATOMIC_RELEASE); } -_ODP_INLINE int odp_atomic_cas_acq_u32(odp_atomic_u32_t *atom, - uint32_t *old_val, uint32_t new_val) +_ODP_INLINE int odp_atomic_cas_acq_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, uint64_t new_val) { return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, @@ -287,8 +364,8 @@ _ODP_INLINE int odp_atomic_cas_acq_u32(odp_atomic_u32_t *atom, __ATOMIC_RELAXED); } -_ODP_INLINE int odp_atomic_cas_rel_u32(odp_atomic_u32_t *atom, - uint32_t *old_val, uint32_t new_val) +_ODP_INLINE int odp_atomic_cas_rel_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, uint64_t new_val) { return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, @@ -296,9 +373,9 @@ _ODP_INLINE int odp_atomic_cas_rel_u32(odp_atomic_u32_t *atom, __ATOMIC_RELAXED); } -_ODP_INLINE int odp_atomic_cas_acq_rel_u32(odp_atomic_u32_t *atom, - uint32_t *old_val, - uint32_t new_val) +_ODP_INLINE int odp_atomic_cas_acq_rel_u64(odp_atomic_u64_t *atom, + uint64_t *old_val, + uint64_t new_val) { return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, @@ -306,86 +383,78 @@ _ODP_INLINE int odp_atomic_cas_acq_rel_u32(odp_atomic_u32_t *atom, __ATOMIC_RELAXED); } -_ODP_INLINE uint64_t odp_atomic_load_acq_u64(odp_atomic_u64_t *atom) +#endif /* !ODP_ATOMIC_U64_LOCK */ + +_ODP_INLINE void odp_atomic_max_u64(odp_atomic_u64_t *atom, uint64_t new_max) +{ + uint64_t old_val; + + old_val = odp_atomic_load_u64(atom); + + while (new_max > old_val) { + if (odp_atomic_cas_u64(atom, &old_val, new_max)) + break; + } +} + +_ODP_INLINE void odp_atomic_min_u64(odp_atomic_u64_t *atom, uint64_t new_min) +{ + uint64_t old_val; + + old_val = odp_atomic_load_u64(atom); + + while (new_min < old_val) { + if (odp_atomic_cas_u64(atom, &old_val, new_min)) + break; + } +} + +_ODP_INLINE uint32_t odp_atomic_load_acq_u32(odp_atomic_u32_t *atom) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - return ATOMIC_OP(atom, (void)0); -#else return __atomic_load_n(&atom->v, __ATOMIC_ACQUIRE); -#endif } -_ODP_INLINE void odp_atomic_store_rel_u64(odp_atomic_u64_t *atom, uint64_t val) +_ODP_INLINE void odp_atomic_store_rel_u32(odp_atomic_u32_t *atom, uint32_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - (void)ATOMIC_OP(atom, atom->v = val); -#else __atomic_store_n(&atom->v, val, __ATOMIC_RELEASE); -#endif } -_ODP_INLINE void odp_atomic_add_rel_u64(odp_atomic_u64_t *atom, uint64_t val) +_ODP_INLINE void odp_atomic_add_rel_u32(odp_atomic_u32_t *atom, uint32_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - (void)ATOMIC_OP(atom, atom->v += val); -#else (void)__atomic_fetch_add(&atom->v, val, __ATOMIC_RELEASE); -#endif } -_ODP_INLINE void odp_atomic_sub_rel_u64(odp_atomic_u64_t *atom, uint64_t val) +_ODP_INLINE void odp_atomic_sub_rel_u32(odp_atomic_u32_t *atom, uint32_t val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - (void)ATOMIC_OP(atom, atom->v -= val); -#else (void)__atomic_fetch_sub(&atom->v, val, __ATOMIC_RELEASE); -#endif } -_ODP_INLINE int odp_atomic_cas_acq_u64(odp_atomic_u64_t *atom, - uint64_t *old_val, uint64_t new_val) +_ODP_INLINE int odp_atomic_cas_acq_u32(odp_atomic_u32_t *atom, + uint32_t *old_val, uint32_t new_val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - int ret; - *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); - return ret; -#else return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED); -#endif } -_ODP_INLINE int odp_atomic_cas_rel_u64(odp_atomic_u64_t *atom, - uint64_t *old_val, uint64_t new_val) +_ODP_INLINE int odp_atomic_cas_rel_u32(odp_atomic_u32_t *atom, + uint32_t *old_val, uint32_t new_val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - int ret; - *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); - return ret; -#else return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, __ATOMIC_RELEASE, __ATOMIC_RELAXED); -#endif } -_ODP_INLINE int odp_atomic_cas_acq_rel_u64(odp_atomic_u64_t *atom, - uint64_t *old_val, - uint64_t new_val) +_ODP_INLINE int odp_atomic_cas_acq_rel_u32(odp_atomic_u32_t *atom, + uint32_t *old_val, + uint32_t new_val) { -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - int ret; - *old_val = ATOMIC_OP(atom, ATOMIC_CAS_OP(&ret, *old_val, new_val)); - return ret; -#else return __atomic_compare_exchange_n(&atom->v, old_val, new_val, 0 /* strong */, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED); -#endif } #endif diff --git a/platform/linux-generic/include/odp/api/plat/atomic_types.h b/platform/linux-generic/include/odp/api/plat/atomic_types.h index a674ac9978c4..c0803bf11f63 100644 --- a/platform/linux-generic/include/odp/api/plat/atomic_types.h +++ b/platform/linux-generic/include/odp/api/plat/atomic_types.h @@ -20,61 +20,39 @@ extern "C" { #include #include -/** - * @internal - * Atomic 64-bit unsigned integer - */ -struct odp_atomic_u64_s { - uint64_t v; /**< Actual storage for the atomic variable */ -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 - /* Some architectures do not support lock-free operations on 64-bit - * data types. We use a spin lock to ensure atomicity. */ - char lock; /**< Spin lock (if needed) used to ensure atomic access */ -#endif -} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */ - /** * @internal * Atomic 32-bit unsigned integer */ struct odp_atomic_u32_s { uint32_t v; /**< Actual storage for the atomic variable */ -} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignement! */ +} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignment! */ -#if __GCC_ATOMIC_LLONG_LOCK_FREE < 2 +#if __GCC_ATOMIC_LLONG_LOCK_FREE >= 2 /** * @internal - * CAS operation expression for the ATOMIC_OP macro + * Atomic 64-bit unsigned integer */ -#define ATOMIC_CAS_OP(ret_ptr, old_val, new_val) \ -({ \ - if (atom->v == (old_val)) { \ - atom->v = (new_val); \ - *(ret_ptr) = 1; \ - } else { \ - *(ret_ptr) = 0; \ - } \ -}) +struct odp_atomic_u64_s { + uint64_t v; /**< Actual storage for the atomic variable */ +} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignment! */ + +#else + +#define ODP_ATOMIC_U64_LOCK 1 /** * @internal - * Helper macro for lock-based atomic operations on 64-bit integers - * @param[in,out] atom Pointer to the 64-bit atomic variable - * @param expr Expression used update the variable. - * @return The old value of the variable. + * Atomic 64-bit unsigned integer */ -#define ATOMIC_OP(atom, expr) \ -({ \ - uint64_t _old_val; \ - /* Loop while lock is already taken, stop when lock becomes clear */ \ - while (__atomic_test_and_set(&(atom)->lock, __ATOMIC_ACQUIRE)) \ - (void)0; \ - _old_val = (atom)->v; \ - (expr); /* Perform whatever update is desired */ \ - __atomic_clear(&(atom)->lock, __ATOMIC_RELEASE); \ - _old_val; /* Return old value */ \ -}) +struct odp_atomic_u64_s { + uint64_t v; /**< Actual storage for the atomic variable */ + /* Some architectures do not support lock-free operations on 64-bit + * data types. We use a spin lock to ensure atomicity. */ + char lock; /**< Spin lock (if needed) used to ensure atomic access */ +} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignment! */ + #endif typedef struct odp_atomic_u64_s odp_atomic_u64_t; diff --git a/platform/linux-generic/include/odp_atomic_internal.h b/platform/linux-generic/include/odp_atomic_internal.h index dca2175cefbf..f3696a99426f 100644 --- a/platform/linux-generic/include/odp_atomic_internal.h +++ b/platform/linux-generic/include/odp_atomic_internal.h @@ -223,7 +223,7 @@ static inline void _odp_atomic_u32_sub_mm(odp_atomic_u32_t *atom, *****************************************************************************/ /* Check if the compiler support lock-less atomic operations on 64-bit types */ -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 +#ifdef ODP_ATOMIC_U64_LOCK /** * @internal * Helper macro for lock-based atomic operations on 64-bit integers @@ -247,7 +247,6 @@ static inline void _odp_atomic_u32_sub_mm(odp_atomic_u32_t *atom, __ATOMIC_SEQ_CST : __ATOMIC_RELEASE); \ old_val; /* Return old value */ \ }) -#endif /** * Atomic load of 64-bit atomic variable @@ -258,13 +257,9 @@ static inline void _odp_atomic_u32_sub_mm(odp_atomic_u32_t *atom, * @return Value of the variable */ static inline uint64_t _odp_atomic_u64_load_mm(odp_atomic_u64_t *atom, - _odp_memmodel_t mmodel) + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP_MM(atom, (void)0, mmodel); -#else - return __atomic_load_n(&atom->v, mmodel); -#endif } /** @@ -275,14 +270,10 @@ static inline uint64_t _odp_atomic_u64_load_mm(odp_atomic_u64_t *atom, * @param mmodel Memory order associated with the store operation */ static inline void _odp_atomic_u64_store_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP_MM(atom, atom->v = val, mmodel); -#else - __atomic_store_n(&atom->v, val, mmodel); -#endif } /** @@ -295,15 +286,11 @@ static inline void _odp_atomic_u64_store_mm(odp_atomic_u64_t *atom, * @return Old value of variable */ static inline uint64_t _odp_atomic_u64_xchg_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP_MM(atom, atom->v = val, mmodel); -#else - return __atomic_exchange_n(&atom->v, val, mmodel); -#endif } /** @@ -322,12 +309,11 @@ static inline uint64_t _odp_atomic_u64_xchg_mm(odp_atomic_u64_t *atom, * @retval 0 exchange failed and '*exp' updated with current value */ static inline int _odp_atomic_u64_cmp_xchg_strong_mm(odp_atomic_u64_t *atom, - uint64_t *exp, - uint64_t val, - _odp_memmodel_t success, - _odp_memmodel_t failure) + uint64_t *exp, + uint64_t val, + _odp_memmodel_t success, + _odp_memmodel_t failure) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 /* Possibly we are a bit pessimistic with the memory models */ odp_bool_t ret_succ; /* Loop while lock is already taken, stop when lock becomes clear */ @@ -346,10 +332,6 @@ static inline int _odp_atomic_u64_cmp_xchg_strong_mm(odp_atomic_u64_t *atom, (ret_succ ? success : failure) == _ODP_MEMMODEL_SC ? __ATOMIC_SEQ_CST : __ATOMIC_RELEASE); return ret_succ; -#else - return __atomic_compare_exchange_n(&atom->v, exp, val, - false/*strong*/, success, failure); -#endif } /** @@ -362,14 +344,10 @@ static inline int _odp_atomic_u64_cmp_xchg_strong_mm(odp_atomic_u64_t *atom, * @return Value of the atomic variable before the addition */ static inline uint64_t _odp_atomic_u64_fetch_add_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP_MM(atom, atom->v += val, mmodel); -#else - return __atomic_fetch_add(&atom->v, val, mmodel); -#endif } /** @@ -380,15 +358,11 @@ static inline uint64_t _odp_atomic_u64_fetch_add_mm(odp_atomic_u64_t *atom, * @param mmodel Memory order associated with the add operation. */ static inline void _odp_atomic_u64_add_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP_MM(atom, atom->v += val, mmodel); -#else - (void)__atomic_fetch_add(&atom->v, val, mmodel); -#endif } /** @@ -401,14 +375,10 @@ static inline void _odp_atomic_u64_add_mm(odp_atomic_u64_t *atom, * @return Value of the atomic variable before the subtraction */ static inline uint64_t _odp_atomic_u64_fetch_sub_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 return ATOMIC_OP_MM(atom, atom->v -= val, mmodel); -#else - return __atomic_fetch_sub(&atom->v, val, mmodel); -#endif } /** @@ -419,20 +389,150 @@ static inline uint64_t _odp_atomic_u64_fetch_sub_mm(odp_atomic_u64_t *atom, * @param mmodel Memory order associated with the subtract operation */ static inline void _odp_atomic_u64_sub_mm(odp_atomic_u64_t *atom, - uint64_t val, - _odp_memmodel_t mmodel) + uint64_t val, + _odp_memmodel_t mmodel) { -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 (void)ATOMIC_OP_MM(atom, atom->v -= val, mmodel); -#else - (void)__atomic_fetch_sub(&atom->v, val, mmodel); -#endif } -#if !defined __GCC_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LLONG_LOCK_FREE < 2 #undef ATOMIC_OP_MM -#endif + +#else /* ! ODP_ATOMIC_U64_LOCK */ + +/** + * Atomic load of 64-bit atomic variable + * + * @param atom Pointer to a 64-bit atomic variable + * @param mmodel Memory order associated with the load operation + * + * @return Value of the variable + */ +static inline uint64_t _odp_atomic_u64_load_mm(odp_atomic_u64_t *atom, + _odp_memmodel_t mmodel) +{ + return __atomic_load_n(&atom->v, mmodel); +} + +/** + * Atomic store to 64-bit atomic variable + * + * @param[out] atom Pointer to a 64-bit atomic variable + * @param val Value to write to the atomic variable + * @param mmodel Memory order associated with the store operation + */ +static inline void _odp_atomic_u64_store_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) +{ + __atomic_store_n(&atom->v, val, mmodel); +} + +/** + * Atomic exchange (swap) of 64-bit atomic variable + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param val New value to write to the atomic variable + * @param mmodel Memory order associated with the exchange operation + * + * @return Old value of variable + */ +static inline uint64_t _odp_atomic_u64_xchg_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) + +{ + return __atomic_exchange_n(&atom->v, val, mmodel); +} + +/** + * Atomic compare and exchange (swap) of 64-bit atomic variable + * "Strong" semantics, will not fail spuriously. + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param[in,out] exp Pointer to expected value (updated on failure) + * @param val New value to write + * @param success Memory order associated with a successful compare-and-swap + * operation + * @param failure Memory order associated with a failed compare-and-swap + * operation + * + * @retval 1 exchange successful + * @retval 0 exchange failed and '*exp' updated with current value + */ +static inline int _odp_atomic_u64_cmp_xchg_strong_mm(odp_atomic_u64_t *atom, + uint64_t *exp, + uint64_t val, + _odp_memmodel_t success, + _odp_memmodel_t failure) +{ + return __atomic_compare_exchange_n(&atom->v, exp, val, + false/*strong*/, success, failure); +} + +/** + * Atomic fetch and add of 64-bit atomic variable + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param val Value to add to the atomic variable + * @param mmodel Memory order associated with the add operation + * + * @return Value of the atomic variable before the addition + */ +static inline uint64_t _odp_atomic_u64_fetch_add_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) +{ + return __atomic_fetch_add(&atom->v, val, mmodel); +} + +/** + * Atomic add of 64-bit atomic variable + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param val Value to add to the atomic variable + * @param mmodel Memory order associated with the add operation. + */ +static inline void _odp_atomic_u64_add_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) + +{ + (void)__atomic_fetch_add(&atom->v, val, mmodel); +} + +/** + * Atomic fetch and subtract of 64-bit atomic variable + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param val Value to subtract from the atomic variable + * @param mmodel Memory order associated with the subtract operation + * + * @return Value of the atomic variable before the subtraction + */ +static inline uint64_t _odp_atomic_u64_fetch_sub_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) +{ + return __atomic_fetch_sub(&atom->v, val, mmodel); +} + +/** + * Atomic subtract of 64-bit atomic variable + * + * @param[in,out] atom Pointer to a 64-bit atomic variable + * @param val Value to subtract from the atomic variable + * @param mmodel Memory order associated with the subtract operation + */ +static inline void _odp_atomic_u64_sub_mm(odp_atomic_u64_t *atom, + uint64_t val, + _odp_memmodel_t mmodel) + +{ + (void)__atomic_fetch_sub(&atom->v, val, mmodel); +} + +#endif /* ! ODP_ATOMIC_U64_LOCK */ /***************************************************************************** * Operations on pointer atomics From patchwork Fri Oct 27 12:50:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117337 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp768027qgn; Fri, 27 Oct 2017 06:22:44 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QMDTorbdzFNgeS8dp23EIJcRjJut2mBklKXjIePwi7QRrG3hpKUN3DdHiAQ4hlXyjroQJe X-Received: by 10.55.138.135 with SMTP id m129mr720137qkd.214.1509110564765; Fri, 27 Oct 2017 06:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110564; cv=none; d=google.com; s=arc-20160816; b=QR4WV2wwOdzR6X/taVzMzmcZptpq4XhzszDyieosmQ9erBu4DGF/cnx1RByxLYpbpv jqhZFz6HTi9oCsrOsHA5KEecc+VXK1ye3ZrXDCR3mY0ceMttW09SGVBouqvtTOMmQ+6R 1fY58EbSL0BTM5g9S2Dwzlk3iOlSTkzj4qQaJsIYGcnwMCZW5wtGIC4regM8rpJFsgwN gngP5RLJzLgAF8OG1TbSKsUpTARQQFE4pEMjF/53tMZs/KjVYxCjHMwX7b1JYJW6yOb+ bTah9s/IL68YNE6AVeECQbMwOJMlPFoP25EBwT5bXF4w9ReyK74pSdQYAQqp2aIU4SoA TtjA== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=yl2MYPlakMfyCBfzNfUqi5vlLM9QSynkMdYnUqd63lA=; b=Ob2cWFlqLyX3VjCUCsEeMPQZqkvoLLfJHxIYWsgd9V3etQnfRHr/Z233x6sp/pWNFj TeGnpy5TiBGHRr/Q4m7c87f2gdygue1QsFz751eCB97bgZL5EzXnDPcaM7A0k34E2dSQ v+3VHFpi9nrPJNZiON6j9iXuhy5vgZXzAHgBE7QUKfIXRNoZqZzbI+AHOcvF+DZ6jjOh PW0RDWNd/EKkhZTEaXijKarj+xTO89lRx7DJDz867h9BDCk1eMh9AL0By2/a+g/38mQn 17PGUDNgtTthGo3zgRDuHmniW+/31rdAGsLG4GMgj7o4xtlw7jYmzcucg9IGOsTHWPb4 GaMQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 j13si3315876qta.263.2017.10.27.06.22.44; Fri, 27 Oct 2017 06:22:44 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 59C5D629E6; Fri, 27 Oct 2017 13:22:44 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 4832B62996; Fri, 27 Oct 2017 12:54:07 +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 D5ADF62990; Fri, 27 Oct 2017 12:52:49 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id E21B062950 for ; Fri, 27 Oct 2017 12:50:43 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id a2so7279399lfh.11 for ; Fri, 27 Oct 2017 05:50:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=yl2MYPlakMfyCBfzNfUqi5vlLM9QSynkMdYnUqd63lA=; b=MsTCo+MRkd4UCCSbnzsSU16/17L/Pisq6QpLGQfB37/i0xkaSiUVjDjOCOJdc7f0GU r0nVgzstIF7Bjw3/iZjeyRFPhwv2I3uVwJA7UiavlrdWqB3ZlsjB05j3mboKLkFxkMHA aJKzzgZ2ylu3vEwMoBnbY/3lyjSAOurGYWpYcQkZ0H8VRJk1w/ehdPN8bWqUimLGUTrO 005Hn562DriyIDiqQgR94Peyg5duPpMwDiCFji9OfgPvK7SDvXS+5THEdufNF6HRkMkL 9yETa7EQEyURk0IhrZ2s4eS8DLBg+ZOvzaGrByPaRMfkwrPUNlFiG5BUsBFeURJxkC/K 4wbg== X-Gm-Message-State: AMCzsaXAPmWPAtjyY8X0MvBYyeC7zNaw/D26C4sQ8ALpyGBW/wqUenou 1kGGlDX81Q4eMEY4z+yl5/AW2CBF5/ePXA== X-Received: by 10.46.93.75 with SMTP id r72mr165043ljb.182.1509108642223; Fri, 27 Oct 2017 05:50:42 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:41 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:02 +0300 Message-Id: <20171027125014.27313-19-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 18/30] linux-gen, include: switch atomic.h to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 1 + include/odp/api/atomic.h | 28 +++++++++++++++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/atomic.h} | 14 ++++++-- platform/linux-generic/include/odp/api/atomic.h | 42 ---------------------- .../linux-generic/include/odp/api/ticketlock.h | 1 + platform/linux-generic/odp_atomic.c | 1 + 7 files changed, 44 insertions(+), 46 deletions(-) create mode 100644 include/odp/api/atomic.h rename platform/linux-generic/{include/odp/api/plat/atomic_types.h => include-abi/odp/api/abi/atomic.h} (86%) delete mode 100644 platform/linux-generic/include/odp/api/atomic.h -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 946b7c07cf73..d1eb26bc59c2 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -5,6 +5,7 @@ include_HEADERS = \ odpapiincludedir= $(includedir)/odp/api/ odpapiinclude_HEADERS = \ + odp/api/atomic.h \ odp/api/barrier.h \ odp/api/buffer.h \ odp/api/cpumask.h \ diff --git a/include/odp/api/atomic.h b/include/odp/api/atomic.h new file mode 100644 index 000000000000..8e515ec6f736 --- /dev/null +++ b/include/odp/api/atomic.h @@ -0,0 +1,28 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP atomic operations + */ + +#ifndef ODP_API_ATOMIC_H_ +#define ODP_API_ATOMIC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 1516f8ee7aee..304ca86862f3 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -20,7 +20,6 @@ odpinclude_HEADERS = \ odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ include/odp/api/align.h \ - include/odp/api/atomic.h \ include/odp/api/byteorder.h \ include/odp/api/chksum.h \ include/odp/api/classification.h \ @@ -47,7 +46,6 @@ odpapiinclude_HEADERS = \ odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ include/odp/api/plat/atomic_inlines.h \ - include/odp/api/plat/atomic_types.h \ include/odp/api/plat/byteorder_inlines.h \ include/odp/api/plat/byteorder_types.h \ include/odp/api/plat/packet_flag_inlines.h \ @@ -68,6 +66,7 @@ nodist_odpapiplatinclude_HEADERS = \ if !ODP_ABI_COMPAT odpapiabiarchincludedir= $(includedir)/odp/api/abi odpapiabiarchinclude_HEADERS = \ + include-abi/odp/api/abi/atomic.h \ include-abi/odp/api/abi/barrier.h \ include-abi/odp/api/abi/buffer.h \ include-abi/odp/api/abi/classification.h \ diff --git a/platform/linux-generic/include/odp/api/plat/atomic_types.h b/platform/linux-generic/include-abi/odp/api/abi/atomic.h similarity index 86% rename from platform/linux-generic/include/odp/api/plat/atomic_types.h rename to platform/linux-generic/include-abi/odp/api/abi/atomic.h index c0803bf11f63..0b7b254ced23 100644 --- a/platform/linux-generic/include/odp/api/plat/atomic_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/atomic.h @@ -10,8 +10,8 @@ * ODP atomic operations */ -#ifndef ODP_ATOMIC_TYPES_H_ -#define ODP_ATOMIC_TYPES_H_ +#ifndef ODP_API_ABI_ATOMIC_H_ +#define ODP_API_ABI_ATOMIC_H_ #ifdef __cplusplus extern "C" { @@ -59,6 +59,16 @@ typedef struct odp_atomic_u64_s odp_atomic_u64_t; typedef struct odp_atomic_u32_s odp_atomic_u32_t; +/** @ingroup odp_atomic + * @{ + */ + +#include +#include + +/** + * @} + */ #ifdef __cplusplus } #endif 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 7886cb4ea382..000000000000 --- a/platform/linux-generic/include/odp/api/atomic.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (c) 2013, 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/ticketlock.h b/platform/linux-generic/include/odp/api/ticketlock.h index e0f5d81fd6ed..ca12cc37cf9f 100644 --- a/platform/linux-generic/include/odp/api/ticketlock.h +++ b/platform/linux-generic/include/odp/api/ticketlock.h @@ -19,6 +19,7 @@ extern "C" { #include +#include #if ODP_ABI_COMPAT == 0 #include #endif diff --git a/platform/linux-generic/odp_atomic.c b/platform/linux-generic/odp_atomic.c index 53123b675595..1d76caf2b82f 100644 --- a/platform/linux-generic/odp_atomic.c +++ b/platform/linux-generic/odp_atomic.c @@ -7,6 +7,7 @@ #include "config.h" #include +#include #if ODP_ABI_COMPAT == 1 #include #endif From patchwork Fri Oct 27 12:50:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117342 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp770578qgn; Fri, 27 Oct 2017 06:25:33 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TEEPBpTFWzX0MNZ+akhsJlfjfta7TZTgE1HmCukR3VGvi3mMM4LDMumIjcux1qwdS/GkcJ X-Received: by 10.200.47.77 with SMTP id k13mr809607qta.298.1509110733286; Fri, 27 Oct 2017 06:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110733; cv=none; d=google.com; s=arc-20160816; b=0fRpgly1qZZwZKsKbMZFtAe4q0imStljlFyyZpLoamO2mjGH13yl29qVYzHIwY39lh ih2WkjUGd+XfDzk8xArqacQS6lTs2+SYmFz7L0Y9sCWPG+KUDgXaqI4CqDskQPZTojrA Vfc1U91O076bFdFXkA54X4rFfb45/g/0rKAaqf2etK/Uu3yhHo391vj4bLsziGf38rDX H4CQCtSWHfiwcmHED1qBtLZFK/0otRKGWpcIv4NZm41X5IjH9ItzAS2A0BfSKipDIK2A bUxudrcbysa412zvWnRXGUU5skaJ0cEm3Xqsj7DwGk0VLTKzhLIMh9kQ02MtC+kuN1YP hK4Q== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=38W5S+mPqSKxreDRGJwPRkK2sCXU57RY8NqX7eQZ7To=; b=vMUzwVbAxluG9+D9cNsetZ4CBz+CB1iPPkbQ/4uvtGgM/xYjoNk4L4Q+iIojczMHWK NmgMiZnjjJe3B+bh6DxbMBNMWtzXvJ1QwnV+SSmtAO5oOUC/pA4JOH9eGCMlWHjht5zK 6tElgXJcXYtJOJ/j8XMeCn2a9Ta8dNshUu/l8ReRq/PII7MMzBObU5wrK9gVRxZmuYfk 9CreE0IdnUyGlApFlEh4oczAq3ZZmgoEJxtmh/h1TY2unmvST389LctJMg2LQxb/Eot8 /gkcLYiS3gICyJHevKQOuZWilR23c1X2D5TlbKyAPSOznfG576zc4uXI9dxjDFGMXNoL aeQA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 n123si336578qkd.423.2017.10.27.06.25.32; Fri, 27 Oct 2017 06:25: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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id CB8A062A3B; Fri, 27 Oct 2017 13:25: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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 E99BD629A3; Fri, 27 Oct 2017 12:54: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 11AFE62956; Fri, 27 Oct 2017 12:53:14 +0000 (UTC) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by lists.linaro.org (Postfix) with ESMTPS id 08DCD62955 for ; Fri, 27 Oct 2017 12:50:45 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id k40so7304401lfi.4 for ; Fri, 27 Oct 2017 05:50:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=38W5S+mPqSKxreDRGJwPRkK2sCXU57RY8NqX7eQZ7To=; b=PeFS8hOw6X/208doCyZoxLFMB1neywTIKf7pCnQOKZMj6lqB+CSS72uyj++oNt9tx4 R1YXj/cXjwrcCZGzxPbQrXRMBMXgh50/EDkqQgc1hQvtETonRmwxcYes5qh13zSqZf5K yGvyoRBkISk3EcAX3e3EqnRz8IGHAazAOhh4LnEOhAXfxw8DarHfQdOMlrfXD0MM8y70 enOAprNrPMDA8sTYbGEgTZ0SjYaimCSb5mi9OOyVxbTDJe0+fQlEmIZHjKvWOCfaVnG0 MlODzlJm4MNd2lphtjQDoTZ6rYfraSTcVLx+tXyOVZ+3l3zIQ108U0A9uSsGFt1x/x/S y2YQ== X-Gm-Message-State: AMCzsaVTVOUX2qKZKY9dwJaOHjAY+SZCRqUvWIk8J3iUWoKCtugV3GqV fJz+Oo8jZKxL1cx56gMpfpMc/gkZccXB9Q== X-Received: by 10.46.47.7 with SMTP id v7mr149930ljv.192.1509108643654; Fri, 27 Oct 2017 05:50:43 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:42 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:03 +0300 Message-Id: <20171027125014.27313-20-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 19/30] linux-gen, include: switch byteorder.h to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 1 + include/odp/api/byteorder.h | 28 ++++++++++++++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/byteorder.h} | 15 +++++--- platform/linux-generic/include/odp/api/byteorder.h | 43 ---------------------- .../include/odp/api/plat/byteorder_inlines.h | 6 +++ platform/linux-generic/odp_byteorder.c | 1 + 7 files changed, 47 insertions(+), 50 deletions(-) create mode 100644 include/odp/api/byteorder.h rename platform/linux-generic/{include/odp/api/plat/byteorder_types.h => include-abi/odp/api/abi/byteorder.h} (84%) delete mode 100644 platform/linux-generic/include/odp/api/byteorder.h -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index d1eb26bc59c2..229f47fc7173 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -8,6 +8,7 @@ odpapiinclude_HEADERS = \ odp/api/atomic.h \ odp/api/barrier.h \ odp/api/buffer.h \ + odp/api/byteorder.h \ odp/api/cpumask.h \ odp/api/event.h \ odp/api/init.h \ diff --git a/include/odp/api/byteorder.h b/include/odp/api/byteorder.h new file mode 100644 index 000000000000..cbb45429943a --- /dev/null +++ b/include/odp/api/byteorder.h @@ -0,0 +1,28 @@ +/* Copyright (c) 2014, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP byteorder + */ + +#ifndef ODP_API_BYTEORDER_H_ +#define ODP_API_BYTEORDER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 304ca86862f3..966fc13f5c02 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -20,7 +20,6 @@ odpinclude_HEADERS = \ odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ include/odp/api/align.h \ - include/odp/api/byteorder.h \ include/odp/api/chksum.h \ include/odp/api/classification.h \ include/odp/api/compiler.h \ @@ -47,7 +46,6 @@ odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ include/odp/api/plat/atomic_inlines.h \ include/odp/api/plat/byteorder_inlines.h \ - include/odp/api/plat/byteorder_types.h \ include/odp/api/plat/packet_flag_inlines.h \ include/odp/api/plat/packet_flag_inlines_api.h \ include/odp/api/plat/packet_inlines.h \ @@ -69,6 +67,7 @@ odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/atomic.h \ include-abi/odp/api/abi/barrier.h \ include-abi/odp/api/abi/buffer.h \ + include-abi/odp/api/abi/byteorder.h \ include-abi/odp/api/abi/classification.h \ include-abi/odp/api/abi/cpumask.h \ include-abi/odp/api/abi/crypto.h \ diff --git a/platform/linux-generic/include/odp/api/plat/byteorder_types.h b/platform/linux-generic/include-abi/odp/api/abi/byteorder.h similarity index 84% rename from platform/linux-generic/include/odp/api/plat/byteorder_types.h rename to platform/linux-generic/include-abi/odp/api/abi/byteorder.h index 20d52bf8fa6b..0f8fac0b16c8 100644 --- a/platform/linux-generic/include/odp/api/plat/byteorder_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/byteorder.h @@ -10,23 +10,25 @@ * ODP byteorder */ -#ifndef ODP_BYTEORDER_TYPES_H_ -#define ODP_BYTEORDER_TYPES_H_ +#ifndef ODP_API_ABI_BYTEORDER_H_ +#define ODP_API_ABI_BYTEORDER_H_ #ifdef __cplusplus extern "C" { #endif +#include + #ifndef __BYTE_ORDER__ -#error __BYTE_ORDER not defined! +#error __BYTE_ORDER__ not defined! #endif #ifndef __ORDER_BIG_ENDIAN__ -#error __BIG_ENDIAN not defined! +#error __ORDER_BIG_ENDIAN__ not defined! #endif #ifndef __ORDER_LITTLE_ENDIAN__ -#error __LITTLE_ENDIAN not defined! +#error __ORDER_LITTLE_ENDIAN__ not defined! #endif /* for use with type checkers such as sparse */ @@ -73,6 +75,9 @@ typedef uint64_t __odp_bitwise odp_u64be_t; typedef uint16_t __odp_bitwise odp_u16sum_t; typedef uint32_t __odp_bitwise odp_u32sum_t; +#include +#include + /** * @} */ 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 ec3d0eef763a..000000000000 --- a/platform/linux-generic/include/odp/api/byteorder.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright (c) 2014, 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/plat/byteorder_inlines.h b/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h index e7818904b11a..6f3139628ebd 100644 --- a/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/byteorder_inlines.h @@ -17,6 +17,12 @@ extern "C" { #endif +#ifndef __odp_force +#define __odp_force +#endif + +#include + /** @ingroup odp_compiler_optim * @{ */ diff --git a/platform/linux-generic/odp_byteorder.c b/platform/linux-generic/odp_byteorder.c index a3d1f981e965..faf1c5904bb4 100644 --- a/platform/linux-generic/odp_byteorder.c +++ b/platform/linux-generic/odp_byteorder.c @@ -7,6 +7,7 @@ #include "config.h" #include +#include #if ODP_ABI_COMPAT == 1 #include #endif From patchwork Fri Oct 27 12:50:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117344 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp771439qgn; Fri, 27 Oct 2017 06:26:23 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SRgwgsyW0ltVPxlmPHFyoSXfesIkXPmq2F3WMvTCQlOsjQ2BdUm7ptBewlIewwT/2rlYTi X-Received: by 10.55.197.20 with SMTP id p20mr715883qki.229.1509110783687; Fri, 27 Oct 2017 06:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110783; cv=none; d=google.com; s=arc-20160816; b=iwhJmeiAVj1v3FF3DYCHx6NlN8R2wMyKkDSlftn+NV9TvX1B2Vbh71iXErFk3HZ8CX gL8Wh0OkZv90uRJuNOBLUbPkEn42eS9aK5+W4k8oFQxJ+Q7pcAFXdQ6s5CA0ziitI3Lg NVsiIOhxKtbr0pfB98XNny89zzgzJFI19JTFqheNyBhvbfVIg14S4TqO+4SWr9JRUzXz X9En1sXWNa884vwZcBZjqYcjNBvSqfBupF8/y2DSbUz+OTjXf1QUhzutT17ODx7quAda UQIecNkul4ign+4hFwEkScXVw9sgpMyyybMoB0j3X8dKVdvoXaD7gGJ3Mx+vMbIh8+Uo R4rg== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=H/ttiCev6/dMjzGn5tTz3EUTNjq4x1TeEWH7XHs65ws=; b=lNEwbA5p/Hchm5o72M6RN0FF8I3yM2viI8DI0rliOr64KCd87RZwHZ3t1p/w69DmJJ ghi6a/rsNL2h75yx0JcCkuVaoYaaIoIJHlWK652ulyQmXO062KaAfPtkZhjtjY2cKXv8 aN/HCglZVKMBP5U42EN3hGLV2iy3wJvpO4FYXPoXCd5Rs+3M2sapa+dFmqRPI/FPpw3m 3aD9pBRPtwG5CUCoxHGLFlIzGRhMujH8VnwRQYIt27FKPvUS30eLx3O2RwFwE7Yuhh7d yVNa6AOIEuQOB0q09sV5kNXzi7ql58Jok53q3vDNYgx2NoqgzxmvqjB4L2dJnWDynudz Oojg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 s32si1995860qtd.35.2017.10.27.06.26.23; Fri, 27 Oct 2017 06:26:23 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5D88D6295C; Fri, 27 Oct 2017 13:26:23 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 3AA1E629A8; Fri, 27 Oct 2017 12:54:25 +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 D08C762955; Fri, 27 Oct 2017 12:53:14 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id ABED262958 for ; Fri, 27 Oct 2017 12:50:46 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id n69so7304247lfn.2 for ; Fri, 27 Oct 2017 05:50:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=H/ttiCev6/dMjzGn5tTz3EUTNjq4x1TeEWH7XHs65ws=; b=iZUwHOqBBKe8H94Yxi06qf7NTr3BEbN1pf3jpupbyjOc6IhIQ0t5rQjB0zbKlS0mBv Fkm7If1E/H/VyhsSzN23+A+4HvDSDbL7lRNieuTTR4FbpaHBITarSyYYsLh4V+peuiy7 1wzTZ7RCLExh+3EeU381syDKFr06nIwq0M6/3JvZ5Ep46NTgErvWCWa7B3WAghNF4Kdi dvAIKU9CZlpTYHNzsFv3zj0/Z/IBAa7qchK//b8Qi2knSSankBKAJv6pSBjkQdchip3u Ac6yKsiqwQkmF/Rh5TKgryPTtVB0olLq+/CNTOoSwBZ71x2+MJuYJuWAEZ0iWG9n+ToK 6pzg== X-Gm-Message-State: AMCzsaUD7sUDVSR9PUhu/r6HrSa9UKdBFdRC94Kxu8M7vCxH/ssYQVU8 XzMt7DRAAt7YRRynW78M4a4I3XcTCok9Sw== X-Received: by 10.46.27.211 with SMTP id c80mr170415ljf.123.1509108644741; Fri, 27 Oct 2017 05:50:44 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:44 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:04 +0300 Message-Id: <20171027125014.27313-21-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 20/30] linux-gen, include: switch std_clib.h to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- example/traffic_mgmt/odp_traffic_mgmt.c | 1 + helper/test/linux/process.c | 2 ++ helper/test/linux/pthread.c | 2 ++ helper/threads.c | 1 + include/Makefile.am | 1 + include/odp/api/std_clib.h | 24 ++++++++++++++++++++++ platform/linux-generic/Makefile.am | 2 +- .../odp/api => include-abi/odp/api/abi}/std_clib.h | 17 ++++++++------- .../include/odp/api/plat/std_clib_inlines.h | 1 - platform/linux-generic/odp_std_clib.c | 1 + 10 files changed, 41 insertions(+), 11 deletions(-) create mode 100644 include/odp/api/std_clib.h rename platform/linux-generic/{include/odp/api => include-abi/odp/api/abi}/std_clib.h (60%) -- 2.14.2 diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c index 1f1102ddfdaf..e02a1af8dc3f 100644 --- a/example/traffic_mgmt/odp_traffic_mgmt.c +++ b/example/traffic_mgmt/odp_traffic_mgmt.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include diff --git a/helper/test/linux/process.c b/helper/test/linux/process.c index 12504d01bd9f..3ed2032b0c59 100644 --- a/helper/test/linux/process.c +++ b/helper/test/linux/process.c @@ -11,6 +11,8 @@ #include #include +#include + #define NUMBER_WORKERS 16 /* 0 = max */ static void *worker_fn(void *arg ODPH_UNUSED) diff --git a/helper/test/linux/pthread.c b/helper/test/linux/pthread.c index a50df027f3f2..0863283d60aa 100644 --- a/helper/test/linux/pthread.c +++ b/helper/test/linux/pthread.c @@ -10,6 +10,8 @@ #include #include +#include + #define NUMBER_WORKERS 16 static void *worker_fn(void *arg ODPH_UNUSED) { diff --git a/helper/threads.c b/helper/threads.c index a83014d424de..32a092825084 100644 --- a/helper/threads.c +++ b/helper/threads.c @@ -10,6 +10,7 @@ #define _GNU_SOURCE #endif #include +#include #include #include #include diff --git a/include/Makefile.am b/include/Makefile.am index 229f47fc7173..6b3d12f793a4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -22,6 +22,7 @@ odpapiinclude_HEADERS = \ odp/api/shared_memory.h \ odp/api/spinlock.h \ odp/api/spinlock_recursive.h \ + odp/api/std_clib.h \ odp/api/std_types.h \ odp/api/thread.h \ odp/api/thrmask.h \ diff --git a/include/odp/api/std_clib.h b/include/odp/api/std_clib.h new file mode 100644 index 000000000000..fde1c1dd3a4a --- /dev/null +++ b/include/odp/api/std_clib.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_API_STD_CLIB_H_ +#define ODP_API_STD_CLIB_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#include + +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 966fc13f5c02..cdb45d8e0c9a 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -36,7 +36,6 @@ odpapiinclude_HEADERS = \ include/odp/api/packet_io.h \ include/odp/api/packet_io_stats.h \ include/odp/api/random.h \ - include/odp/api/std_clib.h \ include/odp/api/support.h \ include/odp/api/sync.h \ include/odp/api/system_info.h \ @@ -84,6 +83,7 @@ odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/shared_memory.h \ include-abi/odp/api/abi/spinlock.h \ include-abi/odp/api/abi/spinlock_recursive.h \ + include-abi/odp/api/abi/std_clib.h \ include-abi/odp/api/abi/std_types.h \ include-abi/odp/api/abi/thread.h \ include-abi/odp/api/abi/thrmask.h \ diff --git a/platform/linux-generic/include/odp/api/std_clib.h b/platform/linux-generic/include-abi/odp/api/abi/std_clib.h similarity index 60% rename from platform/linux-generic/include/odp/api/std_clib.h rename to platform/linux-generic/include-abi/odp/api/abi/std_clib.h index fea4725437e7..b31034df4705 100644 --- a/platform/linux-generic/include/odp/api/std_clib.h +++ b/platform/linux-generic/include-abi/odp/api/abi/std_clib.h @@ -4,22 +4,21 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef ODP_PLAT_STD_CLIB_H_ -#define ODP_PLAT_STD_CLIB_H_ +/** + * @file + * + * ODP barrier + */ + +#ifndef ODP_API_ABI_STD_CLIB_H_ +#define ODP_API_ABI_STD_CLIB_H_ #ifdef __cplusplus extern "C" { #endif -#include -#include - #include -#if ODP_ABI_COMPAT == 0 #include -#endif - -#include #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp/api/plat/std_clib_inlines.h b/platform/linux-generic/include/odp/api/plat/std_clib_inlines.h index 8f505d079c33..bb6f9d02b29e 100644 --- a/platform/linux-generic/include/odp/api/plat/std_clib_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/std_clib_inlines.h @@ -11,7 +11,6 @@ extern "C" { #endif -#include #include _ODP_INLINE void *odp_memcpy(void *dst, const void *src, size_t num) diff --git a/platform/linux-generic/odp_std_clib.c b/platform/linux-generic/odp_std_clib.c index ed7c6446b556..38406b86b3c4 100644 --- a/platform/linux-generic/odp_std_clib.c +++ b/platform/linux-generic/odp_std_clib.c @@ -7,6 +7,7 @@ #include "config.h" #include +#include #if ODP_ABI_COMPAT == 1 #include #endif From patchwork Fri Oct 27 12:50:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117345 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp772219qgn; Fri, 27 Oct 2017 06:27:12 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TU0Orgy46+1Z3/4aJQSNeBuX4+EFLnDX9nc2Wp0v0+qjDf9t3dSpIrRjGvf0hCfb5QU2PB X-Received: by 10.107.169.34 with SMTP id s34mr601837ioe.103.1509110832010; Fri, 27 Oct 2017 06:27:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110832; cv=none; d=google.com; s=arc-20160816; b=RnjtCycjm9miOAgNRdCjpDy7yz3jE4x/Jsr+y21KdrkEd+qHE+8S64O3JyXAMtC7BF Omh4mZrsXalGtmSMp+BgLgD6URmaQkYouOqyptHnjHeVuT5ON/ln12kE576j/veShLFL VrGiavUXqtp4IId/LYXqhz/+AGQ0iy3Mx3V4J4tXyPyHnlFjopCsElefaJma/iUnui6I Dwm2VTBVeJlkEE27Zye1rXSyZfsQ5PQM9tfcnYP1Jzbiox1eZ/Ohtxy5oYybXGpqjA9Z xMVXAsd8I3tg64PR/MyCE1uI41SSGgvdLb/CF0BjRX76vj4tMMXr5nhCj2AhKVFTA6vs iSWA== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=ZVxwDJSSh2bgAELbHteShWbLMDv62lcjGp9Ye/YjQCk=; b=TB3S9wBJb1jvsbghgxZDUcDi89lUbwGqsX2YLZqHccs7kUWZWshstGVszC8mb3gYlc G+sxekukdJxTLaZCaUXYS00w5NcXOvDLfX8QDDZFusiCa2mf8Ygav1aDcxEUlzcFWazT LXMSyndwxuZZOh8kcQv5LnhC9aEnNugHi8AGXyJbKdSHBgvIY2NImBZfBvNBjHugDsvZ UBlSzU2WVSHE4/Ioy2J/ilm3372pAUswxGWcSHYPJKDwBWKffROv7DfaEDcThttm0BTe D0EbBoZ3bXiehqzhLAbGxCazTIb7CTABoXD28zYKEzC0LxDajgc8yp9JLMOQqnyXcX3m JCXw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 k144si1355599ita.39.2017.10.27.06.27.11; Fri, 27 Oct 2017 06:27:11 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6DCC561D48; Fri, 27 Oct 2017 13:27:11 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 7E257629AD; Fri, 27 Oct 2017 12:54:32 +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 C559562956; Fri, 27 Oct 2017 12:53:32 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 1BE8D62966 for ; Fri, 27 Oct 2017 12:50:47 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id r129so7288912lff.8 for ; Fri, 27 Oct 2017 05:50:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ZVxwDJSSh2bgAELbHteShWbLMDv62lcjGp9Ye/YjQCk=; b=c0QIMf6T14Jc1I3C0sSg1zKLoRDcADV0gj7KnbDxhG7g6CrEmzO+t0vWLrwdbXIkPP yecEcWOrF0aWPjug72t3ckpuAV26vW6tTyuRJp6jYjYYyteae60QuL62mhjk2Z8LHodh nOBkHL3KjFcyriGjQZAAGjRqeKs172nDB++gkhKE2cp07SCV9lU816pT6wURcvKKPXnD x8QpcgXGg3X8h1weSe8CyRDOUit+02JsTTKDNR3Alhr2v3fFei+Ta52475CvMz+HFqxF N+fps+gj36sJg80QAfBaTUUlm88SpoiNNa5QSkhtFD4HDCFdFra2TwZ8MsNEMmJQvbhE V+9w== X-Gm-Message-State: AMCzsaU8/nFPczomEb6F9+FhHq4E9bsLdXztD99UnX6stQ5PYq0SrLAZ Kyy9hHojOofoZWdBaYw0Kb9XDoHkZwWgzg== X-Received: by 10.46.43.69 with SMTP id q66mr168385lje.104.1509108645704; Fri, 27 Oct 2017 05:50:45 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:45 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:05 +0300 Message-Id: <20171027125014.27313-22-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 21/30] linux-gen, include: switch sync.h to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 1 + include/odp/api/sync.h | 28 ++++++++++++++++++++++ platform/linux-generic/Makefile.am | 2 +- .../odp/api => include-abi/odp/api/abi}/sync.h | 12 ++++------ platform/linux-generic/odp_sync.c | 1 + 5 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 include/odp/api/sync.h rename platform/linux-generic/{include/odp/api => include-abi/odp/api/abi}/sync.h (63%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 6b3d12f793a4..4a9c3efe674a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -24,6 +24,7 @@ odpapiinclude_HEADERS = \ odp/api/spinlock_recursive.h \ odp/api/std_clib.h \ odp/api/std_types.h \ + odp/api/sync.h \ odp/api/thread.h \ odp/api/thrmask.h \ odp/api/time.h \ diff --git a/include/odp/api/sync.h b/include/odp/api/sync.h new file mode 100644 index 000000000000..b84289ca8cb6 --- /dev/null +++ b/include/odp/api/sync.h @@ -0,0 +1,28 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP synchronisation + */ + +#ifndef ODP_API_SYNC_H_ +#define ODP_API_SYNC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index cdb45d8e0c9a..69ccd8e0b978 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -37,7 +37,6 @@ odpapiinclude_HEADERS = \ include/odp/api/packet_io_stats.h \ include/odp/api/random.h \ include/odp/api/support.h \ - include/odp/api/sync.h \ include/odp/api/system_info.h \ include/odp/api/ticketlock.h @@ -85,6 +84,7 @@ odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/spinlock_recursive.h \ include-abi/odp/api/abi/std_clib.h \ include-abi/odp/api/abi/std_types.h \ + include-abi/odp/api/abi/sync.h \ include-abi/odp/api/abi/thread.h \ include-abi/odp/api/abi/thrmask.h \ include-abi/odp/api/abi/time.h \ diff --git a/platform/linux-generic/include/odp/api/sync.h b/platform/linux-generic/include-abi/odp/api/abi/sync.h similarity index 63% rename from platform/linux-generic/include/odp/api/sync.h rename to platform/linux-generic/include-abi/odp/api/abi/sync.h index e1afcc722d07..74e3fb15fef9 100644 --- a/platform/linux-generic/include/odp/api/sync.h +++ b/platform/linux-generic/include-abi/odp/api/abi/sync.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013, Linaro Limited +/* Copyright (c) 2015, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause @@ -7,11 +7,11 @@ /** * @file * - * ODP synchronisation + * ODP barrier */ -#ifndef ODP_PLAT_SYNC_H_ -#define ODP_PLAT_SYNC_H_ +#ifndef ODP_API_ABI_SYNC_H_ +#define ODP_API_ABI_SYNC_H_ #ifdef __cplusplus extern "C" { @@ -22,16 +22,12 @@ extern "C" { */ #include -#if ODP_ABI_COMPAT == 0 #include -#endif /** * @} */ -#include - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/odp_sync.c b/platform/linux-generic/odp_sync.c index 7acdc92dd497..a9d2bbe24369 100644 --- a/platform/linux-generic/odp_sync.c +++ b/platform/linux-generic/odp_sync.c @@ -7,6 +7,7 @@ #include "config.h" #include +#include #if ODP_ABI_COMPAT == 1 #include #endif From patchwork Fri Oct 27 12:50:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117346 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp772857qgn; Fri, 27 Oct 2017 06:27:52 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R0oCFL49FvT3RVoqS8P6lYU4O5NlCXIWK2aZVE9JzHV6ZJKJCtD0X+NdoippQrztQ62UiO X-Received: by 10.36.17.130 with SMTP id 124mr615164itf.81.1509110872776; Fri, 27 Oct 2017 06:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110872; cv=none; d=google.com; s=arc-20160816; b=uCGoteNvOmiQjQLNqFTAHEd5gLfJHva0BYhLEvekbxs1CPHdSe7LtMbbq+/XL5z8NP jqRqwKfC6kf4PzCSQvCJ1Uyd4+M5YWwGjX2dIkh/4VWAIk4BDFvIgRQS6CY/3shyKsGi rBWr/p+kE692QJUdvWm/5ASGZsSuZsqfnvm89k+pmYwiI1opT/bm2Egr1Rcgkk0AOFyD h3rnaQ24upW+6DMgqS/UqIclUGYwvX+akrDPw9XNKsY4Qiq2mLfF3Z2YtFM44PCHvYBI W5tPpor8FTQdxVbThjC55PDRyv35QMoLX3BkNEekQN34UOFFEkgiTuf1lkzROD7XkFC6 rOlw== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=zz/94r/PZjNErBjLdqhkTfgF/oM40LCFm9QsxZpYTjk=; b=ohOhD95z1sI3/soq/HcRrqH0w7BYJo5nLKnr/B7dMljEpaGz516hzbFbo3t4Bh4ePk 4zAgOQaW4W6QcwC3e+5EJ/xJsb11hd8GLhYCSKdWS4jZdQzriwn4x9+U3HwxKu5F84JD SZWse9hN5gf3G9LjZqqyavri+68Vx7KyzaScHtpQsmZFv8BQJ7/3tT9QZgixdJ2ZP07t CqXqgK0fz4Z+LGqKK1KeieVc/BZmmwOeEf+ib8IZriYENscZZC9YriSxT3ZhTzeMbTOP dLQ0wTzOA/ge1CyY5OudnTDzCNdiLWc5HlLIsIgW3zhBEC9BqXt0gpVCTOrEu1vrWc1M RINw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 m133si1277254itb.99.2017.10.27.06.27.52; Fri, 27 Oct 2017 06:27:52 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 4F70462971; Fri, 27 Oct 2017 13:27:52 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 D1AFE629B1; Fri, 27 Oct 2017 12:54:42 +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 4758362994; Fri, 27 Oct 2017 12:53:58 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 45F1D62967 for ; Fri, 27 Oct 2017 12:50:48 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a132so7299581lfa.7 for ; Fri, 27 Oct 2017 05:50:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=zz/94r/PZjNErBjLdqhkTfgF/oM40LCFm9QsxZpYTjk=; b=XXwBE5gaSg1oqpPsof80dOQR55pJqvOoAxSFlbUwwOMp+BYRhXB/Buiom91IMVGhYk eYoJ2w/Wym9I6co71wkzRk3m6/73uN9n3sn3SqRhSjXIiy5RruIeOdY1nKCwy6aWnd82 0qiw97hEDsZGrCWeLJ4wTMozScVtSEM9drVAjbSLym0cDU7P8+1TZhjLTyBD0hjQD8DA cx6uVBKHSqotMgZ5scpPf6cjFZGoOfYcDCQF79FSevQB/43Dp740FjeziYRFjIMLbdBA gD21HIsjTJc4VPzhULNCkWiSZ4I69e/WAbgFvK8+TuTN+v5icH/BfgZQfI65ITW8Eun2 ix1A== X-Gm-Message-State: AMCzsaXXbaJULDw7Qu9/qJEpwgXHR6onU+W3CrF/F1xyR2jDMcOxlTKM whpv2UIPMpraTaX7zEVU3vBfnaL9zuGvvw== X-Received: by 10.46.31.10 with SMTP id f10mr154119ljf.153.1509108646664; Fri, 27 Oct 2017 05:50:46 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:46 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:06 +0300 Message-Id: <20171027125014.27313-23-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 22/30] linux-gen, include: switch ticketlock.h to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 1 + .../include => include}/odp/api/ticketlock.h | 11 +++-------- platform/linux-generic/Makefile.am | 7 +++---- .../odp/api/abi/ticketlock.h} | 21 ++++++++++++++++----- .../include/odp/api/plat/ticketlock_inlines.h | 20 -------------------- platform/linux-generic/odp_queue_scalable.c | 1 + platform/linux-generic/odp_ticketlock.c | 4 +++- 7 files changed, 27 insertions(+), 38 deletions(-) rename {platform/linux-generic/include => include}/odp/api/ticketlock.h (54%) rename platform/linux-generic/{include/odp/api/plat/ticketlock_types.h => include-abi/odp/api/abi/ticketlock.h} (52%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 4a9c3efe674a..617aa4a6e67a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -27,6 +27,7 @@ odpapiinclude_HEADERS = \ odp/api/sync.h \ odp/api/thread.h \ odp/api/thrmask.h \ + odp/api/ticketlock.h \ odp/api/time.h \ odp/api/timer.h \ odp/api/traffic_mngr.h \ diff --git a/platform/linux-generic/include/odp/api/ticketlock.h b/include/odp/api/ticketlock.h similarity index 54% rename from platform/linux-generic/include/odp/api/ticketlock.h rename to include/odp/api/ticketlock.h index ca12cc37cf9f..d875c0e34e76 100644 --- a/platform/linux-generic/include/odp/api/ticketlock.h +++ b/include/odp/api/ticketlock.h @@ -10,19 +10,14 @@ * ODP ticketlock */ -#ifndef ODP_PLAT_TICKETLOCK_H_ -#define ODP_PLAT_TICKETLOCK_H_ +#ifndef ODP_API_TICKETLOCK_H_ +#define ODP_API_TICKETLOCK_H_ #ifdef __cplusplus extern "C" { #endif -#include - -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif +#include #include diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 69ccd8e0b978..3aee7ce6340e 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -37,8 +37,7 @@ odpapiinclude_HEADERS = \ include/odp/api/packet_io_stats.h \ include/odp/api/random.h \ include/odp/api/support.h \ - include/odp/api/system_info.h \ - include/odp/api/ticketlock.h + include/odp/api/system_info.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ @@ -53,8 +52,7 @@ odpapiplatinclude_HEADERS = \ include/odp/api/plat/strong_types.h \ include/odp/api/plat/sync_inlines.h \ include/odp/api/plat/ticketlock_inlines.h \ - include/odp/api/plat/ticketlock_inlines_api.h \ - include/odp/api/plat/ticketlock_types.h + include/odp/api/plat/ticketlock_inlines_api.h nodist_odpapiplatinclude_HEADERS = \ include/odp/api/plat/static_inline.h @@ -87,6 +85,7 @@ odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/sync.h \ include-abi/odp/api/abi/thread.h \ include-abi/odp/api/abi/thrmask.h \ + include-abi/odp/api/abi/ticketlock.h \ include-abi/odp/api/abi/time.h \ include-abi/odp/api/abi/timer.h \ include-abi/odp/api/abi/traffic_mngr.h \ diff --git a/platform/linux-generic/include/odp/api/plat/ticketlock_types.h b/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h similarity index 52% rename from platform/linux-generic/include/odp/api/plat/ticketlock_types.h rename to platform/linux-generic/include-abi/odp/api/abi/ticketlock.h index 81d479d61a61..958184be6907 100644 --- a/platform/linux-generic/include/odp/api/plat/ticketlock_types.h +++ b/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h @@ -11,8 +11,8 @@ * ODP ticketlock */ -#ifndef ODP_TICKETLOCK_TYPES_H_ -#define ODP_TICKETLOCK_TYPES_H_ +#ifndef ODP_API_ABI_TICKETLOCK_H_ +#define ODP_API_ABI_TICKETLOCK_H_ #ifdef __cplusplus extern "C" { @@ -20,13 +20,24 @@ extern "C" { #include +/** @ingroup odp_locks + * @{ + */ + /** @internal */ -struct odp_ticketlock_s { +typedef struct odp_ticketlock_s { odp_atomic_u32_t next_ticket; /**< Next ticket */ odp_atomic_u32_t cur_ticket; /**< Current ticket */ -}; +} odp_ticketlock_t; + +/* Include inlined versions of API functions */ +#include +#include +#include -typedef struct odp_ticketlock_s odp_ticketlock_t; +/** + * @} + */ #ifdef __cplusplus } diff --git a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h index ecbea7c4d611..185d77de015f 100644 --- a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h @@ -14,10 +14,6 @@ #define _ODP_PLAT_TICKETLOCK_INLINES_H_ #include -#include -#include - -#include /** @internal * Acquire ticket lock. @@ -111,20 +107,4 @@ static inline int _odp_ticketlock_is_locked(odp_ticketlock_t *ticketlock) odp_atomic_load_u32(&ticketlock->next_ticket); } -/* Include inlined versions of API functions */ -#include -#if ODP_ABI_COMPAT == 0 - -/** @ingroup odp_locks - * @{ - */ - -#include - -/** - * @} - */ - -#endif - #endif diff --git a/platform/linux-generic/odp_queue_scalable.c b/platform/linux-generic/odp_queue_scalable.c index 07201ce7b5f7..09413e80314e 100644 --- a/platform/linux-generic/odp_queue_scalable.c +++ b/platform/linux-generic/odp_queue_scalable.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index 0c94f8ae2fa3..59431620f203 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -6,8 +6,9 @@ #include "config.h" +#include + #include -#include void odp_ticketlock_init(odp_ticketlock_t *ticketlock) { @@ -16,6 +17,7 @@ void odp_ticketlock_init(odp_ticketlock_t *ticketlock) } /* Include non-inlined versions of API functions */ +#include #if ODP_ABI_COMPAT == 1 #include #endif From patchwork Fri Oct 27 12:50:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117348 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp773595qgn; Fri, 27 Oct 2017 06:28:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qn/JeUwJMbjRuBZKiJcN0OcOtZ7+XgDjzSeXY6dWNMyaG43DuhoVkXjMFn8C6PkM4OWxon X-Received: by 10.107.143.20 with SMTP id r20mr596537iod.205.1509110919292; Fri, 27 Oct 2017 06:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110919; cv=none; d=google.com; s=arc-20160816; b=KbPF8nk7VvY7tHvjOKtFgA1flRvOD1HBnUG0yJzUOr8llQtXGQ4flMyq8WxOeO/oor 1Jtp2zPN7+F/qi6cIrAxG2rv1HMCKv6PSLmmtu9QOg0C2jHTdpT31T7ZeeryVY+TMAID ABTwyxqxUP2gQiTMx644RRuApG2NHJv4/JtgJ2hveifjsjmKpD4ZQeore+It6T9OOqpp JyR2R/l6rR1kO4hdC+VMgR3EPz1keoCHtoSBr9L+irXCU5bH3K3uSRLfEuLX3jEqhm81 lw1b1CHTEvJQH87rKvQaWBGTK6tg8YSN0miA6wAq3MihRzloV7CSSz4qjbQ+rbtDfD9f VirQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=Bcwx75+M3+lsP1dr7t94AdzR1iq4F1UAHx4E7xvO1fc=; b=pVWoF9KTADVAyc1wh4cHpbsN/R6iQMXXBBguAiXFLNnJ2o3z0DFnIiW58TTHyKP6OK AGQObQHoLLBnFXkR/UARmOzb53dl6xCmXm69DJH5rsf6nATajgZVlQW54ZWCjWw23hTK 4zqtAWi8DlJBVpZO5Vsf1m8dWoHXpYdIcdQmk/phtnpkBcc8Z3mM1/uQuKbwr/GF0sU/ 5rRSKn+5KRwwjbqN7+i3V+XthM+GzsNl05dB/xq8v6AIBZeRPNOeVaPkZpIBO8hgOSkm Hcme3wA7HpYWdlWcVb8RFrM4dLZc17BnKS9255TSsHF9YhTepfQuqt2VDcPQvEQ5mlcw F7fw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 q126si1289181itb.149.2017.10.27.06.28.39; Fri, 27 Oct 2017 06:28:39 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D0DF962989; Fri, 27 Oct 2017 13:28:38 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 3E477629B6; Fri, 27 Oct 2017 12:54:47 +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 72C87629A4; Fri, 27 Oct 2017 12:54:18 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 65D0762965 for ; Fri, 27 Oct 2017 12:50:50 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a69so7307661lfe.5 for ; Fri, 27 Oct 2017 05:50:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Bcwx75+M3+lsP1dr7t94AdzR1iq4F1UAHx4E7xvO1fc=; b=D6VLQnGJ0BHme/ofze7/Q2NNJ1wHmClZbS6JdGbIw/KeBGM0mDIX5EVcWIK/1rAHql 8UO7qMW9Uqj+fy+OzJHuK9eFqsUAxOPlMX5cibQMpO5Q7ln9Z1rVvJoVk39/QJYKkNVu SAN0XAt6BOE1Vm/tIoPJclumXeCo0smS0LpxqKGqBcxalt5JSVCX9rDrNn9rzSLXQlZn OVD/1FBJARXL8TlSFtxXgsuzDo2x1soKk4OI1xpZ7Wnfru6FyWrsl+a5sL5y4Xby1JFz 7I+Z2mkvzFXvCvBPEK9uDqYqbrpOdyxW4FSMB+u4IigqEbhf+VPtu/Ai29Vzp6ecAq8u FSgg== X-Gm-Message-State: AMCzsaUpDjytpGAf3WYXgvr6Z+mnGOQ5zePT/2jByqhdeAUkh2L0DuRr jnwEc0GaYODBAibOfG9KChVYPnh4++ba1w== X-Received: by 10.46.91.138 with SMTP id m10mr170247lje.95.1509108647871; Fri, 27 Oct 2017 05:50:47 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:47 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:07 +0300 Message-Id: <20171027125014.27313-24-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 23/30] linux-gen, include: move more headers from platform to generic 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" Move more generic headers from platform include dir to common include dir. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 10 ++++++++++ {platform/linux-generic/include => include}/odp/api/chksum.h | 12 ++---------- .../linux-generic/include => include}/odp/api/compiler.h | 12 ++---------- .../linux-generic/include => include}/odp/api/deprecated.h | 4 ++-- {platform/linux-generic/include => include}/odp/api/errno.h | 5 ++--- .../linux-generic/include => include}/odp/api/feature.h | 12 ++---------- {platform/linux-generic/include => include}/odp/api/hash.h | 12 ++---------- {platform/linux-generic/include => include}/odp/api/hints.h | 12 ++---------- {platform/linux-generic/include => include}/odp/api/random.h | 12 ++---------- .../linux-generic/include => include}/odp/api/support.h | 12 ++---------- .../linux-generic/include => include}/odp/api/system_info.h | 5 ++--- platform/linux-generic/Makefile.am | 12 +----------- 12 files changed, 31 insertions(+), 89 deletions(-) rename {platform/linux-generic/include => include}/odp/api/chksum.h (72%) rename {platform/linux-generic/include => include}/odp/api/compiler.h (69%) rename {platform/linux-generic/include => include}/odp/api/deprecated.h (82%) rename {platform/linux-generic/include => include}/odp/api/errno.h (83%) rename {platform/linux-generic/include => include}/odp/api/feature.h (71%) rename {platform/linux-generic/include => include}/odp/api/hash.h (72%) rename {platform/linux-generic/include => include}/odp/api/hints.h (70%) rename {platform/linux-generic/include => include}/odp/api/random.h (70%) rename {platform/linux-generic/include => include}/odp/api/support.h (73%) rename {platform/linux-generic/include => include}/odp/api/system_info.h (82%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index 617aa4a6e67a..addf4bc92261 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -9,12 +9,20 @@ odpapiinclude_HEADERS = \ odp/api/barrier.h \ odp/api/buffer.h \ odp/api/byteorder.h \ + odp/api/chksum.h \ + odp/api/compiler.h \ odp/api/cpumask.h \ + odp/api/deprecated.h \ + odp/api/errno.h \ odp/api/event.h \ + odp/api/feature.h \ + odp/api/hash.h \ + odp/api/hints.h \ odp/api/init.h \ odp/api/ipsec.h \ odp/api/pool.h \ odp/api/queue.h \ + odp/api/random.h \ odp/api/rwlock.h \ odp/api/rwlock_recursive.h \ odp/api/schedule.h \ @@ -24,7 +32,9 @@ odpapiinclude_HEADERS = \ odp/api/spinlock_recursive.h \ odp/api/std_clib.h \ odp/api/std_types.h \ + odp/api/support.h \ odp/api/sync.h \ + odp/api/system_info.h \ odp/api/thread.h \ odp/api/thrmask.h \ odp/api/ticketlock.h \ diff --git a/platform/linux-generic/include/odp/api/chksum.h b/include/odp/api/chksum.h similarity index 72% rename from platform/linux-generic/include/odp/api/chksum.h rename to include/odp/api/chksum.h index 18dcb6d11cb9..6dd1554ce48d 100644 --- a/platform/linux-generic/include/odp/api/chksum.h +++ b/include/odp/api/chksum.h @@ -10,21 +10,13 @@ * ODP checksum functions */ -#ifndef ODP_PLAT_CHKSUM_H_ -#define ODP_PLAT_CHKSUM_H_ +#ifndef ODP_API_CHKSUM_H_ +#define ODP_API_CHKSUM_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_chksum - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/compiler.h b/include/odp/api/compiler.h similarity index 69% rename from platform/linux-generic/include/odp/api/compiler.h rename to include/odp/api/compiler.h index 5249d5d6264b..04e815bb0fa5 100644 --- a/platform/linux-generic/include/odp/api/compiler.h +++ b/include/odp/api/compiler.h @@ -10,21 +10,13 @@ * Compiler related */ -#ifndef ODP_PLAT_COMPILER_H_ -#define ODP_PLAT_COMPILER_H_ +#ifndef ODP_API_COMPILER_H_ +#define ODP_API_COMPILER_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_compiler_optim - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/deprecated.h b/include/odp/api/deprecated.h similarity index 82% rename from platform/linux-generic/include/odp/api/deprecated.h rename to include/odp/api/deprecated.h index 82797ebc4505..881f23d1975f 100644 --- a/platform/linux-generic/include/odp/api/deprecated.h +++ b/include/odp/api/deprecated.h @@ -10,8 +10,8 @@ * Control deprecated API definitions */ -#ifndef ODP_PLAT_DEPRECATED_H_ -#define ODP_PLAT_DEPRECATED_H_ +#ifndef ODP_API_DEPRECATED_H_ +#define ODP_API_DEPRECATED_H_ #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/include/odp/api/errno.h b/include/odp/api/errno.h similarity index 83% rename from platform/linux-generic/include/odp/api/errno.h rename to include/odp/api/errno.h index f70d84df0112..420d5d078339 100644 --- a/platform/linux-generic/include/odp/api/errno.h +++ b/include/odp/api/errno.h @@ -10,14 +10,13 @@ * ODP errno API */ -#ifndef ODP_PLAT_ERRNO_H_ -#define ODP_PLAT_ERRNO_H_ +#ifndef ODP_API_ERRNO_H_ +#define ODP_API_ERRNO_H_ #ifdef __cplusplus extern "C" { #endif - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/feature.h b/include/odp/api/feature.h similarity index 71% rename from platform/linux-generic/include/odp/api/feature.h rename to include/odp/api/feature.h index 55a86a831084..6bbde3c3831a 100644 --- a/platform/linux-generic/include/odp/api/feature.h +++ b/include/odp/api/feature.h @@ -10,21 +10,13 @@ * ODP features. */ -#ifndef ODP_PLAT_FEATURE_H_ -#define ODP_PLAT_FEATURE_H_ +#ifndef ODP_API_FEATURE_H_ +#define ODP_API_FEATURE_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_feature - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/hash.h b/include/odp/api/hash.h similarity index 72% rename from platform/linux-generic/include/odp/api/hash.h rename to include/odp/api/hash.h index 332029ed0a24..8e1699ccce67 100644 --- a/platform/linux-generic/include/odp/api/hash.h +++ b/include/odp/api/hash.h @@ -10,21 +10,13 @@ * ODP Hash function */ -#ifndef ODP_PLAT_HASH_H_ -#define ODP_PLAT_HASH_H_ +#ifndef ODP_API_HASH_H_ +#define ODP_API_HASH_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_hash - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/hints.h b/include/odp/api/hints.h similarity index 70% rename from platform/linux-generic/include/odp/api/hints.h rename to include/odp/api/hints.h index 3ba1ba95ed4f..c4d134b74818 100644 --- a/platform/linux-generic/include/odp/api/hints.h +++ b/include/odp/api/hints.h @@ -10,21 +10,13 @@ * ODP compiler hints */ -#ifndef ODP_PLAT_HINTS_H_ -#define ODP_PLAT_HINTS_H_ +#ifndef ODP_API_HINTS_H_ +#define ODP_API_HINTS_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_compiler_optim - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/random.h b/include/odp/api/random.h similarity index 70% rename from platform/linux-generic/include/odp/api/random.h rename to include/odp/api/random.h index c8529b3f9b9a..4ce973840cd7 100644 --- a/platform/linux-generic/include/odp/api/random.h +++ b/include/odp/api/random.h @@ -10,21 +10,13 @@ * ODP random number API */ -#ifndef ODP_PLAT_RANDOM_H_ -#define ODP_PLAT_RANDOM_H_ +#ifndef ODP_API_RANDOM_H_ +#define ODP_API_RANDOM_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_random ODP RANDOM - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/support.h b/include/odp/api/support.h similarity index 73% rename from platform/linux-generic/include/odp/api/support.h rename to include/odp/api/support.h index dd6abab23a29..6c1759d4b8f6 100644 --- a/platform/linux-generic/include/odp/api/support.h +++ b/include/odp/api/support.h @@ -10,21 +10,13 @@ * ODP support API - platform specific header */ -#ifndef ODP_PLAT_SUPPORT_H_ -#define ODP_PLAT_SUPPORT_H_ +#ifndef ODP_API_SUPPORT_H_ +#define ODP_API_SUPPORT_H_ #ifdef __cplusplus extern "C" { #endif -/** @ingroup odp_support - * @{ - */ - -/** - * @} - */ - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/system_info.h b/include/odp/api/system_info.h similarity index 82% rename from platform/linux-generic/include/odp/api/system_info.h rename to include/odp/api/system_info.h index 36ddc814b4c0..7b95a876affa 100644 --- a/platform/linux-generic/include/odp/api/system_info.h +++ b/include/odp/api/system_info.h @@ -10,8 +10,8 @@ * ODP system information */ -#ifndef ODP_PLAT_SYSTEM_INFO_H_ -#define ODP_PLAT_SYSTEM_INFO_H_ +#ifndef ODP_API_SYSTEM_INFO_H_ +#define ODP_API_SYSTEM_INFO_H_ #ifdef __cplusplus extern "C" { @@ -19,7 +19,6 @@ extern "C" { #include - #include #ifdef __cplusplus diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 3aee7ce6340e..14b449ea42c1 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -20,24 +20,14 @@ odpinclude_HEADERS = \ odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ include/odp/api/align.h \ - include/odp/api/chksum.h \ include/odp/api/classification.h \ - include/odp/api/compiler.h \ include/odp/api/cpu.h \ include/odp/api/crypto.h \ include/odp/api/debug.h \ - include/odp/api/deprecated.h \ - include/odp/api/errno.h \ - include/odp/api/feature.h \ - include/odp/api/hash.h \ - include/odp/api/hints.h \ include/odp/api/packet_flags.h \ include/odp/api/packet.h \ include/odp/api/packet_io.h \ - include/odp/api/packet_io_stats.h \ - include/odp/api/random.h \ - include/odp/api/support.h \ - include/odp/api/system_info.h + include/odp/api/packet_io_stats.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ From patchwork Fri Oct 27 12:50:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117351 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp774554qgn; Fri, 27 Oct 2017 06:29:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T9WBlmnmDEIEyH02ECmHtyDl2PnsQnVAPfS97KWYwjxNkyrQUPv+Ksxmn+bW7PqVe3UzbB X-Received: by 10.107.69.14 with SMTP id s14mr600690ioa.113.1509110979732; Fri, 27 Oct 2017 06:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509110979; cv=none; d=google.com; s=arc-20160816; b=WMGN1P5bJtBl7qgJLytUm9CatE2Gn76gVERdR9Y4vtXQu6ceZJ4hpzj+NoEQqDJpXQ KRdAy/rP5yInxU1lE73LQS0aS/7lirxPrJ53J3MAUR2eGTnDLbNC3vbV+iVeFjlUrYIH DCrvP8P1rKk2ZWD0yeNTxsd98ggX2glHGI6xQuJVoch+REZHh2tY4znNYCINtDae0pMU spXp4EGEYuGU2nbcVW43A1H9MRQy3b7UcDbgnUu1gD0s+vGjU4HAyE8+IZ9Uix1yojKc Apb0T8mAg0MnNEE8THf7e3EHx/Y1pgwJXV+AMbGEbN4p74P2DQ+Ev2ZrW0LA9KTpza8l RMOw== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=9nrZOKq5Ztx8TGZ2+3aTNV6pZZdRlYW/TjSwlcUE1+Q=; b=Owt+RsSKaRwBKnPbRDKlFgCinXnWklL8Et3jAIe51CgaqzgHdpb2S+iqXyNuWXhUDs 2dyzXLrfiBftfFsDvAB+JTxbQTw7JtK9feRORXICRlFF0uxZiXF7+Q0y3DaBzUpLDZEd /I5ShCY2s5NrGLPZfpzAjP28Vnc21WjlERjVPeeXBz9lBs9jr3aNuyPZPxDp7GVxGAd/ 8hMh61y4xCXA5IcaXyPP+qH4yhp6wLL2tm1NVVY2KwCM4Dn0JMNxzZNOnK83zuaz143a y9IuOwKLMhARPr3rcbzNExMfJUrtl3SsBfuWE/8nhSyZD1cu/dkLfFsb3xVTmbEdbiHM gW0w== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 q74si5207267iod.22.2017.10.27.06.29.39; Fri, 27 Oct 2017 06:29:39 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2B63462988; Fri, 27 Oct 2017 13:29:39 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 8705B629BC; Fri, 27 Oct 2017 12:54:55 +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 F0C4562968; Fri, 27 Oct 2017 12:54:38 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id AAE8C62968 for ; Fri, 27 Oct 2017 12:50:50 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id a132so7299726lfa.7 for ; Fri, 27 Oct 2017 05:50:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=9nrZOKq5Ztx8TGZ2+3aTNV6pZZdRlYW/TjSwlcUE1+Q=; b=AD2jLlNgwExN0DGbZz3q4YGVz+i82fPpVYbUflmrWmQlHaCb8Kg18BePtx4dWCi/eG 5xztUYIco6y30NqSWyHkuUfdZGneTPJp9Md4ViWjuMR7uiFvJLknhV7n8ckVl7H99k7E AlJuPPjyKoW/ENiwQJm/n2ADBUhEyRCZGwQNcuokzclfc6c3nlK1XgLQSSTJAKjyJLp5 MU3+Brt7OCtLCV/h1wIn4YIyOTk6qally5uIyWd4yAFixSJczPuS8C/utNcyxro9JE5r mF4bGdCZdyxT3MYPfC2dkO4PekAt5INIqyqQdYGjlFkyeVdwNDi35tqUxiX0KkwFjJl7 B7NA== X-Gm-Message-State: AMCzsaVM3gV4Dzdn4Tdr9fGyf1n1nWHuHlfZvu2GZqpABmCbYKZM8pLp 2gx9IwhGrL0FFiZJI8/z87oRUQVHbs4JeA== X-Received: by 10.46.43.205 with SMTP id r74mr157944ljr.159.1509108649148; Fri, 27 Oct 2017 05:50:49 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:48 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:08 +0300 Message-Id: <20171027125014.27313-25-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 24/30] linux-gen, include: switch packet headers to api+abi 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" Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 6 ++ .../include => include}/odp/api/classification.h | 2 +- .../include => include}/odp/api/crypto.h | 2 +- .../include => include}/odp/api/packet.h | 11 +--- .../include => include}/odp/api/packet_flags.h | 9 +-- .../include => include}/odp/api/packet_io.h | 6 +- .../include => include}/odp/api/packet_io_stats.h | 4 +- platform/linux-generic/Makefile.am | 12 ++-- .../linux-generic/include-abi/odp/api/abi/packet.h | 68 ++++++++++++++++++++++ .../include-abi/odp/api/abi/packet_flags.h | 27 +++++++++ .../include/odp/api/plat/packet_flag_inlines.h | 19 +----- .../plat/{packet_types.h => packet_inline_types.h} | 53 +---------------- .../include/odp/api/plat/packet_inlines.h | 27 +++------ .../linux-generic/include/odp_packet_internal.h | 3 +- platform/linux-generic/odp_packet.c | 2 +- platform/linux-generic/pktio/dpdk.c | 2 +- platform/linux-generic/pktio/netmap.c | 2 +- 17 files changed, 136 insertions(+), 119 deletions(-) rename {platform/linux-generic/include => include}/odp/api/classification.h (93%) rename {platform/linux-generic/include => include}/odp/api/crypto.h (92%) rename {platform/linux-generic/include => include}/odp/api/packet.h (67%) rename {platform/linux-generic/include => include}/odp/api/packet_flags.h (59%) rename {platform/linux-generic/include => include}/odp/api/packet_io.h (83%) rename {platform/linux-generic/include => include}/odp/api/packet_io_stats.h (79%) create mode 100644 platform/linux-generic/include-abi/odp/api/abi/packet.h create mode 100644 platform/linux-generic/include-abi/odp/api/abi/packet_flags.h rename platform/linux-generic/include/odp/api/plat/{packet_types.h => packet_inline_types.h} (76%) -- 2.14.2 diff --git a/include/Makefile.am b/include/Makefile.am index addf4bc92261..4ef4d89185d0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -10,8 +10,10 @@ odpapiinclude_HEADERS = \ odp/api/buffer.h \ odp/api/byteorder.h \ odp/api/chksum.h \ + odp/api/classification.h \ odp/api/compiler.h \ odp/api/cpumask.h \ + odp/api/crypto.h \ odp/api/deprecated.h \ odp/api/errno.h \ odp/api/event.h \ @@ -20,6 +22,10 @@ odpapiinclude_HEADERS = \ odp/api/hints.h \ odp/api/init.h \ odp/api/ipsec.h \ + odp/api/packet.h \ + odp/api/packet_flags.h \ + odp/api/packet_io.h \ + odp/api/packet_io_stats.h \ odp/api/pool.h \ odp/api/queue.h \ odp/api/random.h \ diff --git a/platform/linux-generic/include/odp/api/classification.h b/include/odp/api/classification.h similarity index 93% rename from platform/linux-generic/include/odp/api/classification.h rename to include/odp/api/classification.h index 01be7063d102..ecdf92031d0a 100644 --- a/platform/linux-generic/include/odp/api/classification.h +++ b/include/odp/api/classification.h @@ -20,7 +20,7 @@ extern "C" { #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/include/odp/api/crypto.h b/include/odp/api/crypto.h similarity index 92% rename from platform/linux-generic/include/odp/api/crypto.h rename to include/odp/api/crypto.h index ead28eab0bfc..3f4104677201 100644 --- a/platform/linux-generic/include/odp/api/crypto.h +++ b/include/odp/api/crypto.h @@ -18,7 +18,7 @@ extern "C" { #endif #include -#include +#include #include #include #include diff --git a/platform/linux-generic/include/odp/api/packet.h b/include/odp/api/packet.h similarity index 67% rename from platform/linux-generic/include/odp/api/packet.h rename to include/odp/api/packet.h index 5d744df544d6..88c4f0278c84 100644 --- a/platform/linux-generic/include/odp/api/packet.h +++ b/include/odp/api/packet.h @@ -10,8 +10,8 @@ * ODP packet descriptor */ -#ifndef ODP_PLAT_PACKET_H_ -#define ODP_PLAT_PACKET_H_ +#ifndef ODP_API_PACKET_H_ +#define ODP_API_PACKET_H_ #ifdef __cplusplus extern "C" { @@ -20,15 +20,10 @@ extern "C" { #include #include #include -#include +#include #include #include -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif - #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/api/packet_flags.h b/include/odp/api/packet_flags.h similarity index 59% rename from platform/linux-generic/include/odp/api/packet_flags.h rename to include/odp/api/packet_flags.h index 1e55af823736..2b3006b5192c 100644 --- a/platform/linux-generic/include/odp/api/packet_flags.h +++ b/include/odp/api/packet_flags.h @@ -10,17 +10,14 @@ * ODP packet flags */ -#ifndef ODP_PLAT_PACKET_FLAGS_H_ -#define ODP_PLAT_PACKET_FLAGS_H_ +#ifndef ODP_API_PACKET_FLAGS_H_ +#define ODP_API_PACKET_FLAGS_H_ #ifdef __cplusplus extern "C" { #endif -#include -#if ODP_ABI_COMPAT == 0 -#include -#endif +#include #include diff --git a/platform/linux-generic/include/odp/api/packet_io.h b/include/odp/api/packet_io.h similarity index 83% rename from platform/linux-generic/include/odp/api/packet_io.h rename to include/odp/api/packet_io.h index 9107685a36dc..a854d7b987b0 100644 --- a/platform/linux-generic/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -10,8 +10,8 @@ * ODP Packet IO */ -#ifndef ODP_PLAT_PACKET_IO_H_ -#define ODP_PLAT_PACKET_IO_H_ +#ifndef ODP_API_PACKET_IO_H_ +#define ODP_API_PACKET_IO_H_ #ifdef __cplusplus extern "C" { @@ -20,7 +20,7 @@ extern "C" { #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/include/odp/api/packet_io_stats.h b/include/odp/api/packet_io_stats.h similarity index 79% rename from platform/linux-generic/include/odp/api/packet_io_stats.h rename to include/odp/api/packet_io_stats.h index a9cd9535e610..b2b32075ea22 100644 --- a/platform/linux-generic/include/odp/api/packet_io_stats.h +++ b/include/odp/api/packet_io_stats.h @@ -10,8 +10,8 @@ * ODP packet IO stats */ -#ifndef ODP_PLAT_PACKET_IO_STATS_H_ -#define ODP_PLAT_PACKET_IO_STATS_H_ +#ifndef ODP_API_PACKET_IO_STATS_H_ +#define ODP_API_PACKET_IO_STATS_H_ #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 14b449ea42c1..f2454ac51fff 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -20,14 +20,8 @@ odpinclude_HEADERS = \ odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ include/odp/api/align.h \ - include/odp/api/classification.h \ include/odp/api/cpu.h \ - include/odp/api/crypto.h \ - include/odp/api/debug.h \ - include/odp/api/packet_flags.h \ - include/odp/api/packet.h \ - include/odp/api/packet_io.h \ - include/odp/api/packet_io_stats.h + include/odp/api/debug.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ @@ -35,9 +29,9 @@ odpapiplatinclude_HEADERS = \ include/odp/api/plat/byteorder_inlines.h \ include/odp/api/plat/packet_flag_inlines.h \ include/odp/api/plat/packet_flag_inlines_api.h \ + include/odp/api/plat/packet_inline_types.h \ include/odp/api/plat/packet_inlines.h \ include/odp/api/plat/packet_inlines_api.h \ - include/odp/api/plat/packet_types.h \ include/odp/api/plat/std_clib_inlines.h \ include/odp/api/plat/strong_types.h \ include/odp/api/plat/sync_inlines.h \ @@ -60,6 +54,8 @@ odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/event.h \ include-abi/odp/api/abi/init.h \ include-abi/odp/api/abi/ipsec.h \ + include-abi/odp/api/abi/packet.h \ + include-abi/odp/api/abi/packet_flags.h \ include-abi/odp/api/abi/packet_io.h \ include-abi/odp/api/abi/pool.h \ include-abi/odp/api/abi/queue.h \ diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet.h b/platform/linux-generic/include-abi/odp/api/abi/packet.h new file mode 100644 index 000000000000..31d446f8dd9f --- /dev/null +++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h @@ -0,0 +1,68 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP packet descriptor + */ + +#ifndef ODP_API_ABI_PACKET_H_ +#define ODP_API_ABI_PACKET_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +/** @ingroup odp_packet + * @{ + */ + +typedef ODP_HANDLE_T(odp_packet_t); + +#define ODP_PACKET_INVALID _odp_cast_scalar(odp_packet_t, 0) + +#define ODP_PACKET_OFFSET_INVALID 0xffff + +typedef uint8_t odp_packet_seg_t; + +static inline uint8_t _odp_packet_seg_to_ndx(odp_packet_seg_t seg) +{ + return (uint8_t)seg; +} + +static inline odp_packet_seg_t _odp_packet_seg_from_ndx(uint8_t ndx) +{ + return (odp_packet_seg_t)ndx; +} + +#define ODP_PACKET_SEG_INVALID ((odp_packet_seg_t)-1) + +typedef enum { + ODP_PACKET_GREEN = 0, + ODP_PACKET_YELLOW = 1, + ODP_PACKET_RED = 2, + ODP_PACKET_ALL_COLORS = 3, +} odp_packet_color_t; + +#define ODP_NUM_PACKET_COLORS 3 + +#include +#include +#include + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet_flags.h b/platform/linux-generic/include-abi/odp/api/abi/packet_flags.h new file mode 100644 index 000000000000..9a8474a33eda --- /dev/null +++ b/platform/linux-generic/include-abi/odp/api/abi/packet_flags.h @@ -0,0 +1,27 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP packet descriptor + */ + +#ifndef ODP_API_ABI_PACKET_FLAGS_H_ +#define ODP_API_ABI_PACKET_FLAGS_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h index 42003e3179ea..3212248f336c 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/packet_flag_inlines.h @@ -13,7 +13,8 @@ #ifndef _ODP_PLAT_PACKET_FLAG_INLINES_H_ #define _ODP_PLAT_PACKET_FLAG_INLINES_H_ -#include +#include +#include #include /** @internal Inline function offsets */ @@ -70,20 +71,4 @@ static inline int _odp_packet_has_ts(odp_packet_t pkt) return flags.timestamp; } -/* Include inlined versions of API functions */ -#include -#if ODP_ABI_COMPAT == 0 - -/** @ingroup odp_packet - * @{ - */ - -#include - -/** - * @} - */ - -#endif - #endif diff --git a/platform/linux-generic/include/odp/api/plat/packet_types.h b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h similarity index 76% rename from platform/linux-generic/include/odp/api/plat/packet_types.h rename to platform/linux-generic/include/odp/api/plat/packet_inline_types.h index 68c66312b2f3..0bfd0241331a 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_types.h +++ b/platform/linux-generic/include/odp/api/plat/packet_inline_types.h @@ -11,61 +11,14 @@ * ODP packet descriptor */ -#ifndef ODP_PACKET_TYPES_H_ -#define ODP_PACKET_TYPES_H_ +#ifndef ODP_PACKET_INLINE_TYPES_H_ +#define ODP_PACKET_INLINE_TYPES_H_ #ifdef __cplusplus extern "C" { #endif -#include - -#include -#if ODP_ABI_COMPAT == 1 -#include -#else - -#include -#include - -/** @ingroup odp_packet - * @{ - */ - -typedef ODP_HANDLE_T(odp_packet_t); - -#define ODP_PACKET_INVALID _odp_cast_scalar(odp_packet_t, 0) - -#define ODP_PACKET_OFFSET_INVALID 0xffff - -typedef uint8_t odp_packet_seg_t; - -static inline uint8_t _odp_packet_seg_to_ndx(odp_packet_seg_t seg) -{ - return (uint8_t)seg; -} - -static inline odp_packet_seg_t _odp_packet_seg_from_ndx(uint8_t ndx) -{ - return (odp_packet_seg_t)ndx; -} - -#define ODP_PACKET_SEG_INVALID ((odp_packet_seg_t)-1) - -typedef enum { - ODP_PACKET_GREEN = 0, - ODP_PACKET_YELLOW = 1, - ODP_PACKET_RED = 2, - ODP_PACKET_ALL_COLORS = 3, -} odp_packet_color_t; - -#define ODP_NUM_PACKET_COLORS 3 - -/** - * @} - */ - -#endif +#include /** @internal Packet field accessor */ #define _odp_pkt_get(pkt, cast, field) \ diff --git a/platform/linux-generic/include/odp/api/plat/packet_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_inlines.h index bfd65cbf1068..48475ba823e8 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/packet_inlines.h @@ -13,16 +13,21 @@ #ifndef _ODP_PLAT_PACKET_INLINES_H_ #define _ODP_PLAT_PACKET_INLINES_H_ -#include -#include +#include #include -#include +#include #include +#include +#include + +#include /** @internal Inline function offsets */ extern const _odp_packet_inline_offset_t _odp_packet_inline; +#include #if ODP_ABI_COMPAT == 1 +#include /** @internal Inline function @param seg @return */ static inline uint32_t _odp_packet_seg_to_ndx(odp_packet_seg_t seg) { @@ -164,20 +169,4 @@ static inline odp_buffer_t packet_to_buffer(odp_packet_t pkt) return (odp_buffer_t)pkt; } -/* Include inlined versions of API functions */ -#include -#if ODP_ABI_COMPAT == 0 - -/** @ingroup odp_packet - * @{ - */ - -#include - -/** - * @} - */ - -#endif - #endif diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index fed562aa3409..db4864ff0b5e 100644 --- a/platform/linux-generic/include/odp_packet_internal.h +++ b/platform/linux-generic/include/odp_packet_internal.h @@ -23,11 +23,12 @@ extern "C" { #include #include #include +#include #include #include #include #include -#include +#include #include /** Minimum segment length expected by packet_parse_common() */ diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index 603ac7181dea..ada02faec018 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -6,8 +6,8 @@ #include "config.h" -#include #include +#include #include #include #include diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 1a930a487abf..28b4d25d282f 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -17,8 +17,8 @@ #include -#include #include +#include #include #include diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 812416b2fc94..1473d0b8030a 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -10,8 +10,8 @@ #include -#include #include +#include #include #include From patchwork Fri Oct 27 12:50:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117354 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp776093qgn; Fri, 27 Oct 2017 06:31:06 -0700 (PDT) X-Google-Smtp-Source: ABhQp+ToQDBxIUMSII3zDRdiuAzZTYd+VtJqUIYWphEhKy6XKEwtBLVT/3/igpXZIi8cxOv9NNTD X-Received: by 10.55.174.129 with SMTP id x123mr762207qke.61.1509111066665; Fri, 27 Oct 2017 06:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111066; cv=none; d=google.com; s=arc-20160816; b=P/kqDsCSZE6ouwcKKj+sI5WYE7/pXLlyo2VozzcXttDTsaIop+zkaXAvUoSE8dYRi8 ltN/AiuZn12USKGtjUuvCpvldwijd7gg6wzS9ztD0NSuTaIJcT4dLDBiLwmY0LFL+Sq7 K79sg1gdvk4B9Vdasb8STuUlVrav20Nvvf48hWGxy9ik2EsWYAOVVF3sXugf4YrfY5xL tyWj8x2sB18JDRWHtCaho0BagZgzLx/WHHNZJFdGaPzOjyoPsClQNMi8brcqrsIPlfu1 Q25r6yKXRdeMTWhty3V2Cec1xhmNNMiPntuIcAbIbVZ5210/rDkh4WUUOK0YrkR99PYY rMtQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=J67IA9Rwafm458dcLqY7a4tKx5BXYYE+Ns2Tcb2/oMw=; b=GEV1oMcJc1Wa3Q7ZEOXK0jxbZJC3E7K5aHRVMwKRUD46cUm/M+aDqGwi6mnd+sz7Y0 eUHfCibI0S5ws+apxfWFb+xxFtOfstPISCaVk1YkiP9x5LpGLk8D1Nt9V8kHfUgqAuuW j4eSI44R34ewLq8Ktr+zAy6hNlDH4lR8tAa/ti1yafTUTTNngXasRk8D+TbuNMecIe1z nps6HF+mxXC7CSCLDxzn3ntkQ8QquwqVQGEBgxG6Qa+0amJcjWJMVpwfSY0dFdv3F9gZ H+q3G35fOpNsalYIlw4R4WmYDGrAxoB25yisr/r4Gv0QwzrMEDswIm+/XYk4AlefUXkK eSAA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 r26si1955936qki.149.2017.10.27.06.31.06; Fri, 27 Oct 2017 06:31:06 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 548216298D; Fri, 27 Oct 2017 13:31:06 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 539E4629C3; Fri, 27 Oct 2017 12:55:30 +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 7B26B60A35; Fri, 27 Oct 2017 12:54:59 +0000 (UTC) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by lists.linaro.org (Postfix) with ESMTPS id 4D49960D3C for ; Fri, 27 Oct 2017 12:50:52 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id w21so7314878lfc.6 for ; Fri, 27 Oct 2017 05:50:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=J67IA9Rwafm458dcLqY7a4tKx5BXYYE+Ns2Tcb2/oMw=; b=BuYE7gEYCGTgRemRicDWmo/Tchh8wYI3BptxUBKAEUsyXKZWEP4B+EDAP33XKe3wAV 5Zsh1Ov4ITYGpzzdkTXlWX0CV9XDGAIXAd6Mis6xEBFKRKtBTI41AzchLH3YdySgczbv gNQ2wxiM60+CdJo4HdbJ2j0SLt0294Djh4E1nD04gifr/SjIJ8aBWTGe7RJreWfjMotp WawLmQUYwFrIWeNzElsW5XPixTe53xIj8Tv5FrjlLmBPyhhPYCTNPpDK/FJK2WcOoVPD xUCOLO4eLMNYJokXgS2LtooNXyjKxPOiy1sjKBU+wLEjm/LvtUw7A6ZyXjnFRbxCkHUH 5o8w== X-Gm-Message-State: AMCzsaUPH1B6AeUX4YM1U1rZ4niNxUFZrI9yM3xJ9spdQldByYweT/Ij L7OmvL/le1grse92FCvnwan+JJHoBeHwyQ== X-Received: by 10.46.48.6 with SMTP id w6mr197481ljw.16.1509108650425; Fri, 27 Oct 2017 05:50:50 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:49 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:09 +0300 Message-Id: <20171027125014.27313-26-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 25/30] linux-gen: move several files under ODP_ABI_COMPAT condition 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" Several files consist only (or mostly) of functions compiled only if ODP is compiled in ABI compatibility mode. Instead of having an ifdef inside, guard them with if ODP_ABI_COMPAT condition in Makefile.am Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/Makefile.am | 13 +++++++++---- .../include/odp/api/plat/ticketlock_inlines_api.h | 6 ++++++ platform/linux-generic/odp_atomic.c | 4 ---- platform/linux-generic/odp_atomic_api.c | 13 +++++++++++++ platform/linux-generic/odp_byteorder.c | 6 +++--- platform/linux-generic/odp_std_clib.c | 6 +++--- platform/linux-generic/odp_sync.c | 6 +++--- platform/linux-generic/odp_ticketlock.c | 10 +--------- 8 files changed, 38 insertions(+), 26 deletions(-) create mode 100644 platform/linux-generic/odp_atomic_api.c -- 2.14.2 diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index f2454ac51fff..078d154f8f15 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -167,7 +167,6 @@ __LIB__libodp_linux_la_SOURCES = \ odp_barrier.c \ odp_bitmap.c \ odp_buffer.c \ - odp_byteorder.c \ odp_chksum.c \ odp_classification.c \ odp_cpu.c \ @@ -215,12 +214,9 @@ __LIB__libodp_linux_la_SOURCES = \ odp_sorted_list.c \ odp_spinlock.c \ odp_spinlock_recursive.c \ - odp_std_clib.c \ - odp_sync.c \ odp_system_info.c \ odp_thread.c \ odp_thrmask.c \ - odp_ticketlock.c \ odp_time.c \ odp_timer.c \ odp_timer_wheel.c \ @@ -233,6 +229,15 @@ __LIB__libodp_linux_la_SOURCES = \ drv_shm.c \ drv_spinlock.c +if ODP_ABI_COMPAT +__LIB__libodp_linux_la_SOURCES += \ + odp_atomic_api.c \ + odp_byteorder.c \ + odp_std_clib.c \ + odp_sync.c \ + odp_ticketlock.c +endif + if ARCH_IS_ARM __LIB__libodp_linux_la_SOURCES += arch/default/odp_cpu_arch.c \ arch/default/odp_cpu_cycles.c \ diff --git a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines_api.h b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines_api.h index 5efe696ff734..4f8509569228 100644 --- a/platform/linux-generic/include/odp/api/plat/ticketlock_inlines_api.h +++ b/platform/linux-generic/include/odp/api/plat/ticketlock_inlines_api.h @@ -33,4 +33,10 @@ _ODP_INLINE int odp_ticketlock_is_locked(odp_ticketlock_t *lock) return _odp_ticketlock_is_locked(lock); } +_ODP_INLINE void odp_ticketlock_init(odp_ticketlock_t *ticketlock) +{ + odp_atomic_init_u32(&ticketlock->next_ticket, 0); + odp_atomic_init_u32(&ticketlock->cur_ticket, 0); +} + #endif diff --git a/platform/linux-generic/odp_atomic.c b/platform/linux-generic/odp_atomic.c index 1d76caf2b82f..8c46bb5bb11f 100644 --- a/platform/linux-generic/odp_atomic.c +++ b/platform/linux-generic/odp_atomic.c @@ -7,10 +7,6 @@ #include "config.h" #include -#include -#if ODP_ABI_COMPAT == 1 -#include -#endif int odp_atomic_lock_free_u64(odp_atomic_op_t *atomic_op) { diff --git a/platform/linux-generic/odp_atomic_api.c b/platform/linux-generic/odp_atomic_api.c new file mode 100644 index 000000000000..a1aabb07c692 --- /dev/null +++ b/platform/linux-generic/odp_atomic_api.c @@ -0,0 +1,13 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE +#include diff --git a/platform/linux-generic/odp_byteorder.c b/platform/linux-generic/odp_byteorder.c index faf1c5904bb4..ff0b74b233cf 100644 --- a/platform/linux-generic/odp_byteorder.c +++ b/platform/linux-generic/odp_byteorder.c @@ -7,7 +7,7 @@ #include "config.h" #include -#include -#if ODP_ABI_COMPAT == 1 + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE #include -#endif diff --git a/platform/linux-generic/odp_std_clib.c b/platform/linux-generic/odp_std_clib.c index 38406b86b3c4..b267ea654ee2 100644 --- a/platform/linux-generic/odp_std_clib.c +++ b/platform/linux-generic/odp_std_clib.c @@ -7,7 +7,7 @@ #include "config.h" #include -#include -#if ODP_ABI_COMPAT == 1 + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE #include -#endif diff --git a/platform/linux-generic/odp_sync.c b/platform/linux-generic/odp_sync.c index a9d2bbe24369..b9e85593bbbf 100644 --- a/platform/linux-generic/odp_sync.c +++ b/platform/linux-generic/odp_sync.c @@ -7,7 +7,7 @@ #include "config.h" #include -#include -#if ODP_ABI_COMPAT == 1 + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE #include -#endif diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index 59431620f203..63381f44b456 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -10,14 +10,6 @@ #include -void odp_ticketlock_init(odp_ticketlock_t *ticketlock) -{ - odp_atomic_init_u32(&ticketlock->next_ticket, 0); - odp_atomic_init_u32(&ticketlock->cur_ticket, 0); -} - /* Include non-inlined versions of API functions */ -#include -#if ODP_ABI_COMPAT == 1 +#define _ODP_INLINE #include -#endif From patchwork Fri Oct 27 12:50:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117356 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp776838qgn; Fri, 27 Oct 2017 06:31:47 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RtPWy+kI7XfykG2VsmazFq7YplFjGFRPp5URxVX3r3oWEjYlbBl54QVyM6O81JVigxAHL8 X-Received: by 10.200.48.54 with SMTP id f51mr830131qte.39.1509111107333; Fri, 27 Oct 2017 06:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111107; cv=none; d=google.com; s=arc-20160816; b=gATm5GaTHK3wFf5kCVu1AfoNdHwsCLABSjg81BWAElBM4vE6JFJPnn9nBEU+CjOIpP f64kZ+Sd8xdpj3yteO5C1FUGmsvotNkOHRcbopbXYbAAoXsTD+m5C4RUf0/30s5P/cy+ Fq9JoxK+TjZiV+KfjsfkC40LqhSNzwW/cTupqcHVsi9isE+5rwkPLX/IK0H+0t24ykUR K2o2NC4FWztH75k5E0FlEHFvutzTJM87hmHBaMvBbdXkpKz0LXubAIDcDPhg/GA49Esj +61ZANBsSKs+CyJ3sHGpGVV7DNigklYqKJzPwuMj4NkEVgEzomAN8IDAY1nsO6cRshL2 G88g== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=B6WKo57pRpKDCYmcJ8W4JNqSRty2ci1XGSJ/sjKzXUY=; b=he6wMB01lmnj3DbkhevJ5/6ZuEaq6aa/A1SiSGxWyekv6ATjnN8FZ9iLgAgrgQaBXD sZUDvkpCpEPsVMaHPPcz2IRqMXCh2JJ82mQf3x12adSkIL/yhH/DrWy9qkmJIJGp3nza y3Z/lqz64CHl7FxPsGZoPVjqOuwFgBiyFND+tx18YLDg6Jc/TIYhuKqc1XWWHw/xyPoA hikQ7XZtlyfJr0ZqxppR9NZYm6/dnGYDDnVSzeZmp4UjT7qKvG/Fqlqju5enCZXG09UH a/82UDy42wqR7MokmpZW9K1xqmb+7ar32RsZOdUN4JUO7uebpsEXT/nFTBy8MsleCtRL bjow== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 c141si5688152qke.19.2017.10.27.06.31.47; Fri, 27 Oct 2017 06:31:47 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0CE716299A; Fri, 27 Oct 2017 13:31:47 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 92F35629C2; Fri, 27 Oct 2017 12:55: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 895C9629BF; Fri, 27 Oct 2017 12:55:28 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id E89FE628FE for ; Fri, 27 Oct 2017 12:50:52 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id 75so7317974lfx.1 for ; Fri, 27 Oct 2017 05:50:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=B6WKo57pRpKDCYmcJ8W4JNqSRty2ci1XGSJ/sjKzXUY=; b=XIT0bkzJ47cCs1hGt6+wfHNPeG+BQLNc3WxVM47HIuOqjyNRRAknI224ru2B7m4Uik Krql/AtMwJMHSenEYoswV5jxSTyyC2qI93saDxnvPcKt8wy2eq4Yxxns+r/EEW4O8uo4 Nvz08Si2Zcw0hRwSLHpgQYPI9MBq1GpwHrWCRIIa/YXR+4+Rsw60Kvv4Kqm3YlXmGFdg cjeX3nNbg33u0ahIkL6Oj69CLtiwAgx4dzXVIfzIT95866NYBK250yMxkJDlzYJNALDF MRMBxI+HF9xq6rD8xOf2SwbAGkxeSJ1OX3EKkDwXjQeFIISulO94kcCIDC0goJWLa+BO pB4Q== X-Gm-Message-State: AMCzsaVLygFz7MzjNSmdJEGt774Rum3MihKl19rAqeCkGOPIWllKPH8b ehrXa6wHYPX5I+0g6N1zU/XsVCzb21Ya0Q== X-Received: by 10.25.143.156 with SMTP id s28mr145408lfk.236.1509108651460; Fri, 27 Oct 2017 05:50:51 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:50 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:10 +0300 Message-Id: <20171027125014.27313-27-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 26/30] linux-gen: split odp_packet/odp_packet_flags 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" Split away inclusion of API implementation to the files selected by Automake. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/Makefile.am | 2 ++ platform/linux-generic/odp_packet.c | 5 ----- platform/linux-generic/odp_packet_api.c | 28 +++++++++++++++++++++++++++ platform/linux-generic/odp_packet_flags.c | 5 ----- platform/linux-generic/odp_packet_flags_api.c | 15 ++++++++++++++ 5 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 platform/linux-generic/odp_packet_api.c create mode 100644 platform/linux-generic/odp_packet_flags_api.c -- 2.14.2 diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 078d154f8f15..3c1551aab7a6 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -233,6 +233,8 @@ if ODP_ABI_COMPAT __LIB__libodp_linux_la_SOURCES += \ odp_atomic_api.c \ odp_byteorder.c \ + odp_packet_api.c \ + odp_packet_flags_api.c \ odp_std_clib.c \ odp_sync.c \ odp_ticketlock.c diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index ada02faec018..ebfaeea29e93 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -2311,8 +2311,3 @@ int odp_packet_has_ref(odp_packet_t pkt) return 0; } - -/* Include non-inlined versions of API functions */ -#if ODP_ABI_COMPAT == 1 -#include -#endif diff --git a/platform/linux-generic/odp_packet_api.c b/platform/linux-generic/odp_packet_api.c new file mode 100644 index 000000000000..dd038e81c3ff --- /dev/null +++ b/platform/linux-generic/odp_packet_api.c @@ -0,0 +1,28 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE +#include diff --git a/platform/linux-generic/odp_packet_flags.c b/platform/linux-generic/odp_packet_flags.c index 2e26ad601735..96507c6644d3 100644 --- a/platform/linux-generic/odp_packet_flags.c +++ b/platform/linux-generic/odp_packet_flags.c @@ -299,8 +299,3 @@ void odp_packet_has_ts_clr(odp_packet_t pkt) pkt_hdr->p.input_flags.timestamp = 0; } - -/* Include non-inlined versions of API functions */ -#if ODP_ABI_COMPAT == 1 -#include -#endif diff --git a/platform/linux-generic/odp_packet_flags_api.c b/platform/linux-generic/odp_packet_flags_api.c new file mode 100644 index 000000000000..6b373843a3ce --- /dev/null +++ b/platform/linux-generic/odp_packet_flags_api.c @@ -0,0 +1,15 @@ +/* Copyright (c) 2014, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include +#include +#include + +/* Include non-inlined versions of API functions */ +#define _ODP_INLINE +#include From patchwork Fri Oct 27 12:50:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117358 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp785978qgn; Fri, 27 Oct 2017 06:40:57 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q6E012aRyol5DqBhq8/5mDJY69fv+ugPfoQWsCWcNi5T7/TQCgMmtOvd3gKLX706EsBXsl X-Received: by 10.107.133.85 with SMTP id h82mr674257iod.208.1509111657029; Fri, 27 Oct 2017 06:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111657; cv=none; d=google.com; s=arc-20160816; b=M5zB7cZO9aLjsq6Vs0Mc8eltYFvP5R7DiFcROwbgbS1MwdkNGajsNVKiGExji3wEYx kEF/C+2IEVD3WNDHqZShPxE0X84XQbVd9ll/zSrTwYmCpzzyWGRr6wJVta5tTP4q70zI CoZ6Z6baz/7MngQ1UrcVz/WusK02trYiHuLCoe6mJ4QqQjdgRcUwRVlfwfI/ltV6B7tJ A6bg/a8TOB7+9SkhU+a1j1XMWbud2x/TSMaq8AMKsIGJ8UIr4vW4DYvBSnDThmlLtFYq YL18WJynqwPJuGxCr65VV6k0WgFVbJRuReURChuizJWdPr8Bm+PwvA6wH8fwlR3Atz8i loXQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=ahXInwELJ7a/Lp58m3Xfmmb5mdXimec3O+AfBXhhQa4=; b=dlMun4/tB9kQ8G02F2vufrCRy84rQqW2iAXCzu3BIy336vQBBvI2lQGXhOy5k9s+dt vJf2VcqQepfWXJGNNtUurccrgwBI9595BIxmS6pB95OobKWmLTBoXZ4hjRRXvNkH1X2T gAH5KsbydGjSc8B/oBaTOUt02eauamQGPoPBH7bsLOXhLUrMFEj+4ReHhnpvE57y6+Oa 2q39/fBS8fyawQPefMfLMNJEq0LG+uVFWc8wNHQ4WmIWZETFSnnzV4BK7GOrMie0IYZF zV2zyzRiAykdDdhTAzeDgwsrr2lJm0bafIrpsbdEejU7bruHFSqoeRewpLTNA1y4cl8e UmWA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 16si1289961ita.152.2017.10.27.06.40.56; Fri, 27 Oct 2017 06:40:57 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 85E53629C4; Fri, 27 Oct 2017 13:40:56 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 868DF629E3; Fri, 27 Oct 2017 12:55:57 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 63B64629E3; Fri, 27 Oct 2017 12:55:51 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id 105CB6296F for ; Fri, 27 Oct 2017 12:50:54 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id a132so7299875lfa.7 for ; Fri, 27 Oct 2017 05:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ahXInwELJ7a/Lp58m3Xfmmb5mdXimec3O+AfBXhhQa4=; b=geqAt24o+TIqKRoRQUin3qpgWyi7YEoV8gCjedFvhYTrpEwLU7hYk73nqfo6CyLjTj 5Gb4WRb8ON6Fk0mDa7y3utKs5Zc5noOnlCwWRCLxCoiXFI82KnXmN8iVe5bNBO7KKFwO 4MnhVnVlNzZDP71nCY55R7C/ntl15fkrh9+vngSbZQAgPLkM7t3hQIJlbHItiBpNteWG rBqlHMXDGRTcjlgKyTSZIcAnzF0P/lhRjJy9Pq4HreJsuktGFLuO6TNST/xUuMJ4wDBG b2gdqyGetVKBYExI4V5nOZH1AD3+vo2V4P71Qnwwh9VLl/ysbCEbvvq/Zi6WcpuixY30 mi5g== X-Gm-Message-State: AMCzsaVvJZzrAVHnKhDYtrHI31VpJGTfrpWskHZ7/xU8oNebKWlA6yGe a/alG9Sr8PxwGJ/WksuSgFJfxlbDHMLMdg== X-Received: by 10.25.202.80 with SMTP id h16mr139935lfj.63.1509108652549; Fri, 27 Oct 2017 05:50:52 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:51 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:11 +0300 Message-Id: <20171027125014.27313-28-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 27/30] linux-gen: remove static_inline.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" Replace static_inline.h header with unconditional defines of _ODP_INLINE macro (either to 'static inline' or to empty value) depending on the compilation place. Signed-off-by: Dmitry Eremin-Solenikov --- Makefile.inc | 1 - platform/linux-generic/.gitignore | 1 - platform/linux-generic/Makefile.am | 3 -- .../linux-generic/include-abi/odp/api/abi/atomic.h | 2 +- .../include-abi/odp/api/abi/byteorder.h | 2 +- .../linux-generic/include-abi/odp/api/abi/packet.h | 5 ++- .../include-abi/odp/api/abi/std_clib.h | 2 +- .../linux-generic/include-abi/odp/api/abi/sync.h | 2 +- .../include-abi/odp/api/abi/ticketlock.h | 2 +- .../include/odp/api/plat/packet_inlines.h | 3 +- .../include/odp/api/plat/static_inline.h.in | 43 ---------------------- platform/linux-generic/m4/configure.m4 | 1 - 12 files changed, 10 insertions(+), 57 deletions(-) delete mode 100644 platform/linux-generic/include/odp/api/plat/static_inline.h.in -- 2.14.2 diff --git a/Makefile.inc b/Makefile.inc index 91be46bcb017..9d31dff1da9b 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,5 +1,4 @@ ODP_INCLUDES = \ - -I$(top_builddir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include \ diff --git a/platform/linux-generic/.gitignore b/platform/linux-generic/.gitignore index 442e82a938bb..fd5ade7e304d 100644 --- a/platform/linux-generic/.gitignore +++ b/platform/linux-generic/.gitignore @@ -1,2 +1 @@ -include/odp/api/plat/static_inline.h libodp-linux.pc diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 3c1551aab7a6..0a49fe67e03b 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -38,9 +38,6 @@ odpapiplatinclude_HEADERS = \ include/odp/api/plat/ticketlock_inlines.h \ include/odp/api/plat/ticketlock_inlines_api.h -nodist_odpapiplatinclude_HEADERS = \ - include/odp/api/plat/static_inline.h - if !ODP_ABI_COMPAT odpapiabiarchincludedir= $(includedir)/odp/api/abi odpapiabiarchinclude_HEADERS = \ diff --git a/platform/linux-generic/include-abi/odp/api/abi/atomic.h b/platform/linux-generic/include-abi/odp/api/abi/atomic.h index 0b7b254ced23..67127aa4d64e 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/atomic.h +++ b/platform/linux-generic/include-abi/odp/api/abi/atomic.h @@ -63,7 +63,7 @@ typedef struct odp_atomic_u32_s odp_atomic_u32_t; * @{ */ -#include +#define _ODP_INLINE static inline #include /** diff --git a/platform/linux-generic/include-abi/odp/api/abi/byteorder.h b/platform/linux-generic/include-abi/odp/api/abi/byteorder.h index 0f8fac0b16c8..da07c0eb0b87 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/byteorder.h +++ b/platform/linux-generic/include-abi/odp/api/abi/byteorder.h @@ -75,7 +75,7 @@ typedef uint64_t __odp_bitwise odp_u64be_t; typedef uint16_t __odp_bitwise odp_u16sum_t; typedef uint32_t __odp_bitwise odp_u32sum_t; -#include +#define _ODP_INLINE static inline #include /** diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet.h b/platform/linux-generic/include-abi/odp/api/abi/packet.h index 31d446f8dd9f..1aa7cbd5838e 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/packet.h +++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h @@ -32,6 +32,9 @@ typedef ODP_HANDLE_T(odp_packet_t); typedef uint8_t odp_packet_seg_t; +/* or it will be provided by packet_inlines.h */ +#define _ODP_HAVE_PACKET_SEG_NDX 1 + static inline uint8_t _odp_packet_seg_to_ndx(odp_packet_seg_t seg) { return (uint8_t)seg; @@ -53,7 +56,7 @@ typedef enum { #define ODP_NUM_PACKET_COLORS 3 -#include +#define _ODP_INLINE static inline #include #include diff --git a/platform/linux-generic/include-abi/odp/api/abi/std_clib.h b/platform/linux-generic/include-abi/odp/api/abi/std_clib.h index b31034df4705..8ef9e9ad22c8 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/std_clib.h +++ b/platform/linux-generic/include-abi/odp/api/abi/std_clib.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#define _ODP_INLINE static inline #include #ifdef __cplusplus diff --git a/platform/linux-generic/include-abi/odp/api/abi/sync.h b/platform/linux-generic/include-abi/odp/api/abi/sync.h index 74e3fb15fef9..9ecc40f227c7 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/sync.h +++ b/platform/linux-generic/include-abi/odp/api/abi/sync.h @@ -21,7 +21,7 @@ extern "C" { * @{ */ -#include +#define _ODP_INLINE static inline #include /** diff --git a/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h b/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h index 958184be6907..87358d2afe1d 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h +++ b/platform/linux-generic/include-abi/odp/api/abi/ticketlock.h @@ -31,7 +31,7 @@ typedef struct odp_ticketlock_s { } odp_ticketlock_t; /* Include inlined versions of API functions */ -#include +#define _ODP_INLINE static inline #include #include diff --git a/platform/linux-generic/include/odp/api/plat/packet_inlines.h b/platform/linux-generic/include/odp/api/plat/packet_inlines.h index 48475ba823e8..2419404c32f0 100644 --- a/platform/linux-generic/include/odp/api/plat/packet_inlines.h +++ b/platform/linux-generic/include/odp/api/plat/packet_inlines.h @@ -25,8 +25,7 @@ /** @internal Inline function offsets */ extern const _odp_packet_inline_offset_t _odp_packet_inline; -#include -#if ODP_ABI_COMPAT == 1 +#ifndef _ODP_HAVE_PACKET_SEG_NDX #include /** @internal Inline function @param seg @return */ static inline uint32_t _odp_packet_seg_to_ndx(odp_packet_seg_t seg) diff --git a/platform/linux-generic/include/odp/api/plat/static_inline.h.in b/platform/linux-generic/include/odp/api/plat/static_inline.h.in deleted file mode 100644 index 3cf0043478f3..000000000000 --- a/platform/linux-generic/include/odp/api/plat/static_inline.h.in +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright (c) 2016, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * Macro for static inline functions - */ - -#ifndef ODP_PLAT_STATIC_INLINE_H_ -#define ODP_PLAT_STATIC_INLINE_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @internal - * @def ODP_ABI_COMPAT - * Control ABI compatibility - */ - -/** - * @internal - * @def _ODP_INLINE - * Define a function as inlined or not inlined (for ABI compatibility) - */ -#if @ODP_ABI_COMPAT@ -#define ODP_ABI_COMPAT 1 -#define _ODP_INLINE -#else -#define ODP_ABI_COMPAT 0 -#define _ODP_INLINE static inline -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index f4504bf98e45..e605f6281806 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -22,7 +22,6 @@ AM_CONDITIONAL([PLATFORM_IS_LINUX_GENERIC], [test "${with_platform}" = "linux-generic"]) AC_CONFIG_FILES([platform/linux-generic/Makefile platform/linux-generic/libodp-linux.pc - platform/linux-generic/include/odp/api/plat/static_inline.h platform/linux-generic/test/Makefile platform/linux-generic/test/validation/api/shmem/Makefile platform/linux-generic/test/validation/api/pktio/Makefile From patchwork Fri Oct 27 12:50:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117359 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp786874qgn; Fri, 27 Oct 2017 06:41:52 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SjXjon+BjvY4hFZ5gmeDzHsFW85zUs7hQXVSRpnbPuWxe++LfCtxpNe1QqOUlhExYk6mBc X-Received: by 10.55.31.141 with SMTP id n13mr781195qkh.179.1509111712784; Fri, 27 Oct 2017 06:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111712; cv=none; d=google.com; s=arc-20160816; b=eplaT0hv78Q5tuLtOcdVaDCwe/QpUvNXfqhYMKaduU6yE4A9Zfc8ZHQ4IPxK6nV6LW k3+BvpkqjNY4F4WutQf/NtfQmGCETWvqimADJv8Xp95AG4P4KYxRBiLzHLJWT4p87LOW s3p1P7+hCCO8YZ8plvUvXhZYLR5KOUvf+iJ3z0j2fHieJAO38ePPCY02tqHzGTgqst92 Tl0fhru1IqvoVY18hUzQEjMlBkdjaWbsuy2VTHThy8MQYFQw/B1PKiJ1+1rfNnMuz3A4 IQrVIPPrpITru885Cno/eoULeES+UXui2hUtSN8JkzLSCLi43VbW14uqk9lF2MIYa7M8 2Drg== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=nt0ujegZipVHchiv4O7VLRD4IAyIxkOTyB3SsS/CSqo=; b=qyR8keyq3wctHhA63A2mOE+PbptQ2I9xoODeaDC6wnDl2tbiQeOVdSdhwQqSqKIV2q tpa3XBYZDVYIAKjSaIwQlnVJY07AjEa9fIyCm2lIawAlqpFkLEI/fwj8atXG05P0qVkL F7jTunItQgg5fOAiEXmSyWve/1VwvzKUq3RtyqdVr1SVaiRIRh1UZfFOiQ67Gpbwerpg Lca7HUSfsbf/XF9ZD7GcDng6JhiqWN3v7wpHBpKJrNyNMh+7sQ9gEcNps4vjanVIVT6M V3mlCjkGOwEXSH7QCKxqwo8F2ZMWteC4g68S9j9jC+FOgEPztim3p91iJ3C8Dx5cvwcm XZEQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 l51si988582qtl.448.2017.10.27.06.41.52; Fri, 27 Oct 2017 06:41:52 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 75F2A629C6; Fri, 27 Oct 2017 13:41:52 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 4B0A1629E7; Fri, 27 Oct 2017 12:57: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 8A05462971; Fri, 27 Oct 2017 12:56:59 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 0E07562971 for ; Fri, 27 Oct 2017 12:50:55 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id a2so7280001lfh.11 for ; Fri, 27 Oct 2017 05:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=nt0ujegZipVHchiv4O7VLRD4IAyIxkOTyB3SsS/CSqo=; b=Z8PvQxaB6GEVbTKsMYhFK644/LcgIJVjxp27MS2abuf8GrZ/6rwdeTJBoDLbH8VgF0 tAjWFKyL/bvOB/X0u4/at3A4EtF9aN0EVQg/SJj5GVl8fnz8thvO6SGzfF7xMWE8QLji fbrUjYZFZtDF5TX9ayyd88n8HE09gQindtYfPnflsjFq5p1S10nzkAdkYdtX3KAHR2+v c2h+hiSpfVEj/L4A225eRchyv7y7Ab4kRAjM5U0ELAKR7zg9DOITq3IwmAv2dwmEdH3c MGR8FKTe+oE7dP3F9XGz80rCNY6Y4BKNKEryT/2c1IonGecrVnn9AC4rjPP38CqPqtkl czeA== X-Gm-Message-State: AMCzsaXRRyxlj5iZZOsDjS3kruqS3Cq4TWoCcR1eiobL/Y7d7V5xIOwQ VFHz8Oc4kErrQye9gabtA5iZbN71F0XAEQ== X-Received: by 10.25.229.135 with SMTP id i7mr141928lfk.87.1509108653735; Fri, 27 Oct 2017 05:50:53 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:52 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:12 +0300 Message-Id: <20171027125014.27313-29-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 28/30] linux-gen: don't install inline headers in non-ABI-compat mode 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" There is no point in installing inline headers in non-ABI-compat mode anymore. They are not included by any other header. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 0a49fe67e03b..08e915af4e36 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -24,6 +24,7 @@ odpapiinclude_HEADERS = \ include/odp/api/debug.h odpapiplatincludedir= $(includedir)/odp/api/plat +if !ODP_ABI_COMPAT odpapiplatinclude_HEADERS = \ include/odp/api/plat/atomic_inlines.h \ include/odp/api/plat/byteorder_inlines.h \ @@ -38,7 +39,6 @@ odpapiplatinclude_HEADERS = \ include/odp/api/plat/ticketlock_inlines.h \ include/odp/api/plat/ticketlock_inlines_api.h -if !ODP_ABI_COMPAT odpapiabiarchincludedir= $(includedir)/odp/api/abi odpapiabiarchinclude_HEADERS = \ include-abi/odp/api/abi/atomic.h \ From patchwork Fri Oct 27 12:50:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117360 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp788013qgn; Fri, 27 Oct 2017 06:43:00 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QK322yRsRtqLQj4UA1g3Fl4P7Kk6GSH9UgQD90VVhgRhe+swVdA1iDhuFfUMSaeVe3Q+qN X-Received: by 10.237.63.15 with SMTP id p15mr874726qtf.155.1509111779953; Fri, 27 Oct 2017 06:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111779; cv=none; d=google.com; s=arc-20160816; b=PwGp3xmR/P2N4W8a6y7b6O3wqiJNnQCCWcsnnnZ2FrbDSEP+xIMOU8+FQ4KYYvgcJJ OBEs1o3ci7cq+IYCJaMbUg09c1Ec6pXjEhCCOg/2nTUhsSxNG8HPKcxQwN8wwmy0/hOc Af+h5dv0It8lbPKUpOibnxvwqVOSD7JOxtcSS9pC82chW6lIYuawFgUegPyjvvfHj0T+ FZ1v6Eg03CeozSXLf4PCaBaXVLwg3I8iV9h1r3QvWRwzEno+BgT5Q6P9qxdcBz3dtA3S 65OUFhgdxe9V+EpiE3FsYodHkjBz1lb75F8aynTNfopX5c8ku6Nvb8RYsrPrW9rpqmIB YtdQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=oEUKRCxEQI0XiDzqYPWyZTUeYx0r8vkQ4fDChF4nm6Q=; b=dcVFXYcqKQ1UM73metQ4d8In72Vb1963OLmzV00UpRBuNWAphJLRLZSc+9Qmx5lA4R Mjyu2nc4xEuUt4+ptRYRdLVRBXrFsUW5dRcKq3rYwKeRbe5QpRa3mTtQFwUU6ykqkEhT cp/pjCLPROD2iViin3+68+8RGyFDqZ4wIvvR7Z4Wg3FZdYOBrv7l8ksvbOE53SCu6xki KKmj1wv0zi0ev/aRF9s9o/THdpoQWC1TVLbCstIU1Y0IRaMRVNPOHCz3rf6ZFzn4z3Bb eEg/eC9Rz5Feceur3+BKc73JJEdUVXKoeL1nPLRMI81b0Mutki2a/Z9KjMbObYYALaXM rRkQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 e124si1767113qkb.232.2017.10.27.06.42.59; Fri, 27 Oct 2017 06:42:59 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 760AC629C8; Fri, 27 Oct 2017 13:42:59 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 1F41E629EF; Fri, 27 Oct 2017 12:57: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 04993629EF; Fri, 27 Oct 2017 12:57:17 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.linaro.org (Postfix) with ESMTPS id 04FCA6296B for ; Fri, 27 Oct 2017 12:50:56 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id n69so7304727lfn.2 for ; Fri, 27 Oct 2017 05:50:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=oEUKRCxEQI0XiDzqYPWyZTUeYx0r8vkQ4fDChF4nm6Q=; b=abPKZmAsaLNUhpgItGFWI+2CNv/WnOhbeh4UncEnTZy+X4/q/ioXrSaGUf8NnJnGcX ZB1xfKOxW+okKSYRLa2tHGBXUbbq9tgHxdvRlf1PH7x8I21z9o/foCZzMWhjZBbFCuhz QJahJFb3fYCIGnp+IwF+uqRsnWOPgD32/B0R3HeFSTv4ApGAK14GW9ycsrekvyf7yHWL blL1zITh5CNt/F59rwDdUKCUywvdaQ84rwgJPydj34qTtJM/183tWl7yZZ0LL0XViVwr IQWidEYqt3gSD5kyJKalx1fELLPchvRZBVS/X6Gx9W9o+cFwuENcRh7HfqA3skca/ApQ qnMA== X-Gm-Message-State: AMCzsaURpLjC1f/UNnZ8TsC3/FTGLSSP+psOg6oDDbTJCTJYnPEc1pAX GpvgdAUdiaD9Sz+mn2Mv/gl9U+I0DTaYwQ== X-Received: by 10.25.228.129 with SMTP id x1mr119102lfi.232.1509108654644; Fri, 27 Oct 2017 05:50:54 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:54 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:13 +0300 Message-Id: <20171027125014.27313-30-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 29/30] configure: stop AC_SUBST'ing ODP_ABI_COMPAT 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" With static_inline.h gone, there is no need to AC_SUBST([ODP_ABI_COMPAT]). Drop it from configure.ac. Signed-off-by: Dmitry Eremin-Solenikov --- configure.ac | 1 - 1 file changed, 1 deletion(-) -- 2.14.2 diff --git a/configure.ac b/configure.ac index 255de960c180..6d74c98b3083 100644 --- a/configure.ac +++ b/configure.ac @@ -270,7 +270,6 @@ AC_ARG_ENABLE([abi-compat], #if there is no ABI compatibility the .so numbers are meaningless ODP_LIBSO_VERSION=0:0:0 fi]) -AC_SUBST(ODP_ABI_COMPAT) AM_CONDITIONAL(ODP_ABI_COMPAT, [test "x$ODP_ABI_COMPAT" = "x1"]) ########################################################################## From patchwork Fri Oct 27 12:50:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117361 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp788514qgn; Fri, 27 Oct 2017 06:43:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RYrkA+R7kJoeWPqv90Qh5XSXvN1Ef2/v1cOBMleU+yqoozVvPSb0DfkXYiAYm/i3v/vS9m X-Received: by 10.200.34.45 with SMTP id o42mr917690qto.18.1509111812254; Fri, 27 Oct 2017 06:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509111812; cv=none; d=google.com; s=arc-20160816; b=ozrNkMUMGZ6ISHHbD5G7MWI7m/SAy4jWrjoOmeRa34d8mt6AkkV2sqWwpyTE3LsAhn toy9zWVd8fkwuKcYaGYm/JelDVKAbuYqrLELK1P9HhqFqhX32+V7YFBOf2EfPJ0jKB57 0ftoio6IKyOOXzm6zVs+6F7VDg9L5drbbSzKa2oHEvH3YYVOQcbEbPt0etZizRoMj2C8 9m1+ABLKeutkv1Ngyr9r1PU3S1HsWCaNxMYS806mjuZMf5YqAI4J37GCE+joJhiJg0El ftpant4IfMi+oF/OdcIH1na87V6YM519m+VKGYzhulkJ8vyxYxlIavpVtH6mfUZDIfJR VvSg== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=w5fNX155zkJ1ZFEU0MVPkt6lT/hONeYDuppDmuAKoc8=; b=qaigJBzxOjBB429ESEZ6cT8m1JF5SajKezI//UjtTtn9Fb5tK4FxMBiJ7DoTsGn5jn YEEM5NP7IBS2cKBfEkMnHxU7zWKb7i2VJGh8Jvg1T4uiSUJNQZjy1+Kb3vAFmmxN9LKz gYIX4W8NfvXT2XTXs6naj6lWqpSTKpDBXnANdNW9sbAizoSaVPVXmDR9xMT1FxeB5scy PCiE301VUmXbwk4feKXWNrh2TC8JpR68SB6SEoM9RtfScH1KxZKBAIwGfM48appDHCSy CIB+xQN9Yy/zpUAwNwh8azu0ogWtmJDsBUrhe7LdyX8V8mbYCqKuahnkK3DbrxFqxB1F 9GxQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 r22si5002040qta.124.2017.10.27.06.43.32; Fri, 27 Oct 2017 06:43: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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E5BA6629C7; Fri, 27 Oct 2017 13:43:31 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 AA273629EE; Fri, 27 Oct 2017 12:57: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 01B636296C; Fri, 27 Oct 2017 12:57:36 +0000 (UTC) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by lists.linaro.org (Postfix) with ESMTPS id 467356296C for ; Fri, 27 Oct 2017 12:50:57 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id k40so7305078lfi.4 for ; Fri, 27 Oct 2017 05:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=w5fNX155zkJ1ZFEU0MVPkt6lT/hONeYDuppDmuAKoc8=; b=uVjSlESkuxxtT6h92PFhBYi3hiK3BXU4V2+tDQc5IaXKOzoPD8Iz7y+isBAr1+Or2v YzF//UN1VNnQDF1FiztKdM3LXrWOOALdBvnppiJHqHKV67R4kXObkM8Xfvjd4xovWujh /DpFVUs8q/BnCZRYWAif2joRYMrAXz3zBw5MvegMNNmECOnfwTnCFklGqTVt74yijEmt mi+IhamTbiQBCMdlzYJqgMwRkVE9uj4sikIsK/Qy2wEdV978liabpmxU83w5YcUHa9XC tisHWA8GiKak5+mcJBqJ0x1+EGwJ7/q252y4yoj2aeL5Td+1byAWCjPmFnRzAZP0onhn S95A== X-Gm-Message-State: AMCzsaWfcpV9yjLrPz64obxrB5TRfy3BYLI/iT8ORzDx4ViRaCAK661d GIf5+ub5w/4rHeAZqOg6oaPVTJtpEWAAqA== X-Received: by 10.25.115.14 with SMTP id o14mr116587lfc.79.1509108655903; Fri, 27 Oct 2017 05:50:55 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:55 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:50:14 +0300 Message-Id: <20171027125014.27313-31-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 30/30] include: provide formal description of ODP specification 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" Provide formal description of files being part of ODP specification, platform-specific headers, substituting parts of ODP specification and additional headers supplementing ODP specification. Signed-off-by: Dmitry Eremin-Solenikov --- include/README | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 include/README -- 2.14.2 diff --git a/include/README b/include/README new file mode 100644 index 000000000000..8f13dbad68e5 --- /dev/null +++ b/include/README @@ -0,0 +1,77 @@ +ODP specification +================= + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specification +--------------------- + +These are the files from `include/odp/api/spec` directory. They specify a set +of function prototypes, types, type names, enumerations etc that MUST be +provided by ODP implementation. Doxygen comments inside these files document +requirements for ABI interface provided by an implementation. An implementation +MUST use these headers AS IS, without any modifications to be compatible with +ODP specification. + +ODP ABI compatibility specification +----------------------------------- + +These are the files from `include/odp/arch/@ARCH_ABI@/odp/api/abi/` directory. +They specify a set of types and values that MUST be used AS IS without any +modifications by an implementation if it supports and is compiled for +ABI-compatibility mode. + +ODP default ABI headers +----------------------- + +These are the files from `include/odp/api/abi-default` directory. They provide +default specification for ODP types and values for ABI compatibility. CPU +architecture specific ABI compatibility files heavily depend on these headers. +These files MUST NOT be changed by an implementation. + +odp_api.h header +---------------- + +This header found at `include/odp_api.h` is an entry point for an application. +Application MUST include only odp_api.h, nothing else. This file includes all +files from ODP specification. + +Additional ODP headers +====================== + +These are the headers provided by an ODP to supplement ODP specification. + +ODP API headers +--------------- + +These are the files from `include/odp/api` directory. They glue together API +and ABI specification headers. Although they are not part of ODP specification +itself, they provide an easy way for an implementation to use ODP API/ABI +header files. An implementation SHOULD use these headers AS IS unless it has +strong reason not to do so. + +Platform-specific headers +========================= + +Platform ABI headers +-------------------- + +These are the headers found at +`platform/@with_platform@/include-abi/odp/api/abi` directory. They are used by +the reset of ODP code if implementation is compiled with ABI compatibility +disabled. They should implement at least a set of types and values documented +in ODP API specification headers. They are permitted to provide any platform +specific optimizations (i.e. they might provide types and/or values that map +directly onto the hardware details, they might provide inline functions to +speed up execution of the application, etc). These headers MAY use ODP default +ABI headers if they do fit. + +Rest of platform-specific headers +--------------------------------- + +Platform MAY provide additional headers at `platform/@with_platform/include`. +However these headers SHOULD NOT be used directly by an application, because +this will tie it to the exact implementation details. Application MUST include +only header. Platform ABI headers MAY use these headers to +implement platform-specific optimizations.