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 ED184425C2; Sun, 17 Sep 2023 15:03:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87CCE40260; Sun, 17 Sep 2023 15:03:12 +0200 (CEST) Received: from forward100c.mail.yandex.net (forward100c.mail.yandex.net [178.154.239.211]) by mails.dpdk.org (Postfix) with ESMTP id A6A1D40223 for ; Sun, 17 Sep 2023 15:03:11 +0200 (CEST) Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:1e27:0:640:d1a0:0]) by forward100c.mail.yandex.net (Yandex) with ESMTP id DBBF8600D7; Sun, 17 Sep 2023 16:03:10 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 83jWgLqDe4Y0-T2pNgh2G; Sun, 17 Sep 2023 16:03:10 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1694955790; bh=b8OiQkuJ6SMSWhkx70jGlr9XY3uGl/lsgbyHZI6oJ40=; h=From:Subject:In-Reply-To:Cc:Date:References:To:Message-ID; b=v5hg3CIugGGzcEUE53oh3bhOmXxSCjYXtLGe+7xsx9tkV5nWCL5726xqdOV/gU5xO r1VfvqtXm7ilyNP9SNeTtsrS7v4zX3nEl1pRFtCz111MZeK8nVzLF+xsO0Bhl+t/lc ulk1BPShUbVgSQROV4B1SdvDa5viMHAd+hPxe0GU= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <1b4757ca-3374-f382-c268-8b600d5513a5@yandex.ru> Date: Sun, 17 Sep 2023 14:03:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: stephen@networkplumber.org Cc: dev@dpdk.org, konstantin.v.ananyev@yandex.ru References: <20230809001017.293037-2-stephen@networkplumber.org> Subject: Re: [PATCH v2 01/29] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Content-Language: en-US From: Konstantin Ananyev In-Reply-To: <20230809001017.293037-2-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > These two API's were introduced in 23.11 and can now be > made not experimental. > > Signed-off-by: Stephen Hemminger > --- > lib/bpf/rte_bpf.h | 2 -- > lib/bpf/version.map | 9 ++------- > 2 files changed, 2 insertions(+), 9 deletions(-) > > diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h > index 4d71120dbd9d..f70d8dacd0d3 100644 > --- a/lib/bpf/rte_bpf.h > +++ b/lib/bpf/rte_bpf.h > @@ -209,7 +209,6 @@ rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit); > * @param len > * Number of BPF instructions to dump. > */ > -__rte_experimental > void > rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len); > > @@ -229,7 +228,6 @@ struct bpf_program; > * - ENOMEM - can't reserve enough memory > * - ENOTSUP - operation not supported > */ > -__rte_experimental > struct rte_bpf_prm * > rte_bpf_convert(const struct bpf_program *prog); > > diff --git a/lib/bpf/version.map b/lib/bpf/version.map > index c49bf1701f0a..2e957494e9df 100644 > --- a/lib/bpf/version.map > +++ b/lib/bpf/version.map > @@ -1,7 +1,9 @@ > DPDK_24 { > global: > > + rte_bpf_convert; > rte_bpf_destroy; > + rte_bpf_dump; > rte_bpf_elf_load; > rte_bpf_eth_rx_elf_load; > rte_bpf_eth_rx_unload; > @@ -14,10 +16,3 @@ DPDK_24 { > > local: *; > }; > - > -EXPERIMENTAL { > - global: > - > - rte_bpf_convert; > - rte_bpf_dump; > -}; > -- Acked-by: Konstantin Ananyev > 2.39.2