From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bpf: add missed EXPERIMENTAL tags Date: Mon, 14 May 2018 16:59:03 +0200 Message-ID: <2561984.NlRDZHRkjG@xps> References: <4850625.lUN5xUOOBk@xps> <2420395.OS6qY2Y8eq@xps> <2601191342CEEE43887BDE71AB977258AEDC72E8@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "dev@dpdk.org" To: "Ananyev, Konstantin" Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 2A6C91C8D1 for ; Mon, 14 May 2018 16:59:05 +0200 (CEST) In-Reply-To: <2601191342CEEE43887BDE71AB977258AEDC72E8@irsmsx105.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 14/05/2018 16:55, Ananyev, Konstantin: > > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > Sent: Monday, May 14, 2018 3:31 PM > > To: Ananyev, Konstantin > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] bpf: add missed EXPERIMENTAL tags > > > > 14/05/2018 15:15, Konstantin Ananyev: > > > - add EXPERIMENTAL tag for the section in MAINTAINERS. > > > - add EXPERIMENTAL tag to BPF public API files. > > > - add attribute __rte_experimental to BPF public API declarations. > > > > > > Fixes: 94972f35a02e ("bpf: add BPF loading and execution framework") > > > Fixes: 5dba93ae5f2d ("bpf: add ability to load eBPF program from ELF") > > > Fixes: a93ff62a8938 ("bpf: add BPF loading and execution framework") > > > > > > Reported-by: Thomas Monjalon > > > Signed-off-by: Konstantin Ananyev > > > --- > > > MAINTAINERS | 2 +- > > > lib/librte_bpf/rte_bpf.h | 26 ++++++++++++++++---------- > > > lib/librte_bpf/rte_bpf_ethdev.h | 15 ++++++++++----- > > > 3 files changed, 27 insertions(+), 16 deletions(-) > > > > You need to add __rte_experimental in function definitions too (.c file). > > I believe that was done in initial commit. I did not check, sorry. > > There is a tool to check it: buildtools/check-experimental-syms.sh > > > > ./buildtools/check-experimental-syms.sh lib/librte_bpf/rte_bpf_version.map x86_64-native-linuxapp-gcc-meson/lib/librte_bpf.a > > Don't produce any errors/warnings for me. > Do I miss something here? No, it's me doing wrong assumption :)