From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D9195A04E0 for ; Fri, 29 Nov 2019 13:03:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBD4123D; Fri, 29 Nov 2019 13:03:47 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 038A023D for ; Fri, 29 Nov 2019 13:03:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575029026; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gFx5L3JU8EWtnG1ln/lmPvvwkyJXAQVduJb8xz8P4QM=; b=CGc3ekfvBPx115OAVU/VbyDHquty6D0tq8WTY7sui9IbF1zypVRKxJmWf9qws6b9MFPAFq snbtJ/khPOm8uYbgDRH5o86TKu7DPAVTXzKR+GDknDBZxPiysEB/AldD9zD+Y5aZRnJ/hD T/An9FCZTtllp8Qxx7m0DczpPU9VqjM= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-382-vMhUEkIdPBu95ZMVNyQH2w-1; Fri, 29 Nov 2019 07:03:45 -0500 Received: by mail-vk1-f199.google.com with SMTP id v71so13466982vkd.16 for ; Fri, 29 Nov 2019 04:03:45 -0800 (PST) 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=kr8sUc2tkEou1MFUO7QThoDEbNGTru0vdgW4uq/GxQg=; b=YjzLkSZaSk7BnRpJjfGyAl/EiVFSesYjJORy+4OYtekhbbxHWuD+qhIXumvnFMuuBn Zf0CjWnXtZrSnWkAWVc1eQYBVzErpk/lT88kLUaPhHgH60++hYDM5lyU8bi2TspiW0NO Lnk6WCMnW8nvlRg2seYRaT7tLhV8VP1PpZR90AelvzwqpTz1cSaG58xmfHg3bVKeXqVd pVKIT44qllJenVoiVrWpJuHdn4CrALs7VfjMAho44M1sRf+cmoM4eWNnmDd2N0OklldA 88ntnoxM+iAc8YvLUNSc8g5USedBe650LPz1HbD3ud6LxV4BNS+JYg6ULrs10j9AQ9BN ou4A== X-Gm-Message-State: APjAAAVKYNJxNtebbPJ0e2hUhKrQ2SU+gPSz9gof9jw6GO7hxUu08qXX jQgCKYFQAkkoSxlnViMzvPrl1qys6sClxiLvOAVPhO1sU6i0TDJvnGmkwAJxBuXYmMs9F/NAT5Q uzxZNTDWTJrBSz/+nvif3Mzg= X-Received: by 2002:a67:ee49:: with SMTP id g9mr32494843vsp.105.1575029024459; Fri, 29 Nov 2019 04:03:44 -0800 (PST) X-Google-Smtp-Source: APXvYqw82yeVrn78ASEUBbW6mEokFOC9E1vBToNGjOa9RXKx5fdktnux9XT6xmfb4CR/hXlOMLYDxe+YUKDJPxmv5qk= X-Received: by 2002:a67:ee49:: with SMTP id g9mr32494806vsp.105.1575029024049; Fri, 29 Nov 2019 04:03:44 -0800 (PST) MIME-Version: 1.0 References: <20191125161314.18804-1-david.marchand@redhat.com> <20191126142212.GC21200@hmswarspite.think-freely.org> <20191129114319.GA10923@hmswarspite.think-freely.org> In-Reply-To: <20191129114319.GA10923@hmswarspite.think-freely.org> From: David Marchand Date: Fri, 29 Nov 2019 13:03:33 +0100 Message-ID: To: Neil Horman Cc: dev , Thomas Monjalon , Andrew Rybchenko , dpdk stable , Ray Kinsella , John McNamara , Marko Kovacevic , Qiming Yang , Wenzhuo Lu , Declan Doherty , Adrien Mazarguil , Ferruh Yigit , Cristian Dumitrescu X-MC-Unique: vMhUEkIdPBu95ZMVNyQH2w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [RFC PATCH] mark experimental variables X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Fri, Nov 29, 2019 at 12:43 PM Neil Horman wrote: > > On Wed, Nov 27, 2019 at 09:45:46PM +0100, David Marchand wrote: > > On Tue, Nov 26, 2019 at 3:22 PM Neil Horman wro= te: > > > On Mon, Nov 25, 2019 at 05:13:14PM +0100, David Marchand wrote: > > > > So far, we did not pay attention to direct access to variables but = they > > > > are part of the API/ABI too and should be clearly identified. > > > > > > > > Introduce a __rte_experimental_var tag and mark existing variables. > > > > > > > > Fixes: a4bcd61de82d ("buildtools: add script to check experimental = API exports") > > > > Cc: stable@dpdk.org > > > > > > > > Signed-off-by: David Marchand > > > > --- > > > > Quick patch to try to catch experimental variables. > > > > Not sure if we could use a single section, so please advise if ther= e is > > > > better to do about this. > > > > > > > I don't see any definition of __rte_experimental_var here, won't the > > > preprocessor choke on this when you try to compile without that? > > > > Sorry, not getting your point. > > If there is an issue, then it is the same as __rte_experimental. > > > No, there is no issue, I'm just blind. For some reason cscope wasn't fin= ding > the definition of __rte_experimental_var when I applied your patch for me= . Its > clear you have it below. Ok, thanks for confirming. > Acked-by: Neil Horman I will do an extra pass and submit a non RFC patch with your ack if I have no change. Thanks Neil. --=20 David Marchand