From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A82D9A00C2 for ; Wed, 17 Mar 2021 16:36:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 986554014D; Wed, 17 Mar 2021 16:36:30 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 7537C4014D for ; Wed, 17 Mar 2021 16:36:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615995388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=meCrGDLK89f6Er6WbPeUSTB0vHuCQ8d1W3SCVx0IZKA=; b=SkOpawTNUWPRsNmkHhahQLQSVAqIAQsRki9un+0D7MaSyQn/F+mpP4eSVfzhwjiUmiRZtv dhr48zFLemqbCkeTPBCcQDX0lJp98OS9DZ4jV5gUd5AGVN+ApNGhM6byAMHlj1unb+QnFS 8K1sQM6ecstuva+jgzJj7FMmxzph7ZY= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-183-73ZF8uMbO-6f1JHA2xtBUA-1; Wed, 17 Mar 2021 11:36:27 -0400 X-MC-Unique: 73ZF8uMbO-6f1JHA2xtBUA-1 Received: by mail-ua1-f70.google.com with SMTP id l26so3607548uap.16 for ; Wed, 17 Mar 2021 08:36:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=meCrGDLK89f6Er6WbPeUSTB0vHuCQ8d1W3SCVx0IZKA=; b=cJRChzbLFyQp29QYBjUGyAdG9RAjpJV2Jmuqfzb68QUVHAYf8JOjK4LNa80dJwmkNE 1F8HBLe/2Nk/YhojkWTx4AHyPu0A894pP+MO8t9DoSLkUtrlJiKOy8/F0fUvVE2C72xh mcVLLXEeP+X6TC4dUI6XantDIwyG1aVPC43/wcFr4TF7G5Hp8olRoHyAaa0jBS4Saisj 1v5sYd8gC/Im//HgW40f5J6zvS2wSbTSVdwWjtuGTuZ8zmfVrXVvfoUtPvXcb4fIpu4J /N/ScL74t4CLz1ISAJUEY1eEntXgeUydhnNSg4QQtaSTEYIwcRusjwsrY1LArL/1bPaN mSEA== X-Gm-Message-State: AOAM532hoDdKxCZMWjXZd3SiNhdg4+lQrcqTXMp0XLiZuvwFhLkhwAZj JYrvYdF4FqNelztWbLYPfiAgRXQ7crU1XbB0HIjcMJzktKi2x1FqYG4rp6bdZSPkzu3/z1+wHrx /z9n6Oht34Wi+ADxKClLCWY4= X-Received: by 2002:a1f:d283:: with SMTP id j125mr3673043vkg.9.1615995386512; Wed, 17 Mar 2021 08:36:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLSL8SrXYfh0gHktKIEvjKFnT78Z9svgbOvTYREeNjsan3u73X0t0NlgqSqAJmVktkwDwymNTMNYNmVPJZQRI= X-Received: by 2002:a1f:d283:: with SMTP id j125mr3673031vkg.9.1615995386323; Wed, 17 Mar 2021 08:36:26 -0700 (PDT) MIME-Version: 1.0 References: <20210317093124.965624-1-thomas@monjalon.net> In-Reply-To: <20210317093124.965624-1-thomas@monjalon.net> From: David Marchand Date: Wed, 17 Mar 2021 16:36:15 +0100 Message-ID: To: Thomas Monjalon Cc: dev , dpdk stable , Bruce Richardson Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] eal: fix version macro X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Mar 17, 2021 at 10:31 AM Thomas Monjalon wrote: > > The macro RTE_VERSION is broken since updated with function calls. > It is a build-time version number, and must be built with macros. > For a run-time version number, there is the function rte_version(). > > Fixes: 5b637a848195 ("eal: fix querying DPDK version at runtime") > Cc: stable@dpdk.org > > Reported-by: David Marchand > Signed-off-by: Thomas Monjalon Acked-by: David Marchand Let's discuss the versioning of the new symbols in the other thread. Thanks. -- David Marchand