From patchwork Mon Oct 27 16:04:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 39641 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 158E224026 for ; Mon, 27 Oct 2014 16:05:26 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id l4sf699147lbv.1 for ; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=yBv8lHEeHkMxpI4OUI7LEqXHZwQFZLiy+FET4mGtC50=; b=e16XqqKb/z2Slk8orXpNDdDPPGULTiLqTZUGelHVMR3EDqIwTSNX5x2Fwfj73iZFEJ 3JE9DWuJwkQK2+l69afpdQaw1M1T4zA6zHOXBRgHDgGZmCBsvckKe/AbiqAGYvvvJzm5 ilVSdqheNT9r+LYJxqyW2kp/NvA1qv6zjN8KRcZaLDyHLikcSQJedEq38dp4Ue2r9pA0 zh2ZVgCIqoUn7XcxiIFkPUbWIiOrEFI1mojSwu9guLwQr8kT4GI+fMNwOWCCdQXA/i+B tJLWnoHQ10NBOcbmNUxfDGAKWrmVp+Ot8bQJxjUIxVvuoeRIjtes5F5vLG7zS4F7++kK ToyQ== X-Gm-Message-State: ALoCoQk5aC3DkQychAYLR+fM6fEHqQt/9vU5lz9cLCwKB9XnPalugW288NSQxkInGvWx/0OzY8Om X-Received: by 10.180.74.130 with SMTP id t2mr4045551wiv.4.1414425925911; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.10 with SMTP id m10ls725599laj.72.gmail; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) X-Received: by 10.112.159.229 with SMTP id xf5mr4412179lbb.64.1414425925752; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id j5si20668731lam.25.2014.10.27.09.05.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Oct 2014 09:05:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gm9so4638183lab.4 for ; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) X-Received: by 10.112.130.41 with SMTP id ob9mr24271734lbb.74.1414425925055; Mon, 27 Oct 2014 09:05:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp320819lbz; Mon, 27 Oct 2014 09:05:24 -0700 (PDT) X-Received: by 10.140.39.134 with SMTP id v6mr32512903qgv.19.1414425923097; Mon, 27 Oct 2014 09:05:23 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id v2si13753605qaf.48.2014.10.27.09.05.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 27 Oct 2014 09:05:23 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XimnI-0008QF-TY; Mon, 27 Oct 2014 16:05:20 +0000 Received: from mail-qc0-f180.google.com ([209.85.216.180]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XimnD-0008Q7-6L for lng-odp@lists.linaro.org; Mon, 27 Oct 2014 16:05:15 +0000 Received: by mail-qc0-f180.google.com with SMTP id o8so2126385qcw.39 for ; Mon, 27 Oct 2014 09:05:10 -0700 (PDT) X-Received: by 10.229.176.70 with SMTP id bd6mr21528971qcb.12.1414425909892; Mon, 27 Oct 2014 09:05:09 -0700 (PDT) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id n46sm11467859qgn.9.2014.10.27.09.05.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Oct 2014 09:05:09 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 27 Oct 2014 12:04:58 -0400 Message-Id: <1414425898-4301-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH v3] odp_version.h: Update version number X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Mike Holmes --- configure.ac | 2 +- platform/linux-generic/include/api/odp_version.h | 39 ++++++++++++------------ 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac index aa94034..456c5fa 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.5]) -AC_INIT([OpenDataPlane], [0.2], [lng-odp@lists.linaro.org]) +AC_INIT([OpenDataPlane], [0.3.0], [lng-odp@lists.linaro.org]) AM_INIT_AUTOMAKE([subdir-objects]) AC_CONFIG_SRCDIR([helper/config.h.in]) AM_CONFIG_HEADER([helper/config.h]) diff --git a/platform/linux-generic/include/api/odp_version.h b/platform/linux-generic/include/api/odp_version.h index 3a75201..0e5b8e0 100644 --- a/platform/linux-generic/include/api/odp_version.h +++ b/platform/linux-generic/include/api/odp_version.h @@ -23,30 +23,32 @@ extern "C" { */ /** - * ODP API main version + * ODP API generation version * - * Introduction of major new features or changes. APIs with different major + * Introduction of major new features or changes that make + * very significant changes to the API. APIs with different * versions are likely not backward compatible. */ -#define ODP_VERSION_API_MAIN 0 +#define ODP_VERSION_API_GENERATION 0 /** - * ODP API sub version + * ODP API major version * - * Introduction of additional features or minor changes. APIs with common - * major version and different sub versions may be backward compatible (if only - * additions). + * Introduction of major new features or changes. APIs with different major + * versions are likely not backward compatible. */ -#define ODP_VERSION_API_SUB 0 +#define ODP_VERSION_API_MAJOR 3 /** - * ODP API bug correction version - * - * Bug corrections to the API files. APIs with the same major and sub - * versions, but different bug correction versions are backward compatible. + * ODP API minor version + * Minor version is incremented when introducing backward compatible changes + * to the API. + * For an API with common generation and major version, but with different + * minor numbers the two versions are backward compatible. + * Changes to the test suite will increment this digit. + * Changes to linux-generic will not increment this digit. */ -#define ODP_VERSION_API_BUG 1 - +#define ODP_VERSION_API_MINOR 0 /** @internal Version string expand */ #define ODP_VERSION_STR_EXPAND(x) #x @@ -56,10 +58,9 @@ extern "C" { /** @internal API version string */ #define ODP_VERSION_API_STR \ -ODP_VERSION_TO_STR(ODP_VERSION_API_MAIN) "."\ -ODP_VERSION_TO_STR(ODP_VERSION_API_SUB) "."\ -ODP_VERSION_TO_STR(ODP_VERSION_API_BUG) - +ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "."\ +ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "."\ +ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) /** * Returns ODP API version string @@ -69,8 +70,6 @@ static inline const char *odp_version_api_str(void) return ODP_VERSION_API_STR; } - - /** * @} */